summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2007-02-15 05:23:51 +0000
committerChris PeBenito <pebenito@gentoo.org>2007-02-15 05:23:51 +0000
commit69575cb8826d0dfdefdfa72662705bb3d7526bff (patch)
tree4795d3d8cc0c1d1bb7308ca9826bd89ac1f496af /sys-libs
parentNew upstream release. (diff)
downloadgentoo-2-69575cb8826d0dfdefdfa72662705bb3d7526bff.tar.gz
gentoo-2-69575cb8826d0dfdefdfa72662705bb3d7526bff.tar.bz2
gentoo-2-69575cb8826d0dfdefdfa72662705bb3d7526bff.zip
New upstream release.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libselinux/ChangeLog10
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.28-r12
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.34.03
-rw-r--r--sys-libs/libselinux/libselinux-1.34.0.ebuild57
4 files changed, 70 insertions, 2 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index 932fc2219e3e..de7ef17b2a72 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libselinux
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.51 2006/10/23 23:54:12 pebenito Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.52 2007/02/15 05:23:51 pebenito Exp $
+
+*libselinux-1.34.0 (15 Feb 2007)
+
+ 15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
+ +libselinux-1.34.0.ebuild:
+ New upstream release.
23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
libselinux-1.30.29.ebuild:
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.28-r1 b/sys-libs/libselinux/files/digest-libselinux-1.28-r1
index c05515454d17..088baa4d4721 100644
--- a/sys-libs/libselinux/files/digest-libselinux-1.28-r1
+++ b/sys-libs/libselinux/files/digest-libselinux-1.28-r1
@@ -1 +1,3 @@
MD5 7e121e125b52913237df458ff610e983 libselinux-1.28.tgz 109236
+RMD160 9060d13850ddf43025988f1855fcc176db932881 libselinux-1.28.tgz 109236
+SHA256 9c03f98eb2800c383818275fb5abd2e9dc4c79c1b4c6ea35f11eedac902d03f6 libselinux-1.28.tgz 109236
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.34.0 b/sys-libs/libselinux/files/digest-libselinux-1.34.0
new file mode 100644
index 000000000000..5afefe2b3eac
--- /dev/null
+++ b/sys-libs/libselinux/files/digest-libselinux-1.34.0
@@ -0,0 +1,3 @@
+MD5 ca56ee48af295f28eb3d59a6e71f92f5 libselinux-1.34.0.tgz 125574
+RMD160 749f943c37113cd594ac52ec4cedf7430131a469 libselinux-1.34.0.tgz 125574
+SHA256 2d3277e70829391804fe31933e41952ec8aec6bc2cbdf6648aa12e02e7d5d460 libselinux-1.34.0.tgz 125574
diff --git a/sys-libs/libselinux/libselinux-1.34.0.ebuild b/sys-libs/libselinux/libselinux-1.34.0.ebuild
new file mode 100644
index 000000000000..5f6a078a33d0
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-1.34.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.34.0.ebuild,v 1.1 2007/02/15 05:23:51 pebenito Exp $
+
+IUSE=""
+
+inherit eutils multilib python
+
+#BUGFIX_PATCH="${FILESDIR}/libselinux-1.30.3.diff"
+
+SEPOL_VER="1.16"
+
+DESCRIPTION="SELinux userland library"
+HOMEPAGE="http://www.nsa.gov/selinux"
+SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+
+DEPEND="=sys-libs/libsepol-${SEPOL_VER}*"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}"
+
+ # fix up paths for multilib
+ sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \
+ || die "Fix for multilib LIBDIR failed."
+ sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \
+ || die "Fix for multilib SHLIBDIR failed."
+}
+
+src_compile() {
+ python_version
+ emake LDFLAGS="-fPIC ${LDFLAGS}" all || die
+ emake PYLIBVER="python${PYVER}" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
+
+ # add compatability aliases to swig wrapper
+ cat ${FILESDIR}/compat.py >> ${S}/src/selinux.py || die
+}
+
+src_install() {
+ python_version
+ make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap || die
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages
+}