diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-10-10 12:26:35 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-10-10 12:26:35 +0300 |
commit | 08f4cce70ead34aa28d28ce72ab4e2daacb26c4f (patch) | |
tree | 1e49ad2111b3e28303cd6dafe7401f55b2f2f846 /sys-auth/passwdqc | |
parent | sys-auth/passwdqc: mark stable (diff) | |
download | gentoo-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')
-rw-r--r-- | sys-auth/passwdqc/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch | 58 | ||||
-rw-r--r-- | sys-auth/passwdqc/metadata.xml | 3 | ||||
-rw-r--r-- | sys-auth/passwdqc/passwdqc-1.3.0.ebuild | 69 |
4 files changed, 0 insertions, 131 deletions
diff --git a/sys-auth/passwdqc/Manifest b/sys-auth/passwdqc/Manifest index 01a58c4f18a9..dba9939c1f2b 100644 --- a/sys-auth/passwdqc/Manifest +++ b/sys-auth/passwdqc/Manifest @@ -1,2 +1 @@ -DIST passwdqc-1.3.0.tar.gz 48833 BLAKE2B bf6353749376ca8b52a8aac89b05561d4a0dde54133361b77228dd4d35f2e1e75f0b53a0f9c4fc2f6be5717110c1d762e2aa76f6461281b60fa3bdc9b19f2f7d SHA512 d9c2fd075ed4ff1f1dfa63fe40010d446abf8db306cacc77fd1e429fbd2dd1a6d2e4e91df46beb4c30bc30ff0cdd183ba85cefd362455ead9629d3a1c4eefece DIST passwdqc-1.4.0.tar.gz 55219 BLAKE2B 3f96a2d219ee23f11db2ad8ba433eaa56b97a263ad1a49159e0356b779cb4486ec9aa74cd7002fdd6d273e5a7bae4fe1b94e02f60256d331e5afc30d63e81360 SHA512 b9be6632688a1d7d929ec546679a366a67d44e7841e106c7f739a8e0656842866125160c87b04c8e0b3189a3e85eb182aa789196f68925b2f8ec71cd6a479800 diff --git a/sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch b/sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch deleted file mode 100644 index c8adeb89b4ab..000000000000 --- a/sys-auth/passwdqc/files/passwdqc-1.3.0-build.patch +++ /dev/null @@ -1,58 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -20,10 +20,11 @@ - BINMODE = 755 - CONFDIR = /etc - CONFMODE = 644 --SHARED_LIBDIR = /lib -+LIBDIR = lib -+SHARED_LIBDIR = /$(LIBDIR) - SHARED_LIBDIR_SUN = /usr/lib - SHARED_LIBDIR_REL = ../..$(SHARED_LIBDIR) --DEVEL_LIBDIR = /usr/lib -+DEVEL_LIBDIR = /usr/$(LIBDIR) --SECUREDIR = /lib/security -+SECUREDIR = /$(LIBDIR)/security - SECUREDIR_SUN = /usr/lib/security - SECUREDIR_DARWIN = /usr/lib/pam -@@ -48,7 +49,7 @@ - INSTALL_SUN = /usr/ucb/install -c - CFLAGS = -Wall -W -O2 - CFLAGS_lib = $(CFLAGS) -fPIC --CFLAGS_bin = $(CFLAGS) -fomit-frame-pointer -+CFLAGS_bin = $(CFLAGS) - - LDFLAGS = - LDFLAGS_shared = --shared -@@ -93,7 +94,7 @@ - - default: all - --all pam utils install install_lib install_pam install_utils uninstall remove remove_lib remove_pam remove_utils: -+all lib pam utils install install_lib install_pam install_utils uninstall remove remove_lib remove_pam remove_utils: - case "`uname -s`" in \ - Linux) $(MAKE) CFLAGS_lib="$(CFLAGS_lib) -DHAVE_SHADOW" \ - LDFLAGS_lib="$(LDFLAGS_lib_LINUX)" \ -@@ -126,18 +127,20 @@ - - all_wrapped: pam_wrapped utils_wrapped - -+lib_wrapped: $(SHARED_LIB) $(DEVEL_LIB) -+ - pam_wrapped: $(SHARED_PAM) - - utils_wrapped: $(BINS) - - $(SHARED_LIB): $(OBJS_LIB) $(MAP_LIB) -- $(LD_lib) $(LDFLAGS_lib) $(OBJS_LIB) $(LDLIBS_lib) -o $(SHARED_LIB) -+ $(LD_lib) $(LDFLAGS) $(LDFLAGS_lib) $(OBJS_LIB) $(LDLIBS_lib) -o $(SHARED_LIB) - - $(DEVEL_LIB): $(SHARED_LIB) - $(LN_s) $(SHARED_LIB) $(DEVEL_LIB) - - $(SHARED_PAM): $(OBJS_PAM) $(MAP_PAM) $(DEVEL_LIB) -- $(LD_lib) $(LDFLAGS_pam) $(OBJS_PAM) $(LDLIBS_pam) -L. -lpasswdqc -o $(SHARED_PAM) -+ $(LD_lib) $(LDFLAGS) $(LDFLAGS_pam) $(OBJS_PAM) $(LDLIBS_pam) -L. -lpasswdqc -o $(SHARED_PAM) - - pwqgen: $(OBJS_GEN) $(DEVEL_LIB) - $(LD) $(LDFLAGS) $(OBJS_GEN) -L. -lpasswdqc -o $@ diff --git a/sys-auth/passwdqc/metadata.xml b/sys-auth/passwdqc/metadata.xml index dec6162a1b7c..203fa55c746f 100644 --- a/sys-auth/passwdqc/metadata.xml +++ b/sys-auth/passwdqc/metadata.xml @@ -5,7 +5,4 @@ <email>zlogene@gentoo.org</email> <name>Mikle Kolyada</name> </maintainer> -<use> - <flag name="utils">Install pwqcheck and pwqgen helper utilities</flag> -</use> </pkgmetadata> 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 61f8e548190d..000000000000 --- 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 -} |