summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2006-03-18 14:54:13 +0000
committerChris PeBenito <pebenito@gentoo.org>2006-03-18 14:54:13 +0000
commit2890b330b3df0246ac8690201f2c8c09073d2e2e (patch)
treeff239c2e96f2b0aa63858ed84a9b2bec8937c9c8 /sys-libs/libselinux
parentnew upstream release (diff)
downloadhistorical-2890b330b3df0246ac8690201f2c8c09073d2e2e.tar.gz
historical-2890b330b3df0246ac8690201f2c8c09073d2e2e.tar.bz2
historical-2890b330b3df0246ac8690201f2c8c09073d2e2e.zip
new upstream release.
Package-Manager: portage-2.1_pre6-r1
Diffstat (limited to 'sys-libs/libselinux')
-rw-r--r--sys-libs/libselinux/ChangeLog7
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.303
-rw-r--r--sys-libs/libselinux/libselinux-1.30.ebuild42
3 files changed, 51 insertions, 1 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index c9368da07d55..68f0c8f9479d 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,11 @@
# 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.44 2006/02/22 23:38:49 spb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.45 2006/03/18 14:52:15 pebenito Exp $
+
+*libselinux-1.30 (18 Mar 2006)
+
+ 18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
+ New upstream release.
22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
Alpha stable
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.30 b/sys-libs/libselinux/files/digest-libselinux-1.30
new file mode 100644
index 000000000000..c95ba5870f0a
--- /dev/null
+++ b/sys-libs/libselinux/files/digest-libselinux-1.30
@@ -0,0 +1,3 @@
+MD5 0b7d269c9b7d847059e4b11a710ab404 libselinux-1.30.tgz 110293
+RMD160 9a333a86f31e8c4a5a900173f703f9a155fa68ac libselinux-1.30.tgz 110293
+SHA256 6a34a1c98a19cbf8783ecfeb07ebee26e4fdd283252e8d774a0f345fe2337797 libselinux-1.30.tgz 110293
diff --git a/sys-libs/libselinux/libselinux-1.30.ebuild b/sys-libs/libselinux/libselinux-1.30.ebuild
new file mode 100644
index 000000000000..12b54ba13cf3
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-1.30.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.30.ebuild,v 1.1 2006/03/18 14:52:15 pebenito Exp $
+
+IUSE=""
+
+SEPOL_VER="1.12"
+
+inherit eutils multilib python
+
+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}
+
+ # 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 PYLIBVER="python${PYVER}" LDFLAGS="-fPIC ${LDFLAGS}" all 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
+}