ChangeLog

# ChangeLog for app-misc/dnetc
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/ChangeLog,v 1.50 2008/06/02 06:25:51 opfer Exp $

02 Jun 2008; Christian Faulhammer
dnetc-2.9015.504.ebuild:
stable x86

10 Apr 2008; Chris Gianelloni files/dnetc.initd:
Updated Fair CPU Scheduler support with a patch from Arthur Hagen
. Closing bug #217082.

*dnetc-2.9015.504 (10 Apr 2008)

10 Apr 2008; Chris Gianelloni -files/dnetc.conf,
-files/dnetc.init, -files/dnetc.init-r1, -files/dnetc.init-r2,
files/dnetc.initd, dnetc-2.9001.478.ebuild, dnetc-2.9002.479.ebuild,
dnetc-2.9003.481-r1.ebuild, dnetc-2.9011.496-r1.ebuild,
dnetc-2.9011.498.ebuild, dnetc-2.9013.498.ebuild,
+dnetc-2.9015.504.ebuild:
Fixed init script searching for /etc/conf.d/dnetc incorrectly. Thanks to
Arthur Hagen for the fix. Added workaround for Fair
Group CPU Scheduler. Thanks to Toralf Förster for
the fix. Version bump to 2.9015.504 for x86. QA cleanup: Fix quoting.
Closing bug #209037, bug #209322, and bug #215052.

*dnetc-2.9013.498 (02 Feb 2008)

02 Feb 2008; Chris Gianelloni +files/dnetc.confd,
+files/dnetc.initd, +dnetc-2.9013.498.ebuild:
Version bump with a modified ebuild from Michael Hordijk
and edited by me. Closing bug #177091.

23 Aug 2007; Chris Gianelloni
dnetc-2.9001.478.ebuild, dnetc-2.9002.479.ebuild,
dnetc-2.9003.481-r1.ebuild, -dnetc-2.9005.483.ebuild,
-dnetc-2.9008.490.ebuild, -dnetc-2.9009.494.ebuild,
-dnetc-2.9011.496.ebuild, dnetc-2.9011.496-r1.ebuild,
dnetc-2.9011.498.ebuild:
Some minor cleanups and removing older and unused ebuilds. Hopefully, I'll
get this all cleaned up so that at least the ebuilds are as similar as
possible. Patches are always welcome. ;]

02 Jul 2007; Piotr Jaroszyński
dnetc-2.9001.478.ebuild, dnetc-2.9002.479.ebuild,
dnetc-2.9003.481-r1.ebuild, dnetc-2.9005.483.ebuild,
dnetc-2.9008.490.ebuild, dnetc-2.9009.494.ebuild, dnetc-2.9011.496.ebuild,
dnetc-2.9011.496-r1.ebuild, dnetc-2.9011.498.ebuild:
(QA) RESTRICT clean up.

01 Jun 2007; Christian Faulhammer ChangeLog:
modified ChangeLog to meet common format

28 Apr 2007; Sven Wegener dnetc-2.9001.478.ebuild,
dnetc-2.9002.479.ebuild, dnetc-2.9003.481-r1.ebuild,
dnetc-2.9005.483.ebuild, dnetc-2.9008.490.ebuild, dnetc-2.9009.494.ebuild,
dnetc-2.9011.496.ebuild, dnetc-2.9011.496-r1.ebuild:
Fix *initd, *confd and *envd calls (#173884, #174266)

18 Apr 2007; Chris Gianelloni metadata.xml:
Adding myself as the maintainer. I guess that means now I'll have to clean
up this mess. Don't touch this package unless your stats are better than
mine
(http://stats.distributed.net/participant/psummary.php?project_id=8&id=41492
9)... ;]

18 Apr 2007; Chris Gianelloni
dnetc-2.9011.496-r1.ebuild:
Stable on x86 wrt bug #175086.

