summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-29 03:09:19 +0100
committerSam James <sam@gentoo.org>2024-08-29 03:09:19 +0100
commit1871c375dd8600243a653aff7739dffe44d78630 (patch)
tree79ee47a1124f53e9b0b41e3770712e7f0d1cdf27 /sys-apps
parentsys-libs/cracklib: add 2.10.2 (diff)
downloadgentoo-1871c375dd8600243a653aff7739dffe44d78630.tar.gz
gentoo-1871c375dd8600243a653aff7739dffe44d78630.tar.bz2
gentoo-1871c375dd8600243a653aff7739dffe44d78630.zip
sys-apps/cracklib-words: add 2.10.2
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.10.2.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/cracklib-words/Manifest b/sys-apps/cracklib-words/Manifest
index 137cd6e27a3a..4fdc4ced1770 100644
--- a/sys-apps/cracklib-words/Manifest
+++ b/sys-apps/cracklib-words/Manifest
@@ -1 +1,2 @@
+DIST cracklib-words-2.10.2.xz 4157220 BLAKE2B 1ee0c82a6b7d4bcfedd8f4c99feac0f8de68cce061e41f16962a7f7893bd91443d2677533ea3e9e6a16cb5f8fa37bc502d691552d899dc07bcddcddc762f1354 SHA512 09e4bf6ad6064accc88d9206e2b2dd28f0e80f827c600f510dc9bb8ac5d51454da2dfbd8e80f2683af501b6f298fb53fb4cf2fb2b5d668940cc6f64701ed6730
DIST cracklib-words-2.9.11.xz 4157220 BLAKE2B 1ee0c82a6b7d4bcfedd8f4c99feac0f8de68cce061e41f16962a7f7893bd91443d2677533ea3e9e6a16cb5f8fa37bc502d691552d899dc07bcddcddc762f1354 SHA512 09e4bf6ad6064accc88d9206e2b2dd28f0e80f827c600f510dc9bb8ac5d51454da2dfbd8e80f2683af501b6f298fb53fb4cf2fb2b5d668940cc6f64701ed6730
diff --git a/sys-apps/cracklib-words/cracklib-words-2.10.2.ebuild b/sys-apps/cracklib-words/cracklib-words-2.10.2.ebuild
new file mode 100644
index 000000000000..4d8b68ab4280
--- /dev/null
+++ b/sys-apps/cracklib-words/cracklib-words-2.10.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 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
+}