summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-23 16:49:58 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-23 16:49:58 +0000
commit35f50f45d3f5bc74a6515132efccfa584809a777 (patch)
tree022de1d5f971bc66ea32e8b1e8660ed65a936348 /sys-libs
parentOld. (diff)
downloadhistorical-35f50f45d3f5bc74a6515132efccfa584809a777.tar.gz
historical-35f50f45d3f5bc74a6515132efccfa584809a777.tar.bz2
historical-35f50f45d3f5bc74a6515132efccfa584809a777.zip
Fix building of Python bindings when cracklib isn't already installed. Approved by Chainsaw.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/ChangeLog7
-rw-r--r--sys-libs/cracklib/Manifest5
-rw-r--r--sys-libs/cracklib/cracklib-2.8.16.ebuild3
-rw-r--r--sys-libs/cracklib/files/cracklib-2.8.16-python.patch13
4 files changed, 24 insertions, 4 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog
index a1a252181d62..fbfc886eec6e 100644
--- a/sys-libs/cracklib/ChangeLog
+++ b/sys-libs/cracklib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/cracklib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.152 2010/07/23 09:46:59 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.153 2010/07/23 16:49:58 arfrever Exp $
+
+ 23 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ cracklib-2.8.16.ebuild, +files/cracklib-2.8.16-python.patch:
+ Fix building of Python bindings when cracklib isn't already installed.
+ Approved by Chainsaw.
23 Jul 2010; Peter Volkov <pva@gentoo.org> cracklib-2.8.16.ebuild:
amd64 stable, bug 329149
diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 4db30e8173b8..94136f905db9 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,8 +1,9 @@
AUX cracklib-2.8.13-python-linkage.patch 508 RMD160 fc6123093212c60c0d6de98a0b7390b52274ed28 SHA1 3514a018563e0848cdd9aa2625b7e003e875af8e SHA256 0958a6ce7ff7b89bb374281b0bd416af275d9f052d83d4fac493bee22aaa51f0
AUX cracklib-2.8.15-no-nls.patch 304 RMD160 741e4972d38f8a59f0e73da9f4f202e1b1a19b36 SHA1 83496378109bc31f6581bf6fb3532e31f4f07d86 SHA256 140c4d76278c84b031a875a7e545e630c3ec2a086e73f84d424e8fb9a84ad1e2
+AUX cracklib-2.8.16-python.patch 303 RMD160 077bc8949315dbc6df0d26cc0bd247db9f5d5471 SHA1 7ea11d0da3312980f9ac2bc65f18691dd4d864ab SHA256 553eda1706718dec30e954222ffbabba6681a06308f52c2e8e2a81e78c1e6080
DIST cracklib-2.8.15.tar.gz 615849 RMD160 835425d5266ec0eb909430e755cbcb11a6074e9c SHA1 2535a49da92bfece48639d23ada6964d122cc9ac SHA256 8249accbe09c51397f2d9ebbf2ccaccb07ac35803ca37096b01f25a9291899e5
DIST cracklib-2.8.16.tar.gz 618120 RMD160 b2032ebe4c476fe273a1daab13764f62520c14c0 SHA1 21c181ed22ab7ab1e178c09fa251c9615f9f336c SHA256 fc3aa492c2879e304bae30955ab8b37d6865d26f79d0493b8c36a9bc1b6475bc
EBUILD cracklib-2.8.15.ebuild 1766 RMD160 7f05f14723c2d1f38c1561cdab987f9c72c8a549 SHA1 e598cd2836923f35cbb47a9d1e14932785e4c477 SHA256 b77c02b91b3e60c3f4b4da12f09bed8a731e3a3ac27d12534ec9825034ca8f44
-EBUILD cracklib-2.8.16.ebuild 2087 RMD160 cce18d601a8f38ace508d67a45a87aa2f041f19b SHA1 a500897f34cf9e24233d4c8f7ea2dd8058ce42aa SHA256 12c4d2eefd3987d1c2d3e8c671fd7a79fee222dc6d71b10ad5da490c5cab7b13
-MISC ChangeLog 19356 RMD160 9fd0db2350a954db3047495d3bf514daed9f611b SHA1 501bcee49d33b06e4b4ffdbaa2fe2a5ddc9b28c2 SHA256 7360205fbd8177490ba9d32d4b2bb5c19b2f49f551cc6c5e20cd04f619aac341
+EBUILD cracklib-2.8.16.ebuild 2133 RMD160 70131d439bd5867705605454359e2f6916463880 SHA1 8e1ffa3f6c3d4ba7972a82806fcd015f5ab587bd SHA256 e041b80cb28596a01b76bf84e337b7867167b4e6e1ac4a9d0dd81a70fe882078
+MISC ChangeLog 19595 RMD160 02bafed1cc5c3fe678d4bce5400e0d604b509f91 SHA1 9228e6721f8fbc259b95909beff3681c5d23a7db SHA256 03030e52100419e98bdef7140a1bb356afd4839a31a06bfe391e073d2f5041d1
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
diff --git a/sys-libs/cracklib/cracklib-2.8.16.ebuild b/sys-libs/cracklib/cracklib-2.8.16.ebuild
index 53f6be76fa49..574591dd1326 100644
--- a/sys-libs/cracklib/cracklib-2.8.16.ebuild
+++ b/sys-libs/cracklib/cracklib-2.8.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.16.ebuild,v 1.9 2010/07/23 09:46:59 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.16.ebuild,v 1.10 2010/07/23 16:49:58 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="python? 2"
@@ -45,6 +45,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.8.15-no-nls.patch
+ epatch "${FILESDIR}"/${P}-python.patch
elibtoolize #269003
use python && do_python
}
diff --git a/sys-libs/cracklib/files/cracklib-2.8.16-python.patch b/sys-libs/cracklib/files/cracklib-2.8.16-python.patch
new file mode 100644
index 000000000000..05b3cd211a53
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.8.16-python.patch
@@ -0,0 +1,13 @@
+--- python/setup.py.in
++++ python/setup.py.in
+@@ -24,7 +24,9 @@
+ extensions = [
+ Extension("_cracklibmodule",
+ ["_cracklibmodule.c"],
+- libraries = ["crack"]),
++ include_dirs = ["../lib"],
++ libraries = ["crack"],
++ library_dirs = ["../lib/.libs"]),
+ ]
+
+ setup(