18 Apr 2007; dnetc-2.9011.496-r1.ebuild:
Stable on amd64 wrt bug 175086

28 Jan 2007; Marius Mauch dnetc-2.9001.478.ebuild,
dnetc-2.9002.479.ebuild, dnetc-2.9003.481-r1.ebuild,
dnetc-2.9005.483.ebuild, dnetc-2.9008.490.ebuild, dnetc-2.9009.494.ebuild,
dnetc-2.9011.496.ebuild, dnetc-2.9011.496-r1.ebuild,
dnetc-2.9011.498.ebuild:
Replacing einfo with elog

*dnetc-2.9011.498 (08 Jan 2007)

08 Jan 2007; Konstantin V. Arkhipov
-dnetc-2.9011.497.ebuild, -dnetc-2.9011.497-r1.ebuild,
+dnetc-2.9011.498.ebuild:
Version bump, closing bugs #146601 and #150039.

15 Jul 2006; Bryan Østergaard metadata.xml:
Remove aliz from metadata.xml as he's retired.

*dnetc-2.9011.497-r1 (26 Mar 2006)

26 Mar 2006; Konstantin Arkhipov
+dnetc-2.9011.497-r1.ebuild:
Closing bug #124680.

*dnetc-2.9011.497 (15 Jan 2006)

15 Jan 2006; Konstantin Arkhipov +files/dnetc.init-r2,
+dnetc-2.9011.497.ebuild:
Bump to prerelease client, several bugs mentioned in bug #117935 fixed.
Ebuild provided by Michael Hordijk .

*dnetc-2.9011.496-r1 (04 Jan 2006)

04 Jan 2006; Konstantin Arkhipov
+dnetc-2.9011.496-r1.ebuild, +files/dnetc.init-r1:
Merged ebuild changes suggested by Kristaps Kaupe
in bug #104527.
Also init-script converted to start-stop-daemon usage.

*dnetc-2.9011.496 (02 Aug 2005)

02 Aug 2005; Martin Holzer +dnetc-2.9011.496.ebuild:
Version bumped.

*dnetc-2.9009.494 (01 Jan 2005)

01 Jan 2005; Daniel Ahlberg dnetc-2.9007.489.ebuild,
dnetc-2.9009.494.ebuild:
Version bump, closing #68344.
Fixed buffer flushing, should close #76178."

05 Oct 2004; Pieter Van den Abeele
dnetc-2.9008.490.ebuild:
Masked dnetc-2.9008.490.ebuild stable for ppc

19 Jul 2004; Daniel Ahlberg dnetc-2.9008.490.ebuild:
Unmasked on x86.

19 Jun 2004; Gustavo Zacarias dnetc-2.9008.490.ebuild:
Sparc stable, support for ogr-p2

15 Jun 2004; Daniel Ahlberg files/dnetc.init:
Make initscript run before net, closing #53914.

14 Jun 2004; Daniel Ahlberg dnetc-2.9007.489.ebuild:
Unmasked on x86.

01 Jun 2004; Aron Griffis dnetc-2.9001.478.ebuild,
dnetc-2.9002.479.ebuild, dnetc-2.9003.481-r1.ebuild,
dnetc-2.9005.483.ebuild, dnetc-2.9008.490.ebuild:
Fix use invocation

25 May 2004; Daniel Ahlberg dnetc-2.9008.490.ebuild:
Added PPC client.

*dnetc-2.9008.490 (16 May 2004)

16 May 2004; Daniel Ahlberg dnetc-2.9008.490.ebuild:
Version bump.

*dnetc-2.9007.489 (13 May 2004)

13 May 2004; Daniel Ahlberg dnetc-2.9007.489.ebuild:
Version bump

27 Apr 2004; Daniel Ahlberg dnetc-2.9001.478.ebuild,
dnetc-2.9002.479.ebuild, dnetc-2.9003.481-r1.ebuild,
dnetc-2.9005.483.ebuild:
Depend on net-dns/bind-tools instead of net-misc/host as host installs its
binary has hostx. Closing #48250.

