cracklib-check doesn't work after install on FreeBSD 13.0. Running cracklib-check will output /usr/local/libdata/cracklib/cracklib-words: error reading header. The cause seems to be that create-cracklib-dict fails in post-install step because $WORDS_DISTFILE is not downloaded because its not in DISTFILES list. Can be fixed by adding to Makefile: DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${WORDS_DISTFILE} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
Verified and patched.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bab091e20adef82f1a54d53430b8576c55a1759a commit bab091e20adef82f1a54d53430b8576c55a1759a Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-01-26 04:28:15 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-01-26 06:14:40 +0000 security/cracklib: Fix error reading header Fix incorrectly generated dictionary: /usr/local/libdata/cracklib/cracklib-words: error reading header PR: 260320 Submitted by: dr@loopia.rs Reported by: dr@loopia.rs MFH: 2022Q1 security/cracklib/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch 2022Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ae43982334b295dc5d5b49ddaebf54ac3f91eb3 commit 7ae43982334b295dc5d5b49ddaebf54ac3f91eb3 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-01-26 04:28:15 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-01-26 06:21:20 +0000 security/cracklib: Fix error reading header Fix incorrectly generated dictionary: /usr/local/libdata/cracklib/cracklib-words: error reading header PR: 260320 Submitted by: dr@loopia.rs Reported by: dr@loopia.rs (cherry picked from commit bab091e20adef82f1a54d53430b8576c55a1759a) security/cracklib/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Fixed