diff options
author | Sven Vermeulen <swift@gentoo.org> | 2012-05-13 12:53:07 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2012-05-13 12:53:07 +0000 |
commit | edb7d8aff03d2a5bf7351980f4163ba44d99eb36 (patch) | |
tree | 07d1b203c41d3d5f5a1ddf3daa038fa0c10b634b /sys-apps/policycoreutils | |
parent | Removing obsoleted ebuild (diff) | |
download | historical-edb7d8aff03d2a5bf7351980f4163ba44d99eb36.tar.gz historical-edb7d8aff03d2a5bf7351980f4163ba44d99eb36.tar.bz2 historical-edb7d8aff03d2a5bf7351980f4163ba44d99eb36.zip |
Removing obsoleted ebuilds
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/policycoreutils')
-rw-r--r-- | sys-apps/policycoreutils/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/policycoreutils/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/policycoreutils/policycoreutils-2.1.0-r1.ebuild | 121 | ||||
-rw-r--r-- | sys-apps/policycoreutils/policycoreutils-2.1.0-r2.ebuild | 136 |
4 files changed, 6 insertions, 265 deletions
diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog index 6aa45e1887e0..f60509685a83 100644 --- a/sys-apps/policycoreutils/ChangeLog +++ b/sys-apps/policycoreutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/policycoreutils # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.98 2012/04/29 10:08:04 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.99 2012/05/13 12:53:07 swift Exp $ + + 13 May 2012; <swift@gentoo.org> -policycoreutils-2.1.0-r1.ebuild, + -policycoreutils-2.1.0-r2.ebuild: + Removing obsoleted ebuilds *policycoreutils-2.1.10-r1 (29 Apr 2012) diff --git a/sys-apps/policycoreutils/Manifest b/sys-apps/policycoreutils/Manifest index a59ed9d1ebba..6188f18aed26 100644 --- a/sys-apps/policycoreutils/Manifest +++ b/sys-apps/policycoreutils/Manifest @@ -1,17 +1,11 @@ -DIST policycoreutils-2.0.85-fix-seunshare-vuln.patch.gz 8962 RMD160 4175ac56c5c72ba37b3bd94009cbe17345444445 SHA1 f9a3b6d64f7b6632b8740cc4f07d8db029039e7c SHA256 2dc16bc7489d626a91d93356d80651795eb757a25fd807fbbf93c772f392b50f DIST policycoreutils-2.0.85-python3.tar.gz 19750 RMD160 ae5daef8bf9083964e37b101a6168dc6ce5b8bb2 SHA1 61c058cb39ef9f13dd54af844a033ac724de743c SHA256 4bc78bfd39ce43a010c4e1de3d7f4ff45fcfc7bac4bc70e28c9bdb681053fe4e -DIST policycoreutils-2.0.85-sesandbox.patch.gz 4551 RMD160 28ea43ae81418e0d1da95904276b8cc7423ee1e1 SHA1 dfcbc87fecfbd335b51f1c020ca0f642245b6417 SHA256 9854b390e1283194b76335dcacc0b8f7d45d8fb025592e4e9b701122c925d1e1 -DIST policycoreutils-2.1.0-fix-makefile-pam-audit.patch.gz 1089 RMD160 aba0402ac5b18ab39cb1c5a9e8e36b3355b1ae0c SHA1 6df02773eb4afe6d669415a16eaa3267407a78b1 SHA256 339c988c11bf2a15e34abc617e791dd2e1607368d93a0ec977fdbb5f124ccd62 -DIST policycoreutils-2.1.0.tar.gz 885913 RMD160 267829f78bc154dc96bc66678e82c5d07b522de5 SHA1 dae3e6d547a81e4be4ef7ab2a184256c6ad721ac SHA256 6199b07fd4280e455ea05933cee510b5e09ad3f60b0544382231fe05b787d3f3 DIST policycoreutils-2.1.10-fix-makefile-pam-audit.patch.gz 1088 RMD160 36bc994b418270c2b3e8fedb49df70497e16e6f6 SHA1 4df7ad9a76823e12a891939f919702664d69d0a9 SHA256 9e3de8820a7f34133413c0a1b0987d20e69daf6ceb1e95da5ec70f759d85092d DIST policycoreutils-2.1.10-fix-nodbus_or_libcg.patch.gz 766 RMD160 bfb40ff7332331a2c3cc4a892aaad82f28d655f2 SHA1 96e9f1f1354b02c7019e11c3b4416157a85c2395 SHA256 2b98e73f02f5b0116b70b8ffd04925ede0c7939284c7453d9089cecce5094343 DIST policycoreutils-2.1.10-fix-seunshare.patch.gz 329 RMD160 93ffdd0090d4f58c17191daad9bb83c032a33b2b SHA1 9801286a7f8433504f145603d1ae5f7e7af4c190 SHA256 06d2c9f6b885444203aeff467ae948473ec3e87a5ad4c6ce2112e6aa24bcea92 DIST policycoreutils-2.1.10-sesandbox.patch.gz 5002 RMD160 ee14d38a6edd497fc1ba95a414d9b2e7535a0ca7 SHA1 d9d938b89288b24f7a74d8537340bdb337a90a13 SHA256 cb4d2082f0eba4a0e4e394fde9acc00d652c7af6f0445151ee4cc7543c6fe069 DIST policycoreutils-2.1.10.tar.gz 907554 RMD160 ba7d2902f5c44ac1d2c3efbe18ae46fed4e285e9 SHA1 72aa099ee9e84ae30e868e45c76de8a25379dd3b SHA256 8bbbc36b7d375edff891503932da93e37553f0dd7bdceded7ce9a45c80bec3d1 DIST policycoreutils-extra-1.21.tar.bz2 12864 RMD160 28e5d0f52a69e0cb9c0d2e8088e828cbac951732 SHA1 7866b24ddab5a48c95fd51b88ad1eb4af0d9572e SHA256 c2d3627e2a10f83f5de997e9db75c40830e7f3520b558807346c9bd9c49769bb -EBUILD policycoreutils-2.1.0-r1.ebuild 4516 RMD160 563c527df53a7e87a92576a4dd62f5f877acdc29 SHA1 981eba8971e01484e7414f4f2a937e17f3d0c605 SHA256 d0a40c0135ccf25a2094bf06e6d31f91f123837f2b1857fbe867c621380f24a4 -EBUILD policycoreutils-2.1.0-r2.ebuild 5115 RMD160 937745bef28525e4dccedf3b7770c1cfbd209eae SHA1 55bc079de3a359b08dca0bf440c6eb13f8ea96cc SHA256 6b97600e2737b3a5ccf810fd486be55d7c0b92c81e2ae43e271a5f7407ffb568 EBUILD policycoreutils-2.1.10-r1.ebuild 5571 RMD160 833f37c7a4bb55fcc75f31d1328036a37f926c40 SHA1 bed6de45013b068872ff4ec90670c61637cef1d8 SHA256 6090d24eb5bbfabe2a1417887cf745fa98d82d8ec3f990c32fc392ad526c525c EBUILD policycoreutils-2.1.10.ebuild 5447 RMD160 90408345980f6ff554c7ad445368efda229653be SHA1 fd01d605548d24d579768b4ae3bfecd460d0cd27 SHA256 b49f69109ab7c1fcd21092f842f611b550eab401711fb21fa75d1ab7ee676e6a -MISC ChangeLog 15870 RMD160 a8f94680760e2301e2dcda12b8474818870e1f2d SHA1 0e39c84bc50e0abbc16f8d86a1221e0ffe7d342a SHA256 6e61748cd1b2b731d600bae04eaf0a2ccf79114b58b9e7668cadc09a59901669 +MISC ChangeLog 16004 RMD160 5e56e0c773a58f055c08085dfdae1becc9c792d8 SHA1 b47b6a93fba14473277f0d8cecc5cf65c844a2d2 SHA256 86a43fc3ab03ea295f08cb14aca88f9cfe767fd13a38eeaf1f6ce886183e182b MISC metadata.xml 959 RMD160 b7d949dec19e45f8b1b1c74cbef0d65ddd152825 SHA1 0e96fcb229f9e63a34a5a555a6672640fe72e99a SHA256 6683014987dd67dfbeb80ad329550fc20a0b09f5eaa7828054be62fff6aee391 diff --git a/sys-apps/policycoreutils/policycoreutils-2.1.0-r1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.1.0-r1.ebuild deleted file mode 100644 index d731c41d29f5..000000000000 --- a/sys-apps/policycoreutils/policycoreutils-2.1.0-r1.ebuild +++ /dev/null @@ -1,121 +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.1.0-r1.ebuild,v 1.2 2011/10/23 12:40:16 swift Exp $ - -EAPI="3" -PYTHON_DEPEND="*" -PYTHON_USE_WITH="xml" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="*-jython" - -inherit multilib python toolchain-funcs eutils - -EXTRAS_VER="1.21" -SEMNG_VER="2.1.0" -SELNX_VER="2.1.0" -SEPOL_VER="2.1.0" - -IUSE="" - -DESCRIPTION="SELinux core utilities" -HOMEPAGE="http://userspace.selinuxproject.org" -SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz - http://dev.gentoo.org/~swift/patches/policycoreutils/policycoreutils-2.0.85-sesandbox.patch.gz - http://dev.gentoo.org/~swift/patches/policycoreutils/policycoreutils-2.0.85-fix-seunshare-vuln.patch.gz - mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2 - mirror://gentoo/policycoreutils-2.0.85-python3.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python] - >=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}[python] - sys-libs/libcap-ng - >=sys-libs/libsepol-${SEPOL_VER} - sys-devel/gettext" - -# pax-utils for scanelf used by rlpkg -RDEPEND="${COMMON_DEPS} - dev-python/sepolgen - app-misc/pax-utils" - -DEPEND="${COMMON_DEPS}" - -S2=${WORKDIR}/policycoreutils-extra - -src_prepare() { - # 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" - # We currently do not support MCS, so the sandbox code in policycoreutils - # is not usable yet. However, work for MCS is on the way and a reported - # vulnerability (bug #374897) might go by unnoticed if we ignore it now. - # As such, we will - # - prepare support for switching name from "sandbox" to "sesandbox" - epatch "${DISTDIR}/policycoreutils-2.0.85-sesandbox.patch.gz" - # - patch the sandbox and seunshare code to fix the vulnerability - # (uses, with permission, extract from - # http://pkgs.fedoraproject.org/gitweb/?p=policycoreutils.git;a=blob_plain;f=policycoreutils-rhat.patch;hb=HEAD) - epatch "${DISTDIR}/policycoreutils-2.0.85-fix-seunshare-vuln.patch.gz" - # But for now, disable building sandbox code - sed -i -e 's/sandbox //' "${S}/Makefile" || die "failed removing sandbox" - # Overwrite gl.po, id.po and et.po with valid PO file - cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po" - cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po" - cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po" - # Fixed scripts for Python 3 support - cp "${WORKDIR}/seobject.py" "${S}/semanage/seobject.py" || die "failed to copy seobject.py" - cp "${WORKDIR}/semanage" "${S}/semanage/semanage" || die "failed to copy semanage" - cp "${WORKDIR}/chcat" "${S}/scripts/chcat" || die "failed to copy chcat" - cp "${WORKDIR}/audit2allow" "${S}/audit2allow/audit2allow" || die "failed to copy audit2allow" -} - -src_compile() { - python_copy_sources semanage sandbox - building() { - einfo "Compiling policycoreutils" - emake -C "${S}" AUDIT_LOG_PRIVS="y" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die - einfo "Compiling policycoreutils-extra" - emake -C "${S2}" AUDIT_LOG_PRIVS="y" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die - } - python_execute_function -s --source-dir semanage building -} - -src_install() { - # Python scripts are present in many places. There are no extension modules. - installation() { - einfo "Installing policycoreutils" - emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1 - - einfo "Installing policycoreutils-extra" - emake -C "${S2}" DESTDIR="${T}/images/${PYTHON_ABI}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1 - } - python_execute_function installation - python_merge_intermediate_installation_images "${T}/images" - - # remove redhat-style init script - rm -fR "${D}/etc/rc.d" - - # compatibility symlinks - dosym /sbin/setfiles /usr/sbin/setfiles - dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so - - # location for permissive definitions - dodir /var/lib/selinux - keepdir /var/lib/selinux -} - -pkg_postinst() { - python_mod_optimize seobject.py -} - -pkg_postrm() { - python_mod_cleanup seobject.py -} diff --git a/sys-apps/policycoreutils/policycoreutils-2.1.0-r2.ebuild b/sys-apps/policycoreutils/policycoreutils-2.1.0-r2.ebuild deleted file mode 100644 index ef03e612bff0..000000000000 --- a/sys-apps/policycoreutils/policycoreutils-2.1.0-r2.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.0-r2.ebuild,v 1.2 2012/02/26 10:06:04 swift Exp $ - -EAPI="3" -PYTHON_DEPEND="*" -PYTHON_USE_WITH="xml" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="*-jython" - -inherit multilib python toolchain-funcs eutils - -EXTRAS_VER="1.21" -SEMNG_VER="2.1.0" -SELNX_VER="2.1.0" -SEPOL_VER="2.1.0" - -IUSE="audit pam" - -DESCRIPTION="SELinux core utilities" -HOMEPAGE="http://userspace.selinuxproject.org" -SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz - http://dev.gentoo.org/~swift/patches/policycoreutils/policycoreutils-2.0.85-sesandbox.patch.gz - http://dev.gentoo.org/~swift/patches/policycoreutils/policycoreutils-2.0.85-fix-seunshare-vuln.patch.gz - http://dev.gentoo.org/~swift/patches/policycoreutils/policycoreutils-2.1.0-fix-makefile-pam-audit.patch.gz - mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2 - mirror://gentoo/policycoreutils-2.0.85-python3.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python] - >=sys-libs/glibc-2.4 - >=sys-libs/libcap-1.10-r10 - >=sys-libs/libsemanage-${SEMNG_VER}[python] - sys-libs/libcap-ng - >=sys-libs/libsepol-${SEPOL_VER} - sys-devel/gettext - audit? ( >=sys-process/audit-1.5.1 ) - pam? ( sys-libs/pam )" - -# pax-utils for scanelf used by rlpkg -RDEPEND="${COMMON_DEPS} - dev-python/sepolgen - app-misc/pax-utils" - -DEPEND="${COMMON_DEPS}" - -S2=${WORKDIR}/policycoreutils-extra - -src_prepare() { - # 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" - # We currently do not support MCS, so the sandbox code in policycoreutils - # is not usable yet. However, work for MCS is on the way and a reported - # vulnerability (bug #374897) might go by unnoticed if we ignore it now. - # As such, we will - # - prepare support for switching name from "sandbox" to "sesandbox" - epatch "${DISTDIR}/policycoreutils-2.0.85-sesandbox.patch.gz" - # - patch the sandbox and seunshare code to fix the vulnerability - # (uses, with permission, extract from - # http://pkgs.fedoraproject.org/gitweb/?p=policycoreutils.git;a=blob_plain;f=policycoreutils-rhat.patch;hb=HEAD) - epatch "${DISTDIR}/policycoreutils-2.0.85-fix-seunshare-vuln.patch.gz" - # But for now, disable building sandbox code - sed -i -e 's/sandbox //' "${S}/Makefile" || die "failed removing sandbox" - # Disable auto-detection of PAM and audit related stuff and override - epatch "${DISTDIR}/policycoreutils-2.1.0-fix-makefile-pam-audit.patch.gz" - # Overwrite gl.po, id.po and et.po with valid PO file - cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po" - cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po" - cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po" - # Fixed scripts for Python 3 support - cp "${WORKDIR}/seobject.py" "${S}/semanage/seobject.py" || die "failed to copy seobject.py" - cp "${WORKDIR}/semanage" "${S}/semanage/semanage" || die "failed to copy semanage" - cp "${WORKDIR}/chcat" "${S}/scripts/chcat" || die "failed to copy chcat" - cp "${WORKDIR}/audit2allow" "${S}/audit2allow/audit2allow" || die "failed to copy audit2allow" -} - -src_compile() { - local use_audit="n"; - local use_pam="n"; - - use audit && use_audit="y"; - use pam && use_pam="y"; - - python_copy_sources semanage sandbox - building() { - einfo "Compiling policycoreutils" - emake -C "${S}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die - einfo "Compiling policycoreutils-extra " - emake -C "${S2}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die - } - python_execute_function -s --source-dir semanage building -} - -src_install() { - local use_audit="n"; - local use_pam="n"; - - use audit && use_audit="y"; - use pam && use_pam="y"; - - # Python scripts are present in many places. There are no extension modules. - installation() { - einfo "Installing policycoreutils" - emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDITH="${use_audit}" PAMH="${use_pam}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1 - - einfo "Installing policycoreutils-extra" - emake -C "${S2}" DESTDIR="${T}/images/${PYTHON_ABI}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1 - } - python_execute_function installation - python_merge_intermediate_installation_images "${T}/images" - - # remove redhat-style init script - rm -fR "${D}/etc/rc.d" - - # compatibility symlinks - dosym /sbin/setfiles /usr/sbin/setfiles - dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so - - # location for permissive definitions - dodir /var/lib/selinux - keepdir /var/lib/selinux -} - -pkg_postinst() { - python_mod_optimize seobject.py -} - -pkg_postrm() { - python_mod_cleanup seobject.py -} |