[needs-packaging] crunch

Bug #693313 reported by Joel Pickett
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
crunch
Fix Released
High
3.1
Fix Released
High
Joel Pickett
aircrack-ng (Ubuntu)
Fix Released
Wishlist
Andreas Altaïr Redmer

Bug Description

[needs-packaging] crunch

Crunch is a CLI application that can create wordlists based on specific charsets. These wordlists can then be used in conjunction with aircrack-ng and other brute-force operations. Crunch is a wordlist generator where you can specify a standard character set or a character set you specify. Crunch can generate all possible combinations and permutations.

URL: http://sourceforge.net/projects/crunch-wordlist/
License: GPLv2
Notes:

Revision history for this message
Joel Pickett (jpickett) wrote :

Tried package this myself using the Ubuntu Packaging Guide, although I'd like to see someone more experienced do it properly and (hopefully) added into a future release of Ubuntu.

Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
Joel Pickett (jpickett) wrote :
Joel Pickett (jpickett)
Changed in ubuntu:
assignee: nobody → Joel Pickett (jpickett)
status: New → In Progress
Revision history for this message
Joel Pickett (jpickett) wrote :

pipes into aircrack-ng

affects: ubuntu → aircrack-ng (Ubuntu)
Joel Pickett (jpickett)
Changed in crunch:
status: New → In Progress
Changed in aircrack-ng (Ubuntu):
status: In Progress → Confirmed
status: Confirmed → New
assignee: Joel Pickett (jpickett) → nobody
status: New → In Progress
Changed in crunch:
importance: Undecided → High
assignee: nobody → Joel Pickett (jpickett)
assignee: Joel Pickett (jpickett) → nobody
importance: High → Unknown
status: In Progress → Unknown
Revision history for this message
pataquets (pataquets) wrote :

Hi, Joel.

I'm also trying to figure how to package on launchpad. I wonder if the mainline bzr branch is linked/imported from the source SVN as this explains:
https://help.launchpad.net/Code/Imports

I've also found a bit outdated (2.9) crunch debian packaging here:
https://launchpad.net/~ed10vi86/+archive/wifi/+packages

I'm not an experienced packager, but I would like to base my tests/learning on your mainline trunk and hopefully bake an up-to-date package.
If I'm not wrong, it could be a matter of creating a "merge recipe" (as described in https://help.launchpad.net/Packaging/SourceBuilds/Recipes) against the imported trunk to set it rolling.
If a more experienced packager can advise, I would be thankful.

Thanks.

Revision history for this message
carloslp (carloslp) wrote :

I advise you to try to package for Debian instead of Ubuntu.

If you package for Debian your packages will made their way automatically on Ubuntu (Ubuntu just picks the majority of their packages directly from Debian), but the reverse is not true: if you package directly for Ubuntu your packages won't be available on Debian.

Revision history for this message
Andreas Altaïr Redmer (altair-ibn-la-ahad) wrote :

I have put the program into a ppa.

To install crunch on your computer do:

sudo add-apt-repository ppa:altair-ibn-la-ahad/crunch
sudo apt-get update
sudo apt-get install crunch

run the program with:

crunch

Changed in aircrack-ng (Ubuntu):
assignee: nobody → Andreas Altaïr Redmer (altair-ibn-la-ahad)
Revision history for this message
pataquets (pataquets) wrote :

Hi Andreas.
Thanks for putting together this PPA.
I would like to suggest you to use Launchpad's upstream source code import to ease and automate your builds. There is one at lp:crunch. This way, you will not need to update manually yourself when upstream changes.
Using some packaging recipe such as this would allow you package getting the sources straight from upstream:
</code>
# bzr-builder format 0.3 deb-version {debupstream}-0~{revno}
lp:crunch
nest-part packaging lp:~altair-ibn-la-ahad/crunch-packaging debian debian
</code>
Thus, you would only need to maintain the "debian/" directory. Even making it a straight source import from Github would allow participation from others. :)

Revision history for this message
Andreas Altaïr Redmer (altair-ibn-la-ahad) wrote :

I created the recipe. My ppa contains now always the packaged upstream. Cool feature!

Revision history for this message
Robie Basak (racb) wrote :

What's the plan here, please? I see the Debian ITP, but nothing on mentors.debian.net. Are you still trying to get this uploaded via the Debian route? If not, what's the justification for uploading directly to Ubuntu skipping Debian, please?

Revision history for this message
Andreas Altaïr Redmer (altair-ibn-la-ahad) wrote :

There is a general problem, that all over the internet are instructions widespread, on how to package for debian and ubuntu. And they are all different. Is this case I have as usual found an open bug in ubuntu and solved it. I'm neither the creator of the upstream nor a user of this software. I just followed one of the online instructions: http://packaging.ubuntu.com/html/packaging-new-software.html as I usually do it.

No I don't intent to upload this to Debian. I also read somewhere (in one of the Debian instruction guides) that mentors.debian.net is outdated and should only be used if a Debian Developer wants it from me.

I've followed the packing guide and provide the software in a PPA so Ubuntu users can easily download and use it. That is my intent.

Revision history for this message
Iain Lane (laney) wrote :

Based on comment #11, I'm not sure why the Ubuntu sponsors are subscribed if it's not intended for this package to be reviewed for inclusion in Ubuntu.

I'll unsubscribe them. If you want review for inclusion in the official repositories, please re-subscribe ubuntu-sponsors or (preferred) use mentors.debian.net. I can help you with this if you want; get me on IRC (I'm Laney on #ubuntu-motu on Freenode).

Thanks.

Revision history for this message
Andreas Altaïr Redmer (altair-ibn-la-ahad) wrote :

The package is now in Debian.

here is the IPT: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608645

here is the RFS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751534

For everyone, who needs it and doesn't have a very recent Ubuntu version, you can use the PPA above.

Changed in aircrack-ng (Ubuntu):
status: In Progress → Fix Committed
Changed in crunch:
status: In Progress → Fix Released
Changed in aircrack-ng (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.