summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-10-10 12:26:35 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-10-10 12:26:35 +0300
commit08f4cce70ead34aa28d28ce72ab4e2daacb26c4f (patch)
tree1e49ad2111b3e28303cd6dafe7401f55b2f2f846 /sys-auth/passwdqc/passwdqc-1.3.0.ebuild
parentsys-auth/passwdqc: mark stable (diff)
downloadgentoo-08f4cce70ead34aa28d28ce72ab4e2daacb26c4f.tar.gz
gentoo-08f4cce70ead34aa28d28ce72ab4e2daacb26c4f.tar.bz2
gentoo-08f4cce70ead34aa28d28ce72ab4e2daacb26c4f.zip
sys-auth/passwdqc: Drop old
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-auth/passwdqc/passwdqc-1.3.0.ebuild')
-rw-r--r--sys-auth/passwdqc/passwdqc-1.3.0.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/sys-auth/passwdqc/passwdqc-1.3.0.ebuild b/sys-auth/passwdqc/passwdqc-1.3.0.ebuild
deleted file mode 100644
index 61f8e548190..00000000000
--- a/sys-auth/passwdqc/passwdqc-1.3.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit pam eutils toolchain-funcs multilib
-
-DESCRIPTION="Password strength checking library (and PAM module)"
-HOMEPAGE="http://www.openwall.com/passwdqc/"
-SRC_URI="http://www.openwall.com/${PN}/${P}.tar.gz"
-
-LICENSE="Openwall BSD public-domain"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="pam utils"
-
-RDEPEND="
- pam? (
- sys-libs/pam
- !<sys-auth/pam_passwdqc-1.3.0
- )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.3.0-build.patch
- sed -i \
- -e 's:`uname -s`:Linux:' \
- Makefile || die
- # See if the system has a shadow.h. #554504
- echo '#include <shadow.h>' > "${T}"/test.c
- if ! $(tc-getCPP) ${CPPFLAGS} "${T}"/test.c >& /dev/null ; then
- sed -i -e 's:-DHAVE_SHADOW::' Makefile || die
- fi
-}
-
-_emake() {
- emake \
- LIBDIR="$(get_libdir)" \
- CFLAGS="${CFLAGS} ${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC)" \
- "$@"
-}
-
-src_compile() {
- # The use of wrapped targets defeats the Makefile dep tracking.
- # Build all the targets explicitly after the library.
- _emake lib
- if use pam || use utils ; then
- _emake $(usev pam) $(usev utils)
- fi
-}
-
-src_install() {
- _emake \
- DESTDIR="${ED}" \
- install_lib $(usex pam install_pam '') $(usex utils install_utils '')
- dodoc README PLATFORMS INTERNALS
-}
-
-pkg_postinst() {
- if use pam ; then
- elog "To activate pam_passwdqc use pam_passwdqc.so instead"
- elog "of pam_cracklib.so in /etc/pam.d/system-auth."
- elog "Also, if you want to change the parameters, read up"
- elog "on the pam_passwdqc(8) man page."
- fi
-}