summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-02 22:39:05 +0100
committerSam James <sam@gentoo.org>2023-04-02 22:39:15 +0100
commit8e3f3e6c91fef6495366fdbf8faab1e085cda101 (patch)
tree2f8e6216ef60dce93178d5b5e56a3efc2aa1410f /sys-apps
parentsys-libs/cracklib: add 2.9.11 (diff)
downloadgentoo-8e3f3e6c91fef6495366fdbf8faab1e085cda101.tar.gz
gentoo-8e3f3e6c91fef6495366fdbf8faab1e085cda101.tar.bz2
gentoo-8e3f3e6c91fef6495366fdbf8faab1e085cda101.zip
sys-apps/cracklib-words: add 2.9.11
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/cracklib-words/Manifest1
-rw-r--r--sys-apps/cracklib-words/cracklib-words-2.9.11.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/cracklib-words/Manifest b/sys-apps/cracklib-words/Manifest
index ebe84c9ff065..c15e0481c6bf 100644
--- a/sys-apps/cracklib-words/Manifest
+++ b/sys-apps/cracklib-words/Manifest
@@ -1,2 +1,3 @@
DIST cracklib-words-2.9.10.gz 5537751 BLAKE2B af3fb563a6f57a7cec0843c01ab2b344f7552029a20158e592b7cff1e93041896aa12c3254488a01e8899f6fb1ce9b16fc52580b92945a566f9fb058abb536b4 SHA512 87166906163bab4b79fae253c409bf75bfdd97befc1960b2aaa41b3f3e44a3362dc80d983b2783beb4a99fb1ce0e52316579cc4ba854a0a94321a804ed408a74
+DIST cracklib-words-2.9.11.xz 4157220 BLAKE2B 1ee0c82a6b7d4bcfedd8f4c99feac0f8de68cce061e41f16962a7f7893bd91443d2677533ea3e9e6a16cb5f8fa37bc502d691552d899dc07bcddcddc762f1354 SHA512 09e4bf6ad6064accc88d9206e2b2dd28f0e80f827c600f510dc9bb8ac5d51454da2dfbd8e80f2683af501b6f298fb53fb4cf2fb2b5d668940cc6f64701ed6730
DIST cracklib-words-2.9.8.gz 5537586 BLAKE2B ca56229852211094c17b2a612100b5b6e4e4f6aafa7cbfae8f779296370b01e5cae26d7d51dd69af6291946a1781cd19f8652bdff7f358c2e50d26c9e263c2fd SHA512 1700c56b9776b7ae4684b9ab1e784dd7707550bce2149301f662618a4f00a2eb0ba2d1a206c09aac22f7d95bc561544d412d2fdac5008fc3aabc4872e8a74afc
diff --git a/sys-apps/cracklib-words/cracklib-words-2.9.11.ebuild b/sys-apps/cracklib-words/cracklib-words-2.9.11.ebuild
new file mode 100644
index 000000000000..54f29a15b593
--- /dev/null
+++ b/sys-apps/cracklib-words/cracklib-words-2.9.11.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: ideally bump with sys-libs/cracklib
+DESCRIPTION="Large set of crack/cracklib dictionaries"
+HOMEPAGE="https://github.com/cracklib/cracklib/"
+SRC_URI="https://github.com/cracklib/cracklib/releases/download/v${PV}/${P}.xz"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+src_install() {
+ insinto /usr/share/dict
+ newins ${P} ${PN}
+}
+
+pkg_postinst() {
+ if [[ -n ${ROOT} ]] && create-cracklib-dict -h >&/dev/null ; then
+ ebegin "Regenerating cracklib dictionary"
+ create-cracklib-dict /usr/share/dict/* >/dev/null
+ eend $?
+ fi
+}