From owner-svn-ports-head@freebsd.org Wed Feb 22 10:55:01 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1765ECE9488; Wed, 22 Feb 2017 10:55:01 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC31E12C6; Wed, 22 Feb 2017 10:55:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1MAsxJ8014893; Wed, 22 Feb 2017 10:54:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1MAsx0B014888; Wed, 22 Feb 2017 10:54:59 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201702221054.v1MAsx0B014888@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 22 Feb 2017 10:54:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434576 - in head/textproc: . crunch crunch/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 10:55:01 -0000 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@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 +# $FreeBSD$ + +PORTNAME= crunch +PORTVERSION= 3.6 +CATEGORIES= textproc +MASTER_SITES= SF/${PORTNAME}-wordlist/${PORTNAME}-wordlist + +MAINTAINER= vidar@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 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/