sys-auth/pam_passwdqc: Drop old (EAPI 0)
authorMichał Górny <mgorny@gentoo.org>
Sun, 10 Nov 2019 09:10:11 +0000 (10:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 10 Nov 2019 09:18:33 +0000 (10:18 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-auth/pam_passwdqc/Manifest [deleted file]
sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch [deleted file]
sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild [deleted file]

diff --git a/sys-auth/pam_passwdqc/Manifest b/sys-auth/pam_passwdqc/Manifest
deleted file mode 100644 (file)
index ec53eda..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_passwdqc-1.0.5.tar.gz 29973 BLAKE2B e2edce3fa63994afc1f1fe65709ad241662c81113b67f6d17e1c5b36d6ea48be1d7f2cde77766fe2b92da2c22546a71122b95dc70b193edacfbdfd219f56ca6c SHA512 8ae6cb4cc520b06b05fadf60ac360964721a8a1e4481aff9cd7247c203e62b58d3aed4c14ba687b303de820689e0f5cdcf070fd396b7e13b0aae4cc5d1442235
diff --git a/sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch b/sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch
deleted file mode 100644 (file)
index 20375b7..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: pam_passwdqc-1.0.5/Makefile
-===================================================================
---- pam_passwdqc-1.0.5.orig/Makefile
-+++ pam_passwdqc-1.0.5/Makefile
-@@ -7,8 +7,8 @@ LD = $(CC)
- RM = rm -f
- MKDIR = mkdir -p
- INSTALL = install -c
--CFLAGS = -Wall -fPIC -O2
--LDFLAGS = --shared
-+CFLAGS = -Wall -fPIC -O2 $(OPTCFLAGS)
-+LDFLAGS_GENERIC = --shared
- LDFLAGS_LINUX = --shared -Wl,--version-script,$(MAP)
- LDFLAGS_SUN = -G
- LDFLAGS_HP = -b
-@@ -41,16 +41,16 @@ MAP = pam_passwdqc.map
- all:
-       case "`uname -s`" in \
-       Linux)  $(MAKE) CFLAGS="$(CFLAGS) -DHAVE_SHADOW" \
--                      LDFLAGS="$(LDFLAGS_LINUX)" LDLIBS="$(LDLIBS_LINUX)" \
-+                      LDFLAGS="$(LDFLAGS) $(LDFLAGS_LINUX)" LDLIBS="$(LDLIBS_LINUX)" \
-                       $(PROJ);; \
-       SunOS)  $(MAKE) CFLAGS="$(CFLAGS) -DHAVE_SHADOW" \
--                      LD=ld LDFLAGS="$(LDFLAGS_SUN)" LDLIBS="$(LDLIBS_SUN)" \
-+                      LD=ld LDFLAGS="$(LDFLAGS) $(LDFLAGS_SUN)" LDLIBS="$(LDLIBS_SUN)" \
-                       $(PROJ);; \
-       HP-UX)  $(MAKE) CFLAGS="$(CFLAGS) -DHAVE_SHADOW" \
--                      LD=ld LDFLAGS="$(LDFLAGS_HP)" LDLIBS="$(LDLIBS_HP)" \
-+                      LD=ld LDFLAGS="$(LDFLAGS) $(LDFLAGS_HP)" LDLIBS="$(LDLIBS_HP)" \
-                       $(PROJ);; \
--      *)      $(MAKE) $(PROJ);; \
-+      *)      $(MAKE) LDFLAGS="$(LDFLAGS) $(LDFLAGS_GENERIC)" $(PROJ);; \
-       esac
- $(LIBSHARED): $(OBJS) $(MAP)
diff --git a/sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild b/sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild
deleted file mode 100644 (file)
index a960678..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit pam eutils toolchain-funcs
-
-DESCRIPTION="Password strength checking for PAM aware password changing programs"
-HOMEPAGE="http://www.openwall.com/passwdqc/"
-SRC_URI="http://www.openwall.com/pam/modules/pam_passwdqc/${P}.tar.gz"
-
-LICENSE="Openwall BSD public-domain"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
-
-DEPEND="sys-libs/pam"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
-       unpack ${A}
-
-       cd "${S}"
-       epatch "${FILESDIR}/${P}-makefile.patch"
-}
-
-src_compile() {
-       emake \
-               OPTCFLAGS="${CFLAGS}" \
-               CC="$(tc-getCC)" \
-               LD="$(tc-getCC)" \
-               || die "emake failed"
-}
-
-src_install() {
-       dopammod pam_passwdqc.so
-
-       doman pam_passwdqc.8
-       dodoc README PLATFORMS INTERNALS
-}
-
-pkg_postinst() {
-       elog
-       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."
-       elog
-}