diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-03-18 02:02:11 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-03-18 02:02:11 +0000 |
commit | d3102fde6e3dfd6a6f428e30b5adae1c88171edc (patch) | |
tree | 76cde08aa3a46783c5e9ff24e79ec18edc389a40 /dev-python/python-selinux | |
parent | Version bump (diff) | |
download | historical-d3102fde6e3dfd6a6f428e30b5adae1c88171edc.tar.gz historical-d3102fde6e3dfd6a6f428e30b5adae1c88171edc.tar.bz2 historical-d3102fde6e3dfd6a6f428e30b5adae1c88171edc.zip |
Fix bug #355675
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-python/python-selinux')
-rw-r--r-- | dev-python/python-selinux/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/python-selinux/Manifest | 4 | ||||
-rw-r--r-- | dev-python/python-selinux/files/respect-LDFLAGS.patch | 11 | ||||
-rw-r--r-- | dev-python/python-selinux/python-selinux-2.16-r3.ebuild | 41 |
4 files changed, 62 insertions, 2 deletions
diff --git a/dev-python/python-selinux/ChangeLog b/dev-python/python-selinux/ChangeLog index b3979c8640b3..4c7511a9c1a6 100644 --- a/dev-python/python-selinux/ChangeLog +++ b/dev-python/python-selinux/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-selinux # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.40 2011/02/13 19:45:03 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.41 2011/03/18 02:02:11 blueness Exp $ + +*python-selinux-2.16-r3 (18 Mar 2011) + + 18 Mar 2011; Anthony G. Basile <blueness@gentoo.org> + +python-selinux-2.16-r3.ebuild, +files/respect-LDFLAGS.patch: + Fix bug #355675 13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml: Updated metadata.xml to reflect new selinux herd. diff --git a/dev-python/python-selinux/Manifest b/dev-python/python-selinux/Manifest index daa275965006..fd4b24387be5 100644 --- a/dev-python/python-selinux/Manifest +++ b/dev-python/python-selinux/Manifest @@ -1,4 +1,6 @@ +AUX respect-LDFLAGS.patch 425 RMD160 3eeb7020dfe3d951970e008852c3ad3466e4f69a SHA1 b7933c2c9fdfacaf9b309c6807dd952c7cffe7c0 SHA256 cc0cbec509775e763ffc27e7bc10fc6d79794eb8ee64d4cd37e67c7d4542af2d DIST python-selinux-2.16-1.tar.bz2 11264 RMD160 6b0a9ee26a3cd4018eeaaff1c7ec1e9dceb4f532 SHA1 250f27d2f1e3bf9dc88ef3f0fe603ad1dced9586 SHA256 efddd98ac531bf4bb636a84504c952520b989b960ae11215c60d909cdd46a3de EBUILD python-selinux-2.16-r2.ebuild 801 RMD160 fc6f2a8a0f94ccab16df1ac5fdb4b855df737f85 SHA1 3f80f41eafd4c38866471218035fa896ab087304 SHA256 f0da5d82b8a249ea7ae7948c1f2c145d794f1316e23a6b2f581f06e524b34f86 -MISC ChangeLog 6474 RMD160 7ea99f2b174612358fe5ab4780fe93164d7c3a9d SHA1 0d2a88e03673ff1e090c938bc4c1f21997088892 SHA256 ae32116e7ae944983a8e357fb766ff078b922632bb3010c24499af0676018a15 +EBUILD python-selinux-2.16-r3.ebuild 883 RMD160 0eb9425b222a1cf80c462b5b90fa88d132413acc SHA1 c6d7a20ea8706651c7a91bf90c64cf0fe455e59c SHA256 e09f940f341601c3972ccd4343a5a0fca30d057b0ec9dd26e4afb0e72c2e9b62 +MISC ChangeLog 6651 RMD160 706417269947951602fc3f73bcda93f7a8d2cfe2 SHA1 35c15c1ecc45608a2b2e9c7e295b8baa3ca8aabf SHA256 67e48a277e697f18dd44a07948d20363df9571d8817dcf588e04e7f5567cb337 MISC metadata.xml 246 RMD160 26a4d0d6446593f0cb2fdd5d5b0af8f56ed1df21 SHA1 20909ae33b21382e4d8bbbba84c4d697344ea1ce SHA256 22b174539040b81fa6ec3ea0f4d5f847c237d50c79c2222d5ef258affa492b1d diff --git a/dev-python/python-selinux/files/respect-LDFLAGS.patch b/dev-python/python-selinux/files/respect-LDFLAGS.patch new file mode 100644 index 000000000000..d52bbafde3a6 --- /dev/null +++ b/dev-python/python-selinux/files/respect-LDFLAGS.patch @@ -0,0 +1,11 @@ +--- python-selinux-orig/Makefile 2006-02-12 04:37:05.000000000 +0300 ++++ python-selinux/Makefile 2011-02-22 19:06:02.000000000 +0300 +@@ -23,7 +23,7 @@ + $(PYREXC) $< + + %.so: %.c +- $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} $< -lselinux ++ $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} ${CFLAGS} ${LDFLAGS} $< -lselinux + + install: $(all_so) + mkdir -p ${DESTDIR}/usr/lib/python${PYVER}/site-packages diff --git a/dev-python/python-selinux/python-selinux-2.16-r3.ebuild b/dev-python/python-selinux/python-selinux-2.16-r3.ebuild new file mode 100644 index 000000000000..fae33eb2717a --- /dev/null +++ b/dev-python/python-selinux/python-selinux-2.16-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.16-r3.ebuild,v 1.1 2011/03/18 02:02:11 blueness Exp $ + +EAPI="2" + +PYTHON_DEPEND="2" + +inherit python eutils + +DESCRIPTION="Extra python bindings for SELinux functions" +HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" +LICENSE="GPL-2" +SLOT="0" +SRC_URI="mirror://gentoo/${P}-1.tar.bz2" + +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=sys-libs/libselinux-1.28-r1" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/respect-LDFLAGS.patch" +} + +src_compile() { + emake PYVER="$(python_get_version)" || die +} + +src_install() { + python_need_rebuild + make DESTDIR="${D}" PYVER="$(python_get_version)" install || die +} |