diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-03-26 00:06:49 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-03-26 00:06:49 +0000 |
commit | 49b0cfc50729a51ad8dfc299271b70431f0b8032 (patch) | |
tree | 5dc8b538a9b0a42df963bc90ce2442d2c847ceaf /app-misc/dnetc | |
parent | * as requested in bug #125346 (diff) | |
download | gentoo-2-49b0cfc50729a51ad8dfc299271b70431f0b8032.tar.gz gentoo-2-49b0cfc50729a51ad8dfc299271b70431f0b8032.tar.bz2 gentoo-2-49b0cfc50729a51ad8dfc299271b70431f0b8032.zip |
* bug #124680
(Portage version: 2.1_pre7)
Diffstat (limited to 'app-misc/dnetc')
-rw-r--r-- | app-misc/dnetc/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/dnetc/Manifest | 22 | ||||
-rw-r--r-- | app-misc/dnetc/dnetc-2.9011.497-r1.ebuild | 75 | ||||
-rw-r--r-- | app-misc/dnetc/files/digest-dnetc-2.9011.497-r1 | 3 |
4 files changed, 94 insertions, 14 deletions
diff --git a/app-misc/dnetc/ChangeLog b/app-misc/dnetc/ChangeLog index 55529df2edc3..6748244138fd 100644 --- a/app-misc/dnetc/ChangeLog +++ b/app-misc/dnetc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/dnetc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.35 2006/01/15 16:34:23 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.36 2006/03/26 00:06:47 voxus Exp $ + +*dnetc-2.9011.497-r1 (26 Mar 2006) + + 26 Mar 2006; Konstantin Arkhipov <voxus@gentoo.org> + +dnetc-2.9011.497-r1.ebuild: + Closing bug #124680. *dnetc-2.9011.497 (15 Jan 2006) diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest index 2b6a5e90162d..9848b6dc046d 100644 --- a/app-misc/dnetc/Manifest +++ b/app-misc/dnetc/Manifest @@ -1,9 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 16adbc67f62f997f2536b21cea337b4b ChangeLog 5204 -RMD160 b91f50e586a89c0cc9faa36ce9243162b5c84f51 ChangeLog 5204 -SHA256 34d18b5cb19de1016fc3588b861204621efdd4a9372e5d2bb50c4718f88e615d ChangeLog 5204 +MD5 66a0e46606a5c0e585fb0da71482c1cd ChangeLog 5349 +RMD160 322e889b2595f0c6d0dd32d57abc68b45875bb6c ChangeLog 5349 +SHA256 9983c02b50451fa88d364e53d3ac5d790765adf7451fc1bc5ca0ba452a95659e ChangeLog 5349 MD5 d8b1b2c172a5c975cc706ddf3200544c dnetc-2.9001.478.ebuild 1390 RMD160 ce3ca8e04585a9b94c222fdf03431e3543d64242 dnetc-2.9001.478.ebuild 1390 SHA256 231058448d11ef11be9074b0b57f666feb83c74a246b9595216f78c1d79ed29e dnetc-2.9001.478.ebuild 1390 @@ -28,6 +25,9 @@ SHA256 92d0b4b75165247a664ef606b65bdaf72eec5e10085984a1eeb200bc7fdffd49 dnetc-2. MD5 d69e033d17ff48dbe483bb577e891552 dnetc-2.9011.496.ebuild 1880 RMD160 54085bdadebe95d04917b162f2f1389da9db29f2 dnetc-2.9011.496.ebuild 1880 SHA256 60d9c6464dc35bccbe509e50fe8d56b11f0210741b8f4d7fbe6607deeb99161d dnetc-2.9011.496.ebuild 1880 +MD5 e148076b1440f8acca4b9b1f3f80024e dnetc-2.9011.497-r1.ebuild 2054 +RMD160 18886692a7b89457c532db16f54c32ec3e47e010 dnetc-2.9011.497-r1.ebuild 2054 +SHA256 0406e687e9104510e5e5bf07132138a51277614db7825685747733b9b596cd54 dnetc-2.9011.497-r1.ebuild 2054 MD5 74158ddbae3a335656d325874d7da679 dnetc-2.9011.497.ebuild 2038 RMD160 b56ea9502285f19f2e4d566f8daa4daa8388cd0d dnetc-2.9011.497.ebuild 2038 SHA256 be0f1c2dd82e9fb8f3b79ff92ca27e4bc2e9706a501b3281e73020ef6f7f536f dnetc-2.9011.497.ebuild 2038 @@ -58,6 +58,9 @@ SHA256 26370fe63111b6433a67d5da3f10faf3632146bfce90bd040cfeb790abea0902 files/di MD5 c289301c87a41246582194ce10cda621 files/digest-dnetc-2.9011.497 81 RMD160 9dc5fbec6ee07cb5678def2053a63608b35c91fd files/digest-dnetc-2.9011.497 81 SHA256 9199b5afc891fafd76e959268b50c536e270dc5b745106a3fb33153a315578a4 files/digest-dnetc-2.9011.497 81 +MD5 ce70e953902573dd3c2feeb439569496 files/digest-dnetc-2.9011.497-r1 289 +RMD160 aabc86b4191aa76d67516f3052568744c17b6bb9 files/digest-dnetc-2.9011.497-r1 289 +SHA256 3de365f06ab05c5fa08e9eafb8411c6e1e5c244da564f3a52efeeb937e29fa01 files/digest-dnetc-2.9011.497-r1 289 MD5 b6444acd5a6c235ffe17bb3b528f4bc4 files/dnetc.conf 54 RMD160 45dc163b6783f76d2e79472d4c2d373ae99f2f79 files/dnetc.conf 54 SHA256 42e967f2ed87dbae914c7f6211f3bbf5062fc7c4aea5ea71829c59070dc13a8f files/dnetc.conf 54 @@ -73,10 +76,3 @@ SHA256 91e442d5533ecbbda2270cfee11ee532c7c93dc2bd29e56e54ce399bf89bd555 files/dn MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220 RMD160 fef9d1a57d9abcae3b3536edb05096c67cfdf7c8 metadata.xml 220 SHA256 2bf8af6b1a1b4477258316f7442781b522a2401b9333ed89a734dc1aa5b132fc metadata.xml 220 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) - -iD8DBQFEAVBxCRZPokWLroQRAlQUAJ4u8La6NnqzOLT3uDLSxnnldbwJhwCg0KQL -5nCBoBEe6WletgBtbGa2l/4= -=0XUS ------END PGP SIGNATURE----- diff --git a/app-misc/dnetc/dnetc-2.9011.497-r1.ebuild b/app-misc/dnetc/dnetc-2.9011.497-r1.ebuild new file mode 100644 index 000000000000..fcf7c93190d1 --- /dev/null +++ b/app-misc/dnetc/dnetc-2.9011.497-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9011.497-r1.ebuild,v 1.1 2006/03/26 00:06:49 voxus Exp $ + +inherit eutils versionator + +MAJ_PV="$(get_major_version).$(get_version_component_range 2)" +MIN_PV="$(get_version_component_range 3)" + +DESCRIPTION="distributed.net client" +HOMEPAGE="http://www.distributed.net" +SRC_URI="x86? ( http://http.distributed.net/pub/dcti/prerelease/rc/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )" +LICENSE="distributed.net" +SLOT="0" +KEYWORDS="~x86 -*" +RESTRICT="nomirror" +IUSE="" +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc" + +pkg_setup() { + enewgroup dnetc + enewuser dnetc -1 -1 /opt/distributed.net dnetc +} + +pkg_preinst() { + if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then + ebegin "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 + + eend ${?} + fi +} + +src_install() { + newinitd ${FILESDIR}/dnetc.init-r2 dnetc + newconfd ${FILESDIR}/dnetc.conf dnetc + + local ownopts="--mode=0555 --group=dnetc --owner=dnetc" + + diropts ${ownopts} + dodir /opt/distributed.net + + exeopts ${ownopts} + exeinto /opt/distributed.net + doexe dnetc + + doman dnetc.1 + dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.* +} + +pkg_postinst() { + einfo "To run distributed.net client in the background at boot:" + einfo " rc-update add dnetc default" + einfo + einfo "Either configure your email address in /etc/conf.d/dnetc" + einfo "or create the configuration file /opt/distributed.net/dnetc.ini" +} + +pkg_postrm() { + if [ -d /opt/distributed.net ]; then + einfo "All files has not been removed from /opt/distributed.net" + einfo "Probably old init file and/or buffer files" + fi +} diff --git a/app-misc/dnetc/files/digest-dnetc-2.9011.497-r1 b/app-misc/dnetc/files/digest-dnetc-2.9011.497-r1 new file mode 100644 index 000000000000..cdd82af17eda --- /dev/null +++ b/app-misc/dnetc/files/digest-dnetc-2.9011.497-r1 @@ -0,0 +1,3 @@ +MD5 8b842fbfd4c354e23b8dc6db665b3733 dnetc497-linux-x86-elf-uclibc.tar.gz 259062 +RMD160 15166c5974f2430d5f2fcfd40e5054893f5af1b0 dnetc497-linux-x86-elf-uclibc.tar.gz 259062 +SHA256 2363d8a0077640f107d4f9d8fcc9c420938a394537ac108d6630aeaaa0edce5e dnetc497-linux-x86-elf-uclibc.tar.gz 259062 |