summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2014-11-02 10:33:04 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2014-11-02 10:33:04 +0000
commit59fd2bd8e6117c914fa6da9d48d14870dd637122 (patch)
tree07a081e605e5d231c07e9691e9d6c0997a7a3727 /dev-libs/libpwquality
parentRemove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug #... (diff)
downloadhistorical-59fd2bd8e6117c914fa6da9d48d14870dd637122.tar.gz
historical-59fd2bd8e6117c914fa6da9d48d14870dd637122.tar.bz2
historical-59fd2bd8e6117c914fa6da9d48d14870dd637122.zip
Version bump.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xC6085806
Diffstat (limited to 'dev-libs/libpwquality')
-rw-r--r--dev-libs/libpwquality/ChangeLog8
-rw-r--r--dev-libs/libpwquality/Manifest20
-rw-r--r--dev-libs/libpwquality/libpwquality-1.2.4.ebuild76
3 files changed, 89 insertions, 15 deletions
diff --git a/dev-libs/libpwquality/ChangeLog b/dev-libs/libpwquality/ChangeLog
index d671fcdfe3ed..f39a494dc041 100644
--- a/dev-libs/libpwquality/ChangeLog
+++ b/dev-libs/libpwquality/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libpwquality
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/ChangeLog,v 1.16 2014/11/01 01:15:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/ChangeLog,v 1.17 2014/11/02 10:33:01 eva Exp $
+
+*libpwquality-1.2.4 (02 Nov 2014)
+
+ 02 Nov 2014; Gilles Dartiguelongue <eva@gentoo.org>
+ +libpwquality-1.2.4.ebuild:
+ Version bump.
01 Nov 2014; Mike Frysinger <vapier@gentoo.org> libpwquality-1.2.3.ebuild:
Add s390/sh love #527672.
diff --git a/dev-libs/libpwquality/Manifest b/dev-libs/libpwquality/Manifest
index 7c8f65d662ff..26e279f66b4f 100644
--- a/dev-libs/libpwquality/Manifest
+++ b/dev-libs/libpwquality/Manifest
@@ -2,23 +2,15 @@
Hash: SHA256
DIST libpwquality-1.2.3.tar.bz2 367794 SHA256 b11c79ce7b03cdf878fccb653e67bd430155cc6fd224efbbb3e78842f752516a SHA512 1591f40feee4ad95d666887fbd04fc675ff2630a2cd080a7ef616f59af543751ef34910a085d880e8d75051ebeee747847b8015e66a7c315b955df62f926ccd2 WHIRLPOOL 9aff4c547758a2bc2d918f2411371f3b35231c6846d77b497275176842f8f48df3b66f419ddaee88e1fccc2e1a6b947e5b1e72215db74dbc978089d7c0afdf5b
+DIST libpwquality-1.2.4.tar.bz2 394060 SHA256 9ad67be364a66dc8b334a473c77d9f531137ee0e9d85d81f567f410a375857c7 SHA512 63ead296320e8eadc1a3341c28b015f9dbbf30e610e9226a11018d81aeb412d0e211753ebdb45f959c35cedfc6ed580bba9e6b0f8822c3b5f38062428f637049 WHIRLPOOL 94166db5bba425fb19a9a27fe27eb082716e887b90fa2d2bd64e56f4d9202c6cc1f7f16779185a5c44ce3145f8a8df92ecca9b6628ae63daba99aca4d5a9c1a9
EBUILD libpwquality-1.2.3.ebuild 2011 SHA256 5afde2bae5abd31029b698a69f32b5576d62561d32806d59b9f00e7ff61da278 SHA512 b06980e42c974e49ea05d680e6b0521fe5aa84c80d1e72c69644c82c2d69058b2034c990ae5cc4e6cc2a8612577db419b52916af8e774893806b80c6a7ffe1be WHIRLPOOL 83dc37650e8e1b8912362713fcdc3ac257fe3353629791069b20e33cc76fd4832d8b7d60b0c06d6c5beff7d53782cad005f42f0be7146318b0753070c9e4c714
-MISC ChangeLog 2392 SHA256 d3fc796241c3eb25341a9f1f5699591737d098875086cffd6fc6a491f55e382f SHA512 57c5bb55f5e82a8bf16217bad92cd0d821d36427528287b669c7645e3980db2f6adbcf21329d1881b30c481ce0dae1d53f6df70a2ef34c864c89c39c59294def WHIRLPOOL d6849d4c602112b95148acb2c02800a8e786d16610560f177fd14e1cba7db53912c7567522c64157e098f0043ce7ca3bd6a03246c48b1e315200668cd52671f4
+EBUILD libpwquality-1.2.4.ebuild 2022 SHA256 858b53f25079cb0d21258c42f9c4e0511b232466821763b2caa91ad69de1fdf9 SHA512 6e73526b5bdf8954914a3d16ff911f9f3f08725550811752c7ded8b6c3d785edd11a5b740bd5b7491bb4489fded4e3bcc54c8fbe9f688065389d3ac4409cd434 WHIRLPOOL 0d18d46080fd5b9fa547bcbfdcae351cb6454ed0870130503a705b34ff36339c832b0fd1541dbe5b546bd67e30fe0bdf8a345502d0d5efe53c4b3109b68fa47b
+MISC ChangeLog 2525 SHA256 fa8cdd24df17dbd2d7603122229de37b8d61231a68728fb564bc7bb70b250bf3 SHA512 b31f6c77ceeb1904ae144fa9919d656034333ea00193ba463e2aff86bfc1cff5892e6af88243a8294843ad540501903f388fe8a80dc6976db0b7ab135b1efbd9 WHIRLPOOL 0333c533fd9c76470899d565e4424eae0abb5ddcba90e2d55d347ffdefd4a43f6e37379937297c686774747cc1e1ed47309ea1f2fb25f4b777cd3d8ebe3e5f8a
MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJUVDQzAAoJEPGu1DbS6WIAihsP/R8qc9/QbY/vJHQYgrqyw5vd
-H04LDaXV5JSf++tM+C3SB4PbFIWHPKMvoEmtwFijs4mtrVPt67+gd7IL1SN04iPi
-WLYBDlyhwDN6e55wGj7kMPJtplhf2qcjFoJ6JzQC+BqBC3f3tmibVUeCEBRzVecb
-tJ/B8KE/CZewHs8Psuxb0iq5g+ldXDJBO2TFuLWJ2FAsTmgswA/CPJ6aa7qcsaRN
-m2JE+2VsWHgxSfMACPSY311r3iVudAD7jUCyT/fnl60tTp21J6yeR0qGTazfY2wI
-jpf98t/cZheGdhGoWB8KZ+ZySfKKo4I98XTciYHtDSvmBhWCzh3ntbFZIglcj/nZ
-WOHISFY2dAXKNidzRFPt4AVUN/8l8s32FnD7zbvA6QPh2iRMqomSOpNA3+B1MOiw
-A8ejd+mjhjOdJGX71/BJakAlUBDBzBvwHTx2jLWCacv8eNsZkgbcuMaAeV8QHQdo
-dYoQ+zpetFlewLDpVCkRmtJPXcF//q+CMRgeteQ4pFOnXQAjvFcPf77h00TSWRpn
-LrxjUSAz4x0kfAc+qFwV0FHfW7g5y/yH9YbcZXV9mTxzkKTDdh66KyUjqucCvjGd
-b+4ayw2yw3UHGaJ3B3htiEFfEzqwaTiELAqGzTGsL41TOiTEUQ9TTVgbeDmfTDI1
-Ct4jTM0V7wJ73hM4G1ub
-=ORc4
+iEYEAREIAAYFAlRWCF4ACgkQ1fmVwcYIWAb5IQCeKsKpljFSiRplzUJByQwcF4E7
+NZQAoJzW30RHaqy3xDZ1x1iGQ5JB8x2m
+=M1/V
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libpwquality/libpwquality-1.2.4.ebuild b/dev-libs/libpwquality/libpwquality-1.2.4.ebuild
new file mode 100644
index 000000000000..ae8da3408860
--- /dev/null
+++ b/dev-libs/libpwquality/libpwquality-1.2.4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/libpwquality-1.2.4.ebuild,v 1.1 2014/11/02 10:33:01 eva Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit eutils multilib pam python-r1 toolchain-funcs
+
+DESCRIPTION="Library for password quality checking and generating random passwords"
+HOMEPAGE="https://fedorahosted.org/libpwquality/"
+SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.bz2"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="pam python static-libs"
+
+RDEPEND="
+ >=sys-libs/cracklib-2.8:=
+ pam? ( virtual/pam )
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+ >=sys-devel/gettext-0.18.2
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # ensure pkgconfig files go in /usr
+ sed -e 's:\(pkgconfigdir *=\).*:\1 '${EPREFIX}/usr/$(get_libdir)'/pkgconfig:' \
+ -i src/Makefile.{am,in} || die "sed failed"
+ use python && python_copy_sources
+}
+
+src_configure() {
+ # Install library in /lib for pam
+ configuring() {
+ local sitedir
+ econf \
+ --libdir="${EPREFIX}/$(get_libdir)" \
+ $(use_enable pam) \
+ --with-securedir="${EPREFIX}/$(getpam_mod_dir)" \
+ $(use_enable python python-bindings) \
+ $(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \
+ $(use_enable static-libs static)
+ }
+ if_use_python_python_foreach_impl configuring
+}
+
+src_compile() {
+ if_use_python_python_foreach_impl default
+}
+
+src_test() {
+ if_use_python_python_foreach_impl default
+}
+
+src_install() {
+ if_use_python_python_foreach_impl default
+ if use static-libs; then
+ # Do not install static libs in /lib
+ mkdir -p "${ED}usr/$(get_libdir)"
+ mv "${ED}$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die
+ gen_usr_ldscript libpwquality.so
+ fi
+ prune_libtool_files --modules
+}
+
+if_use_python_python_foreach_impl() {
+ if use python; then
+ python_foreach_impl run_in_build_dir "$@"
+ else
+ "$@"
+ fi
+}