summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2009-08-02 01:12:10 +0000
committerChris PeBenito <pebenito@gentoo.org>2009-08-02 01:12:10 +0000
commit4805b6e0afe7a1aa243c66244c2eb57ab875f6d8 (patch)
treee66b96d484c2a1401c38fdc3138966f2d6f47f84 /sys-libs/libsepol
parentVersion bump, ChangeLog: http://releases.xfce.org/feeds/project/midori (diff)
downloadgentoo-2-4805b6e0afe7a1aa243c66244c2eb57ab875f6d8.tar.gz
gentoo-2-4805b6e0afe7a1aa243c66244c2eb57ab875f6d8.tar.bz2
gentoo-2-4805b6e0afe7a1aa243c66244c2eb57ab875f6d8.zip
new upstream release.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/ChangeLog7
-rw-r--r--sys-libs/libsepol/libsepol-2.0.37.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog
index 4f9eca510ed0..f9ecdd96aec0 100644
--- a/sys-libs/libsepol/ChangeLog
+++ b/sys-libs/libsepol/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libsepol
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.33 2009/07/22 13:26:16 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.34 2009/08/02 01:12:10 pebenito Exp $
+
+*libsepol-2.0.37 (02 Aug 2009)
+
+ 02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> +libsepol-2.0.37.ebuild:
+ New upstream release.
18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
-files/libsepol-1.12.2.diff, -libsepol-1.16.11.ebuild,
diff --git a/sys-libs/libsepol/libsepol-2.0.37.ebuild b/sys-libs/libsepol/libsepol-2.0.37.ebuild
new file mode 100644
index 000000000000..41145a4fb3b0
--- /dev/null
+++ b/sys-libs/libsepol/libsepol-2.0.37.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.0.37.ebuild,v 1.1 2009/08/02 01:12:10 pebenito Exp $
+
+IUSE=""
+
+inherit multilib eutils
+
+#BUGFIX_PATCH="${FILESDIR}/libsepol-2.0.32-expand_rule.diff"
+
+DESCRIPTION="SELinux binary policy representation library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/libc"
+
+# tests are not meant to be run outside of the
+# full SELinux userland repo
+RESTRICT="test"
+
+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
+}