svn commit: r434576 - in head/textproc: . crunch crunch/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Feb 22 10:55:01 UTC 2017
Author: amdmi3
Date: Wed Feb 22 10:54:59 2017
New Revision: 434576
URL: https://svnweb.freebsd.org/changeset/ports/434576
Log:
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:
- crunch generates wordlists in both combination and permutation ways
- it can breakup output by number of lines or file size
- now has resume support
- pattern now supports number and symbols
- pattern now supports upper and lower case characters separately
- adds a status report when generating multiple files
- new -l option for literal support of @,%^
- new -d option to limit duplicate characters see man file for details
- now has unicode support
WWW: https://crunch-wordlist.sourceforge.io/
PR: 217036
Submitted by: vidar at karlsen.tech
Added:
head/textproc/crunch/
head/textproc/crunch/Makefile (contents, props changed)
head/textproc/crunch/distinfo (contents, props changed)
head/textproc/crunch/files/
head/textproc/crunch/files/patch-Makefile (contents, props changed)
head/textproc/crunch/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Wed Feb 22 10:26:44 2017 (r434575)
+++ head/textproc/Makefile Wed Feb 22 10:54:59 2017 (r434576)
@@ -89,6 +89,7 @@
SUBDIR += confget
SUBDIR += consul-template
SUBDIR += crimson
+ SUBDIR += crunch
SUBDIR += cs-aspell
SUBDIR += cs-hunspell
SUBDIR += cs-hyphen
Added: head/textproc/crunch/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/crunch/Makefile Wed Feb 22 10:54:59 2017 (r434576)
@@ -0,0 +1,25 @@
+# Created by: Vidar Karlsen <vidar at karlsen.tech>
+# $FreeBSD$
+
+PORTNAME= crunch
+PORTVERSION= 3.6
+CATEGORIES= textproc
+MASTER_SITES= SF/${PORTNAME}-wordlist/${PORTNAME}-wordlist
+
+MAINTAINER= vidar at karlsen.tech
+COMMENT= Charset-based wordlist generator
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gmake tar:tgz
+
+PLIST_FILES= bin/crunch man/man1/crunch.1.gz %%DATADIR%%/charset.lst
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/charset.lst ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>
Added: head/textproc/crunch/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/crunch/distinfo Wed Feb 22 10:54:59 2017 (r434576)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486909070
+SHA256 (crunch-3.6.tgz) = 6a8f6c3c7410cc1930e6854d1dadc6691bfef138760509b33722ff2de133fe55
+SIZE (crunch-3.6.tgz) = 38635
Added: head/textproc/crunch/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/crunch/files/patch-Makefile Wed Feb 22 10:54:59 2017 (r434576)
@@ -0,0 +1,24 @@
+--- Makefile.orig 2014-05-03 17:04:11 UTC
++++ Makefile
+@@ -38,15 +38,18 @@ DOCDIR = $(PREFIX)/share/doc/$(PACKA
+ MANDIR = $(PREFIX)/share/man/man1
+
+ INSTALL = sudo $(shell which install)
+-CC = $(shell which gcc)
++CC ?= $(shell which gcc)
+ LIBFLAGS = -lm
+ THREADFLAGS = -pthread
+ OPTFLAGS = -g -o0
+ LINTFLAGS = -Wall -pedantic
+ CFLAGS_STD = $(THREADFLAGS) $(LINTFLAGS) -std=c99
+ VCFLAGS = $(CFLAGS_STD) $(OPTFLAGS)
+-LFS = $(shell getconf POSIX_V6_ILP32_OFFBIG_CFLAGS)
+-
++ifeq ($(UNAME_LOOKUP),!FreeBSD)
++ LFS = $(shell getconf POSIX_V6_ILP32_OFFBIG_CFLAGS)
++else
++ INSTALL_OPTIONS = -g wheel -o root
++endif
+ 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
Added: head/textproc/crunch/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/crunch/pkg-descr Wed Feb 22 10:54:59 2017 (r434576)
@@ -0,0 +1,17 @@
+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:
+
+- crunch generates wordlists in both combination and permutation ways
+- it can breakup output by number of lines or file size
+- now has resume support
+- pattern now supports number and symbols
+- pattern now supports upper and lower case characters separately
+- adds a status report when generating multiple files
+- new -l option for literal support of @,%^
+- new -d option to limit duplicate characters see man file for details
+- now has unicode support
+
+WWW: https://crunch-wordlist.sourceforge.io/
More information about the svn-ports-all
mailing list