21 Apr 2004; Daniel Ahlberg dnetc-2.9002.479.ebuild:
Update keywords.

*dnetc-2.9007.486 (08 Dec 2003)

08 Dec 2003; Daniel Ahlberg dnetc-2.9007.487.ebuild :
Version bump. Currently only arm.

*dnetc-2.9002.479 (26 Nov 2003)

26 Nov 2003; Daniel Ahlberg dnetc-2.9002.479.ebuild:
Client for hppa.

*dnetc-2.9001.478 (26 Nov 2003)

26 Nov 2003; Daniel Ahlberg dnetc-2.9001.478.ebuild:
Re-add 2.9001.478 for mips client.

19 Jul 2003; Martin Holzer dnetc-2.9005.483.ebuild:
Stable now arm & sparc

25 Jun 2003; Martin Holzer dnetc-2.9003.481-r1.ebuild:
marked stable for all archs

*dnetc-2.9003.481-r1 (23 Jun 2003)

23 Jun 2003; Daniel Ahlberg dnetc-2.9003.481.ebuild :
Alpha client officially released.

*dnetc-2.9005.483 (04 Jun 2003)

04 Jun 2003; Brad Laue dnetc-2.9005.483.ebuild :
Mark stable on x86 and ppc.

29 May 2003; Tavis Ormandy dnetc-2.9003.481.ebuild:
A Pre-release client for alpha is available that fixes that criminally poor
performance of the previous build. Marking it ~alpha.

26 May 20003; Daniel Ahlberg dnetc-2.9005.483.ebuild :
New client for ppc, sparc and arm.

*dnetc-2.9005.483 (06 May 2003)

06 May 2003; Daniel Ahlberg dnetc-2.9005.483.ebuild :
Version bump.

06 May 2003; Daniel Ahlberg dnetc-2.9003.481.ebuild :
Added ~sparc and ~arm.

*dnetc-2.9003.480 (29 Apr 2003)

29 Apr 2003; Tavis Ormandy dnetc-2.8010.463.ebuild,
dnetc-2.9003.480.ebuild:
Adding a working Alpha ebuild, previous ebuild is totally broken.

*dnetc-2.9003.481 (09 Mar 2003)

31 Mar 2003; Martin Holzer dnetc-2.9003.481.ebuild:
Marked as stable.

09 Mar 2003; Daniel Ahlberg :
Version bump.

05 Jan 2003; Daniel Ahlberg dnetc-2.8010.463.ebuild :
Added mips.

05 Jan 2003; Daniel Ahlberg dnetc-2.9001.478.ebuild :
Added sparc.

*dnetc-2.9001.478 (03 Dec 2002)

26 Dec 2002; Martin Holzer :
Added RDEP. Fixes #12725.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

03 Dec 2002; Daniel Ahlberg :
Version update for the new RC5-72 contest.

*dnetc-2.8019.473 (09 Nov 2002)

09 Nov 2002; Daniel Ahlberg :
Initial import.

*dnetc-2.8010.463 (09 Nov 2002)

09 Nov 2002; Daniel Ahlberg :
Initial import.

*dnetc-2.8007.458 (09 Nov 2002)

