diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2011-10-23 06:12:17 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2011-10-23 06:12:17 +0000 |
commit | 2617b7bd9e3936188e610ab7ba7bf79be784c02c (patch) | |
tree | 7e165245c131f4401e026d65fdf29713d4867002 /app-misc | |
parent | ChangeLog (diff) | |
download | historical-2617b7bd9e3936188e610ab7ba7bf79be784c02c.tar.gz historical-2617b7bd9e3936188e610ab7ba7bf79be784c02c.tar.bz2 historical-2617b7bd9e3936188e610ab7ba7bf79be784c02c.zip |
Refactor SRC_URI handling slightly. Add latest sparc build.
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/dnetc/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/dnetc/Manifest | 8 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9107.516.ebuild | 94 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9108.517.ebuild | 7 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9109.518.ebuild | 7 |
5 files changed, 114 insertions, 10 deletions
diff --git a/app-misc/dnetc/ChangeLog b/app-misc/dnetc/ChangeLog index e6306e7cdb15..7079d208b484 100644 --- a/app-misc/dnetc/ChangeLog +++ b/app-misc/dnetc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/dnetc # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.61 2011/10/23 06:02:32 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.62 2011/10/23 06:12:17 robbat2 Exp $ + +*dnetc-2.9107.516 (23 Oct 2011) + + 23 Oct 2011; Robin H. Johnson <robbat2@gentoo.org> +dnetc-2.9107.516.ebuild, + dnetc-2.9108.517.ebuild, dnetc-2.9109.518.ebuild: + Refactor SRC_URI handling slightly. Add latest sparc build. *dnetc-2.9109.518 (23 Oct 2011) *dnetc-2.9108.517 (23 Oct 2011) diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest index af0003fdd632..7af77edb1867 100644 --- a/app-misc/dnetc/Manifest +++ b/app-misc/dnetc/Manifest @@ -11,6 +11,7 @@ DIST dnetc496-linux-x86-elf-uclibc.tar.gz 255750 RMD160 bd09f50ef3b0e24a97b9cdf6 DIST dnetc504-linux-x86-elf-uclibc.tar.gz 261208 RMD160 e9830a10d402344606ef9895ca2a8f473f536550 SHA1 7b4949783128a2c71b6cc657b4edac2e85d65cb1 SHA256 084d0041a63efb952e35673c6b596105c5a1ba98a8ea9e942863e89f0552f3bd DIST dnetc509-linux-amd64-elf.tar.gz 887739 RMD160 65a216722c395c55b5dbf5af4a5155c69583adfd SHA1 26c065deef70e270dd437bafa3d956b9d9299a52 SHA256 97799e6206c57f768bd2f4e62996273b066c31d400ab42c8d50a9a9fbffc0278 DIST dnetc509-linux-x86-elf-uclibc.tar.gz 667536 RMD160 594de6439070285f582a7298be8a54fe75a654b4 SHA1 89abd1d1d5a1af33c6b7acef4dfdd3b78b9b5fe0 SHA256 85fd690317c1546a6698968b71a47c07308c120b7d242857d84a5a0df98461ef +DIST dnetc516-linux-sparc-v7.tar.gz 881743 RMD160 c7abf337969cb114d2dedc785ce1ca1533269b0d SHA1 a980d4fe5d23ff59badfe0b587561f9d2f260476 SHA256 39441cf0c7b21cd1af1636698eb96769ffc46bc68331d5c4975d8485cfb8c352 DIST dnetc517-linux-amd64.tar.gz 645416 RMD160 2ee22c940ec9a6c10d41f971bea08c9ce14d5ad0 SHA1 ebf3c683072cc8fa3477254fc9c5c4dd1cd4d363 SHA256 5a2c7cf2ef50c5b895cb43751d94148523e0cc8283f3663601b10a7f83ddce38 DIST dnetc517-linux-x86-elf-uclibc.tar.gz 676398 RMD160 e9231fbc911649d2158a42f0f760ba1f9858856a SHA1 b7d009bcae29d94ade050fe6e9f57102a81da3e2 SHA256 3245bb10705383983e9764340688ffe0fd74cbe69810ae3c9ef426b8df81e067 DIST dnetc518-linux-amd64.tar.gz 644073 RMD160 2cf18aa6a653a32421400bd3a878b6d969b83a5a SHA1 38bfe4c312e093ec7e7a36cfb49ffbf12dbd75a2 SHA256 bc3f802079f07986b9b294834b5f97bdb43b061b17cc5e9ba9d22189896beda7 @@ -20,7 +21,8 @@ EBUILD dnetc-2.9003.481-r1.ebuild 2040 RMD160 fe1e621750b9a78a212ddcc58cb8a97504 EBUILD dnetc-2.9011.496-r1.ebuild 2165 RMD160 316afe7b6572964e4b3a22a670775e6cf9c1a21f SHA1 029ece2b5b7a77fa4649c39c00d08da3a2e7267a SHA256 cab1fee9dad6ed159f64ebd2b0792fa450390ed7a50a81b0c3ea60db5846554a EBUILD dnetc-2.9015.504.ebuild 2416 RMD160 ccbf3617edb4a5f460a022e811d76751d07fe704 SHA1 fa4e4a7a39f1f36764acbd130f7f9292ead70171 SHA256 fbddc389c08b25b66f3c66f5ace3b60e3eb177a319d12185df6d7e552b01ca79 EBUILD dnetc-2.9103.509.ebuild 2234 RMD160 bb4de5b4e6494e43b7f72a8fe5f5ef4f6b4783da SHA1 634e43377938bc732e88191e49cd4f26636828b3 SHA256 5cbfb3866d3309f21ff147c6a8a3f53302cd7935467b7cd2296e3c713b391ebe -EBUILD dnetc-2.9108.517.ebuild 2648 RMD160 b1d0d48867faadd9d460b9405fe32daf7df60555 SHA1 b6d2ded7a5d73fc1b6e2834916111a104b9e1344 SHA256 c3fcd38a14abd88aa689f3ac11c1038eb3e53977650b24093ef235de44e35ec5 -EBUILD dnetc-2.9109.518.ebuild 2648 RMD160 0d9ddd369aef67139976c47656914f63803abc89 SHA1 a11059384aa1781e3b6899a5cbe8227657d6ec94 SHA256 1d190b2f9c1e22200e2ff068c02251b85411cefd5c9453e260bb578d8e019f87 -MISC ChangeLog 11412 RMD160 db00eea6116f9260a248748b72fe8b7169c48d08 SHA1 0f735847ea80f26f41375d8b83084a5a847ce948 SHA256 9027deb526b059b3f12647183005c3196da648018a1371251bd2562a2a19f54a +EBUILD dnetc-2.9107.516.ebuild 2800 RMD160 3ff079f45d4287c6196dd92ce5e8124cdea0c52a SHA1 08010e58130e990921c61c33d7f2e6e8d5437308 SHA256 b2786ccd257ef9507ee894c6eb98ea3453fcc15f3eac0e52bd11317190727b9e +EBUILD dnetc-2.9108.517.ebuild 2794 RMD160 e28de800876b659c738a0bc4df3c73d1aa96fbdc SHA1 50ec0fc0e7997a380d732ae2b35786f5f28c2695 SHA256 66d755dd87ab3f48d4ff9a105ed4e2b6907945455a708dfe96edae350af20b00 +EBUILD dnetc-2.9109.518.ebuild 2794 RMD160 7c62d43d2f6c4d9ce9bbb51c688a15c9f51c688b SHA1 e2bf76a59d93c98b86e940b99eb13b112a6d8c7b SHA256 9d5463cf02fcfa12445a97a516af20d7343eb1a9a4fed46ad365dc5c91fdfe0b +MISC ChangeLog 11639 RMD160 52b3054bc89b0c3a654f9b4c9b23e145bde41d5b SHA1 50153c06fa34e907ebeae707836eeed12f6614d2 SHA256 d689efc8b1c6bd9b20b007d2aad8590469d904b9a9eca6ef1dbb4b37e75f6d76 MISC metadata.xml 343 RMD160 f12ebecc7cbd9796afb7ab44252c96a1eabc795f SHA1 44b514d55095b0236f49e0b827b713b9d0f7eda4 SHA256 62e7aa539b55a81da772775d03e2a38a624936ae6e8fb2514ae173817e52ce5c diff --git a/app-misc/dnetc/dnetc-2.9107.516.ebuild b/app-misc/dnetc/dnetc-2.9107.516.ebuild new file mode 100644 index 000000000000..c123ddbfa54e --- /dev/null +++ b/app-misc/dnetc/dnetc-2.9107.516.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9107.516.ebuild,v 1.1 2011/10/23 06:12:17 robbat2 Exp $ + +EAPI=2 +inherit eutils + +MAJ_PV=${PV:0:6} +MIN_PV=${PV:7:9} + +DESCRIPTION="distributed.net client" +HOMEPAGE="http://www.distributed.net" +#SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )" +#SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )" +#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )" +SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )" +SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}" + +LICENSE="distributed.net" +SLOT="0" +KEYWORDS="~sparc" # x86,amd64,ppc not available for this version +IUSE="" +RESTRICT="mirror" + +DEPEND="" +RDEPEND="net-dns/bind-tools" + +QA_PRESTRIPPED="opt/distributed.net/dnetc" + +S=${WORKDIR}/dnetc + +src_prepare() { + binname="" + if use amd64; then + binname=dnetc${MIN_PV}-linux-amd64 + elif use x86; then + binname=dnetc${MIN_PV}-linux-x86-elf-uclibc + elif use ppc; then + binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc + fi + [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined" + mv "${binname}" dnetc || die "$binname binary is missing" +} + +src_install() { + exeinto /opt/distributed.net + doexe dnetc + + doman dnetc.1 + dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.* + + newinitd "${FILESDIR}"/dnetc.initd dnetc + newconfd "${FILESDIR}"/dnetc.confd dnetc + + keepdir /var/spool/dnetc +} + +pkg_preinst() { + if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then + einfo "flushing old buffers" + source /etc/conf.d/dnetc + + if [ -e /opt/distributed.net/dnetc.ini ]; then + # use ini file + /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush + elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then + # email adress from config + /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL} + fi + + einfo "removing old buffer files" + rm -f /opt/distributed.net/buff* + fi + + enewgroup dnetc + enewuser dnetc -1 -1 /opt/distributed.net dnetc +} + +pkg_postinst() { + chown -Rf dnetc:dnetc /opt/distributed.net + chmod 0555 /opt/distributed.net/dnetc + + elog "To run distributed.net client in the background at boot:" + elog " rc-update add dnetc default" + elog "" + elog "Either configure your email address in /etc/conf.d/dnetc" + elog "or create the configuration file /opt/distributed.net/dnetc.ini" +} + +pkg_postrm() { + if [ -d /opt/distributed.net ]; then + elog "All files has not been removed from /opt/distributed.net" + fi +} diff --git a/app-misc/dnetc/dnetc-2.9108.517.ebuild b/app-misc/dnetc/dnetc-2.9108.517.ebuild index cb3cadcdc0fd..79a9500ac770 100644 --- a/app-misc/dnetc/dnetc-2.9108.517.ebuild +++ b/app-misc/dnetc/dnetc-2.9108.517.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9108.517.ebuild,v 1.1 2011/10/23 06:02:32 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9108.517.ebuild,v 1.2 2011/10/23 06:12:17 robbat2 Exp $ EAPI=2 inherit eutils @@ -12,8 +12,9 @@ DESCRIPTION="distributed.net client" HOMEPAGE="http://www.distributed.net" SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )" SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )" -SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )" -SRC_URI="${SRC_URI_amd64} ${SRC_URI_x86}" +#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )" +#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )" +SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}" LICENSE="distributed.net" SLOT="0" diff --git a/app-misc/dnetc/dnetc-2.9109.518.ebuild b/app-misc/dnetc/dnetc-2.9109.518.ebuild index b60fa3f03b32..eead468d5321 100644 --- a/app-misc/dnetc/dnetc-2.9109.518.ebuild +++ b/app-misc/dnetc/dnetc-2.9109.518.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9109.518.ebuild,v 1.1 2011/10/23 06:02:32 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9109.518.ebuild,v 1.2 2011/10/23 06:12:17 robbat2 Exp $ EAPI=2 inherit eutils @@ -10,10 +10,11 @@ MIN_PV=${PV:7:9} DESCRIPTION="distributed.net client" HOMEPAGE="http://www.distributed.net" -SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )" +#SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )" SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )" SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )" -SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc}" +#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )" +SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}" LICENSE="distributed.net" SLOT="0" |