diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2013-12-18 05:08:21 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2013-12-18 05:08:21 +0000 |
commit | ac6c3b7c9ce3e688f1823a674a4085b081506468 (patch) | |
tree | f48bff12ff4ddc1c63e36cce08dc259148f44b6d /sys-apps/entropy | |
parent | version bump (diff) | |
download | historical-ac6c3b7c9ce3e688f1823a674a4085b081506468.tar.gz historical-ac6c3b7c9ce3e688f1823a674a4085b081506468.tar.bz2 historical-ac6c3b7c9ce3e688f1823a674a4085b081506468.zip |
version bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xADC916E5
Diffstat (limited to 'sys-apps/entropy')
-rw-r--r-- | sys-apps/entropy/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/entropy/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/entropy/entropy-254.ebuild | 112 |
3 files changed, 131 insertions, 2 deletions
diff --git a/sys-apps/entropy/ChangeLog b/sys-apps/entropy/ChangeLog index a9991d3efeb3..ed2426414983 100644 --- a/sys-apps/entropy/ChangeLog +++ b/sys-apps/entropy/ChangeLog @@ -1,6 +1,11 @@ # 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.42 2013/08/23 05:54:57 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.43 2013/12/18 05:03:03 lxnay Exp $ + +*entropy-254 (18 Dec 2013) + + 18 Dec 2013; Fabio Erculiani <lxnay@gentoo.org> +entropy-254.ebuild: + version bump 23 Aug 2013; Fabio Erculiani <lxnay@gentoo.org> entropy-216.ebuild: Fix python-single-r1 usage as reported by hasufell in bug #482032 diff --git a/sys-apps/entropy/Manifest b/sys-apps/entropy/Manifest index 9e379c5c2a89..9866d766de02 100644 --- a/sys-apps/entropy/Manifest +++ b/sys-apps/entropy/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST entropy-216.tar.bz2 18429942 SHA256 c2569d7233b80b9373cde11645e6e9c4142038387ad4aa8943ed1ddfeb86f501 SHA512 8b6a19f311520ca48a998aadb10717f5ad81eb8c26b71c1f8a8b67f84fd9876117adf650eb4fa59893130fd3db669ba370804a33311fe7eff45546a5a92e6b7d WHIRLPOOL b220b870f099cfe014ad355760855dc91bbc11c76f39b34e03ec251e1f8f9bdf04bb4f1dd0ad9e0c5e63a4328f6c9691abd4f9e759b8546fac7026386b4c174b +DIST entropy-254.tar.bz2 18516662 SHA256 5e411472eaf7016a68a4aa81ef92dd3aad8403fc65a0ffb09c57b91c959ca3a6 SHA512 3b3e82abad8008720e370b7892b7be1c48aaa6605914db977f68b9a108ada0a4adbaa5b7b50a9a02ba9c8b0bdefadcda1eceee2c7c2abc385b3daf669649e2da WHIRLPOOL 593469b858707e4ceca56146fa1d608141e44dda0a0921ed6a3ec566878c1e3c153410233f088d57db4f8bd9d1c796bd945cbea3ba455572efc05eca42023ce5 EBUILD entropy-216.ebuild 3248 SHA256 775a292f017eac4010ab07850c32cb327660241adae479d6fdbe20f9f4a90154 SHA512 1e3e7c80ad19e94d07211c8b321c9983ae534c6b3a4ff22ccc51291ef50125bfc17a742c10171963c02474502c9b24c8a778f325bef8202747edc24b54b13438 WHIRLPOOL bdbf76e86b276902e69b9cc00861cafd0db4bd1e1089c3a6e19a1e2f895d1035c367348c4b6abedafc9d92ac91216b9f09969ce0b8c5bcf991fc41a070f30515 -MISC ChangeLog 5792 SHA256 9e863a6e5647818d7a693ec82ecf67c17b3388e7b295753135c052c0164c96fb SHA512 69916a83f441d494310b5132a536083f78e739bf681856f154bd7a3f666b653ec86068b1b6ae4cbe7ea3ab686f0760f256b68a086b5aff0d0b547eff6b0f5c74 WHIRLPOOL fe2fc81f4043e2ef1bde1cdc416b084942f0e6b7f0decd4e0bef6e3c990f88cb1ca9a9d3b9b9e03d6771f18c03e9db9b985eff0342f9e9b50a2611e3a4e63908 +EBUILD entropy-254.ebuild 3274 SHA256 a6cf3379c033b5004aac973397d6dcb3998c4ef1b5be2f8906d0931a65c5bbc9 SHA512 260cfa4617291b3c46978f7e7243f24451e5d8bf65cd19f4a548b73ecf37170440198e58581defe5a9ee7892072e5a41156064eca55f153f6c55dc07f6b990e2 WHIRLPOOL 3a4a3b9bcb55a5715fe64c5b9c2d31d92e061178ac6717c81a1d0aaf6cbaa563e092d9c854cf662abffa30f8b2129bd9f5526e86a418ef502713dd231937d33e +MISC ChangeLog 5907 SHA256 1a52fe8d19d63a5b070f824411b8be1210a4bc5d7c3a0fba5a63449cb6b57191 SHA512 d08b1b025fd4351d18c48d3071686867489fbb5c8f5820f502658a25e1cdc4bfaa04157fb2afac30c4c6926eac6565da361819d9ce87ebb7731c282362589414 WHIRLPOOL 596f4939b4f614e56c9136a1226986f85fa31b7083d0beb1d4ff454cc297fd27835669854a9bf5f48b02eac49d18d274966887a435bcb5fcc91ee7ace43bbd57 MISC metadata.xml 249 SHA256 c8f6c77ed785305b3c81640d0f8aefd1e0979c446458117922d2ba8979e2f53f SHA512 e90f800cf4b5909428161ee7577c8599e094765bcf366b151fe21c23c78b84df015e5ea766967e6d7f02d87e2fe1293d508a28b682bc7fcb395a47acbd741b16 WHIRLPOOL a34e9bb9649faaed8ccc588236a567453f3ef4990771cd27e9ebe3dfa37ecd7876f248c3ffa9a3f10ed1664f1be12c7d56d89375e41e2ceaa19b1439b32a833d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iEYEAREIAAYFAlKxLIgACgkQfaj9zK3JFuVVbACeJHlfy4/G+h22XNI1jf2/ppKM +0+QAnR//t1a3ItBlJfiZ7XOnuGOvt16T +=KNzw +-----END PGP SIGNATURE----- diff --git a/sys-apps/entropy/entropy-254.ebuild b/sys-apps/entropy/entropy-254.ebuild new file mode 100644 index 000000000000..7ddc05634a8b --- /dev/null +++ b/sys-apps/entropy/entropy-254.ebuild @@ -0,0 +1,112 @@ +# 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-254.ebuild,v 1.1 2013/12/18 05:03:03 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=">=app-misc/pax-utils-0.7 + 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 +} |