09 Nov 2002; Daniel Ahlberg :
Initial import.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX dnetc.confd 403 RMD160 6a39ce966635937b9b4a25e2e39149e918dce246 SHA1 d1f9bce5a3b18fb3e326c265405d3edd812a5062 SHA256 4ed7f825ca76270969f6dd0ef856caeaca2b9acd3f2f48614b9195d104483d80
AUX dnetc.initd 2121 RMD160 42c4bebcf89a3b76899a58917e41c7736024f19e SHA1 56ad843592f6ab310f929ce37d72a83c51d3843c SHA256 cf6029d5ccb366a02ab91f94af8e9761632d2644d93d58844c8ad3d80da90b35
DIST dnetc478b-ps2linux-mipsel.tar.gz 221372 RMD160 9ebb47aa92cbb0daaddfb090728169d862d93f3f SHA1 8f918365e5431b4a44e708f114ae5f947bf5bb91 SHA256 a3a2233ae52e987350b4b093b02a60c30b8a13fe8a417c39875ebb8d84f8be89
DIST dnetc479-linux-hppa32.tar.gz 231987 RMD160 80c3ea8879933bc698ba4f30c2ed352f32b044bd SHA1 5d12bfea785bbe97a3f4349b03a317238b6009b2 SHA256 1406fcdf51d3730cfb0e568bfeb3fc0c62d65857b14bfe59e91a68ae497328b0
DIST dnetc481-linux-alpha5-static.tar.gz 442183 RMD160 f0b1db3395b710b6fa783bf4f886b1983aa3ac0f SHA1 c9dcf2c8ca7ef1b3e9f893b67f1b6ec1b65ffe16 SHA256 578b9512d3b35f897cac88d1a249d2712dc4ca20a0106e344e856764a09599d9
DIST dnetc481-linux-arm-elf.tar.gz 203423 RMD160 8e7a8d233103620ae667f630cc7db7967448d409 SHA1 57d7a6c5c8c60f09570f37ecf729ba2327c48895 SHA256 4c1f81e15c8ebbaac6e8ed1d31d73309b3d01f7a7a46f32dc0f3d7d67e2ce400
DIST dnetc481-linux-ppc.tar.gz 453775 RMD160 d144b01ce9fb179b4e8c7e7baf3a50eba3e031b2 SHA1 14eb6d7e0ad17dac704b1abdadc44e765df7995d SHA256 382db8ee53286ce132125fc7e260a098b2f754cc477f0585a5f3fcd68769d98b
DIST dnetc481-linux-sparc.tar.gz 382817 RMD160 fe4479e91d7377b41b801e4b47eb60abd1d6ef2f SHA1 79e20a164d14f0f84e258c16da3286182e20cdd9 SHA256 cde9f95472a30a72effe5df97308faed536224fe543a426c24f58557d0650d17
DIST dnetc481-linux-x86-elf.tar.gz 473754 RMD160 bf40b5e61111eeb7680d720e3891c0679220042c SHA1 ee02ad9c9fc1b7e55222883c3efde3cc18c00bf6 SHA256 9ad67cdef237ea7121f782075a9d494ca02e5d68b57c621457c17fa799e4882f
DIST dnetc496-linux-amd64-elf.tar.gz 481070 RMD160 f9b6f6a0b0971f4abb950ec070356c4622ae23a2 SHA1 0be5e92ac98943b835fcbc52725b53373d1b6cba SHA256 62a53e583beef2728062fc3cda172faa56540cd48458c37a102d2f9f818ce612
DIST dnetc496-linux-x86-elf-uclibc.tar.gz 255750 RMD160 bd09f50ef3b0e24a97b9cdf6fcb2b8681cb7444a SHA1 3b5c144925f40fcfbb3c69d9f1b5b198341c28ed SHA256 14e07c30e88f2817ed2f11373e85cfce18328e4fa79a3d4717f0ffd2b186af67
DIST dnetc498-linux-x86-elf-uclibc.tar.gz 258193 RMD160 11795827990acabefe82b0564b0eedfaa2765ae6 SHA1 1c59c6b63ab52b61f4f9c31517690a0ed4cbc1a0 SHA256 850bf10202d42687a82e948f9f4720f882e96a499f00158aa9e2e73a7a458881
DIST dnetc504-linux-x86-elf-uclibc.tar.gz 261208 RMD160 e9830a10d402344606ef9895ca2a8f473f536550 SHA1 7b4949783128a2c71b6cc657b4edac2e85d65cb1 SHA256 084d0041a63efb952e35673c6b596105c5a1ba98a8ea9e942863e89f0552f3bd
EBUILD dnetc-2.9001.478.ebuild 1321 RMD160 4b8849bcac3e6f0b66bbaf1b7aa937711fcf0134 SHA1 10cdeedfba513f61c826ab07a9fb81e7446ddf41 SHA256 2a67ab5f3bd2bd84f4fee1af3c4358fdac1ee679c4d4fcb947fe3e1f47e92e0b
EBUILD dnetc-2.9002.479.ebuild 1312 RMD160 2e5d82728bb75c27e09fdaac7fce9af80e7d3f29 SHA1 2529cbfaf8d53cb51ffe10a5915b568d346f229e SHA256 89bfcd07b00304ddcb623f85896f5abd9a2a3c090a69d7fedfa28d9e8d7c0c45
EBUILD dnetc-2.9003.481-r1.ebuild 2001 RMD160 e1dba26946743cddec1626aa0c71b46084e4b951 SHA1 2dcb4ab6ac338aa535079d53e77b103b63d41bec SHA256 71047ade2b6ded24d5448ce4f4f68f6f0713b52bba3690db7ef38403f783263a
EBUILD dnetc-2.9011.496-r1.ebuild 2125 RMD160 3d3101de7f4ce9f0afc8c5739d8e878412dd0d91 SHA1 e32a52fe45f6e174037ed8772dea31f7569cad53 SHA256 f24eca4f457abd445b141b2cdcebcd78f760b0be55abb81be8fc4c6022be5c7f
EBUILD dnetc-2.9011.498.ebuild 2039 RMD160 f411ce8347f38277b5d881ca602aa72713ab50ba SHA1 7e02bce59960535cabda089bc4bd9b24177afbd8 SHA256 50c814497378e7a8049d102fa745956376694c0723d2d2949b80e1a4339abc83
EBUILD dnetc-2.9013.498.ebuild 2378 RMD160 02d6db8f8d3e4f86ddda8de83424937941ce4b33 SHA1 9dac7d00e2a393cc7b89bb3b501220516dafe0fe SHA256 8d22bdca518ad3f85a846634db9e024a4c93d6ebac2907057163ae16f39bdd5a
EBUILD dnetc-2.9015.504.ebuild 2374 RMD160 35881929c34e77147e5356e4b19abf46756dcc29 SHA1 f785bef8767475387c31bb3ab8933993c9e27134 SHA256 87a11d0a03517a7282da4fa0eacfc8384eb44933db61746092fa3fc7ef922806
MISC ChangeLog 9083 RMD160 7a5476f1d44fe5ebdc7180f164619729631eed14 SHA1 7c179756d021903e93be1fe706ff8f6d3fe04756 SHA256 32da2dbf24a6ab2db81f6d5622d09c2f3477eb45dacff995fe8c61d93fde67cf
MISC metadata.xml 359 RMD160 bc4861df751dfe6fbef883c48f15b90cd73c2342 SHA1 21a8f0b68d172f899a599abeb6363e6f0e558c31 SHA256 1b4c1a5a30cc7c41b134f8ebaea982aedbeb049cb020fc0e47eb404e7db6300f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhDknQACgkQNQqtfCuFneNMHACfdsMv8V+sN/Wyy68jlx6jJgL4
CgIAoIx9bwcDSrba3v1hIfTx5uMOHzOI
=FtH2
-----END PGP SIGNATURE-----

