diff -Nru crunch-3.6/debian/changelog crunch-3.6/debian/changelog --- crunch-3.6/debian/changelog 2014-10-03 10:23:17.000000000 +0000 +++ crunch-3.6/debian/changelog 2020-05-23 22:16:49.000000000 +0000 @@ -1,3 +1,38 @@ +crunch (3.6-3) unstable; urgency=medium + + * debian/control: + - Added flag 'Rules-Requires-Root: no'. + - Bumped DH level to 13. + - Bumped Standards-Version to 4.5.0. + - Updated the maintainer email. + - Updated the Vcs-* fields to use Salsa repository. + * debian/copyright: + - Updated the Format URI to use HTTPS. + - Updated maintainer e-mail. + * debian/patches: + - Renamed the patch fix_spelling to 01_fix_spelling.patch. + - Renamed the patch fix_manpage to 02_fix_manpage.patch. + - Renamed the patch fix_makefile to 03_fix_makefile.patch. + - Updated the patch 03_fix_makefile.patch to get the current + user to install options. + - Updated the series file. + * debian/rules: + - Removed --parallel option. + - Removed the override of dh_installchangelogs. + * debian/salsa-ci.yml: + - Added to provide CI tests for Salsa. + * debian/tests/control: + - Created to perform a simple test. + * debian/upstream/metadata: + - Created to provide meta-information about upstream project. + * debian/watch: + - Updated to use version 4. + - Updated to use HTTPS. + * Ran wrap-and-sort. + * Removed the file /debian/compat. + + -- Marcio de Souza Oliveira Sat, 23 May 2020 22:16:49 +0000 + crunch (3.6-2) unstable; urgency=medium * Updated the Standards-Version to 3.9.6. @@ -5,7 +40,7 @@ * Fixed bug in the watch file. * Fixed name of the maintainer. - -- Marcio de Souza Oliveira Sun, 28 Sep 2014 20:50:21 -0300 + -- Marcio de Souza Oliveira Sat, 23 May 2020 22:14:46 +0000 crunch (3.6-1) unstable; urgency=low diff -Nru crunch-3.6/debian/compat crunch-3.6/debian/compat --- crunch-3.6/debian/compat 2014-08-30 16:01:03.000000000 +0000 +++ crunch-3.6/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru crunch-3.6/debian/control crunch-3.6/debian/control --- crunch-3.6/debian/control 2014-10-03 04:14:14.000000000 +0000 +++ crunch-3.6/debian/control 2020-05-23 22:16:49.000000000 +0000 @@ -1,17 +1,18 @@ Source: crunch Section: misc Priority: optional -Maintainer: Marcio de Souza Oliveira -Build-Depends: debhelper (>= 9) -Standards-Version: 3.9.6 +Maintainer: Marcio de Souza Oliveira +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.5.0 Homepage: http://sourceforge.net/projects/crunch-wordlist/ -Vcs-Git: git://github.com/marciosouza20/crunch -Vcs-Browser: http://github.com/marciosouza20/crunch +Rules-Requires-Root: no +Vcs-Git: https://salsa.debian.org/debian/crunch.git +Vcs-Browser: https://salsa.debian.org/debian/crunch Package: crunch Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Suggests: xz-utils | lzma, bzip2, p7zip-full +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: bzip2, p7zip-full, xz-utils | lzma Description: tool for creating wordlist Crunch is a wordlist generator where you can specify a standard character set or any set of characters to be used in generating diff -Nru crunch-3.6/debian/copyright crunch-3.6/debian/copyright --- crunch-3.6/debian/copyright 2014-09-28 23:52:23.000000000 +0000 +++ crunch-3.6/debian/copyright 2020-05-23 22:16:49.000000000 +0000 @@ -1,22 +1,22 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: crunch Source: http://sourceforge.net/projects/crunch-wordlist/ Files: * Copyright: 2004 mimayin@aciiid.ath.cx 2008-2014 Jason -License: GPL-2.0 +License: GPL-2 Files: debian/* -Copyright: 2014 Marcio de Souza Oliveira -License: GPL-2.0 +Copyright: 2014-2020 Marcio de Souza Oliveira +License: GPL-2 -License: GPL-2.0 +License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 only of the License. . - This package is distributed in the hope that it will be useful, + This package is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. diff -Nru crunch-3.6/debian/patches/01_fix_spelling.patch crunch-3.6/debian/patches/01_fix_spelling.patch --- crunch-3.6/debian/patches/01_fix_spelling.patch 1970-01-01 00:00:00.000000000 +0000 +++ crunch-3.6/debian/patches/01_fix_spelling.patch 2020-05-23 22:16:49.000000000 +0000 @@ -0,0 +1,123 @@ +Description: Fix spelling errors +Author: Marcio de Souza Oliveira +Last-Update: 2014-02-06 +Index: crunch-3.6/crunch.c +=================================================================== +--- crunch-3.6.orig/crunch.c ++++ crunch-3.6/crunch.c +@@ -42,7 +42,7 @@ + * programs can't access files of this size (john the ripper for example) + * This support works on Ubuntu intrepid. This probably works on most Linux + * platforms. Support for Solaris, HP-UX, Windows, BSD is unknown. +- * version 1.6 add option (-p) to support factorial instead of exponentail processing. i.e. ++ * version 1.6 add option (-p) to support factorial instead of exponential processing. i.e. + * if you did ./crunch 3 3 abc you would get 27 results (3x3x3): a through ccc + * This new option will give you 6 results (3! = 3x2x1) + * i.e. (abc, acb, bac, bca, cab, cba) +@@ -113,7 +113,7 @@ + * add -u option to suppress all filesize and linecount so crunch + * can feed another program + * fork a child process for progress %% +- * Niclas Kroon added swedish characters to the charset.lst ++ * Niclas Kroon added Swedish characters to the charset.lst + * permute supports -t + * added -std=c99 to Makefile since unsigned long long isn't in c89 + * ran valgrind and fixed a small memory issue. I forgot to allocate +@@ -1766,7 +1766,7 @@ wchar_t *block2; /* block is word b + + renamefile(((wordlength*2)+5), fpath, outputfilename, compressalgo); + if ((fptr = fopen(fpath, "w")) == NULL) { +- fprintf(stderr,"permute2: Ouput file START could not be opened\n"); ++ fprintf(stderr,"permute2: Output file START could not be opened\n"); + exit(EXIT_FAILURE); + } + my_thread.linecounter = 0; +@@ -1834,7 +1834,7 @@ wchar_t *block2; /* block is word b + + renamefile(((wordlength*2)+5), fpath, outputfilename, compressalgo); + if ((fptr = fopen(fpath, "w")) == NULL) { +- fprintf(stderr,"permute2: Ouput file START could not be opened\n"); ++ fprintf(stderr,"permute2: Output file START could not be opened\n"); + free(block2); + exit(EXIT_FAILURE); + } +@@ -2107,7 +2107,7 @@ size_t outlen; /* temp for size of narro + + if ((options.endstring == NULL) || (wcsncmp(block2,options.endstring,wcslen(options.endstring)) != 0)) { + if ((fptr = fopen(fpath, "w")) == NULL) { +- fprintf(stderr,"chunk2: Ouput file START could not be opened\n"); ++ fprintf(stderr,"chunk2: Output file START could not be opened\n"); + free(block2); + exit(EXIT_FAILURE); + } +@@ -2175,7 +2175,7 @@ size_t outlen; /* temp for size of narro + + static void usage() { + fprintf(stderr,"crunch version %s\n\n", version); +- fprintf(stderr,"Crunch can create a wordlist based on criteria you specify. The outout from crunch can be sent to the screen, file, or to another program.\n\n"); ++ fprintf(stderr,"Crunch can create a wordlist based on criteria you specify. The output from crunch can be sent to the screen, file, or to another program.\n\n"); + fprintf(stderr,"Usage: crunch [options]\n"); + fprintf(stderr,"where min and max are numbers\n\n"); + fprintf(stderr,"Please refer to the man page for instructions and examples on how to use crunch.\n"); +@@ -2328,12 +2328,12 @@ static void copy_without_dupes(wchar_t* + + int main(int argc, char **argv) { + size_t flag = 0; /* 0 for chunk 1 for permute */ +-size_t flag3 = 0; /* 0 display file size info 1 supress file size info */ ++size_t flag3 = 0; /* 0 display file size info 1 suppress file size info */ + size_t flag4 = 0; /* 0 don't create thread 1 create print % done thread */ + size_t resume = 0; /* 0 new session 1 for resume */ + size_t arglen = 0; /* used in -b option to hold strlen */ + size_t min, max; /* minimum and maximum size */ +-size_t temp; /* temp varible */ ++size_t temp; /* temp variable */ + size_t templen; /* another temp var */ + + unsigned long calc = 0; /* recommend count */ +@@ -2574,7 +2574,7 @@ pthread_t threads; + fprintf(stderr,"Some applications (john the ripper) can't use wordlists greater than 2GB\n"); + fprintf(stderr,"A value of %lu ",calc); + fprintf(stderr,"or less should result in a file less than 2GB\n"); +- fprintf(stderr,"The above value is calcualated based on 2147483648UL/max\n"); ++ fprintf(stderr,"The above value is calculated based on 2147483648UL/max\n"); + exit(EXIT_FAILURE); + } + } +Index: crunch-3.6/crunch.1 +=================================================================== +--- crunch-3.6.orig/crunch.1 ++++ crunch-3.6/crunch.1 +@@ -24,7 +24,7 @@ crunch \- generate wordlists from a char + .SH SYNOPSIS + crunch [] [options] + .SH DESCRIPTION +-Crunch can create a wordlist based on criteria you specify. The outout from crunch can be sent to the screen, file, or to another program. The required parameters are: ++Crunch can create a wordlist based on criteria you specify. The output from crunch can be sent to the screen, file, or to another program. The required parameters are: + .HP + min-len + .br +@@ -303,13 +303,13 @@ Example 19 + .br + crunch 8 8 \-d 2@ + .br +-crunch will gernerate 8 characters that limit the same number of lower case characters to 2. Crunch will start at aabaabaa and end at zzyzzyzz. ++crunch will generate 8 characters that limit the same number of lower case characters to 2. Crunch will start at aabaabaa and end at zzyzzyzz. + .PP + Example 20 + .br + crunch 4 4 \-f unicode_test.lst japanese \-t @@%% \-l @xdd + .br +-crunch will load some japanese characters from the unicode_test character set file. The output will start at @日00 and end at @語99. ++crunch will load some Japanese characters from the unicode_test character set file. The output will start at @日00 and end at @語99. + .SH REDIRECTION + .PP + You can use crunch's output and pipe it into other programs. The two most popular programs to pipe crunch into are: aircrack-ng and airolib-ng. The syntax is as follows: +@@ -331,7 +331,7 @@ receive the % done. + .PP + 6. Some output is missing. A file didn't get generated. + .br +-The mostly explaination is you ran out of disk space. If you have verified you have plenty of disk space then the problem is most likely the filename begins with a period. In Linux filenames that begin with a period are hidden. To view them do a ls \-l .* ++The mostly explanation is you ran out of disk space. If you have verified you have plenty of disk space then the problem is most likely the filename begins with a period. In Linux filenames that begin with a period are hidden. To view them do a ls \-l .* + .PP + 7. Crunch says The maximum and minimum length should be the same size as the pattern you specified, however the length is set correctly. + .br diff -Nru crunch-3.6/debian/patches/02_fix_manpage.patch crunch-3.6/debian/patches/02_fix_manpage.patch --- crunch-3.6/debian/patches/02_fix_manpage.patch 1970-01-01 00:00:00.000000000 +0000 +++ crunch-3.6/debian/patches/02_fix_manpage.patch 2020-05-23 22:16:49.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Added backslash before the hyphen option -s +Author: Marcio de Souza Oliveira +Last-Update: 2014-06-20 +Index: crunch-3.6/crunch.1 +=================================================================== +--- crunch-3.6.orig/crunch.1 ++++ crunch-3.6/crunch.1 +@@ -72,7 +72,7 @@ Specifies the file to write the output t + .HP + \-p charset OR \-p word1 word2 ... + .br +-Tells crunch to generate words that don't have repeating characters. By default crunch will generate a wordlist size of #of_chars_in_charset ^ max_length. This option will instead generate #of_chars_in_charset!. The ! stands for factorial. For example say the charset is abc and max length is 4.. Crunch will by default generate 3^4 = 81 words. This option will instead generate 3! = 3x2x1 = 6 words (abc, acb, bac, bca, cab, cba). THIS MUST BE THE LAST OPTION! This option CANNOT be used with -s and it ignores min and max length however you must still specify two numbers. ++Tells crunch to generate words that don't have repeating characters. By default crunch will generate a wordlist size of #of_chars_in_charset ^ max_length. This option will instead generate #of_chars_in_charset!. The ! stands for factorial. For example say the charset is abc and max length is 4.. Crunch will by default generate 3^4 = 81 words. This option will instead generate 3! = 3x2x1 = 6 words (abc, acb, bac, bca, cab, cba). THIS MUST BE THE LAST OPTION! This option CANNOT be used with \-s and it ignores min and max length however you must still specify two numbers. + .HP + \-q filename.txt + .br diff -Nru crunch-3.6/debian/patches/03_fix_makefile.patch crunch-3.6/debian/patches/03_fix_makefile.patch --- crunch-3.6/debian/patches/03_fix_makefile.patch 1970-01-01 00:00:00.000000000 +0000 +++ crunch-3.6/debian/patches/03_fix_makefile.patch 2020-05-23 22:16:49.000000000 +0000 @@ -0,0 +1,47 @@ +Description: Remove sudo from the makefile, fix permissions charset.lst + file, prevents the installation file COPYING and get the + current user to set install options. +Author: Marcio de Souza Oliveira +Last-Update: 2020-06-03 +Index: crunch/Makefile +=================================================================== +--- crunch.orig/Makefile ++++ crunch/Makefile +@@ -37,7 +37,7 @@ SHAREDIR = $(PREFIX)/share/$(PACKAGE) + DOCDIR = $(PREFIX)/share/doc/$(PACKAGE) + MANDIR = $(PREFIX)/share/man/man1 + +-INSTALL = sudo $(shell which install) ++INSTALL = $(shell which install) + CC = $(shell which gcc) + LIBFLAGS = -lm + THREADFLAGS = -pthread +@@ -49,14 +49,14 @@ LFS = $(shell getconf POSIX_V6_ILP32 + + ifeq ($(UNAME_LOOKUP),Darwin) + #Darwin = OS X, and os x does not use root root as stated in email +- INSTALL_OPTIONS = -g wheel -o root ++ INSTALL_OPTIONS = -g $(shell id -gn) -o $(shell id -un) + # changing the CC flag from gcc is optional but Apple recommneds using LLVM clang compiler instad of gcc so it's a good practice to do so in an OS X enviro, alas not compulsory + CC = $(shell which cc) + #LFS flag HAS TO BE reset or it's a no-go :( + LFS="" + else + #non-mac as you were +- INSTALL_OPTIONS = -g root -o root ++ INSTALL_OPTIONS = -g $(shell id -gn) -o $(shell id -un) + endif + + # Default target +@@ -92,9 +92,9 @@ install: build + @echo "Copying binary..." + $(INSTALL) crunch $(DESTDIR)$(BINDIR) + @echo "Copying charset.lst..." +- $(INSTALL) charset.lst $(DESTDIR)$(SHAREDIR) ++ $(INSTALL) -m 644 charset.lst $(DESTDIR)$(SHAREDIR) + @echo "Copying COPYING..." +- $(INSTALL) COPYING $(DESTDIR)$(DOCDIR) ++# $(INSTALL) COPYING $(DESTDIR)$(DOCDIR) + @echo "Installing man page..." + $(INSTALL) crunch.1 $(DESTDIR)$(MANDIR) + @echo "" diff -Nru crunch-3.6/debian/patches/fix_makefile crunch-3.6/debian/patches/fix_makefile --- crunch-3.6/debian/patches/fix_makefile 2014-08-30 16:01:03.000000000 +0000 +++ crunch-3.6/debian/patches/fix_makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,29 +0,0 @@ -Description: Remove sudo from the makefile, fix permissions charset.lst - file and prevents the installation file COPYING. -Author: Marcio de Souza Oliveira -Last-Update: 2014-06-09 -Index: crunch-3.6/Makefile -=================================================================== ---- crunch-3.6.orig/Makefile -+++ crunch-3.6/Makefile -@@ -37,7 +37,7 @@ SHAREDIR = $(PREFIX)/share/$(PACKAGE) - DOCDIR = $(PREFIX)/share/doc/$(PACKAGE) - MANDIR = $(PREFIX)/share/man/man1 - --INSTALL = sudo $(shell which install) -+INSTALL = $(shell which install) - CC = $(shell which gcc) - LIBFLAGS = -lm - THREADFLAGS = -pthread -@@ -92,9 +92,9 @@ install: build - @echo "Copying binary..." - $(INSTALL) crunch $(DESTDIR)$(BINDIR) - @echo "Copying charset.lst..." -- $(INSTALL) charset.lst $(DESTDIR)$(SHAREDIR) -+ $(INSTALL) -m 644 charset.lst $(DESTDIR)$(SHAREDIR) - @echo "Copying COPYING..." -- $(INSTALL) COPYING $(DESTDIR)$(DOCDIR) -+# $(INSTALL) COPYING $(DESTDIR)$(DOCDIR) - @echo "Installing man page..." - $(INSTALL) crunch.1 $(DESTDIR)$(MANDIR) - @echo "" diff -Nru crunch-3.6/debian/patches/fix_manpage crunch-3.6/debian/patches/fix_manpage --- crunch-3.6/debian/patches/fix_manpage 2014-08-30 16:01:03.000000000 +0000 +++ crunch-3.6/debian/patches/fix_manpage 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -Description: Added backslash before the hyphen option -s -Author: Marcio de Souza Oliveira -Last-Update: 2014-06-20 -Index: crunch-3.6/crunch.1 -=================================================================== ---- crunch-3.6.orig/crunch.1 -+++ crunch-3.6/crunch.1 -@@ -72,7 +72,7 @@ Specifies the file to write the output t - .HP - \-p charset OR \-p word1 word2 ... - .br --Tells crunch to generate words that don't have repeating characters. By default crunch will generate a wordlist size of #of_chars_in_charset ^ max_length. This option will instead generate #of_chars_in_charset!. The ! stands for factorial. For example say the charset is abc and max length is 4.. Crunch will by default generate 3^4 = 81 words. This option will instead generate 3! = 3x2x1 = 6 words (abc, acb, bac, bca, cab, cba). THIS MUST BE THE LAST OPTION! This option CANNOT be used with -s and it ignores min and max length however you must still specify two numbers. -+Tells crunch to generate words that don't have repeating characters. By default crunch will generate a wordlist size of #of_chars_in_charset ^ max_length. This option will instead generate #of_chars_in_charset!. The ! stands for factorial. For example say the charset is abc and max length is 4.. Crunch will by default generate 3^4 = 81 words. This option will instead generate 3! = 3x2x1 = 6 words (abc, acb, bac, bca, cab, cba). THIS MUST BE THE LAST OPTION! This option CANNOT be used with \-s and it ignores min and max length however you must still specify two numbers. - .HP - \-q filename.txt - .br diff -Nru crunch-3.6/debian/patches/fix_spelling crunch-3.6/debian/patches/fix_spelling --- crunch-3.6/debian/patches/fix_spelling 2014-08-30 16:01:03.000000000 +0000 +++ crunch-3.6/debian/patches/fix_spelling 1970-01-01 00:00:00.000000000 +0000 @@ -1,123 +0,0 @@ -Description: Fix spelling errors -Author: Marcio de Souza Oliveira -Last-Update: 2014-02-06 -Index: crunch-3.6/crunch.c -=================================================================== ---- crunch-3.6.orig/crunch.c -+++ crunch-3.6/crunch.c -@@ -42,7 +42,7 @@ - * programs can't access files of this size (john the ripper for example) - * This support works on Ubuntu intrepid. This probably works on most Linux - * platforms. Support for Solaris, HP-UX, Windows, BSD is unknown. -- * version 1.6 add option (-p) to support factorial instead of exponentail processing. i.e. -+ * version 1.6 add option (-p) to support factorial instead of exponential processing. i.e. - * if you did ./crunch 3 3 abc you would get 27 results (3x3x3): a through ccc - * This new option will give you 6 results (3! = 3x2x1) - * i.e. (abc, acb, bac, bca, cab, cba) -@@ -113,7 +113,7 @@ - * add -u option to suppress all filesize and linecount so crunch - * can feed another program - * fork a child process for progress %% -- * Niclas Kroon added swedish characters to the charset.lst -+ * Niclas Kroon added Swedish characters to the charset.lst - * permute supports -t - * added -std=c99 to Makefile since unsigned long long isn't in c89 - * ran valgrind and fixed a small memory issue. I forgot to allocate -@@ -1766,7 +1766,7 @@ wchar_t *block2; /* block is word b - - renamefile(((wordlength*2)+5), fpath, outputfilename, compressalgo); - if ((fptr = fopen(fpath, "w")) == NULL) { -- fprintf(stderr,"permute2: Ouput file START could not be opened\n"); -+ fprintf(stderr,"permute2: Output file START could not be opened\n"); - exit(EXIT_FAILURE); - } - my_thread.linecounter = 0; -@@ -1834,7 +1834,7 @@ wchar_t *block2; /* block is word b - - renamefile(((wordlength*2)+5), fpath, outputfilename, compressalgo); - if ((fptr = fopen(fpath, "w")) == NULL) { -- fprintf(stderr,"permute2: Ouput file START could not be opened\n"); -+ fprintf(stderr,"permute2: Output file START could not be opened\n"); - free(block2); - exit(EXIT_FAILURE); - } -@@ -2107,7 +2107,7 @@ size_t outlen; /* temp for size of narro - - if ((options.endstring == NULL) || (wcsncmp(block2,options.endstring,wcslen(options.endstring)) != 0)) { - if ((fptr = fopen(fpath, "w")) == NULL) { -- fprintf(stderr,"chunk2: Ouput file START could not be opened\n"); -+ fprintf(stderr,"chunk2: Output file START could not be opened\n"); - free(block2); - exit(EXIT_FAILURE); - } -@@ -2175,7 +2175,7 @@ size_t outlen; /* temp for size of narro - - static void usage() { - fprintf(stderr,"crunch version %s\n\n", version); -- fprintf(stderr,"Crunch can create a wordlist based on criteria you specify. The outout from crunch can be sent to the screen, file, or to another program.\n\n"); -+ fprintf(stderr,"Crunch can create a wordlist based on criteria you specify. The output from crunch can be sent to the screen, file, or to another program.\n\n"); - fprintf(stderr,"Usage: crunch [options]\n"); - fprintf(stderr,"where min and max are numbers\n\n"); - fprintf(stderr,"Please refer to the man page for instructions and examples on how to use crunch.\n"); -@@ -2328,12 +2328,12 @@ static void copy_without_dupes(wchar_t* - - int main(int argc, char **argv) { - size_t flag = 0; /* 0 for chunk 1 for permute */ --size_t flag3 = 0; /* 0 display file size info 1 supress file size info */ -+size_t flag3 = 0; /* 0 display file size info 1 suppress file size info */ - size_t flag4 = 0; /* 0 don't create thread 1 create print % done thread */ - size_t resume = 0; /* 0 new session 1 for resume */ - size_t arglen = 0; /* used in -b option to hold strlen */ - size_t min, max; /* minimum and maximum size */ --size_t temp; /* temp varible */ -+size_t temp; /* temp variable */ - size_t templen; /* another temp var */ - - unsigned long calc = 0; /* recommend count */ -@@ -2574,7 +2574,7 @@ pthread_t threads; - fprintf(stderr,"Some applications (john the ripper) can't use wordlists greater than 2GB\n"); - fprintf(stderr,"A value of %lu ",calc); - fprintf(stderr,"or less should result in a file less than 2GB\n"); -- fprintf(stderr,"The above value is calcualated based on 2147483648UL/max\n"); -+ fprintf(stderr,"The above value is calculated based on 2147483648UL/max\n"); - exit(EXIT_FAILURE); - } - } -Index: crunch-3.6/crunch.1 -=================================================================== ---- crunch-3.6.orig/crunch.1 -+++ crunch-3.6/crunch.1 -@@ -24,7 +24,7 @@ crunch \- generate wordlists from a char - .SH SYNOPSIS - crunch [] [options] - .SH DESCRIPTION --Crunch can create a wordlist based on criteria you specify. The outout from crunch can be sent to the screen, file, or to another program. The required parameters are: -+Crunch can create a wordlist based on criteria you specify. The output from crunch can be sent to the screen, file, or to another program. The required parameters are: - .HP - min-len - .br -@@ -303,13 +303,13 @@ Example 19 - .br - crunch 8 8 \-d 2@ - .br --crunch will gernerate 8 characters that limit the same number of lower case characters to 2. Crunch will start at aabaabaa and end at zzyzzyzz. -+crunch will generate 8 characters that limit the same number of lower case characters to 2. Crunch will start at aabaabaa and end at zzyzzyzz. - .PP - Example 20 - .br - crunch 4 4 \-f unicode_test.lst japanese \-t @@%% \-l @xdd - .br --crunch will load some japanese characters from the unicode_test character set file. The output will start at @日00 and end at @語99. -+crunch will load some Japanese characters from the unicode_test character set file. The output will start at @日00 and end at @語99. - .SH REDIRECTION - .PP - You can use crunch's output and pipe it into other programs. The two most popular programs to pipe crunch into are: aircrack-ng and airolib-ng. The syntax is as follows: -@@ -331,7 +331,7 @@ receive the % done. - .PP - 6. Some output is missing. A file didn't get generated. - .br --The mostly explaination is you ran out of disk space. If you have verified you have plenty of disk space then the problem is most likely the filename begins with a period. In Linux filenames that begin with a period are hidden. To view them do a ls \-l .* -+The mostly explanation is you ran out of disk space. If you have verified you have plenty of disk space then the problem is most likely the filename begins with a period. In Linux filenames that begin with a period are hidden. To view them do a ls \-l .* - .PP - 7. Crunch says The maximum and minimum length should be the same size as the pattern you specified, however the length is set correctly. - .br diff -Nru crunch-3.6/debian/patches/series crunch-3.6/debian/patches/series --- crunch-3.6/debian/patches/series 2014-08-30 16:01:03.000000000 +0000 +++ crunch-3.6/debian/patches/series 2020-05-23 22:16:49.000000000 +0000 @@ -1,3 +1,3 @@ -fix_makefile -fix_manpage -fix_spelling +01_fix_spelling.patch +02_fix_manpage.patch +03_fix_makefile.patch diff -Nru crunch-3.6/debian/rules crunch-3.6/debian/rules --- crunch-3.6/debian/rules 2014-10-03 03:40:57.000000000 +0000 +++ crunch-3.6/debian/rules 2020-05-23 22:16:49.000000000 +0000 @@ -4,7 +4,4 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ --parallel - -override_dh_installchangelogs: - dh_installchangelogs debian/changelog.upstream + dh $@ diff -Nru crunch-3.6/debian/salsa-ci.yml crunch-3.6/debian/salsa-ci.yml --- crunch-3.6/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ crunch-3.6/debian/salsa-ci.yml 2020-05-23 22:16:49.000000000 +0000 @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff -Nru crunch-3.6/debian/tests/control crunch-3.6/debian/tests/control --- crunch-3.6/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ crunch-3.6/debian/tests/control 2020-05-23 22:16:49.000000000 +0000 @@ -0,0 +1,2 @@ +Test-Command: crunch 4 4 +Restrictions: allow-stderr diff -Nru crunch-3.6/debian/upstream/metadata crunch-3.6/debian/upstream/metadata --- crunch-3.6/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ crunch-3.6/debian/upstream/metadata 2020-05-23 22:16:49.000000000 +0000 @@ -0,0 +1,5 @@ +Bug-Database: https://sourceforge.net/p/crunch-wordlist/bugs/ +Reference: + Author: Jason + Year: 2014 +Repository: https://sourceforge.net/projects/crunch-wordlist/files/crunch-wordlist/ diff -Nru crunch-3.6/debian/watch crunch-3.6/debian/watch --- crunch-3.6/debian/watch 2014-10-03 03:44:07.000000000 +0000 +++ crunch-3.6/debian/watch 2020-05-23 22:16:49.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -http://sf.net/crunch-wordlist/ .*crunch-(\d\S+)\.(?:tgz|tar\.(?:bz2|gz|xz)) +version=4 +https://sf.net/crunch-wordlist/ .*crunch-(\d\S+)\.(?:tgz|tar\.(?:bz2|gz|xz))