svn commit: r408137 - in head/security/cracklib: . files
Cy Schubert
cy at FreeBSD.org
Fri Feb 5 07:05:13 UTC 2016
Author: cy
Date: Fri Feb 5 07:05:11 2016
New Revision: 408137
URL: https://svnweb.freebsd.org/changeset/ports/408137
Log:
Update 2.9.4 --> 2.9.6
Distfile has been moved from sourceforge to github.
Generate dictionary from github hosted word dictionary file instead of
in port.
Added:
head/security/cracklib/files/patch-util__cracklib-format (contents, props changed)
Deleted:
head/security/cracklib/files/pw_dict.hwm
head/security/cracklib/files/pw_dict.pwd
head/security/cracklib/files/pw_dict.pwi
Modified:
head/security/cracklib/Makefile
head/security/cracklib/distinfo
Modified: head/security/cracklib/Makefile
==============================================================================
--- head/security/cracklib/Makefile Fri Feb 5 06:48:06 2016 (r408136)
+++ head/security/cracklib/Makefile Fri Feb 5 07:05:11 2016 (r408137)
@@ -2,13 +2,17 @@
# $FreeBSD$
PORTNAME= cracklib
-PORTVERSION= 2.9.4
+PORTVERSION= 2.9.6
CATEGORIES= security
.if defined(PYTHON_SLAVEPORT)
CATEGORIES+= python
.endif
-MASTER_SITES= SF \
+MASTER_SITES= https://github.com/cracklib/cracklib/releases/download/cracklib-2.9.6/ \
LOCAL/cy
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}-words-${PORTVERSION}.gz
+EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+WORDS_DISTFILE= ${PORTNAME}-words-${PORTVERSION}.gz
MAINTAINER= cy at FreeBSD.org
COMMENT?= Password-checking library
@@ -16,7 +20,7 @@ COMMENT?= Password-checking library
LICENSE= LGPL21
DICTPATH= ${PREFIX}/libdata/${PORTNAME}
-DICTFILE= ${DICTPATH}/pw_dict
+DICTFILE= ${DICTPATH}/cracklib-words
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-default-dict=${DICTFILE}
INSTALL_TARGET= install-strip
@@ -43,9 +47,9 @@ PLIST_FILES= include/crack.h \
lib/libcrack.so \
lib/libcrack.so.2 \
lib/libcrack.so.2.9.0 \
- libdata/cracklib/pw_dict.hwm \
- libdata/cracklib/pw_dict.pwd \
- libdata/cracklib/pw_dict.pwi \
+ libdata/cracklib/cracklib-words.hwm \
+ libdata/cracklib/cracklib-words.pwd \
+ libdata/cracklib/cracklib-words.pwi \
man/man3/FascistCheck.3.gz \
man/man3/cracklib.3.gz \
sbin/cracklib-check \
@@ -105,7 +109,7 @@ post-install:
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/
${LN} -s ${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/FascistCheck.3
@${MKDIR} ${STAGEDIR}${DICTPATH}
- ${INSTALL_DATA} ${FILESDIR}/pw_dict* ${STAGEDIR}${DICTPATH}/
+ @PATH=$${PATH}:${STAGEDIR}${PREFIX}/sbin ${STAGEDIR}${PREFIX}/sbin/create-cracklib-dict -o ${STAGEDIR}${DICTPATH}/cracklib-words ${_DISTDIR}/${WORDS_DISTFILE}
.endif
.include <bsd.port.mk>
Modified: head/security/cracklib/distinfo
==============================================================================
--- head/security/cracklib/distinfo Fri Feb 5 06:48:06 2016 (r408136)
+++ head/security/cracklib/distinfo Fri Feb 5 07:05:11 2016 (r408137)
@@ -1,2 +1,4 @@
-SHA256 (cracklib-2.9.4.tar.gz) = f2a866b4b9808344228ea6d68b69e3ba9a8a99210e23dfd718d4b95c60be8958
-SIZE (cracklib-2.9.4.tar.gz) = 622478
+SHA256 (cracklib-2.9.6.tar.gz) = 17cf76943de272fd579ed831a1fd85339b393f8d00bf9e0d17c91e972f583343
+SIZE (cracklib-2.9.6.tar.gz) = 642402
+SHA256 (cracklib-words-2.9.6.gz) = 27973245225eeb9d0090e97f3dea4197dec99b64d9d3a791a60298f3b021824c
+SIZE (cracklib-words-2.9.6.gz) = 5536645
Added: head/security/cracklib/files/patch-util__cracklib-format
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/cracklib/files/patch-util__cracklib-format Fri Feb 5 07:05:11 2016 (r408137)
@@ -0,0 +1,10 @@
+--- util/cracklib-format.orig 2015-08-18 11:41:16.000000000 -0700
++++ util/cracklib-format 2016-02-04 21:05:17.397847600 -0800
+@@ -3,6 +3,7 @@
+ # This preprocesses a set of word lists into a suitable form for input
+ # into cracklib-packer
+ #
++unset LANG
+ gzip -cdf "$@" |
+ grep -v '^\(#\|$\)' |
+ tr '[A-Z]' '[a-z]' |
More information about the svn-ports-all
mailing list