summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-09-08 00:42:16 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-09-08 00:42:16 +0000
commit429f6704c225950940da911314eb2368908547bf (patch)
tree1e37b87a667588e30bbfb8797c0740c562fff217 /sys-libs
parentinitial commit (Manifest recommit) (diff)
downloadgentoo-2-429f6704c225950940da911314eb2368908547bf.tar.gz
gentoo-2-429f6704c225950940da911314eb2368908547bf.tar.bz2
gentoo-2-429f6704c225950940da911314eb2368908547bf.zip
new upstream release
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libselinux/ChangeLog7
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.161
-rw-r--r--sys-libs/libselinux/libselinux-1.16.ebuild40
3 files changed, 47 insertions, 1 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index ba77ef5cb94f..66e1d4bb2878 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libselinux
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.22 2004/07/02 16:37:35 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.23 2004/09/08 00:37:39 pebenito Exp $
+
+*libselinux-1.16 (07 Sep 2004)
+
+ 07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
+ New upstream release.
*libselinux-1.14 (02 Jul 2004)
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.16 b/sys-libs/libselinux/files/digest-libselinux-1.16
new file mode 100644
index 000000000000..dddb822c141b
--- /dev/null
+++ b/sys-libs/libselinux/files/digest-libselinux-1.16
@@ -0,0 +1 @@
+MD5 0dfa39b41834904e58db14ddb881abb9 libselinux-1.16.tgz 64612
diff --git a/sys-libs/libselinux/libselinux-1.16.ebuild b/sys-libs/libselinux/libselinux-1.16.ebuild
new file mode 100644
index 000000000000..72c14e6c38a9
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-1.16.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.16.ebuild,v 1.1 2004/09/08 00:37:39 pebenito Exp $
+
+IUSE=""
+
+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="~x86 ~ppc ~sparc"
+
+DEPEND="sys-libs/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ # add for compatibility, for now. Otherwise the current sysvinit
+ # patch fails to compile.
+ sed -i -e 's/^\#endif//' ${S}/include/selinux/selinux.h
+ echo '/* so older sysvinit patch can compile */' >> ${S}/include/selinux/selinux.h
+ echo '#define SELINUXMNT "/selinux/"' >> ${S}/include/selinux/selinux.h
+ echo '#define SELINUXPOLICY "/etc/security/selinux/policy"' >> ${S}/include/selinux/selinux.h
+ echo '#endif' >> ${S}/include/selinux/selinux.h
+
+ cd ${S}
+ 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
+}