diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2004-11-23 00:42:08 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2004-11-23 00:42:08 +0000 |
commit | d884722d98de18a60914ab85cabde8f8b1db8007 (patch) | |
tree | 00cd12ecce04271bf7336c124b3f6d61e0adf390 /sys-apps/policycoreutils | |
parent | Version bumped. Bug 71976. (diff) | |
download | historical-d884722d98de18a60914ab85cabde8f8b1db8007.tar.gz historical-d884722d98de18a60914ab85cabde8f8b1db8007.tar.bz2 historical-d884722d98de18a60914ab85cabde8f8b1db8007.zip |
cleanup plus stage1 stuff
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r-- | sys-apps/policycoreutils/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/policycoreutils/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/policycoreutils/policycoreutils-1.18.ebuild | 24 |
3 files changed, 25 insertions, 9 deletions
diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog index 4a655e11a172..7f600ecafa75 100644 --- a/sys-apps/policycoreutils/ChangeLog +++ b/sys-apps/policycoreutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/policycoreutils # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.36 2004/11/15 20:47:39 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.37 2004/11/23 00:42:08 pebenito Exp $ + + 22 Nov 2004; Chris PeBenito <pebenito@gentoo.org> + policycoreutils-1.18.ebuild: + Ensure a few dirs and perms during stage1 build. 15 Nov 2004; Chris PeBenito <pebenito@gentoo.org> policycoreutils-1.18.ebuild: diff --git a/sys-apps/policycoreutils/Manifest b/sys-apps/policycoreutils/Manifest index e81f23600c6b..02ef145b59d1 100644 --- a/sys-apps/policycoreutils/Manifest +++ b/sys-apps/policycoreutils/Manifest @@ -1,7 +1,7 @@ -MD5 9f23226da146d66f3e3f828b1ea4d059 ChangeLog 5659 +MD5 0010091d172d2328cc40e7ffea493b77 ChangeLog 5794 MD5 2eeb1df30e87ba2861eddbdc34a48bb8 metadata.xml 836 MD5 6ace8ffd9877d971422974d8a7a64252 policycoreutils-1.16.ebuild 1772 -MD5 88467f654dfd2bffa5d3f5c964256a7d policycoreutils-1.18.ebuild 1783 +MD5 538e0850edbda5a8eb2bf25c3d005625 policycoreutils-1.18.ebuild 1972 MD5 b3fb897ca820d6d94105ecf7103cab70 files/digest-policycoreutils-1.16 144 MD5 308dfedc40a02c48b8cc5118feb8f9ef files/policycoreutils-1.16-genhomedircon-compat.diff 1744 MD5 2dbe913419502995a710560072ca8517 files/digest-policycoreutils-1.18 145 diff --git a/sys-apps/policycoreutils/policycoreutils-1.18.ebuild b/sys-apps/policycoreutils/policycoreutils-1.18.ebuild index 3172897176b1..117ab67cbb6a 100644 --- a/sys-apps/policycoreutils/policycoreutils-1.18.ebuild +++ b/sys-apps/policycoreutils/policycoreutils-1.18.ebuild @@ -1,12 +1,13 @@ # 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.18.ebuild,v 1.2 2004/11/15 20:47:39 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.18.ebuild,v 1.3 2004/11/23 00:42:08 pebenito Exp $ IUSE="build" inherit eutils EXTRAS_VER="1.9" +SEPOL_VER="1.2" DESCRIPTION="SELinux core utilities" HOMEPAGE="http://www.nsa.gov/selinux" @@ -17,9 +18,10 @@ SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~amd64" DEPEND=">=sys-libs/libselinux-${PV} - >=sys-libs/libsepol-1.2 + >=sys-libs/libsepol-${SEPOL_VER} sys-devel/gettext - !build? ( sys-libs/pam )" + !build? ( sys-libs/pam ) + build? ( sys-apps/baselayout )" S2=${WORKDIR}/policycoreutils-extra @@ -28,9 +30,6 @@ src_unpack() { cd ${S} - # add compatibility for number of genhomedircon command line args -# epatch ${FILESDIR}/policycoreutils-1.16-genhomedircon-compat.diff - # dont install fixfiles cron script sed -i -e '/^all/s/fixfiles//' ${S}/scripts/Makefile \ || die "fixfiles sed 1 failed" @@ -67,3 +66,16 @@ src_install() { make DESTDIR="${D}" -C ${S2} install || die fi } + +pkg_postinst() { + if use build; then + # need to ensure these + mkdir -p ${ROOT}/selinux + touch ${ROOT}/selinux/.keep + mkdir -p ${ROOT}/sys + touch ${ROOT}/sys/.keep + mkdir -p ${ROOT}/dev/pts + touch ${ROOT}/dev/pts/.keep + chmod 0666 ${ROOT}/dev/{ptmx,tty} + fi +} |