summaryrefslogtreecommitdiff
path: root/sys-apps/entropy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sys-apps/entropy
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sys-apps/entropy')
-rw-r--r--sys-apps/entropy/Manifest3
-rw-r--r--sys-apps/entropy/entropy-302-r2.ebuild113
-rw-r--r--sys-apps/entropy/metadata.xml8
3 files changed, 0 insertions, 124 deletions
diff --git a/sys-apps/entropy/Manifest b/sys-apps/entropy/Manifest
deleted file mode 100644
index 35cc083e7914..000000000000
--- a/sys-apps/entropy/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST entropy-302.tar.bz2 1701434 BLAKE2B 6e95c000921ddcbf2dd360b841245b9d1ea3e0b14aa5c3d9c532cfb0c56ab9746549d39ec5f27a22d3fed3e1e1fa809fc8e443c212403c4c22fe87af8a4b5955 SHA512 9c3e577b9d3d94ec8491fc10012aec1347bfe440c8bdc473df73e424ae4e3eb89bf96e31c444e8d6ff7574848a6ac44f5ed114bc90d2e6b03e4a00f9873c027e
-EBUILD entropy-302-r2.ebuild 3169 BLAKE2B 9df21299499d377f283bb9f4d2ee371980a024fc8e616fabb7ba7522dfc28382878e420c044a2affb8c17c66b54b3f00883328205a308fd9bd5299258d4d76d9 SHA512 3570bb9b15653539e01792ca95626bb83fd3f86b03aa1088d0122bd50003ca66d2a3337a1b247893b454f7436558be1014425973b258755cb51ab466ece7fa36
-MISC metadata.xml 251 BLAKE2B 6092e9d1541af183e24d9f6d2eadb7e9dcac2ce623e0f0487448129cc529e6e824d327243cf04f7f4d32f39cf883b7918b3eb2e5d056e7568fbf6b52aea58bde SHA512 bb292278e0e82efd7370aa9e67eab1ec2c2779afbadf10c74fc4e909ea87cdd1ac1ae284c49ca8b910124010237bd19407338bf9290f718637b1a9a7c311a174
diff --git a/sys-apps/entropy/entropy-302-r2.ebuild b/sys-apps/entropy/entropy-302-r2.ebuild
deleted file mode 100644
index 60d514f0e66c..000000000000
--- a/sys-apps/entropy/entropy-302-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-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=">=app-misc/pax-utils-0.7
- dev-db/sqlite:3[soundex(+)]
- net-misc/rsync
- sys-apps/diffutils
- sys-apps/sandbox
- $(python_gen_cond_dep '
- >=sys-apps/portage-2.1.9[${PYTHON_MULTI_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
-
- 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
-}
diff --git a/sys-apps/entropy/metadata.xml b/sys-apps/entropy/metadata.xml
deleted file mode 100644
index d396d1b7e5a1..000000000000
--- a/sys-apps/entropy/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>mudler@gentoo.org</email>
- <name>Ettore Di Giacinto</name>
- </maintainer>
-</pkgmetadata>