summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/ChangeLog8
-rw-r--r--sys-libs/libsepol/files/digest-libsepol-1.12.283
-rw-r--r--sys-libs/libsepol/libsepol-1.12.28.ebuild39
3 files changed, 49 insertions, 1 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog
index 9ae910587ddc..57e20c00d531 100644
--- a/sys-libs/libsepol/ChangeLog
+++ b/sys-libs/libsepol/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libsepol
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.18 2006/07/31 01:22:11 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.19 2006/10/05 06:20:17 pebenito Exp $
+
+*libsepol-1.12.28 (05 Oct 2006)
+
+ 05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+ +libsepol-1.12.28.ebuild:
+ Add SVN snapshot.
31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libsepol-1.12-r1.ebuild:
Mark stable, long overdue.
diff --git a/sys-libs/libsepol/files/digest-libsepol-1.12.28 b/sys-libs/libsepol/files/digest-libsepol-1.12.28
new file mode 100644
index 000000000000..bbadfb319c44
--- /dev/null
+++ b/sys-libs/libsepol/files/digest-libsepol-1.12.28
@@ -0,0 +1,3 @@
+MD5 d872372870ede9de87e54fcfe939c840 libsepol-1.12.28.tgz 379433
+RMD160 08dabd2af59cecee79946bc33f0e5117aa40f2de libsepol-1.12.28.tgz 379433
+SHA256 2a37355ad13d09ae5088930e62fa41e3521b5555a2aff1d5fad1d03604af092d libsepol-1.12.28.tgz 379433
diff --git a/sys-libs/libsepol/libsepol-1.12.28.ebuild b/sys-libs/libsepol/libsepol-1.12.28.ebuild
new file mode 100644
index 000000000000..e328e427179a
--- /dev/null
+++ b/sys-libs/libsepol/libsepol-1.12.28.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-1.12.28.ebuild,v 1.1 2006/10/05 06:20:17 pebenito Exp $
+
+IUSE=""
+
+inherit multilib eutils
+
+#BUGFIX_PATCH="${FILESDIR}/libsepol-1.12.5.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
+}