1 |
commit: 9d5e4ef52f53cc9a0f1af1bd2507f4ee340e0627 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 16 21:59:37 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 22:01:08 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5e4ef5 |
7 |
|
8 |
sys-apps/cracklib-words: add 2.9.10 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/cracklib-words/Manifest | 1 + |
13 |
.../cracklib-words/cracklib-words-2.9.10.ebuild | 27 ++++++++++++++++++++++ |
14 |
2 files changed, 28 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/cracklib-words/Manifest b/sys-apps/cracklib-words/Manifest |
17 |
index 18e4bcfeaf1c..ebe84c9ff065 100644 |
18 |
--- a/sys-apps/cracklib-words/Manifest |
19 |
+++ b/sys-apps/cracklib-words/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST cracklib-words-2.9.10.gz 5537751 BLAKE2B af3fb563a6f57a7cec0843c01ab2b344f7552029a20158e592b7cff1e93041896aa12c3254488a01e8899f6fb1ce9b16fc52580b92945a566f9fb058abb536b4 SHA512 87166906163bab4b79fae253c409bf75bfdd97befc1960b2aaa41b3f3e44a3362dc80d983b2783beb4a99fb1ce0e52316579cc4ba854a0a94321a804ed408a74 |
22 |
DIST cracklib-words-2.9.8.gz 5537586 BLAKE2B ca56229852211094c17b2a612100b5b6e4e4f6aafa7cbfae8f779296370b01e5cae26d7d51dd69af6291946a1781cd19f8652bdff7f358c2e50d26c9e263c2fd SHA512 1700c56b9776b7ae4684b9ab1e784dd7707550bce2149301f662618a4f00a2eb0ba2d1a206c09aac22f7d95bc561544d412d2fdac5008fc3aabc4872e8a74afc |
23 |
|
24 |
diff --git a/sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild b/sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..a0396e851ca0 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild |
29 |
@@ -0,0 +1,27 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+# Note: ideally bump with sys-libs/cracklib |
36 |
+DESCRIPTION="Large set of crack/cracklib dictionaries" |
37 |
+HOMEPAGE="https://github.com/cracklib/cracklib/" |
38 |
+SRC_URI="https://github.com/cracklib/cracklib/releases/download/v${PV}/${P}.gz" |
39 |
+S="${WORKDIR}" |
40 |
+ |
41 |
+LICENSE="public-domain" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
44 |
+ |
45 |
+src_install() { |
46 |
+ insinto /usr/share/dict |
47 |
+ newins ${P} ${PN} |
48 |
+} |
49 |
+ |
50 |
+pkg_postinst() { |
51 |
+ if [[ -n ${ROOT} ]] && create-cracklib-dict -h >&/dev/null ; then |
52 |
+ ebegin "Regenerating cracklib dictionary" |
53 |
+ create-cracklib-dict /usr/share/dict/* >/dev/null |
54 |
+ eend $? |
55 |
+ fi |
56 |
+} |