diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-18 22:33:15 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-18 22:42:30 -0400 |
commit | efb29e9c4e48968a6ad5eb6e19d81c5d382cf31a (patch) | |
tree | 054d7bde1382772b2dd934bc18bd54c027c2c6fb /sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild | |
parent | www-plugins/chrome-binary-plugins: automated update (diff) | |
download | gentoo-efb29e9c4e48968a6ad5eb6e19d81c5d382cf31a.tar.gz gentoo-efb29e9c4e48968a6ad5eb6e19d81c5d382cf31a.tar.bz2 gentoo-efb29e9c4e48968a6ad5eb6e19d81c5d382cf31a.zip |
sys-apps/cracklib-words: version bump to 2.9.6
Also update the EAPI and HOMEPAGE to github.
Diffstat (limited to 'sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild')
-rw-r--r-- | sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
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 index 000000000000..4b0191eef939 --- /dev/null +++ b/sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild @@ -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 +} |