import ports/textproc/crunch, from Renaud Allard, tweaks me and op@, ok op@
This commit is contained in:
parent
a6388766cd
commit
f6592a926f
34
textproc/crunch/Makefile
Normal file
34
textproc/crunch/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
COMMENT = wordlist generator
|
||||
|
||||
DISTNAME = crunch-3.6
|
||||
EXTRACT_SUFX = .tgz
|
||||
|
||||
CATEGORIES = textproc
|
||||
|
||||
HOMEPAGE = https://sourceforge.net/projects/crunch-wordlist/
|
||||
MAINTAINER = Renaud Allard <renaud@allard.it>
|
||||
|
||||
# GPLv2 only
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += c m pthread
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=crunch-wordlist/}
|
||||
|
||||
USE_GMAKE = Yes
|
||||
MAKE_FLAGS = CC="${CC}" LFS=
|
||||
FAKE_FLAGS = PREFIX=${TRUEPREFIX}
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
pre-patch:
|
||||
sed -Ei 's/^(\\"|$$)/.\\"/' ${WRKSRC}/crunch.1
|
||||
|
||||
# upstream's target uses sudo
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/crunch
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/crunch ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/charset.lst ${PREFIX}/share/crunch
|
||||
${INSTALL_MAN} ${WRKSRC}/crunch.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/crunch/distinfo
Normal file
2
textproc/crunch/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (crunch-3.6.tgz) = ao9sPHQQzBkw5oVNHa3GaRv+8Th2BQmzNyL/LeEz/lU=
|
||||
SIZE (crunch-3.6.tgz) = 38635
|
13
textproc/crunch/pkg/DESCR
Normal file
13
textproc/crunch/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
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.
|
||||
|
||||
Features:
|
||||
* generates wordlists in both combination and permutation ways
|
||||
* can breakup output by number of lines or file size
|
||||
* resume support
|
||||
* pattern supports number, symbols, upper and lowercase characters separately
|
||||
* adds a status report when generating multiple files
|
||||
* -l option for literal support of @,%^
|
||||
* -d option to limit duplicate characters see man file for details
|
||||
* unicode support
|
5
textproc/crunch/pkg/PLIST
Normal file
5
textproc/crunch/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@bin bin/crunch
|
||||
@man man/man1/crunch.1
|
||||
share/crunch/
|
||||
share/crunch/charset.lst
|
||||
share/doc/crunch/
|
Loading…
x
Reference in New Issue
Block a user