summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-11-14 19:02:15 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-11-14 19:02:15 +0000
commite7c6b43061a77020dcdc60e505b653fc72d1072f (patch)
tree023c477c6dbb72f1dfe39788ace8b28daf1e713a /sys-libs/libsepol
parentadd mls to checkpolicy and libsepol (diff)
downloadgentoo-2-e7c6b43061a77020dcdc60e505b653fc72d1072f.tar.gz
gentoo-2-e7c6b43061a77020dcdc60e505b653fc72d1072f.tar.bz2
gentoo-2-e7c6b43061a77020dcdc60e505b653fc72d1072f.zip
new upstream release
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/ChangeLog7
-rw-r--r--sys-libs/libsepol/files/digest-libsepol-1.21
-rw-r--r--sys-libs/libsepol/libsepol-1.2.ebuild36
3 files changed, 43 insertions, 1 deletions
diff --git a/sys-libs/libsepol/ChangeLog b/sys-libs/libsepol/ChangeLog
index 7931a5cd094f..183f5fb12e8e 100644
--- a/sys-libs/libsepol/ChangeLog
+++ b/sys-libs/libsepol/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libsepol
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.1 2004/09/08 00:32:56 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.2 2004/11/14 18:58:44 pebenito Exp $
+
+*libsepol-1.2 (14 Nov 2004)
+
+ 14 Nov 2004; Chris PeBenito <pebenito@gentoo.org> +libsepol-1.2.ebuild:
+ New upstream release.
*libsepol-1.0 (07 Sep 2004)
diff --git a/sys-libs/libsepol/files/digest-libsepol-1.2 b/sys-libs/libsepol/files/digest-libsepol-1.2
new file mode 100644
index 000000000000..4735acc16913
--- /dev/null
+++ b/sys-libs/libsepol/files/digest-libsepol-1.2
@@ -0,0 +1 @@
+MD5 54e2052452d5247b944252652ed94594 libsepol-1.2.tgz 56595
diff --git a/sys-libs/libsepol/libsepol-1.2.ebuild b/sys-libs/libsepol/libsepol-1.2.ebuild
new file mode 100644
index 000000000000..7fffababeadb
--- /dev/null
+++ b/sys-libs/libsepol/libsepol-1.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-1.2.ebuild,v 1.1 2004/11/14 18:58:44 pebenito Exp $
+
+IUSE="mls"
+
+DESCRIPTION="SELinux binary policy management library"
+HOMEPAGE="http://www.nsa.gov/selinux"
+SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+
+DEPEND="sys-libs/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ use mls && sed -i -e '/^MLS/s/n/y/' src/Makefile \
+ || die "MLS option failed."
+
+ sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" src/Makefile \
+ || die "src Makefile CFLAGS fix failed."
+ sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" utils/Makefile \
+ || die "utils Makefile CFLAGS fix failed."
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install
+}