diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 00:25:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 00:25:50 +0000 |
commit | 48dbe17904ac8ee6f006488d8f21734b0d253db4 (patch) | |
tree | 90c7f087cbefd4ac6b893072d309e75dbf019f76 /sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild | |
parent | 7972abc05090180dcc09d2b16af4020ce1cd1841 (diff) |
gentoo auto-resync : 17:03:2023 - 00:25:50
Diffstat (limited to 'sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild')
-rw-r--r-- | sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild b/sys-apps/cracklib-words/cracklib-words-2.9.10.ebuild new file mode 100644 index 000000000000..a0396e851ca0 --- /dev/null +++ b/sys-apps/cracklib-words/cracklib-words-2.9.10.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}.gz" +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 +} |