diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2013-03-14 18:08:51 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2013-03-14 18:08:51 +0000 |
commit | 8a8a1dd381b5aabcb0277e3978faa430acbf14ec (patch) | |
tree | 8a8d266ce78af4b5f46dbfa04bb72e5017d7547f /sys-apps/entropy | |
parent | version bump, migrate to openldap (diff) | |
download | historical-8a8a1dd381b5aabcb0277e3978faa430acbf14ec.tar.gz historical-8a8a1dd381b5aabcb0277e3978faa430acbf14ec.tar.bz2 historical-8a8a1dd381b5aabcb0277e3978faa430acbf14ec.zip |
version bump
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64
Manifest-Sign-Key: 0xADC916E5
Diffstat (limited to 'sys-apps/entropy')
-rw-r--r-- | sys-apps/entropy/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/entropy/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/entropy/entropy-183.ebuild | 119 |
3 files changed, 139 insertions, 3 deletions
diff --git a/sys-apps/entropy/ChangeLog b/sys-apps/entropy/ChangeLog index 80a14b27d060..20093afb2bab 100644 --- a/sys-apps/entropy/ChangeLog +++ b/sys-apps/entropy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/entropy -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.31 2012/12/31 18:19:43 ago Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.32 2013/03/14 18:08:47 lxnay Exp $ + +*entropy-183 (14 Mar 2013) + + 14 Mar 2013; Fabio Erculiani <lxnay@gentoo.org> +entropy-183.ebuild: + version bump 31 Dec 2012; Agostino Sarubbo <ago@gentoo.org> entropy-144.ebuild: Add ~ppc ~ppc64 ~ia64, wrt to bug #387959 diff --git a/sys-apps/entropy/Manifest b/sys-apps/entropy/Manifest index 90b49ff99986..054fb5a14b99 100644 --- a/sys-apps/entropy/Manifest +++ b/sys-apps/entropy/Manifest @@ -1,6 +1,18 @@ +-----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 EBUILD entropy-136.ebuild 3396 SHA256 2fd5d885ab7f8a51da4b5fccba587673a271a33da5f34958978c17a8e9d6c627 SHA512 0f35c7c5e259d69601a858a3a05af7ccc3164dc9ba1e5e3ce53794e4b61fa8fef60a6366f1549750f03787f7c4edcd427503700537aef74b0384caa1fdd599da WHIRLPOOL 653b93bf9097d631150bd912be2ebe93a852e1eb616079554be0e2ae8986bf82643dade9e8bab8ece8cefacfad5b27321cc2a78f11b3a8ba40f6534dd8982318 EBUILD entropy-144.ebuild 3412 SHA256 a2a3e62c7cee8d268c1503961d56b1b37274d7ee83645e2faeb60b8d949ca8e4 SHA512 3f20ff0e4548e186e50fe12bd1de3b2a10a257cdbcb43d3984138cde82dd696c51cc04df4a370b4870a3ab150d830c421153be6817a4d0fd461ba8bed3722740 WHIRLPOOL 96865619de1618647d6e23c1a478c9bec0c5f474da2297309808a34b0c32976a60d44588c0fc1234212ceceb5b0d60a56ac688bbaeff786352bf36d17c13f976 -MISC ChangeLog 4490 SHA256 e74c86351dcd00130d96cdd26ec79f2dac37f7e4fe1129a26e2fda9e92f28756 SHA512 39f84e28d9e940511f682523d84e1ce86b7e01b45513e2d9459fb536adc3432a2490ffd9e472f1036293d402f9307e539b38a2f8138f26f3d9cea36941da6e23 WHIRLPOOL adca91c81c68a52bfc7eca9c5be45aa88f20ee16175cce0237433387376fd823124ed0435e700199206d55ac84771d381bb2d3604d4c762bad73eaf2879b8df9 +EBUILD entropy-183.ebuild 3435 SHA256 3adcd5cf79776fd84ee0c98d7ffef7d35d4d3a8f95e883f9d464d386ff4a94c2 SHA512 aa05f2783b5438fc12e863037123421fec6da984d278014984a674c1069f792ae3434dc3669ff83bd7604385396e6651b65d5dffac8c89fb352f3bb30b5d17aa WHIRLPOOL e47e89a29c49a56a307212926d6de242ee138174f3fd3466bbdb76225d3935033d8aa5af8126840ebdd19e771f92871a98a244a91462ee9fc477de58172d83d7 +MISC ChangeLog 4607 SHA256 67fbee2b9e8c8a3891e00739fa872743eec3a2b156207e7f400cd8d9ddf12c1a SHA512 822f0f7d88d680a7f6ce432699e65831bd37c5ea5ff0d46a45449e2af250e8f62ecf12ee6ea10d462bbb916fd503e82f02396dc29ff007148a1c0706c0fd60fe WHIRLPOOL 6c9ff8a561d213d0443107c5f89499f97dafd82ea4ca81ed91ff97fddf00eb2a6d3defa53f2761737abe2f7d32efcf38730afbcaef78de17b17a532d11325bf5 MISC metadata.xml 249 SHA256 c8f6c77ed785305b3c81640d0f8aefd1e0979c446458117922d2ba8979e2f53f SHA512 e90f800cf4b5909428161ee7577c8599e094765bcf366b151fe21c23c78b84df015e5ea766967e6d7f02d87e2fe1293d508a28b682bc7fcb395a47acbd741b16 WHIRLPOOL a34e9bb9649faaed8ccc588236a567453f3ef4990771cd27e9ebe3dfa37ecd7876f248c3ffa9a3f10ed1664f1be12c7d56d89375e41e2ceaa19b1439b32a833d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlFCIBMACgkQfaj9zK3JFuXtxgCgyv3J1Ulvv6p9bT1Dr9wvZD+3 +QtIAnik3Vcq2j8pnkOjUnigD0lBc8Pb0 +=Tkfz +-----END PGP SIGNATURE----- diff --git a/sys-apps/entropy/entropy-183.ebuild b/sys-apps/entropy/entropy-183.ebuild new file mode 100644 index 000000000000..30549f7c534e --- /dev/null +++ b/sys-apps/entropy/entropy-183.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-183.ebuild,v 1.1 2013/03/14 18:08:47 lxnay Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="sqlite" +inherit eutils python user + +DESCRIPTION="Entropy Package Manager foundation library" +HOMEPAGE="http://www.sabayon.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +IUSE="" +SRC_URI="mirror://sabayon/${CATEGORY}/${P}.tar.bz2" + +RDEPEND="dev-db/sqlite[soundex] + net-misc/rsync + sys-apps/diffutils + sys-apps/sandbox + >=sys-apps/portage-2.1.9 + sys-devel/gettext" +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() { + # 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" +} + +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 + + python_mod_optimize "/usr/lib/entropy/lib/entropy" + + echo + elog "If you want to enable Entropy packages delta download support, please" + elog "install dev-util/bsdiff." + echo +} + +pkg_postrm() { + python_mod_cleanup "/usr/lib/entropy/lib/entropy" +} |