diff options
author | David Michael <fedora.dm0@gmail.com> | 2020-12-25 22:08:45 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-12-28 12:27:19 -0500 |
commit | fca20ac6c22fd398525c182d6d8c434c63065690 (patch) | |
tree | 2e437dadeb5b72d3ac0c76078732f7dd64c74611 /sys-libs/cracklib | |
parent | sys-block/parted: use BDEPEND with EAPI 7 (diff) | |
download | gentoo-fca20ac6c22fd398525c182d6d8c434c63065690.tar.gz gentoo-fca20ac6c22fd398525c182d6d8c434c63065690.tar.bz2 gentoo-fca20ac6c22fd398525c182d6d8c434c63065690.zip |
sys-libs/cracklib: EAPI 7
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs/cracklib')
-rw-r--r-- | sys-libs/cracklib/cracklib-2.9.7.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-libs/cracklib/cracklib-2.9.7.ebuild b/sys-libs/cracklib/cracklib-2.9.7.ebuild index c1d56d566b28..7af49f870235 100644 --- a/sys-libs/cracklib/cracklib-2.9.7.ebuild +++ b/sys-libs/cracklib/cracklib-2.9.7.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_OPTIONAL=1 -inherit distutils-r1 libtool multilib-minimal toolchain-funcs usr-ldscript +inherit distutils-r1 libtool multilib-minimal usr-ldscript MY_P=${P/_} DESCRIPTION="Password Checking Library" @@ -88,15 +88,15 @@ multilib_src_install() { multilib_src_install_all() { einstalldocs - find "${ED}" -name "*.la" -delete || die - rm -r "${ED%/}"/usr/share/cracklib || die + find "${ED}" -type f -name "*.la" -delete || die + rm -r "${ED}"/usr/share/cracklib || die insinto /usr/share/dict doins dicts/cracklib-small } pkg_postinst() { - if [[ ${ROOT} == "/" ]] ; then + if [[ -z ${ROOT} ]] ; then ebegin "Regenerating cracklib dictionary" create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null eend $? |