summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-07-02 16:42:25 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-07-02 16:42:25 +0000
commit74c601f0a99a9390956ae80fd625b9893d42fd8a (patch)
tree41dd132f213171639f37656f583e5c5446243bdf /sys-libs/libselinux
parentsync IUSE (missing) (Manifest recommit) (diff)
downloadgentoo-2-74c601f0a99a9390956ae80fd625b9893d42fd8a.tar.gz
gentoo-2-74c601f0a99a9390956ae80fd625b9893d42fd8a.tar.bz2
gentoo-2-74c601f0a99a9390956ae80fd625b9893d42fd8a.zip
new upstream version
Diffstat (limited to 'sys-libs/libselinux')
-rw-r--r--sys-libs/libselinux/ChangeLog7
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.141
-rw-r--r--sys-libs/libselinux/libselinux-1.14.ebuild40
3 files changed, 47 insertions, 1 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index 0e5c822e59d1..ba77ef5cb94f 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.21 2004/06/25 03:09:37 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.22 2004/07/02 16:37:35 pebenito Exp $
+
+*libselinux-1.14 (02 Jul 2004)
+
+ 02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
+ New upstream version.
11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
libselinux-1.12.ebuild:
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.14 b/sys-libs/libselinux/files/digest-libselinux-1.14
new file mode 100644
index 000000000000..a686fe1cbc81
--- /dev/null
+++ b/sys-libs/libselinux/files/digest-libselinux-1.14
@@ -0,0 +1 @@
+MD5 f5d80e5f19e906232fd866b6997ac7af libselinux-1.14.tgz 60228
diff --git a/sys-libs/libselinux/libselinux-1.14.ebuild b/sys-libs/libselinux/libselinux-1.14.ebuild
new file mode 100644
index 000000000000..a49a2356cf7d
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-1.14.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.14.ebuild,v 1.1 2004/07/02 16:37:35 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
+}