summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-10-07 23:24:59 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-10-07 23:24:59 +0000
commit40b4844073805efa09377f4bb0664f75aff14416 (patch)
tree101a0cb9de6c0203766a9a45997b00ae7c6c1b0f /sys-apps/policycoreutils
parentmark stable (diff)
downloadhistorical-40b4844073805efa09377f4bb0664f75aff14416.tar.gz
historical-40b4844073805efa09377f4bb0664f75aff14416.tar.bz2
historical-40b4844073805efa09377f4bb0664f75aff14416.zip
mark stable
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r--sys-apps/policycoreutils/files/digest-policycoreutils-1.12-r22
-rw-r--r--sys-apps/policycoreutils/files/runscript-selinux.diff20
-rw-r--r--sys-apps/policycoreutils/policycoreutils-1.12-r2.ebuild66
-rw-r--r--sys-apps/policycoreutils/policycoreutils-1.16.ebuild4
4 files changed, 2 insertions, 90 deletions
diff --git a/sys-apps/policycoreutils/files/digest-policycoreutils-1.12-r2 b/sys-apps/policycoreutils/files/digest-policycoreutils-1.12-r2
deleted file mode 100644
index 7dac90c32def..000000000000
--- a/sys-apps/policycoreutils/files/digest-policycoreutils-1.12-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 db69756ca36d460ebe2fc0fd7cdbf2b9 policycoreutils-1.12.tgz 40518
-MD5 9a0de2580023c53d04aab04e96b420a8 policycoreutils-extra-1.5.tar.bz2 8704
diff --git a/sys-apps/policycoreutils/files/runscript-selinux.diff b/sys-apps/policycoreutils/files/runscript-selinux.diff
deleted file mode 100644
index a8f696ba1076..000000000000
--- a/sys-apps/policycoreutils/files/runscript-selinux.diff
+++ /dev/null
@@ -1,20 +0,0 @@
-Index: src/runscript_selinux.c
-===================================================================
-RCS file: /var/cvsroot/gentoo-projects/hardened/policycoreutils-extra/src/runscript_selinux.c,v
-retrieving revision 1.6
-diff -u -r1.6 runscript_selinux.c
---- src/runscript_selinux.c 4 Jul 2004 02:15:35 -0000 1.6
-+++ src/runscript_selinux.c 6 Jul 2004 21:28:18 -0000
-@@ -378,10 +378,11 @@
- fprintf(stderr, "Could not set exec context to %s.\n", new_context);
- exit(1);
- }
-+
-+ freecon(new_context);
- }
-
- context_free(curr_con);
-- freecon(new_context);
- freecon(curr_context);
-
- } /* selinux_runscript() */
diff --git a/sys-apps/policycoreutils/policycoreutils-1.12-r2.ebuild b/sys-apps/policycoreutils/policycoreutils-1.12-r2.ebuild
deleted file mode 100644
index a9d82f653d1a..000000000000
--- a/sys-apps/policycoreutils/policycoreutils-1.12-r2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.12-r2.ebuild,v 1.2 2004/08/08 00:38:07 slarti Exp $
-
-IUSE="build"
-
-inherit eutils
-
-EXTRAS_VER="1.5"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="http://www.nsa.gov/selinux"
-SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz
- mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc"
-
-DEPEND=">=sys-libs/libselinux-${PV}
- sys-devel/gettext
- !build? ( sys-libs/pam )"
-
-S2=${WORKDIR}/policycoreutils-extra
-
-src_unpack() {
- unpack ${A}
-
- cd ${S2}
- epatch ${FILESDIR}/runscript-selinux.diff
-
- cd ${S}
- epatch ${FILESDIR}/policycoreutils-1.10-genhomedircon-reverse.diff
-
- # Change script paths POLICYDIR
- sed -i -e "s:/etc/security/selinux/src/policy/:${POLICYDIR}:g" ${S}/scripts/genhomedircon
-
- # fix up to accept Gentoo CFLAGS
- local SUBDIRS="`cd ${S} && find -type d | cut -d/ -f2`"
- for i in ${SUBDIRS}; do
- sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" ${S}/${i}/Makefile \
- || die "${i} Makefile CFLAGS fix failed."
- done
-}
-
-src_compile() {
- if use build; then
- einfo "Compiling setfiles"
- emake -C ${S}/setfiles || die
- else
- einfo "Compiling policycoreutils"
- emake -C ${S} || die
- einfo "Compiling policycoreutils-extra"
- emake -C ${S2} || die
- fi
-}
-
-src_install() {
- if use build; then
- dosbin ${S}/setfiles/setfiles
- else
- einfo "Installing policycoreutils"
- make DESTDIR="${D}" -C ${S} install || die
- einfo "Installing policycoreutils-extra"
- make DESTDIR="${D}" -C ${S2} install || die
- fi
-}
diff --git a/sys-apps/policycoreutils/policycoreutils-1.16.ebuild b/sys-apps/policycoreutils/policycoreutils-1.16.ebuild
index f258bade0f9d..4ef30889f211 100644
--- a/sys-apps/policycoreutils/policycoreutils-1.16.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-1.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.16.ebuild,v 1.2 2004/09/20 02:09:45 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.16.ebuild,v 1.3 2004/10/07 23:24:59 pebenito Exp $
IUSE="build"
@@ -14,7 +14,7 @@ SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz
mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+KEYWORDS="x86 ppc sparc amd64"
DEPEND=">=sys-libs/libselinux-${PV}
sys-libs/libsepol