Created attachment 179905 [details] shar file for security/crunch 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/
- Isn't textproc better category for this? At least it should be an additional category IMO. - To depend on gcc there's USE_GCC, but you don't need it at all. Instead, you should patch upstream Makefile to respect CC: -CC = $(shell which gcc) +CC ?= $(shell which gcc) - You don't need .include <bsd.port.options.mk> - May also consider installing charset.lst into ${DATADIR} since upstream does that
Created attachment 180197 [details] New (and better) shar Thanks for the input, Dmitry. I agree, and I learned a couple new things along the way, and I hereby present a new and better shar file: - category changed to textproc - removed gcc dependency (I thought at first it wouldn't work with clang, but I'm happy to see it does) - charset.lst added as it should be
New port added, thank you!
A commit references this bug: Author: amdmi3 Date: Wed Feb 22 10:55:00 UTC 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 Changes: head/textproc/Makefile head/textproc/crunch/ head/textproc/crunch/Makefile head/textproc/crunch/distinfo head/textproc/crunch/files/ head/textproc/crunch/files/patch-Makefile head/textproc/crunch/pkg-descr