summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-19 12:53:38 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-19 12:53:38 +0000
commit52885e0a8c45e6ad855a9251b98fed759cff63f1 (patch)
tree993985d7d0d4008e594777b72676a7438ef9d63f /sys-auth
parentVersion bump (diff)
downloadhistorical-52885e0a8c45e6ad855a9251b98fed759cff63f1.tar.gz
historical-52885e0a8c45e6ad855a9251b98fed759cff63f1.tar.bz2
historical-52885e0a8c45e6ad855a9251b98fed759cff63f1.zip
Version bump, new patch, the pre-stripped files were fixed already upstream, so it's just to respect LDFLAGS now.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_passwdqc/ChangeLog11
-rw-r--r--sys-auth/pam_passwdqc/Manifest15
-rw-r--r--sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch30
-rw-r--r--sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild46
4 files changed, 99 insertions, 3 deletions
diff --git a/sys-auth/pam_passwdqc/ChangeLog b/sys-auth/pam_passwdqc/ChangeLog
index cacc6a5b358c..b00ca8094498 100644
--- a/sys-auth/pam_passwdqc/ChangeLog
+++ b/sys-auth/pam_passwdqc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-auth/pam_passwdqc
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_passwdqc/ChangeLog,v 1.7 2007/07/11 12:37:52 flameeyes Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_passwdqc/ChangeLog,v 1.8 2008/02/19 12:53:37 flameeyes Exp $
+
+*pam_passwdqc-1.0.5 (19 Feb 2008)
+
+ 19 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pam_passwdqc-1.0.5-makefile.patch, +pam_passwdqc-1.0.5.ebuild:
+ Version bump, new patch, the pre-stripped files were fixed already upstream,
+ so it's just to respect LDFLAGS now.
*pam_passwdqc-1.0.4 (11 Jul 2007)
diff --git a/sys-auth/pam_passwdqc/Manifest b/sys-auth/pam_passwdqc/Manifest
index d1997118f049..71b48503d048 100644
--- a/sys-auth/pam_passwdqc/Manifest
+++ b/sys-auth/pam_passwdqc/Manifest
@@ -1,7 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX pam_passwdqc-1.0.4-makefile.patch 1505 RMD160 fe5089edde5b1baa056cc8486cf02a1f79a188e9 SHA1 af0d20cdaf4499e39892791da07edda046c373f7 SHA256 8736d920f457f8192302c77a8bf344c53b5f91605eaebc14bb044e30f28abe99
+AUX pam_passwdqc-1.0.5-makefile.patch 1097 RMD160 315c5e1df35675cb07d2ca4d741e85e8a5d92fa0 SHA1 ac23fa505bf27d34ad910ac1378454c9a7ad7610 SHA256 bd6c84560cf0ae8e9ea4c6bb5740d23ad32b244efbafde100875e821660dbb64
DIST pam_passwdqc-0.7.5.tar.gz 29975 RMD160 831dd0ceac6836a673c040c9bc5dd5f879fe42f3 SHA1 e603fce61ccefc47ba38926b3745ddf324c27d1e SHA256 254314598108650e97479c8ff97c2cf6f37dac8f6ec76bb345ac2c48df9dacf1
DIST pam_passwdqc-1.0.4.tar.gz 30572 RMD160 9fab553995076726cf6d566962180c07319bfdbf SHA1 8115a0afab2ba30d3730ab38a879b5b2bba609a4 SHA256 192d0eb131f203fd809c371751aa1a670df044190b56444b1e6576d8c8672cb6
+DIST pam_passwdqc-1.0.5.tar.gz 29973 RMD160 3cfd57cb45fa0cb8ead2115a6f2db51853fb4d60 SHA1 68aeab7924df404e113fe2a29c790fa1fee543e2 SHA256 32528ddf7d8219c788b6e7702361611ff16c6340b6dc0f418ff164aadc4a4a88
EBUILD pam_passwdqc-0.7.5.ebuild 894 RMD160 02f269cff83ffe9a8672f4ab815d8017c2939872 SHA1 00eaacff93d8da9493c5782a2378d507ba9fe7d2 SHA256 4b93e11a1091f89461ece7e970341f7f8ea808be82f119069aaa11c5f2b78210
EBUILD pam_passwdqc-1.0.4.ebuild 1136 RMD160 926ee6ec1d50c497333fd2d17fd245fe44dae388 SHA1 c61fca05a2d72f133518d9fb19f147cda1b97c01 SHA256 b39381ba29c634c4ca08db32e889417f626db0f0db7a6cbd70f5b0cf3dc94e88
-MISC ChangeLog 2102 RMD160 d8174d1003d143ca0b6cb750dfed48889cd5e5cd SHA1 7f5624669401fe57711af097456d3859b86131e5 SHA256 1fcedb8f751a65ea899996a87e3f59505d37f8cbf4761632868c4f0f4047db2f
+EBUILD pam_passwdqc-1.0.5.ebuild 1136 RMD160 ec969a1d4b7ce0225a7ad2590916ad4a2998c42b SHA1 9da2e236affed6a52994ac4642cd259d2725563f SHA256 deaf26e61bc3dc55b29225e38a672beba5a8742244b7b69f73beae78b16a56f0
+MISC ChangeLog 2381 RMD160 14e5e266fccc635b56257cc5f82edc5d79140f4c SHA1 95e2fe5ea444bfa2188b52c1adc6213e3ad5d56a SHA256 8086a4568510d165f1619f21f8e583550b75d7db6fb5b6853025b0a1ae58ce44
MISC metadata.xml 580 RMD160 c7c2b710fece22247e6555676bd3ccc08f6914e8 SHA1 b07d44725b73fc01dedffc2f934f74760e65e0df SHA256 3439e8a595d2c399ee1b288c03ecc1f7287b79d3b009a5230da4e4f723fc70c0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHutFXAiZjviIA2XgRAlTaAKDzB+HL4Qs/8W1JLGSMGjA6aDElmQCgpDE8
+KzJFgu+Xy7H5rC7kFbZrtGY=
+=WQBa
+-----END PGP SIGNATURE-----
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
new file mode 100644
index 000000000000..2ae74686ead9
--- /dev/null
+++ b/sys-auth/pam_passwdqc/files/pam_passwdqc-1.0.5-makefile.patch
@@ -0,0 +1,30 @@
+Index: pam_passwdqc-1.0.5/Makefile
+===================================================================
+--- pam_passwdqc-1.0.5.orig/Makefile
++++ pam_passwdqc-1.0.5/Makefile
+@@ -8,7 +8,7 @@ RM = rm -f
+ MKDIR = mkdir -p
+ INSTALL = install -c
+ CFLAGS = -Wall -fPIC -O2
+-LDFLAGS = --shared
++LDFLAGS_GENERIC = --shared
+ LDFLAGS_LINUX = --shared -Wl,--version-script,$(MAP)
+ LDFLAGS_SUN = -G
+ LDFLAGS_HP = -b
+@@ -41,13 +41,13 @@ 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);; \
+ esac
diff --git a/sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild b/sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild
new file mode 100644
index 000000000000..0a5c91292621
--- /dev/null
+++ b/sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_passwdqc/pam_passwdqc-1.0.5.ebuild,v 1.1 2008/02/19 12:53:37 flameeyes Exp $
+
+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="BSD as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+
+DEPEND="virtual/pam"
+
+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 LICENSE
+}
+
+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
+}