diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2013-08-22 11:15:17 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2013-08-22 11:15:17 +0000 |
commit | 02f6e8bbc01e25574b72cc634fbae064f69dcd6b (patch) | |
tree | e7ded3d2bb9808170846d4db0531b99c9fe0dfcf /sys-apps/entropy | |
parent | version bump (diff) | |
download | historical-02f6e8bbc01e25574b72cc634fbae064f69dcd6b.tar.gz historical-02f6e8bbc01e25574b72cc634fbae064f69dcd6b.tar.bz2 historical-02f6e8bbc01e25574b72cc634fbae064f69dcd6b.zip |
version bump
Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64
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-216.ebuild | 119 |
3 files changed, 128 insertions, 12 deletions
diff --git a/sys-apps/entropy/ChangeLog b/sys-apps/entropy/ChangeLog index a0c3f994ecee..b3fce224d64e 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.36 2013/04/02 09:33:13 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.37 2013/08/22 11:11:36 lxnay Exp $ + +*entropy-216 (22 Aug 2013) + + 22 Aug 2013; Fabio Erculiani <lxnay@gentoo.org> +entropy-216.ebuild: + version bump *entropy-189 (02 Apr 2013) diff --git a/sys-apps/entropy/Manifest b/sys-apps/entropy/Manifest index aa930f7a6020..0bbf0a8ec4af 100644 --- a/sys-apps/entropy/Manifest +++ b/sys-apps/entropy/Manifest @@ -1,20 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - DIST entropy-136.tar.bz2 1612759 SHA256 4384b251f259c868f8ee3480701beecb466ca8c5727915e6b437291d03f4c63b SHA512 3b2725de557efa76ee65f368f486ab952f49a63474b5226e7b9ce137bee1c9c1ef73074c4d255e3d8695666556923d827c9cb1e232b307c4893d76e6cc6fb948 WHIRLPOOL 222d2c292c4a7c0d465be31898c4b2bf1469b7c769b4099106ded24334f4d16dde1f95ea532cbb2a167e2b7fcc30e6f59974839c3a8019c02c962fc634556e1b DIST entropy-144.tar.bz2 1616075 SHA256 173825d13f4b5c5aecf4d82b4e593921baf2209496be56190babbb142ad9b75d SHA512 30ca32fdf0747530c656ec9c96aed5dad00e8fb4181bd4c2e4a4aed3c5b06427e5b07baa41db13ff03d6730f13607e86f557aad84cb6e85af5d9c49029a911c7 WHIRLPOOL a14b76a2c247e2d4db12e2c78735c64ca183a474758f8b8ab9748cd93378300cd737377888beb03cc64e0ddeff0cb201fd790489ddfee48b8cf82032429509ac DIST entropy-183.tar.bz2 1685003 SHA256 5b2d99ef61a68497c228c392d607faa7fef9b5debe7628f381e4facbef290f38 SHA512 95b83797fc519c5cfd12a985ee3221ffe83fe19289681ca1b0f022a7b9491bdf9b74a06fe4f010536a22db78bac4f3325fc5eab0c11243240fdee5789690e2aa WHIRLPOOL bbd6c44e5bce24e602f89075e126b5e914900aad8bd3b1ff301c733d8838f4cd1aac279a707f81c0873c24259078e5fdc9dacbf1f30d0fd5eef3aa9f9376f7c5 DIST entropy-189.tar.bz2 18411813 SHA256 5043ae83953c9d497c6bbeb58111bde36f51b895a8c3bed051ded9f00cbe1b96 SHA512 03b9ee7a7453ff78aae00b0441ae765406f05a8b2060b239bea10703d78e68a770bd526c5f72e3534d80733c44475a90b61289c1315d3ba9c17d2f7f713348cd WHIRLPOOL 9ce23fcb4480b7cb315b54be8e908b5e364aa222ba95f399679f9d8584d355c2638eb248e4ed80bbf13ceaad89ce07cf18b24912bb7bfd6647d7db186db77f02 +DIST entropy-216.tar.bz2 18429942 SHA256 c2569d7233b80b9373cde11645e6e9c4142038387ad4aa8943ed1ddfeb86f501 SHA512 8b6a19f311520ca48a998aadb10717f5ad81eb8c26b71c1f8a8b67f84fd9876117adf650eb4fa59893130fd3db669ba370804a33311fe7eff45546a5a92e6b7d WHIRLPOOL b220b870f099cfe014ad355760855dc91bbc11c76f39b34e03ec251e1f8f9bdf04bb4f1dd0ad9e0c5e63a4328f6c9691abd4f9e759b8546fac7026386b4c174b EBUILD entropy-136.ebuild 3418 SHA256 832d5e54532295d2e0d94c681bb1531a619351a677a082c82fb4ac9585ef9865 SHA512 fd8cebeda63e758bb535606c5577eeae08f1f6af0a5015c04283ca80e6dfe88693ce6c4a28a8294e12511492e558e2533855ffec022fccebd0fca2b6bf977f6b WHIRLPOOL 7b207c90eb40e5c64bb337cf192f9f8afd620e3a22c8836b73aba3203a009bcbeae412f7e7228a9aff376c27006b196de228d522d0743d6a908d90818f5b13e4 EBUILD entropy-144.ebuild 3436 SHA256 2da64455e525460cf5d36593bbd92d03fbb77d0d6beb5412fb2aa24ba43c6eef SHA512 aacc4ca4c2d03b64f0e7e5726656ac71e95f802fe64845b36f4cf0dca3352e41e0ab879c504f01fe6f237b14765415e11e908a858430f9f87252f8c03793ad0d WHIRLPOOL 26b6eef0db07d9a29efb2399a4c759a828d50f0fa2b719711eda857604642145cb9c4de8b0cfc05c28d90d4dfc8dfc250812d1d2102c47d5e01c7c012283c622 EBUILD entropy-183.ebuild 3475 SHA256 8e3da8280a359634b0bb90a3bed437d51c2498b11dc1ab3cc7618e8781355120 SHA512 6be455308aededadf6961c0c28195e21be040527cab325513735fd8d880ed41261549088f8958e8703aa70a36e3e245b1c6bc59509ba7f180e120b36a64d3aeb WHIRLPOOL 7e2b7dd2185312267078912972d606938cb68c71dde38b17f7af64a4e958357d0e4dd303f7b8c8f3770db280cb227d3d7549a3e21101add11f2e6676302fd149 EBUILD entropy-189.ebuild 3477 SHA256 387699c59cf900d0329194e137352e4fa24724fcf1e6fcdeaf34c60a535aa16e SHA512 76124dc7577341a8f206344052d94188b27235d68e995519a308229a3a058bdd152580c0ba58a9736625ce0cb62fd8175dd83c5d95b0f479a60905c09d5ca737 WHIRLPOOL 5ba9f6fe8cf71712f19a0071bf77af9e24391eb3c651426568dbccab8d7270b96e161841c8583882036e5e715567a34c2c6f5c2ea97bf36b23b9cb31512a1643 -MISC ChangeLog 5150 SHA256 ca2eae6fad07aa9d056ae7802bd0052421723de85e04db411cbd2f722c38d8a3 SHA512 5b7dca956f46a6ce0b94289db0876fdfd72eda9460f77616d10e2beeee5aaf8b27afd4ab7ef40fb8b798e3bba8f4e22014c10f2a4dc8bc412ece5045b9738d42 WHIRLPOOL 2eafe8707842b817c7016adf33bf3a89953aa23883d665fc5ea370101c747499fe0246f7e0103a4cd0f950cfd0f7c66e8efbc5a030ea9ff610684da801a709fb +EBUILD entropy-216.ebuild 3452 SHA256 316c105ab8f0391288f6ef62f6f7ba88ef912976b72a1864ca85f366ff0bc238 SHA512 8730e4c068b44a804775009142a186f3215019bb07477173cf4c0be68ee9ac321662f70bca4dbaee90c1ee6320240893ce5fae38eba4675c78d0c090c0bd59f2 WHIRLPOOL 35bec4c21e8ea8f97ebb27483af580f570fed64a5d477a2e63478fc532171ac0f833d9121a6f951161cff4985d3a0c2d2685827caacf35a3e640e2ae6a2f1ceb +MISC ChangeLog 5265 SHA256 ae309507f1bab24378de8f51cd3d8ca7604b0db8cd454eb92b09e7fd42ef51e3 SHA512 8edf6e4f1cf13b8ce8064421fd8b28a1ee9f6769d4cca337dbe2ac37de9ba7605b159a738ef8f26a7f83eecfe527dcb1c270ef357f2540bbc01073fb3ede69dc WHIRLPOOL e01a95505d1f399c41662d4299a55597d38d610e765aa4837d7a0150188d8c934a39f193cedae5121eb62b10b62a2c1167924a2b10494de9a589a07dded5f08e MISC metadata.xml 249 SHA256 c8f6c77ed785305b3c81640d0f8aefd1e0979c446458117922d2ba8979e2f53f SHA512 e90f800cf4b5909428161ee7577c8599e094765bcf366b151fe21c23c78b84df015e5ea766967e6d7f02d87e2fe1293d508a28b682bc7fcb395a47acbd741b16 WHIRLPOOL a34e9bb9649faaed8ccc588236a567453f3ef4990771cd27e9ebe3dfa37ecd7876f248c3ffa9a3f10ed1664f1be12c7d56d89375e41e2ceaa19b1439b32a833d ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlFas70ACgkQfaj9zK3JFuVDOQCgw4c82H8hC1K31XJTVB5VNbTr -69EAn3cB8UnX17jCD/NbXNCyb87o6Lmi -=LgMk ------END PGP SIGNATURE----- diff --git a/sys-apps/entropy/entropy-216.ebuild b/sys-apps/entropy/entropy-216.ebuild new file mode 100644 index 000000000000..de1d29af7deb --- /dev/null +++ b/sys-apps/entropy/entropy-216.ebuild @@ -0,0 +1,119 @@ +# 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.1 2013/08/22 11:11:36 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 + sys-devel/gettext + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + dev-util/intltool" + +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_compile() { + cd "${S}"/lib || die + emake || die "make failed" +} + +src_install() { + # create directories required by equo + dodir /var/run/entropy + keepdir /var/run/entropy + + cd "${S}"/lib || die + # TODO: drop VARDIR after 146 + emake DESTDIR="${D}" VARDIR="/var" 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 -R root:entropy "${ROOT}/var/tmp/entropy" + 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 +} |