summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-12-05 08:54:32 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-12-05 08:54:32 +0000
commitcd0085ee78417ed4558e2dbfa7a5069088d963ff (patch)
tree5536a12eef1cfaa42587653f9f395b1dea9ff3b8 /dev-libs/libpwquality
parentSpecify LICENSE more precisely, bug 445468. (diff)
downloadhistorical-cd0085ee78417ed4558e2dbfa7a5069088d963ff.tar.gz
historical-cd0085ee78417ed4558e2dbfa7a5069088d963ff.tar.bz2
historical-cd0085ee78417ed4558e2dbfa7a5069088d963ff.zip
Install pam module and library under /lib, not /usr/lib (bug #445394, thanks to Reto Gantenbein (ganto)). Update to EAPI5.
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64 Manifest-Sign-Key: 0xCF0ADD61
Diffstat (limited to 'dev-libs/libpwquality')
-rw-r--r--dev-libs/libpwquality/ChangeLog9
-rw-r--r--dev-libs/libpwquality/Manifest17
-rw-r--r--dev-libs/libpwquality/libpwquality-1.2.0-r1.ebuild54
3 files changed, 71 insertions, 9 deletions
diff --git a/dev-libs/libpwquality/ChangeLog b/dev-libs/libpwquality/ChangeLog
index 9cccfb976927..c4058c45007a 100644
--- a/dev-libs/libpwquality/ChangeLog
+++ b/dev-libs/libpwquality/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libpwquality
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/ChangeLog,v 1.2 2012/08/24 22:00:37 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/ChangeLog,v 1.3 2012/12/05 08:54:27 tetromino Exp $
+
+*libpwquality-1.2.0-r1 (05 Dec 2012)
+
+ 05 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +libpwquality-1.2.0-r1.ebuild:
+ Install pam module and library under /lib, not /usr/lib (bug #445394, thanks
+ to Reto Gantenbein (ganto)). Update to EAPI5.
24 Aug 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
libpwquality-1.2.0.ebuild:
diff --git a/dev-libs/libpwquality/Manifest b/dev-libs/libpwquality/Manifest
index 37e672744665..290fcbcddfc0 100644
--- a/dev-libs/libpwquality/Manifest
+++ b/dev-libs/libpwquality/Manifest
@@ -2,17 +2,18 @@
Hash: SHA256
DIST libpwquality-1.2.0.tar.bz2 361427 SHA256 32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee SHA512 b125448dc26f904abe9bacfd1f61505220152a4a27c6b468a49724c875c27250ab4040ac2ffc21faac1326b70fe20eafb005b618ff0125f292cce1bd66ea25aa WHIRLPOOL 1a3452b69b76cb5743645e79af6772a38848d7ed17089134fa07fb323f15f2df4599a19419a0dd4d4f49dd9374cb01172696d27878e508e526f1b921aa18e27e
+EBUILD libpwquality-1.2.0-r1.ebuild 1416 SHA256 ab86a9e12c9f243594dc4967929f1fc56f7cc26f30025018318f2c6fce12860a SHA512 fb23cea60b35ff311e67120cde8340ddafb7139ca71877c7ad2527b7a526f6c164b9bab0e2c09cfa75cf64f3271e7cf8feef9b50c26ee453cc6f18708e682151 WHIRLPOOL f0691e909179e33dbeebd480788ed9b2f54e40061944e56bc50d06dd685dae3cff3dc92e6afadb0cb3d075503eeb63ee65f7e9dc5439afc8549d66ed7f858cd6
EBUILD libpwquality-1.2.0.ebuild 1065 SHA256 9253e8a6276947b74042df0241e7e248eb798dda33afd0f2b512f074c295b336 SHA512 0e44374265da1d54613c497273281ef5d58e150d52e2eb154f9650e1937b7db60bb7b6dd97a2be5eb26da0f30d3176d61db58663bb94fa25ef4417b963e5fdd2 WHIRLPOOL 6b3d0e7b7d09e1c583b8c49b00a3b4ef3477bb36a1c677719758c57fc7641446573e8ebf9ede00e2e01e36b6da68abba6fad657dbcb132fed205d323e314de59
-MISC ChangeLog 563 SHA256 9116589f02c207cdc743e22b91482726b982169bba3b038a1121a79fed237f54 SHA512 86711f2ac8ec34dafe0bbb039d084a97afeda77861240dc6dd68a06ff6af051f29a35be2e2b6af5904282ba570115e66ce2db244138a68c505ad690a41e131a8 WHIRLPOOL f16dc43b8e4f9d9c54c20c3742fa21babb61804f502a41b967bf0f610263f329f058527045707badc5eed164fa62835603f06a942281af9bd4fa41a954b2b4d6
+MISC ChangeLog 821 SHA256 317a8d6f649bcd0de6b724512441b7448437063467d3c2555b5a77ae72e3f932 SHA512 f68ac9957007403aba0acf5c60d43fe394c75bf86d6e00db6b632be8a6b4d8c703016235dbb07b5789c03116a19379264f0548da6fcb953a701e49d6b1b627c2 WHIRLPOOL f33b4656a1c2f099d100eaedecd241ceb00db51acd98686a86da7ad3c12ca94eea74ef746c9eb1d502d75bbb70dc46b68016ea10f008000431c342c80cee59be
MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQN/mKAAoJEJ0WA1zPCt1h53wH/1aJTc/j78sVtlt7YGdIi6nL
-AO722xIzKHxv8jmUMDcC6A30hMBjRvkQY8zCl4Bn47U+w4j8f/qc+kCDLwqkviRi
-5j6YgRF1ipnTxQQMzz2ZBWGTNUBXBNcdBgLmX53SI0WO0/l4ALt48Qz5wXJh+Ry8
-05gnlkYCicAobJzmcuvC3tfEW+warfoeFAHALPA6N3H/yiRvwle36awrHWhDZCvb
-/L2JlXoChNaDx1JmZIGsiEXeviY11ZPdfL+6JQdL4bT+LYpcmKg7QaBYzG9Z/no9
-HU3ZsVo3g9i8BjBABgRZwM4qM3YjXJW74iRh/JFIkAP+1usOnyz6/iiJPgwhDM4=
-=jm9W
+iQEcBAEBCAAGBQJQvwvEAAoJEJ0WA1zPCt1hyIgH/1chNWrv/6safVp7KM1wlnje
+N+pJU7oCBdN9Wp8iPsQuSGFChD6cGIhuzj033rXQYgjMJps4ZXLPxJJcYloKH3Pt
+24sv6AsGzrXQTVTe0M3llFcJp5ehy+7iGt9ClusI9gr7AyNI1vveueqM8COAWixV
+2AInn/8bBkDBcB7rTlbGIxyyCfgz4btf1zRPgfcBSPP3AHBTIQrn+2Vxjglphhn/
+PHW3UzRbey24IqB8aSMaMg+iC9AZhmwdcz55E2OLeRXFzLnxYZ/dp0gRCHOji3wp
+fmd7Psbfa6OaTthasV7oRx5KxUNmcCMpMEVVNb1SPF6hzbt3Ddje84mMA6xdEV0=
+=wmiz
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libpwquality/libpwquality-1.2.0-r1.ebuild b/dev-libs/libpwquality/libpwquality-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..3badd773bf41
--- /dev/null
+++ b/dev-libs/libpwquality/libpwquality-1.2.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/libpwquality-1.2.0-r1.ebuild,v 1.1 2012/12/05 08:54:27 tetromino Exp $
+
+EAPI="5"
+PYTHON_DEPEND="python? 2:2.7"
+
+inherit eutils multilib pam python
+
+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="~amd64 ~x86"
+IUSE="pam python static-libs"
+
+RDEPEND=">=sys-libs/cracklib-2.8
+ pam? ( virtual/pam )"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ virtual/pkgconfig"
+
+pkg_setup() {
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+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"
+}
+
+src_configure() {
+ # Install library in /lib for pam
+ local sitedir
+ use python && sitedir="${EPREFIX}$(python_get_sitedir)"
+ econf \
+ --libdir="${EPREFIX}/$(get_libdir)" \
+ $(use_enable pam) \
+ --with-securedir="${EPREFIX}/$(getpam_mod_dir)" \
+ $(use_enable python python-bindings) \
+ --with-pythonsitedir="${sitedir}" \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+}