summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-11-21 05:58:50 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-11-21 05:58:50 +0000
commit681cc7007aa436946f2ba1ef61ae35f60e6e2953 (patch)
tree9997bc359de0b05c26b04d7fe007c0b847684b8c /dev-python
parentput /var/www/localhost/ in place instead of /home/httpd/, this is a workaroun... (diff)
downloadhistorical-681cc7007aa436946f2ba1ef61ae35f60e6e2953.tar.gz
historical-681cc7007aa436946f2ba1ef61ae35f60e6e2953.tar.bz2
historical-681cc7007aa436946f2ba1ef61ae35f60e6e2953.zip
new release
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-selinux/ChangeLog9
-rw-r--r--dev-python/python-selinux/Manifest7
-rw-r--r--dev-python/python-selinux/files/digest-python-selinux-2.100
-rw-r--r--dev-python/python-selinux/files/digest-python-selinux-2.91
-rw-r--r--dev-python/python-selinux/files/python-selinux-2.10.c.bz2bin0 -> 5624 bytes
-rw-r--r--dev-python/python-selinux/python-selinux-2.10.ebuild (renamed from dev-python/python-selinux/python-selinux-2.9.ebuild)13
6 files changed, 21 insertions, 9 deletions
diff --git a/dev-python/python-selinux/ChangeLog b/dev-python/python-selinux/ChangeLog
index 1f08d28e8bfb..ce085b9d7698 100644
--- a/dev-python/python-selinux/ChangeLog
+++ b/dev-python/python-selinux/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/python-selinux
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.11 2003/11/13 06:08:20 method Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.12 2003/11/21 05:58:47 pebenito Exp $
+
+*python-selinux-2.10 (20 Nov 2003)
+
+ 20 Nov 2003; Chris PeBenito <pebenito@gentoo.org>
+ python-selinux-2.10.ebuild, files/python-selinux-2.10.c.bz2:
+ Revision of error handling. Now it will work correctly if SELinux happens to
+ be disabled.
*python-selinux-2.9 (13 Nov 2003)
diff --git a/dev-python/python-selinux/Manifest b/dev-python/python-selinux/Manifest
index 08252f32636f..44a23c29d883 100644
--- a/dev-python/python-selinux/Manifest
+++ b/dev-python/python-selinux/Manifest
@@ -1,4 +1,5 @@
-MD5 90b8a17fe0303f086aec07cd5170696f python-selinux-2.9.ebuild 713
-MD5 8360f0f594df18401e0a067d7dabd296 ChangeLog 2113
+MD5 e99a38192c51b769c0de253e7510744b ChangeLog 2361
MD5 c998c579cfc08c6860f78304a67cfce9 metadata.xml 525
-MD5 f3229c5f869b618fd461c9b67c91368a files/digest-python-selinux-2.9 69
+MD5 ca8157008cb5a21a37990ef63e135aa2 python-selinux-2.10.ebuild 790
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-python-selinux-2.10 0
+MD5 7917bf5ac68090fb6fcfe784a4807463 files/python-selinux-2.10.c.bz2 5624
diff --git a/dev-python/python-selinux/files/digest-python-selinux-2.10 b/dev-python/python-selinux/files/digest-python-selinux-2.10
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-python/python-selinux/files/digest-python-selinux-2.10
diff --git a/dev-python/python-selinux/files/digest-python-selinux-2.9 b/dev-python/python-selinux/files/digest-python-selinux-2.9
deleted file mode 100644
index 59f7c658f78d..000000000000
--- a/dev-python/python-selinux/files/digest-python-selinux-2.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d106f8cd5c7b5a7f1e5849f2de4cd1ff python-selinux-2.9.tar.bz2 6100
diff --git a/dev-python/python-selinux/files/python-selinux-2.10.c.bz2 b/dev-python/python-selinux/files/python-selinux-2.10.c.bz2
new file mode 100644
index 000000000000..c767bd094a41
--- /dev/null
+++ b/dev-python/python-selinux/files/python-selinux-2.10.c.bz2
Binary files differ
diff --git a/dev-python/python-selinux/python-selinux-2.9.ebuild b/dev-python/python-selinux/python-selinux-2.10.ebuild
index 18ae463a6a44..61ff34404fa9 100644
--- a/dev-python/python-selinux/python-selinux-2.9.ebuild
+++ b/dev-python/python-selinux/python-selinux-2.10.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.9.ebuild,v 1.1 2003/11/13 06:08:20 method Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.10.ebuild,v 1.1 2003/11/21 05:58:47 pebenito Exp $
DESCRIPTION="Python bindings for SELinux functions"
-HOMEPAGE="http://selinux.dev.gentoo.org/python"
-SRC_URI="http://selinux.dev.gentoo.org/${P}.tar.bz2"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
LICENSE="GPL-2"
SLOT="0"
@@ -16,9 +15,15 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
+src_unpack() {
+ mkdir -p ${S}
+ bzcat ${FILESDIR}/${P}.c.bz2 > ${S}/selinux.c
+}
+
src_compile() {
cd ${S}
- gcc -shared -o selinux.so -I /usr/include/python2.2/ selinux.c -lselinux || die
+ einfo "Compiling selinux.so"
+ gcc -fPIC -shared -o selinux.so -I /usr/include/python2.2/ selinux.c -lselinux || die
}
src_install() {