summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2013-12-18 05:17:17 +0000
committerFabio Erculiani <lxnay@gentoo.org>2013-12-18 05:17:17 +0000
commit32449ea3398e0d80c1549b0b2b5c83a46c92d4f2 (patch)
treee4d10ebbd8e47aa1b276b04f40b1739cc4aa2447 /sys-apps/entropy
parentdrop older version 216 (diff)
downloadgentoo-2-32449ea3398e0d80c1549b0b2b5c83a46c92d4f2.tar.gz
gentoo-2-32449ea3398e0d80c1549b0b2b5c83a46c92d4f2.tar.bz2
gentoo-2-32449ea3398e0d80c1549b0b2b5c83a46c92d4f2.zip
drop older version 216
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
Diffstat (limited to 'sys-apps/entropy')
-rw-r--r--sys-apps/entropy/ChangeLog5
-rw-r--r--sys-apps/entropy/entropy-216.ebuild111
2 files changed, 4 insertions, 112 deletions
diff --git a/sys-apps/entropy/ChangeLog b/sys-apps/entropy/ChangeLog
index ed2426414983..467ccfa8ac79 100644
--- a/sys-apps/entropy/ChangeLog
+++ b/sys-apps/entropy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/entropy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.43 2013/12/18 05:03:03 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.44 2013/12/18 05:17:17 lxnay Exp $
+
+ 18 Dec 2013; Fabio Erculiani <lxnay@gentoo.org> -entropy-216.ebuild:
+ drop older version 216
*entropy-254 (18 Dec 2013)
diff --git a/sys-apps/entropy/entropy-216.ebuild b/sys-apps/entropy/entropy-216.ebuild
deleted file mode 100644
index d9c40f9d6823..000000000000
--- a/sys-apps/entropy/entropy-216.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/entropy-216.ebuild,v 1.2 2013/08/23 05:54:57 lxnay Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-
-inherit eutils python-single-r1 user
-
-DESCRIPTION="Entropy Package Manager foundation library"
-HOMEPAGE="http://www.sabayon.org"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
-
-IUSE=""
-SRC_URI="mirror://sabayon/${CATEGORY}/${P}.tar.bz2"
-
-RDEPEND="dev-db/sqlite:3[soundex(+)]
- net-misc/rsync
- sys-apps/diffutils
- sys-apps/sandbox
- >=sys-apps/portage-2.1.9[${PYTHON_USEDEP}]
- sys-devel/gettext
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- dev-util/intltool"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S="${S}/lib"
-
-REPO_CONFPATH="${ROOT}/etc/entropy/repositories.conf"
-REPO_D_CONFPATH="${ROOT}/etc/entropy/repositories.conf.d"
-ENTROPY_CACHEDIR="${ROOT}/var/lib/entropy/caches"
-
-pkg_setup() {
- python-single-r1_pkg_setup
- # Can:
- # - update repos
- # - update security advisories
- # - handle on-disk cache (atm)
- enewgroup entropy || die "failed to create entropy group"
- # Create unprivileged entropy user
- enewgroup entropy-nopriv || die "failed to create entropy-nopriv group"
- enewuser entropy-nopriv -1 -1 -1 entropy-nopriv || die "failed to create entropy-nopriv user"
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR="usr/lib" install || die "make install failed"
-
- python_optimize "${D}/usr/lib/entropy/lib/entropy"
-}
-
-pkg_postinst() {
- for ex_conf in "${REPO_D_CONFPATH}"/_entropy_sabayon-limbo.example; do
- real_conf="${ex_conf%.example}"
- if [ -f "${real_conf}" ] || [ -f "${real_conf/_}" ]; then
- # skip installation then
- continue
- fi
- elog "Installing: ${real_conf}"
- cp "${ex_conf}" "${real_conf}" -p
- done
-
- # Copy config file over
- if [ -f "${REPO_CONFPATH}.example" ] && [ ! -f "${REPO_CONFPATH}" ]; then
- elog "Copying ${REPO_CONFPATH}.example over to ${REPO_CONFPATH}"
- cp "${REPO_CONFPATH}.example" "${REPO_CONFPATH}" -p
- fi
-
- if [ -d "${ENTROPY_CACHEDIR}" ]; then
- einfo "Purging current Entropy cache"
- rm -rf "${ENTROPY_CACHEDIR}"/*
- fi
-
- # Fixup Entropy Resources Lock, and /etc/entropy/packages
- # files permissions. This fixes unprivileged Entropy Library usage
- local res_file="${ROOT}"/var/lib/entropy/client/database/*/.using_resources
- if [ -f "${res_file}" ]; then
- chown root:entropy "${res_file}"
- chmod g+rw "${res_file}"
- chmod o+r "${res_file}"
- fi
- local pkg_files="package.mask package.unmask package.mask.d package.unmask.d"
- local pkg_file
- for pkg_file in ${pkg_files}; do
- pkg_file="${ROOT}/etc/entropy/packages/${pkg_file}"
- recursive=""
- if [ -d "${pkg_file}" ]; then
- recursive="-R"
- fi
- if [ -e "${pkg_file}" ]; then
- chown ${recursive} root:entropy "${pkg_file}"
- chmod ${recursive} go+r "${pkg_file}"
- fi
- done
-
- # Setup Entropy Library directories ownership
- chown root:entropy "${ROOT}/var/lib/entropy" # no recursion
- chown root:entropy "${ROOT}/var/lib/entropy/client/packages" # no recursion
- chown root:entropy "${ROOT}/var/log/entropy" # no recursion
-
- echo
- elog "If you want to enable Entropy packages delta download support, please"
- elog "install dev-util/bsdiff."
- echo
-}