dnetc-2.9001.478.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9001.478.ebuild,v 1.18 2008/04/10 00:47:43 wolf31o2 Exp $

MAJ_PV=${PV:0:6}
MIN_PV=${PV:7:9}

DESCRIPTION="distributed.net client"
HOMEPAGE="http://www.distributed.net"
SRC_URI="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}b-ps2linux-mipsel.tar.gz"

LICENSE="distributed.net"
SLOT="0"
KEYWORDS="~mips"
IUSE=""
RESTRICT="mirror"

DEPEND=""
RDEPEND="net-dns/bind-tools"

S="${WORKDIR}/dnetc${MIN_PV}-ps2linux-mipsel"

src_install() {
exeinto /opt/distributed.net
doexe dnetc

doman dnetc.1
dodoc CHANGES.txt dnetc.txt readme.*

newinitd "${FILESDIR}"/dnetc.initd dnetc
newconfd "${FILESDIR}"/dnetc.confd dnetc
}

pkg_preinst() {
if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
einfo "flushing old buffers"
/opt/distributed.net/dnetc -quiet -flush
einfo "removing old buffer files"
rm -f /opt/distributed.net/buff*
fi
}

pkg_postinst() {
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
}

dnetc-2.9002.479.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9002.479.ebuild,v 1.11 2008/04/10 00:47:43 wolf31o2 Exp $

