diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-03-26 10:58:08 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-03-26 10:58:08 -0400 |
commit | 2604791d633c251fd23fe80427d1902b6afe5642 (patch) | |
tree | 049c712f03f511915673ab4329d00e9fb54c87ef /sys-apps/sandbox/sandbox-2.10-r4.ebuild | |
parent | sys-kernel/dracut: version bump to 047-r1 (diff) | |
download | musl-2604791d633c251fd23fe80427d1902b6afe5642.tar.gz musl-2604791d633c251fd23fe80427d1902b6afe5642.tar.bz2 musl-2604791d633c251fd23fe80427d1902b6afe5642.zip |
sys-apps/sandbox: remove older versions
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-apps/sandbox/sandbox-2.10-r4.ebuild')
-rw-r--r-- | sys-apps/sandbox/sandbox-2.10-r4.ebuild | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/sys-apps/sandbox/sandbox-2.10-r4.ebuild b/sys-apps/sandbox/sandbox-2.10-r4.ebuild deleted file mode 100644 index d4cb0586..00000000 --- a/sys-apps/sandbox/sandbox-2.10-r4.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# -# don't monkey with this ebuild unless contacting portage devs. -# period. -# - -EAPI="5" - -inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils - -DESCRIPTION="sandbox'd LD_PRELOAD hack" -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/" -SRC_URI="mirror://gentoo/${P}.tar.xz - https://dev.gentoo.org/~vapier/dist/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ia64 ~mips ppc sh sparc x86" -IUSE="" - -DEPEND="app-arch/xz-utils - >=app-misc/pax-utils-0.1.19" #265376 -RDEPEND="" - -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice" - -sandbox_death_notice() { - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:" - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox" -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-memory-corruption.patch #568714 - epatch "${FILESDIR}"/${P}-disable-same.patch - epatch "${FILESDIR}"/${P}-fix-opendir.patch #553092 - epatch "${FILESDIR}"/${PN}-2.11-symlinkat-renameat.patch #612202 - epatch "${FILESDIR}"/${PN}-2.6-musl.patch - epatch "${FILESDIR}"/${P}-fix-visibility-musl.patch - epatch_user -} - -multilib_src_configure() { - filter-lfs-flags #90228 - - local myconf=() - host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092 - - ECONF_SOURCE="${S}" \ - econf "${myconf[@]}" -} - -multilib_src_test() { - # Default sandbox build will run with --jobs set to # cpus. - emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" -} - -multilib_src_install_all() { - doenvd "${FILESDIR}"/09sandbox - - keepdir /var/log/sandbox - fowners root:portage /var/log/sandbox - fperms 0770 /var/log/sandbox - - cd "${S}" - dodoc AUTHORS ChangeLog* NEWS README -} - -pkg_preinst() { - chown root:portage "${ED}"/var/log/sandbox - chmod 0770 "${ED}"/var/log/sandbox - - if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*') - if [[ -n ${old} ]] ; then - elog "Removing old sandbox libraries for you:" - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete - fi - fi -} - -pkg_postinst() { - if [[ ${REPLACING_VERSIONS} == 1.* ]] ; then - chmod 0755 "${EROOT}"/etc/sandbox.d #265376 - fi -} |