summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2007-10-18 19:47:50 +0000
committerChris PeBenito <pebenito@gentoo.org>2007-10-18 19:47:50 +0000
commit25162ea8307c1e0b3d29d133eb075cf689ccc4cb (patch)
tree7d2e1eb7c15c04172aedefe3118d539bdf0dc260 /sys-apps
parentRemove old version (diff)
downloadhistorical-25162ea8307c1e0b3d29d133eb075cf689ccc4cb.tar.gz
historical-25162ea8307c1e0b3d29d133eb075cf689ccc4cb.tar.bz2
historical-25162ea8307c1e0b3d29d133eb075cf689ccc4cb.zip
new upstream release.
Package-Manager: portage-2.1.3.14
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/policycoreutils/ChangeLog8
-rw-r--r--sys-apps/policycoreutils/Manifest17
-rw-r--r--sys-apps/policycoreutils/files/digest-policycoreutils-1.34.116
-rw-r--r--sys-apps/policycoreutils/policycoreutils-1.34.11.ebuild109
4 files changed, 135 insertions, 5 deletions
diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog
index ba6adc8052a8..617972e6711f 100644
--- a/sys-apps/policycoreutils/ChangeLog
+++ b/sys-apps/policycoreutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/policycoreutils
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.64 2007/06/04 00:52:47 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.65 2007/10/18 19:47:49 pebenito Exp $
+
+*policycoreutils-1.34.11 (18 Oct 2007)
+
+ 18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
+ +policycoreutils-1.34.11.ebuild:
+ New upstream release.
04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
policycoreutils-1.34.1.ebuild:
diff --git a/sys-apps/policycoreutils/Manifest b/sys-apps/policycoreutils/Manifest
index c9ff0baac8f2..d6a2f8de6b8e 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -13,9 +13,11 @@ SHA256 bb8a1e89a7b8a3765a2dc788f0635471831545c6d7a6480ddaf4b31d1121c6ea files/po
DIST policycoreutils-1.28.tgz 74321 RMD160 0dd32e3e6dd3dcca0c01f3679f956800bcf6868f SHA1 1d0db2cfeb1dd658ac27bc4011245fce357d5ec6 SHA256 84df52fe09bac8e7476683e7d796f7388f9ce1986c06a0e7274b51e0fbef5c51
DIST policycoreutils-1.30.tgz 90544 RMD160 65b629ce435d86b6103c20ac81b89cabe20b7e69 SHA1 ff0f40ec9071ce39e162fa8febd369a9048f3d82 SHA256 2e18de7e7915df12ee7079c0e10fae919738c7dfcb58e8b5f1b5f1309b336931
DIST policycoreutils-1.34.1.tgz 294929 RMD160 cfe78de6dd6e0074be389170ed8b45f253029efa SHA1 2eabc0088a11db8fafe9933d634758fe73849605 SHA256 7530f193054fbcc803d1f7153973736919bc300ccfaf401e65302839b914fffe
+DIST policycoreutils-1.34.11.tgz 317028 RMD160 5973ba96e627b3bf621549a6b8d19b0f1483b920 SHA1 dd9412c2d3df91401c6cd497fa4484a6bd55415f SHA256 68eb034769673effea02928ac9785c45cd9cb398a93386bf97a5fc8d8d03d778
DIST policycoreutils-extra-1.14.tar.bz2 15209 RMD160 ba63c608883ffdbfd8b4c6cb82e4db836d011b38 SHA1 36af9414ba904c56079312dd3c3f50defe03a00f SHA256 f031173ac99808c9bd99ca888464dcf32d25e614161dfccfea537905f36f96b2
DIST policycoreutils-extra-1.15.tar.bz2 14367 RMD160 6925c5bd2351567315f056f74f578ccd1b2bd1f9 SHA1 8e2f62835980da82749e9d291008c77671cb6c7f SHA256 4de52d774744217036cfcca3c71b20427ee865920e2c83e9e86b736d2f51c6a8
DIST policycoreutils-extra-1.17.tar.bz2 17034 RMD160 bf613e08ee1b032390ee588c77a5b1b1d7a50695 SHA1 19abfc754c34a92526baf5699d25f27485456bbd SHA256 a4ffc80381ddf1e7d5fe8a537cf83af2338d9e0a8e9103ba73fe77bc17b92ca7
+DIST policycoreutils-extra-1.18.tar.bz2 17109 RMD160 150a443b3942808ab3ef2a1fec8da789776861f5 SHA1 71174bb943b0c0dcdde2781ad8cf45b5e574d9d0 SHA256 0835baaef5ad93e130cf399048752f0821a545cf33ce53760ae46d43c043e8eb
EBUILD policycoreutils-1.28.ebuild 3566 RMD160 8dc00dde490d097fc36587a195fa3e4a1f9efe81 SHA1 db51d47b605855e8d57f48ac06a96c09967827cf SHA256 1009800d22a1515baae61a65af5e8393076893a9e7f8189b6a773d9e70dd4361
MD5 e969769d088771f792770d988b7515b4 policycoreutils-1.28.ebuild 3566
RMD160 8dc00dde490d097fc36587a195fa3e4a1f9efe81 policycoreutils-1.28.ebuild 3566
@@ -28,10 +30,14 @@ EBUILD policycoreutils-1.34.1.ebuild 3840 RMD160 f1f1fb91bf2469283bb8cd9dc3898bd
MD5 618c777bf57d7a080b7af28749248977 policycoreutils-1.34.1.ebuild 3840
RMD160 f1f1fb91bf2469283bb8cd9dc3898bd6465dbdf3 policycoreutils-1.34.1.ebuild 3840
SHA256 fd2daa12a8c800f85d72dd0f7d3f6978077906cd9b2b14b2a87166980cee5707 policycoreutils-1.34.1.ebuild 3840
-MISC ChangeLog 9923 RMD160 524fd8f96a554a3b94027fe32146bed838e6ed71 SHA1 2fefaa4366c4983229e44f60daa6e3a62d37da11 SHA256 df8ad5f906f3761b10ed62fbb621e68a723e90b30c9084df5370bf3c38d5ed34
-MD5 9a603373b7f9b24a9679775b607bdb6c ChangeLog 9923
-RMD160 524fd8f96a554a3b94027fe32146bed838e6ed71 ChangeLog 9923
-SHA256 df8ad5f906f3761b10ed62fbb621e68a723e90b30c9084df5370bf3c38d5ed34 ChangeLog 9923
+EBUILD policycoreutils-1.34.11.ebuild 2715 RMD160 1cb5ad17fac36c04a604d7c647b9a2d66ef08c6f SHA1 24b754c9680ae30380b5699c928bfb67b465a216 SHA256 fb15effec35bb2bdd84c2696b70252d7d11937e117e8ec7d1b77a009f06b6250
+MD5 c71ccf71f2d3cf98b9e4688f2fe29ad7 policycoreutils-1.34.11.ebuild 2715
+RMD160 1cb5ad17fac36c04a604d7c647b9a2d66ef08c6f policycoreutils-1.34.11.ebuild 2715
+SHA256 fb15effec35bb2bdd84c2696b70252d7d11937e117e8ec7d1b77a009f06b6250 policycoreutils-1.34.11.ebuild 2715
+MISC ChangeLog 10075 RMD160 79768e5f8df065485a9e77de6c315dcb2daa22d5 SHA1 802a0e73ddc7874c52576949ac8775ab26a5ddf4 SHA256 f91d19fae98c910d377a9c49cf0887483b90904e3b9b94e4ef23b90b960e80ff
+MD5 14d3afb9911b303b47057e0ea667de11 ChangeLog 10075
+RMD160 79768e5f8df065485a9e77de6c315dcb2daa22d5 ChangeLog 10075
+SHA256 f91d19fae98c910d377a9c49cf0887483b90904e3b9b94e4ef23b90b960e80ff ChangeLog 10075
MISC metadata.xml 836 RMD160 421e492e89112f8436f8c5535aa2340cc8795929 SHA1 91c830f5358b9786f2b61e1967214f49212c4e3a SHA256 1d14250f52ecf63b67bed2289833d6f1ff2eba3cad9a80794b356e747917cdb7
MD5 2eeb1df30e87ba2861eddbdc34a48bb8 metadata.xml 836
RMD160 421e492e89112f8436f8c5535aa2340cc8795929 metadata.xml 836
@@ -45,3 +51,6 @@ SHA256 74c296380da48f17bcfb066637952d66c245bcd35c16953f01eb7b6839086557 files/di
MD5 5d4740aa2763334a44ac91b7e2cd3a86 files/digest-policycoreutils-1.34.1 539
RMD160 d1f4d6a4f1de893b8adae8c178ed0d21275da4e2 files/digest-policycoreutils-1.34.1 539
SHA256 3ca482574092add52ee43e2fb5e6cf72fe8f5d254910bdd378e184ed6f1e0c0e files/digest-policycoreutils-1.34.1 539
+MD5 2ffdbf63f16fabe18464468f3f9db840 files/digest-policycoreutils-1.34.11 542
+RMD160 9ac5c411d59b02f1b8fd13dd483d11b6f006f74d files/digest-policycoreutils-1.34.11 542
+SHA256 87836e3ec0bfe71d894d6d2abea22472e5954a16fe34565d1711841e7ec4f94a files/digest-policycoreutils-1.34.11 542
diff --git a/sys-apps/policycoreutils/files/digest-policycoreutils-1.34.11 b/sys-apps/policycoreutils/files/digest-policycoreutils-1.34.11
new file mode 100644
index 000000000000..e4e4c9e2a24b
--- /dev/null
+++ b/sys-apps/policycoreutils/files/digest-policycoreutils-1.34.11
@@ -0,0 +1,6 @@
+MD5 2f8cda25b51566762216a68fe2027952 policycoreutils-1.34.11.tgz 317028
+RMD160 5973ba96e627b3bf621549a6b8d19b0f1483b920 policycoreutils-1.34.11.tgz 317028
+SHA256 68eb034769673effea02928ac9785c45cd9cb398a93386bf97a5fc8d8d03d778 policycoreutils-1.34.11.tgz 317028
+MD5 b7c70b77c36476b5dd1d2c2e7308f607 policycoreutils-extra-1.18.tar.bz2 17109
+RMD160 150a443b3942808ab3ef2a1fec8da789776861f5 policycoreutils-extra-1.18.tar.bz2 17109
+SHA256 0835baaef5ad93e130cf399048752f0821a545cf33ce53760ae46d43c043e8eb policycoreutils-extra-1.18.tar.bz2 17109
diff --git a/sys-apps/policycoreutils/policycoreutils-1.34.11.ebuild b/sys-apps/policycoreutils/policycoreutils-1.34.11.ebuild
new file mode 100644
index 000000000000..bd60d2c9112b
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-1.34.11.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.34.11.ebuild,v 1.1 2007/10/18 19:47:49 pebenito Exp $
+
+IUSE="nls"
+
+inherit eutils python
+
+EXTRAS_VER="1.18"
+SEMNG_VER="1.10"
+SELNX_VER="1.34"
+
+# BUGFIX_PATCH="${FILESDIR}/policycoreutils-1.30.6.diff"
+
+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="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+
+RDEPEND=">=sys-libs/libselinux-${SELNX_VER}
+ >=sys-libs/glibc-2.4
+ sys-libs/pam
+ =sys-libs/libsemanage-${SEMNG_VER}*"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S2=${WORKDIR}/policycoreutils-extra
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+
+ [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}"
+
+ # This warning makes no sense, in this context
+ sed -i -e '/FILE/ s/;/=NULL;/' "${S}/audit2why/audit2why.c" \
+ || die "audit2why sed failed"
+
+ # rlpkg is more useful than fixfiles
+ sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+ || die "fixfiles sed 1 failed"
+ sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+ || die "fixfiles sed 2 failed"
+
+ local SUBDIRS="`cd ${S} && find -type d | cut -d/ -f2`"
+
+ if ! useq nls; then
+ for i in ${SUBDIRS}; do
+ # disable locale stuff
+ sed -i -e s/-DUSE_NLS// "${S}/${i}/Makefile" \
+ || die "${i} NLS sed failed"
+ done
+ fi
+
+ # Gentoo Fixes
+ for i in ${SUBDIRS}; do
+ sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" \
+ -e '/^AUDITH/d' \
+ "${S}/${i}/Makefile" \
+ || die "${i} Makefile CFLAGS fix failed."
+
+ # disable audit support because the required version
+ # in portage does not exist yet
+ done
+}
+
+src_compile() {
+ python_version
+
+ einfo "Compiling policycoreutils"
+ emake -C "${S}" PYLIBVER="python${PYVER}" || die
+ einfo "Compiling policycoreutils-extra"
+ emake -C "${S2}" || die
+}
+
+src_install() {
+ python_version
+
+ einfo "Installing policycoreutils"
+ make DESTDIR="${D}" -C "${S}" PYLIBVER="python${PYVER}" install || die
+ einfo "Installing policycoreutils-extra"
+ make DESTDIR="${D}" -C "${S2}" install || die
+
+ # remove redhat-style init script
+ rm -fR "${D}/etc/rc.d"
+
+ # compatibility symlink
+ dosym /sbin/setfiles /usr/sbin/setfiles
+
+ if has_version '<sys-libs/pam-0.99'; then
+ # install compat pam.d entries
+ # for older pam
+ make DESTDIR="${D}" -C "${S2}/pam.d" install || die
+ fi
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize "${ROOT}usr/lib/python${PYVER}/site-packages"
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup "${ROOT}usr/lib/python${PYVER}/site-packages"
+}