MAJ_PV=${PV:0:6}
MIN_PV=${PV:7:9}

DESCRIPTION="distributed.net client"
HOMEPAGE="http://www.distributed.net"
SRC_URI="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-hppa32.tar.gz"

LICENSE="distributed.net"
SLOT="0"
KEYWORDS="~hppa"
IUSE=""
RESTRICT="mirror"

DEPEND=""
RDEPEND="net-dns/bind-tools"

S="${WORKDIR}/dnetc${MIN_PV}-linux-hppa"

src_install() {
exeinto /opt/distributed.net
doexe dnetc

doman dnetc.1
dodoc CHANGES.txt dnetc.txt readme.*

newinitd "${FILESDIR}"/dnetc.initd dnetc
newconfd "${FILESDIR}"/dnetc.confd dnetc
}

pkg_preinst() {
if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
einfo "flushing old buffers"
/opt/distributed.net/dnetc -quiet -flush
einfo "removing old buffer files"
rm -f /opt/distributed.net/buff*
fi
}

pkg_postinst() {
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
}

dnetc-2.9003.481-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9003.481-r1.ebuild,v 1.13 2008/04/10 00:47:43 wolf31o2 Exp $

MAJ_PV=${PV:0:6}
MIN_PV=${PV:7:9}

DESCRIPTION="distributed.net client"
HOMEPAGE="http://www.distributed.net"
SRC_URI="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc.tar.gz )
arm? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-arm-elf.tar.gz )
x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf.tar.gz )
sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc.tar.gz )
alpha? ( ftp://ftp.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-alpha5-static.tar.gz )"

LICENSE="distributed.net"
SLOT="0"
KEYWORDS="alpha ppc sparc x86"
IUSE=""
RESTRICT="mirror"

DEPEND=""
RDEPEND="net-dns/bind-tools"

if use x86; then
S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf"
elif use ppc; then
S="${WORKDIR}/dnetc${MIN_PV}-linux-ppc"
elif use sparc; then
S="${WORKDIR}/dnetc${MIN_PV}-linux-sparc"
elif use arm; then
S="${WORKDIR}/dnetc${MIN_PV}-linux-arm-elf"
elif use alpha; then
S="${WORKDIR}/dnetc${MIN_PV}-linux-alpha5-static"
fi

src_install() {
exeinto /opt/distributed.net
doexe dnetc

doman dnetc.1
dodoc CHANGES.txt dnetc.txt readme.*

newinitd "${FILESDIR}"/dnetc.initd dnetc
newconfd "${FILESDIR}"/dnetc.confd dnetc
}

pkg_preinst() {
if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
einfo "flushing old buffers"
/opt/distributed.net/dnetc -quiet -flush
einfo "removing old buffer files"
rm -f /opt/distributed.net/buff*
fi
}

pkg_postinst() {
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
}

dnetc-2.9011.496-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9011.496-r1.ebuild,v 1.8 2008/04/10 00:47:43 wolf31o2 Exp $

inherit eutils

MAJ_PV=${PV:0:6}
MIN_PV=${PV:7:9}

DESCRIPTION="distributed.net client"
HOMEPAGE="http://www.distributed.net"
SRC_URI="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )
amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64-elf.tar.gz )"

