diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2004-09-21 23:15:02 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2004-09-21 23:15:02 +0000 |
commit | c211ac75500e3644800e0140b6997f627f659818 (patch) | |
tree | 8d2955701ea657c46dd593bb3b434aa0fadbaeb2 /dev-python | |
parent | moved libgcc stuff back into the versioned directory, the libgcc_s-only stuff... (diff) | |
download | historical-c211ac75500e3644800e0140b6997f627f659818.tar.gz historical-c211ac75500e3644800e0140b6997f627f659818.tar.bz2 historical-c211ac75500e3644800e0140b6997f627f659818.zip |
add secure_mkdir
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-selinux/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/python-selinux/Manifest | 11 | ||||
-rw-r--r-- | dev-python/python-selinux/files/digest-python-selinux-2.15 | 0 | ||||
-rw-r--r-- | dev-python/python-selinux/files/python-selinux-2.15.c.bz2 | bin | 0 -> 6831 bytes | |||
-rw-r--r-- | dev-python/python-selinux/python-selinux-2.15.ebuild | 35 |
5 files changed, 49 insertions, 5 deletions
diff --git a/dev-python/python-selinux/ChangeLog b/dev-python/python-selinux/ChangeLog index 1fea079adff5..3ad856aa9665 100644 --- a/dev-python/python-selinux/ChangeLog +++ b/dev-python/python-selinux/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-selinux # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.20 2004/06/25 01:46:35 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/ChangeLog,v 1.21 2004/09/21 23:15:02 pebenito Exp $ + +*python-selinux-2.15 (21 Sep 2004) + + 21 Sep 2004; Chris PeBenito <pebenito@gentoo.org> + +files/python-selinux-2.15.c.bz2, +python-selinux-2.15.ebuild: + Add secure_mkdir from kaiowas. 05 May 2004; Chris PeBenito <pebenito@gentoo.org> -files/python-selinux-2.10.c.bz2, -files/python-selinux-2.12.c.bz2, diff --git a/dev-python/python-selinux/Manifest b/dev-python/python-selinux/Manifest index 518409d35e7a..7efe3d734b68 100644 --- a/dev-python/python-selinux/Manifest +++ b/dev-python/python-selinux/Manifest @@ -1,15 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 b41ca22f682ed694a20ca60b3d0e23c5 ChangeLog 3487 +MD5 ba820e746be1b597c4ccdc078a36e076 ChangeLog 3674 MD5 c998c579cfc08c6860f78304a67cfce9 metadata.xml 525 MD5 c147a910aeafe8aec17a4c0b2447a249 python-selinux-2.14.ebuild 845 +MD5 8cdd7f0937b9841927b5a0998693dee4 python-selinux-2.15.ebuild 856 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-python-selinux-2.14 0 MD5 4ff5600ef22d8b1261fffca18f5e085b files/python-selinux-2.14.c.bz2 5879 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-python-selinux-2.15 0 +MD5 135bcb03bcb0dbed4e8bc354e1ff38f3 files/python-selinux-2.15.c.bz2 6831 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) -iD8DBQFBT0j1GFJQsIJWJy4RArRkAJ9cSwXzRFjyM/rzkvyhvZr7lwHfOwCeOBuz -XQAwrPnGwLVilLmAPdJeaLE= -=K4vL +iD8DBQFBULX9GFJQsIJWJy4RAuFqAJ43sgBmh7f/tCTBM1AvawbikElQ7gCfYsuW +bB0i+WU9W04gKleAH0aO5cg= +=xOii -----END PGP SIGNATURE----- diff --git a/dev-python/python-selinux/files/digest-python-selinux-2.15 b/dev-python/python-selinux/files/digest-python-selinux-2.15 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-python/python-selinux/files/digest-python-selinux-2.15 diff --git a/dev-python/python-selinux/files/python-selinux-2.15.c.bz2 b/dev-python/python-selinux/files/python-selinux-2.15.c.bz2 Binary files differnew file mode 100644 index 000000000000..d7f11b47ae22 --- /dev/null +++ b/dev-python/python-selinux/files/python-selinux-2.15.c.bz2 diff --git a/dev-python/python-selinux/python-selinux-2.15.ebuild b/dev-python/python-selinux/python-selinux-2.15.ebuild new file mode 100644 index 000000000000..bae4dfa41d17 --- /dev/null +++ b/dev-python/python-selinux/python-selinux-2.15.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2004 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.15.ebuild,v 1.1 2004/09/21 23:15:02 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" +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 +} |