summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2005-01-08 03:04:44 +0000
committerChris PeBenito <pebenito@gentoo.org>2005-01-08 03:04:44 +0000
commit664585ecad53cf1dcd0d070a93b5ad4d8e832e5f (patch)
tree0f748e47d0190bf46ca0606081f36be62ae3154c /sys-libs/libselinux
parentstable on amd64 bug 76665 (Manifest recommit) (diff)
downloadgentoo-2-664585ecad53cf1dcd0d070a93b5ad4d8e832e5f.tar.gz
gentoo-2-664585ecad53cf1dcd0d070a93b5ad4d8e832e5f.tar.bz2
gentoo-2-664585ecad53cf1dcd0d070a93b5ad4d8e832e5f.zip
new upstream release
Diffstat (limited to 'sys-libs/libselinux')
-rw-r--r--sys-libs/libselinux/ChangeLog8
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.201
-rw-r--r--sys-libs/libselinux/libselinux-1.18.ebuild4
-rw-r--r--sys-libs/libselinux/libselinux-1.20.ebuild42
4 files changed, 52 insertions, 3 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index 0f88a30351ef..72a5b7330181 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libselinux
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.25 2005/01/04 00:55:39 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.26 2005/01/08 03:04:43 pebenito Exp $
+
+*libselinux-1.20 (07 Jan 2005)
+
+ 07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
+ +libselinux-1.20.ebuild:
+ New upstream release. Mark 1.18 stable.
03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
libselinux-1.18.ebuild:
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.20 b/sys-libs/libselinux/files/digest-libselinux-1.20
new file mode 100644
index 000000000000..52222a7ea0b6
--- /dev/null
+++ b/sys-libs/libselinux/files/digest-libselinux-1.20
@@ -0,0 +1 @@
+MD5 a33e6010f8e1a22c5d1c013dc6bf893a libselinux-1.20.tgz 76853
diff --git a/sys-libs/libselinux/libselinux-1.18.ebuild b/sys-libs/libselinux/libselinux-1.18.ebuild
index e56cd17de1eb..d9e79f72828e 100644
--- a/sys-libs/libselinux/libselinux-1.18.ebuild
+++ b/sys-libs/libselinux/libselinux-1.18.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.18.ebuild,v 1.2 2005/01/04 00:55:39 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.18.ebuild,v 1.3 2005/01/08 03:04:43 pebenito Exp $
inherit eutils
@@ -11,7 +11,7 @@ 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 ~amd64"
+KEYWORDS="x86 ppc sparc amd64"
DEPEND="virtual/libc"
diff --git a/sys-libs/libselinux/libselinux-1.20.ebuild b/sys-libs/libselinux/libselinux-1.20.ebuild
new file mode 100644
index 000000000000..1066e14f681d
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-1.20.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.20.ebuild,v 1.1 2005/01/08 03:04:43 pebenito Exp $
+
+inherit eutils
+
+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 ~amd64"
+
+DEPEND="virtual/libc"
+
+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
+}