summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libsepol/ChangeLog7
-rw-r--r--sys-libs/libsepol/files/digest-libsepol-1.16.33
-rw-r--r--sys-libs/libsepol/libsepol-1.16.3.ebuild39
3 files changed, 48 insertions, 1 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog
index fafa9e9e468a..a1f5cd06136f 100644
--- a/sys-libs/libsepol/ChangeLog
+++ b/sys-libs/libsepol/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libsepol
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.24 2007/04/17 04:21:37 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.25 2007/05/10 03:11:36 pebenito Exp $
+
+*libsepol-1.16.3 (10 May 2007)
+
+ 10 May 2007; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.16.3.ebuild:
+ New stable bugfix release.
17 Apr 2007; Chris PeBenito <pebenito@gentoo.org> libsepol-1.16.2.ebuild:
This was a critical bug fix for SELinux policy linking, mark stable.
diff --git a/sys-libs/libsepol/files/digest-libsepol-1.16.3 b/sys-libs/libsepol/files/digest-libsepol-1.16.3
new file mode 100644
index 000000000000..03d11f65dc96
--- /dev/null
+++ b/sys-libs/libsepol/files/digest-libsepol-1.16.3
@@ -0,0 +1,3 @@
+MD5 f3a4442318429565f3fbd4aa96dce48a libsepol-1.16.3.tgz 183175
+RMD160 d63456ef4495b86ff9ed2921f125b65679671433 libsepol-1.16.3.tgz 183175
+SHA256 5afd1755f0e9c9cce656bab6e57e4d3fee795f1285613cf96bc2174abece1d81 libsepol-1.16.3.tgz 183175
diff --git a/sys-libs/libsepol/libsepol-1.16.3.ebuild b/sys-libs/libsepol/libsepol-1.16.3.ebuild
new file mode 100644
index 000000000000..7d635627b2cb
--- /dev/null
+++ b/sys-libs/libsepol/libsepol-1.16.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-1.16.3.ebuild,v 1.1 2007/05/10 03:11:36 pebenito Exp $
+
+IUSE=""
+
+inherit multilib eutils
+
+#BUGFIX_PATCH="${FILESDIR}/libsepol-1.16.2.diff"
+
+DESCRIPTION="SELinux binary policy representation library"
+HOMEPAGE="http://www.nsa.gov/selinux"
+SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+
+DEPEND="virtual/libc"
+
+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)/" src/Makefile \
+ || die "Fix for multilib LIBDIR failed."
+ sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" src/Makefile \
+ || die "Fix for multilib SHLIBDIR failed."
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install
+}