From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/blueness:master commit in: dev-python/python-selinux/files/, dev-python/python-selinux/
Date: Thu, 17 Mar 2011 22:38:37 +0000 (UTC) [thread overview]
Message-ID: <5540791afbd390a6a9fd8205daf01ad2829b59c4.blueness@gentoo> (raw)
commit: 5540791afbd390a6a9fd8205daf01ad2829b59c4
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 22:38:38 2011 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 22:38:38 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=5540791a
dev-python/python-selinux: Address bug #355675
(Portage version: 2.1.9.42/git/Linux x86_64, unsigned Manifest commit)
---
dev-python/python-selinux/ChangeLog | 10 +++++
dev-python/python-selinux/Manifest | 5 +++
.../python-selinux/files/respect-LDFLAGS.patch | 11 ++++++
dev-python/python-selinux/metadata.xml | 6 +++
.../python-selinux/python-selinux-2.16-r3.ebuild | 39 ++++++++++++++++++++
5 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/dev-python/python-selinux/ChangeLog b/dev-python/python-selinux/ChangeLog
new file mode 100644
index 0000000..c025712
--- /dev/null
+++ b/dev-python/python-selinux/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/python-selinux
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*python-selinux-2.16-r3 (17 Mar 2011)
+
+ 17 Mar 2011; Anthony G. Basile <blueness@gentoo.org>
+ +python-selinux-2.16-r3.ebuild, +files/respect-LDFLAGS.patch:
+ Address bug #355675
+
diff --git a/dev-python/python-selinux/Manifest b/dev-python/python-selinux/Manifest
new file mode 100644
index 0000000..e2e3f40
--- /dev/null
+++ b/dev-python/python-selinux/Manifest
@@ -0,0 +1,5 @@
+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-r3.ebuild 868 RMD160 cf381f0062338209f60823c64ad132a5878b477d SHA1 128af9952204810f1f9092bd0662bdbc9590c046 SHA256 a4e1f69227a8627e86fc399ba94b1bd18039d03f573f19442b326ec61c110f5a
+MISC ChangeLog 307 RMD160 5d77ac6c8266daec6fe482e4725cf159a0b50e0d SHA1 7a04fea42658a5645a34c888281af2d5b422005c SHA256 c5968acb957f7f03af814e6a7dde8656f58463cd83fab1ec3cf3ff541f2aec87
+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 0000000..d52bbaf
--- /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/metadata.xml b/dev-python/python-selinux/metadata.xml
new file mode 100644
index 0000000..cecbaa7
--- /dev/null
+++ b/dev-python/python-selinux/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>selinux</herd>
+ <longdescription>Python bindings for SELinux libselinux fuctions.</longdescription>
+</pkgmetadata>
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 0000000..c0982b4
--- /dev/null
+++ b/dev-python/python-selinux/python-selinux-2.16-r3.ebuild
@@ -0,0 +1,39 @@
+# 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-r2.ebuild,v 1.5 2011/02/08 17:47:41 arfrever Exp $
+
+PYTHON_DEPEND="2"
+
+inherit python
+
+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_configure() {
+ 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
+}
next reply other threads:[~2011-03-17 22:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-17 22:38 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-18 2:06 [gentoo-commits] dev/blueness:master commit in: dev-python/python-selinux/files/, dev-python/python-selinux/ Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5540791afbd390a6a9fd8205daf01ad2829b59c4.blueness@gentoo \
--to=blueness@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox