sys-apps/cracklib-words: version bump to 2.9.6
authorMike Frysinger <vapier@gentoo.org>
Wed, 19 Aug 2015 02:33:15 +0000 (22:33 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 19 Aug 2015 02:42:30 +0000 (22:42 -0400)
Also update the EAPI and HOMEPAGE to github.

sys-apps/cracklib-words/Manifest
sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild [new file with mode: 0644]

index 6f7e6c52b7ebaac24366d92651f598ba10ad49d8..34e2669ae4133a35df9f95327fb791d96c49db9f 100644 (file)
@@ -1 +1,2 @@
-DIST cracklib-words-20080507.gz 4515718 SHA256 e0c7f452c1fd80d551ae4a7d1afa7fa19cbf47c2d6d5dafc1255c1e76502cb71
+DIST cracklib-words-2.9.6.gz 5536645 SHA256 27973245225eeb9d0090e97f3dea4197dec99b64d9d3a791a60298f3b021824c SHA512 fc5bbe7699c9c9e3f39f5c82f53ec8a4ea85e08d5513188a2f6423f92779008b87d85cfcf87a9a5d13a49b04c30f73890cd4d3fa7cd4a6bdac5c1ebc18e18bc3 WHIRLPOOL b08492a26adc1ae867d04aa56b227c86d21ee75f3486bd761161c184cac8252677bd153a04732e47300d3208d48fbe7bc5b4a4c5ca9bca631079e79f364cfb39
+DIST cracklib-words-20080507.gz 4515718 SHA256 e0c7f452c1fd80d551ae4a7d1afa7fa19cbf47c2d6d5dafc1255c1e76502cb71 SHA512 d21055d6439a2b92b23ab6fd31222d9330315a0b44f53fae308ce5749a9fcb33b7df982f85ca8e2d6d2f9cc4c7264dfc3ed454edbccecd76289713df09fd633e WHIRLPOOL 435ca671c1e9f4b5b45852ff9295af89cedcfc408be420a7ff93f85147bb9bf9cd32b2d9c24a7677b5db9df674a27c476fcbc9e9a012e71709f6e6005e763b0c
diff --git a/sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild b/sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild
new file mode 100644 (file)
index 0000000..4b0191e
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="large set of crack/cracklib dictionaries"
+HOMEPAGE="https://github.com/cracklib/cracklib/"
+SRC_URI="https://github.com/cracklib/cracklib/releases/download/${P/-words}/${P}.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+S=${WORKDIR}
+
+src_install() {
+       insinto /usr/share/dict
+       newins ${P} ${PN}
+}
+
+pkg_postinst() {
+       if [ "${ROOT}" = "/" ] && create-cracklib-dict -h >&/dev/null ; then
+               ebegin "Regenerating cracklib dictionary"
+               create-cracklib-dict /usr/share/dict/* >/dev/null
+               eend $?
+       fi
+}