LICENSE="distributed.net"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror"

DEPEND=""
RDEPEND="net-dns/bind-tools"

if use amd64; then
S="${WORKDIR}/dnetc${MIN_PV}-linux-amd64-elf"
elif use x86; then
S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc"
fi

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
}

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
}

dnetc-2.9011.498.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9011.498.ebuild,v 1.5 2008/04/10 00:47:43 wolf31o2 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="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz"

LICENSE="distributed.net"
SLOT="0"
KEYWORDS="~x86 -*"
IUSE=""
RESTRICT="mirror"

DEPEND=""
RDEPEND=""

S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc"

pkg_setup() {
enewgroup dnetc
enewuser dnetc -1 -1 /opt/distributed.net dnetc
}

src_install() {
newinitd "${FILESDIR}"/dnetc.initd dnetc
newconfd "${FILESDIR}"/dnetc.confd 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_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
}

pkg_postinst() {
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"
elog "Probably old init file and/or buffer files"
fi
}

dnetc-2.9013.498.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9013.498.ebuild,v 1.3 2008/04/10 00:47:43 wolf31o2 Exp $

inherit eutils versionator linux-info

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="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz"

LICENSE="distributed.net"
SLOT="0"
KEYWORDS="~x86 -*"
RESTRICT="mirror"

IUSE=""
DEPEND=""
RDEPEND=""

S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc"

pkg_setup() {
local CONFIG_CHECK="~SYSVIPC"
local WARNING_SYSVIPC="CONFIG_SYSVIPC:\tis not set (required for dnetc)"
check_extra_config
echo
}

pkg_preinst() {
enewgroup dnetc
enewuser dnetc -1 -1 /opt/distributed.net dnetc
if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
ebegin "Flushing old buffers"
source /etc/conf.d/dnetc

if [ -e /etc/init.d/dnetc ] ; then
/etc/init.d/dnetc flush
local flushed=${?}
fi

if [ ${flushed} -eq 0 ] ; then
true
elif [ -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.initd dnetc
newconfd "${FILESDIR}"/dnetc.confd 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.*

diropts ${ownopts/0555/0755}
dodir /var/spool/dnetc
}

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
}

dnetc-2.9015.504.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9015.504.ebuild,v 1.2 2008/06/02 06:25:51 opfer Exp $

inherit eutils versionator linux-info

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="http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz"

LICENSE="distributed.net"
SLOT="0"
KEYWORDS="-* x86"
RESTRICT="mirror"

IUSE=""
DEPEND=""
RDEPEND=""

S="${WORKDIR}/dnetc${MIN_PV}-linux-x86-elf-uclibc"

pkg_setup() {
local CONFIG_CHECK="~SYSVIPC"
local WARNING_SYSVIPC="CONFIG_SYSVIPC:\tis not set (required for dnetc)"
check_extra_config
echo
}

pkg_preinst() {
enewgroup dnetc
enewuser dnetc -1 -1 /opt/distributed.net dnetc
if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
ebegin "Flushing old buffers"
source /etc/conf.d/dnetc

if [ -e /etc/init.d/dnetc ] ; then
/etc/init.d/dnetc flush
local flushed=${?}
fi

if [ ${flushed} -eq 0 ] ; then
true
elif [ -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.initd dnetc
newconfd "${FILESDIR}"/dnetc.confd 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.*

diropts ${ownopts/0555/0755}
dodir /var/spool/dnetc
}

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
}

files

metadata.xml




no-herd

wolf31o2@gentoo.org
Chris Gianelloni


a distributed client for the distributed.net cracking challenges.