new release
authorChris PeBenito <pebenito@gentoo.org>
Sun, 30 Oct 2005 05:03:46 +0000 (05:03 +0000)
committerChris PeBenito <pebenito@gentoo.org>
Sun, 30 Oct 2005 05:03:46 +0000 (05:03 +0000)
Package-Manager: portage-2.0.53_rc6

dev-python/python-selinux/ChangeLog
dev-python/python-selinux/Manifest
dev-python/python-selinux/files/digest-python-selinux-2.16 [new file with mode: 0644]
dev-python/python-selinux/files/python-selinux-2.16.c.bz2 [new file with mode: 0644]
dev-python/python-selinux/python-selinux-2.16.ebuild [new file with mode: 0644]

index 3f25e90371953930c15d19f96708b833ae49aed6..4e6fa7a9333f54acc26f0465dbb9f09243ad6cd9 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/python-selinux
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.24 2005/05/10 18:33:41 spb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.25 2005/10/30 05:03:46 pebenito Exp $
+
+*python-selinux-2.16 (30 Oct 2005)
+
+  30 Oct 2005; Chris PeBenito <pebenito@gentoo.org>
+  +files/python-selinux-2.16.c.bz2, +python-selinux-2.16.ebuild:
+  Overhaul error handling and SELinux-enable handling.
 
   10 May 2005; Stephen Bennett <spb@gentoo.org> python-selinux-2.15.ebuild:
   mips stable
index a75f5c14c15912339e1001f72d63aefeccc4de53..9815664d7893ebee5d703f43ed47aca4af7186aa 100644 (file)
@@ -1,5 +1,18 @@
-MD5 c998c579cfc08c6860f78304a67cfce9 metadata.xml 525
-MD5 7365a26803a8de9d0b9f28c8da46508d ChangeLog 3944
-MD5 c614ac830f5ecad17c6be55f351af604 python-selinux-2.15.ebuild 852
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 7e9124e45ea6ad95495161106fc8b040 ChangeLog 4158
 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-python-selinux-2.15 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-python-selinux-2.16 0
 MD5 135bcb03bcb0dbed4e8bc354e1ff38f3 files/python-selinux-2.15.c.bz2 6831
+MD5 d5dc9417a58fe239af4d9e126be2ceff files/python-selinux-2.16.c.bz2 8500
+MD5 c998c579cfc08c6860f78304a67cfce9 metadata.xml 525
+MD5 c614ac830f5ecad17c6be55f351af604 python-selinux-2.15.ebuild 852
+MD5 301684f44998e3b41437cf5449a32967 python-selinux-2.16.ebuild 899
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDZFRJJ+ChZlpDtAoRAiTgAJ9pHPG66dp8fdEtV5OzBurL6NbcTgCgjTqT
+F5xiIlVaOgqBBbzP+JvYZPw=
+=T8iF
+-----END PGP SIGNATURE-----
diff --git a/dev-python/python-selinux/files/digest-python-selinux-2.16 b/dev-python/python-selinux/files/digest-python-selinux-2.16
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/dev-python/python-selinux/files/python-selinux-2.16.c.bz2 b/dev-python/python-selinux/files/python-selinux-2.16.c.bz2
new file mode 100644 (file)
index 0000000..65467ca
Binary files /dev/null and b/dev-python/python-selinux/files/python-selinux-2.16.c.bz2 differ
diff --git a/dev-python/python-selinux/python-selinux-2.16.ebuild b/dev-python/python-selinux/python-selinux-2.16.ebuild
new file mode 100644 (file)
index 0000000..7bdec97
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2005 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.ebuild,v 1.1 2005/10/30 05:03:46 pebenito Exp $
+
+inherit python
+python_version
+
+DESCRIPTION="Python bindings for SELinux functions"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
+LICENSE="GPL-2"
+SLOT="0"
+
+#KEYWORDS="x86 ppc sparc amd64 mips"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips"
+IUSE=""
+
+DEPEND="dev-lang/python
+       sys-libs/libselinux"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+       mkdir -p ${S}
+       bzcat ${FILESDIR}/${P}.c.bz2 > ${S}/selinux.c || die
+}
+
+src_compile() {
+       cd ${S}
+       einfo "Compiling selinux.so for python ${PYVER}"
+       gcc -fPIC -shared -o selinux.so -I /usr/include/python${PYVER}/ selinux.c -lselinux || die
+}
+
+src_install() {
+       insinto /usr/lib/python${PYVER}/site-packages
+       doins selinux.so
+}