diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-08-12 18:46:59 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-08-12 18:46:59 +0000 |
commit | cc36f639f08c1d00ab182db384f6cc42b6f4a336 (patch) | |
tree | 7df897443a343f58aec10f152744add970fe93a6 /sys-apps/policycoreutils | |
parent | Removed deprecated versions (diff) | |
download | historical-cc36f639f08c1d00ab182db384f6cc42b6f4a336.tar.gz historical-cc36f639f08c1d00ab182db384f6cc42b6f4a336.tar.bz2 historical-cc36f639f08c1d00ab182db384f6cc42b6f4a336.zip |
Removed deprecated versions
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r-- | sys-apps/policycoreutils/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/policycoreutils/Manifest | 16 | ||||
-rw-r--r-- | sys-apps/policycoreutils/files/policycoreutils-2.0.69-setfiles.diff | 12 | ||||
-rw-r--r-- | sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild | 103 | ||||
-rw-r--r-- | sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild | 105 | ||||
-rw-r--r-- | sys-apps/policycoreutils/policycoreutils-2.0.69-r2.ebuild | 105 | ||||
-rw-r--r-- | sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild | 103 |
7 files changed, 11 insertions, 441 deletions
diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog index 81155849c575..075856dfdb7b 100644 --- a/sys-apps/policycoreutils/ChangeLog +++ b/sys-apps/policycoreutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/policycoreutils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.88 2011/08/03 10:18:27 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.89 2011/08/12 18:46:59 blueness Exp $ + + 12 Aug 2011; Anthony G. Basile <blueness@gentoo.org> + -policycoreutils-2.0.55.ebuild, -policycoreutils-2.0.69.ebuild, + -policycoreutils-2.0.69-r1.ebuild, -policycoreutils-2.0.69-r2.ebuild, + -files/policycoreutils-2.0.69-setfiles.diff: + Removed deprecated versions *policycoreutils-2.1.0 (03 Aug 2011) diff --git a/sys-apps/policycoreutils/Manifest b/sys-apps/policycoreutils/Manifest index 79862c246896..b08e7ae3db39 100644 --- a/sys-apps/policycoreutils/Manifest +++ b/sys-apps/policycoreutils/Manifest @@ -1,32 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX policycoreutils-2.0.69-setfiles.diff 333 RMD160 78309e288913b244200afa47dfe9b22442b45a52 SHA1 18f244ff52513bac481605e1419479c965b41cb9 SHA256 70a857ee7695fe6492db7c7ddc491fdaaf155f583a1c8c55c9b1d864811f3242 AUX policycoreutils-2.0.85-fix-seunshare-vuln.patch.gz 8962 RMD160 4175ac56c5c72ba37b3bd94009cbe17345444445 SHA1 f9a3b6d64f7b6632b8740cc4f07d8db029039e7c SHA256 2dc16bc7489d626a91d93356d80651795eb757a25fd807fbbf93c772f392b50f AUX policycoreutils-2.0.85-sesandbox.patch.gz 4551 RMD160 28ea43ae81418e0d1da95904276b8cc7423ee1e1 SHA1 dfcbc87fecfbd335b51f1c020ca0f642245b6417 SHA256 9854b390e1283194b76335dcacc0b8f7d45d8fb025592e4e9b701122c925d1e1 -DIST policycoreutils-2.0.55.tar.gz 306314 RMD160 f4f8e5eec52603e4a23424c7d0e419ee088bcad7 SHA1 b2eacc4d0e520749b182945ca7aebe537ac27ffc SHA256 4f1a880f4784bec8a06241438a854e5b438c039193e53d0c3b1b68324418f19f -DIST policycoreutils-2.0.69.tar.gz 832883 RMD160 f94527fcf5952d477741d62445cd5a2f593f6c58 SHA1 a82eb4b0208531dee65692919c7b4fd77a68e421 SHA256 bdbe0789885363c47c304758545b75b07a475b1f1b94b7007dd0bda2e4ad2b6b DIST policycoreutils-2.0.82.tar.gz 834447 RMD160 b8ff1b968e77b2554fb485a1c9bbe7069522bd21 SHA1 1abea421581e1ec3384e15752be0222514134757 SHA256 72bbf62bbe4f01657f4884c4601732f8dcb9c43c49a68f8a2985c2b5bc3d8cea DIST policycoreutils-2.0.85-python3.tar.gz 19750 RMD160 ae5daef8bf9083964e37b101a6168dc6ce5b8bb2 SHA1 61c058cb39ef9f13dd54af844a033ac724de743c SHA256 4bc78bfd39ce43a010c4e1de3d7f4ff45fcfc7bac4bc70e28c9bdb681053fe4e DIST policycoreutils-2.0.85.tar.gz 885929 RMD160 b9dea38eaa2ec7f2eabd49f7634eb6a47008aeff SHA1 f004048a32f3954a2ac420e34d4ec190905e805f SHA256 cb45e63332be948f8dff17c1bdd4b9810a7d4fa84916f49b4c9388c7948b0507 DIST policycoreutils-2.1.0.tar.gz 885913 RMD160 267829f78bc154dc96bc66678e82c5d07b522de5 SHA1 dae3e6d547a81e4be4ef7ab2a184256c6ad721ac SHA256 6199b07fd4280e455ea05933cee510b5e09ad3f60b0544382231fe05b787d3f3 -DIST policycoreutils-extra-1.19.tar.bz2 19139 RMD160 26a696ce304392f3fb2345cf4937420dbd0cdc16 SHA1 8fd3e22bb58c36eabdd9f18d7c55c8a565a71cb1 SHA256 7461733113f273b297c843cd90447d24110650ed6f1bf2ccd4bc94b4807eac5c DIST policycoreutils-extra-1.20.tar.bz2 18532 RMD160 f2f837b6759036581453bb51683d3ee9ca7de01b SHA1 44a1eb06a21217da5c4dcdbdb7204771abe81d4e SHA256 2965e81dd39b0c4b0bb29439c0c8e816e0445ec42699b8a78c3361e988c54cc0 DIST policycoreutils-extra-1.21.tar.bz2 12864 RMD160 28e5d0f52a69e0cb9c0d2e8088e828cbac951732 SHA1 7866b24ddab5a48c95fd51b88ad1eb4af0d9572e SHA256 c2d3627e2a10f83f5de997e9db75c40830e7f3520b558807346c9bd9c49769bb -EBUILD policycoreutils-2.0.55.ebuild 2651 RMD160 ac85ecaf5080679528b696ce13434864521768cd SHA1 1f28985de8af8bbf71a5cefb256f668cf5199428 SHA256 692afb0c17f16321e481ee86011546acef41ce7e4ef56c26b858dee467b07cd4 -EBUILD policycoreutils-2.0.69-r1.ebuild 2719 RMD160 e684ad9273a7406a36e812be7df5d40027ac6ebf SHA1 35014a651791db3e8cab6063a42cd12badfea81d SHA256 8998c0ce156e7f3de8931272ba12c5f799ddbd98080cf3d4ba9c86df31bcfa95 -EBUILD policycoreutils-2.0.69-r2.ebuild 2724 RMD160 59b98cfd017c77661aeca05daebc7c24a7a85e76 SHA1 e94ab1c1216f67a7756deee83e7d703b99e81571 SHA256 1fb4a5670972b00ac2743379c1091aa5861f672b336b54ca3a045cfa49b24337 -EBUILD policycoreutils-2.0.69.ebuild 2658 RMD160 e74966b31e87ab9c4c1f76748649468b420b87b9 SHA1 a5ebcdc803b719c0517fb4f7ee1fd4e5283e6e56 SHA256 fc59a62f34a5b21ecab71cea4784fb5c51a93cd9ccee1acc37113517ab3adef0 EBUILD policycoreutils-2.0.82-r1.ebuild 2942 RMD160 1cfce90dabb327055b07bb5a16cb0a1e037d5574 SHA1 73fc250f3fc8afffc9e21b3aa0da276c1136f913 SHA256 c5296af03152194212caeae3186db3e80d1419a8ad4385dc257abc4e423571df EBUILD policycoreutils-2.0.82.ebuild 2633 RMD160 b8077adda572a73ed616526ec0ca97cc6038e6a2 SHA1 7d40d7119a01fa4e7fcbd3d68fc9aa43f8d97704 SHA256 852d23bfa05fce1e25a0c65c726309b2316051ced113c2b6d444c39ed19ffe94 EBUILD policycoreutils-2.0.85.ebuild 4308 RMD160 5eeae4b104c7f801d3d3582837d6e40ec1d85639 SHA1 1880f9fa1d4d5498a03927d39b078608945ba52a SHA256 f0e37a61d23c8a92110873cb031359c982e6b051e17592629586cf6ef6f40b98 EBUILD policycoreutils-2.1.0.ebuild 4229 RMD160 b6f2433aa395fd027e4f42956990f869dd74cfe4 SHA1 0806735255db40a53ef3bd5110d1239e0afffdab SHA256 86d20041fef2c5a56e78700553fbbb655a50155b0ab929b6b3ca24fe55ed39be -MISC ChangeLog 14009 RMD160 510d7f18aeace9a92c60f8ced5a10ac7d3bb247c SHA1 6a17280135fa7c0cf9753dacabfe4c40b8a9b0bc SHA256 1308cb627c7bbb50cdea49dec1b83d621e52821958104b230f932be6bfd1d8bf +MISC ChangeLog 14280 RMD160 ffbc33a0e61b51b40b1137146bfd495f703e12ad SHA1 7bb8551190490b825b110d2063b81127925fffef SHA256 d7e82f63d2bf2c4e895ed0b544c1d5eb01518085dd589e81df2ee228d9f61896 MISC metadata.xml 717 RMD160 0fc1c3cf181bfbe5d0e2c31e7c0db5f7a837cd91 SHA1 2ee21a2645c4e8e96e4714ba12ad0037631e83b9 SHA256 0c06ffad8c7c95b22992240c5fe0516a3e29a65ebe8da43e184fc2c8b08a1971 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk45IHwACgkQl5yvQNBFVTUxkACfQrBFMXz8QOC2sdGuGKqDf/VH -SksAoJTdb0VUYTLwVFvzpByz11xXKzKG -=BePF +iEYEAREIAAYFAk5FdSwACgkQl5yvQNBFVTUj/ACfS0UGopny1tBcfKant95nhrJ1 +YCkAmQG9iOKSiLn0zwZ4/9/Bd9xnKOYm +=gl7X -----END PGP SIGNATURE----- diff --git a/sys-apps/policycoreutils/files/policycoreutils-2.0.69-setfiles.diff b/sys-apps/policycoreutils/files/policycoreutils-2.0.69-setfiles.diff deleted file mode 100644 index 7ad233df7f28..000000000000 --- a/sys-apps/policycoreutils/files/policycoreutils-2.0.69-setfiles.diff +++ /dev/null @@ -1,12 +0,0 @@ -*** setfiles/setfiles.c 2010-12-03 23:49:12.372000001 +0000 ---- setfiles/setfiles.c 2010-12-03 01:21:09.435000002 +0000 -*************** -*** 12,17 **** ---- 12,18 ---- - #include <regex.h> - #include <sys/vfs.h> - #include <sys/utsname.h> -+#include <sys/stat.h> - #define __USE_XOPEN_EXTENDED 1 /* nftw */ - #define SKIP -2 - #define ERR -1 diff --git a/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild b/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild deleted file mode 100644 index 929d22f196ba..000000000000 --- a/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild,v 1.6 2011/07/08 10:54:27 ssuominen Exp $ - -IUSE="nls" - -inherit eutils python - -EXTRAS_VER="1.19" -SEMNG_VER="2.0" -SELNX_VER="2.0" - -# BUGFIX_PATCH="${FILESDIR}/policycoreutils-1.30.6.diff" - -DESCRIPTION="SELinux core utilities" -HOMEPAGE="http://userspace.selinuxproject.org" -SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz - mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER} - >=sys-libs/glibc-2.4 - >=sys-process/audit-1.5.1 - >=sys-libs/libcap-1.10-r10 - sys-libs/pam - =sys-libs/libsemanage-${SEMNG_VER}*" - -RDEPEND="${COMMON_DEPS} - dev-python/sepolgen" - -DEPEND="${COMMON_DEPS} - nls? ( sys-devel/gettext )" - -S2=${WORKDIR}/policycoreutils-extra - -src_unpack() { - unpack ${A} - cd "${S}" - - [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}" - - # 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 ! use 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 - # add in CFLAGS - sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" "${S}/${i}/Makefile" \ - || die "${i} Makefile CFLAGS fix failed." - done -} - -src_compile() { - einfo "Compiling policycoreutils" - emake -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y || die - einfo "Compiling policycoreutils-extra" - emake -C "${S2}" || die -} - -src_install() { - python_need_rebuild - - einfo "Installing policycoreutils" - make DESTDIR="${D}" -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y 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 symlinks - dosym /sbin/setfiles /usr/sbin/setfiles - dosym /lib/rc/runscript_selinux.so /lib/rcscripts/runscript_selinux.so - - 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_mod_optimize $(python_get_sitedir)/seobject.py -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/seobject.py -} diff --git a/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild deleted file mode 100644 index 4308eb6d7605..000000000000 --- a/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild,v 1.4 2011/07/08 10:54:28 ssuominen Exp $ - -IUSE="nls" - -inherit eutils python - -EXTRAS_VER="1.20" -SEMNG_VER="2.0.33" -SELNX_VER="2.0" - -#BUGFIX_PATCH="${FILESDIR}/policycoreutils-2.0.62-po.diff" - -DESCRIPTION="SELinux core utilities" -HOMEPAGE="http://userspace.selinuxproject.org" -SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz - mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER} - >=sys-libs/glibc-2.4 - >=sys-process/audit-1.5.1 - >=sys-libs/libcap-1.10-r10 - sys-libs/pam - >=sys-libs/libsemanage-${SEMNG_VER}" - -# pax-utils for scanelf used by rlpkg -RDEPEND="${COMMON_DEPS} - dev-python/sepolgen - app-misc/pax-utils" - -DEPEND="${COMMON_DEPS} - nls? ( sys-devel/gettext )" - -S2=${WORKDIR}/policycoreutils-extra - -src_unpack() { - unpack ${A} - cd "${S}" - - [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}" - - # 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 ! use 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 - # add in CFLAGS - sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" "${S}/${i}/Makefile" \ - || die "${i} Makefile CFLAGS fix failed." - done -} - -src_compile() { - einfo "Compiling policycoreutils" - emake -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y || die - einfo "Compiling policycoreutils-extra" - emake -C "${S2}" || die -} - -src_install() { - python_need_rebuild - - einfo "Installing policycoreutils" - make DESTDIR="${D}" -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y 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 symlinks - dosym /sbin/setfiles /usr/sbin/setfiles - dosym /lib/rc/runscript_selinux.so /lib/rcscripts/runscript_selinux.so - - 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_mod_optimize $(python_get_sitedir)/seobject.py -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/seobject.py -} diff --git a/sys-apps/policycoreutils/policycoreutils-2.0.69-r2.ebuild b/sys-apps/policycoreutils/policycoreutils-2.0.69-r2.ebuild deleted file mode 100644 index 2da71aecfba1..000000000000 --- a/sys-apps/policycoreutils/policycoreutils-2.0.69-r2.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r2.ebuild,v 1.3 2011/07/08 10:54:28 ssuominen Exp $ - -IUSE="nls" - -inherit eutils python - -EXTRAS_VER="1.20" -SEMNG_VER="2.0.33" -SELNX_VER="2.0" - -BUGFIX_PATCH="${FILESDIR}/policycoreutils-2.0.69-setfiles.diff" - -DESCRIPTION="SELinux core utilities" -HOMEPAGE="http://userspace.selinuxproject.org" -SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz - mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER} - >=sys-libs/glibc-2.4 - >=sys-process/audit-1.5.1 - >=sys-libs/libcap-1.10-r10 - sys-libs/pam - >=sys-libs/libsemanage-${SEMNG_VER}" - -# pax-utils for scanelf used by rlpkg -RDEPEND="${COMMON_DEPS} - dev-python/sepolgen - app-misc/pax-utils" - -DEPEND="${COMMON_DEPS} - nls? ( sys-devel/gettext )" - -S2=${WORKDIR}/policycoreutils-extra - -src_unpack() { - unpack ${A} - cd "${S}" - - [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}" - - # 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 ! use 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 - # add in CFLAGS - sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" "${S}/${i}/Makefile" \ - || die "${i} Makefile CFLAGS fix failed." - done -} - -src_compile() { - einfo "Compiling policycoreutils" - emake -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y || die - einfo "Compiling policycoreutils-extra" - emake -C "${S2}" || die -} - -src_install() { - python_need_rebuild - - einfo "Installing policycoreutils" - make DESTDIR="${D}" -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y 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 symlinks - dosym /sbin/setfiles /usr/sbin/setfiles - dosym /lib/rc/runscript_selinux.so /lib/rcscripts/runscript_selinux.so - - 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_mod_optimize $(python_get_sitedir)/seobject.py -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/seobject.py -} diff --git a/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild b/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild deleted file mode 100644 index 249e9567665f..000000000000 --- a/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild,v 1.7 2011/07/08 10:54:28 ssuominen Exp $ - -IUSE="nls" - -inherit eutils python - -EXTRAS_VER="1.19" -SEMNG_VER="2.0.33" -SELNX_VER="2.0" - -#BUGFIX_PATCH="${FILESDIR}/policycoreutils-2.0.62-po.diff" - -DESCRIPTION="SELinux core utilities" -HOMEPAGE="http://userspace.selinuxproject.org" -SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz - mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER} - >=sys-libs/glibc-2.4 - >=sys-process/audit-1.5.1 - >=sys-libs/libcap-1.10-r10 - sys-libs/pam - >=sys-libs/libsemanage-${SEMNG_VER}" - -RDEPEND="${COMMON_DEPS} - dev-python/sepolgen" - -DEPEND="${COMMON_DEPS} - nls? ( sys-devel/gettext )" - -S2=${WORKDIR}/policycoreutils-extra - -src_unpack() { - unpack ${A} - cd "${S}" - - [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}" - - # 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 ! use 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 - # add in CFLAGS - sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" "${S}/${i}/Makefile" \ - || die "${i} Makefile CFLAGS fix failed." - done -} - -src_compile() { - einfo "Compiling policycoreutils" - emake -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y || die - einfo "Compiling policycoreutils-extra" - emake -C "${S2}" || die -} - -src_install() { - python_need_rebuild - - einfo "Installing policycoreutils" - make DESTDIR="${D}" -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y 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 symlinks - dosym /sbin/setfiles /usr/sbin/setfiles - dosym /lib/rc/runscript_selinux.so /lib/rcscripts/runscript_selinux.so - - 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_mod_optimize $(python_get_sitedir)/seobject.py -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/seobject.py -} |