summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2006-05-01 14:46:21 +0000
committerJon Hood <squinky86@gentoo.org>2006-05-01 14:46:21 +0000
commitc931a662cd8256008794b04b5fb175f324e09561 (patch)
tree91fa9ee7de36e42bfd6212ab2eca056ea5603d25 /net-p2p
parentRemove KDat, since it is rather broken and unmaintained. Install lilo-config ... (diff)
downloadhistorical-c931a662cd8256008794b04b5fb175f324e09561.tar.gz
historical-c931a662cd8256008794b04b5fb175f324e09561.tar.bz2
historical-c931a662cd8256008794b04b5fb175f324e09561.zip
version bump, bug #131903
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ctorrent/ChangeLog12
-rw-r--r--net-p2p/ctorrent/Manifest26
-rw-r--r--net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild35
-rw-r--r--net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-SHA.patch55
-rw-r--r--net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-vfat.patch16
-rw-r--r--net-p2p/ctorrent/files/digest-ctorrent-1.3.4-r36
6 files changed, 147 insertions, 3 deletions
diff --git a/net-p2p/ctorrent/ChangeLog b/net-p2p/ctorrent/ChangeLog
index 18feec4b6a42..42c31eca2ffb 100644
--- a/net-p2p/ctorrent/ChangeLog
+++ b/net-p2p/ctorrent/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-p2p/ctorrent
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ChangeLog,v 1.8 2005/10/30 04:14:13 weeve Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ChangeLog,v 1.9 2006/05/01 14:46:21 squinky86 Exp $
+
+*ctorrent-1.3.4-r3 (01 May 2006)
+
+ 01 May 2006; Jon Hood <squinky86@gentoo.org>
+ +files/ctorrent-1.3.4-dnh2-SHA.patch,
+ +files/ctorrent-1.3.4-dnh2-vfat.patch, +ctorrent-1.3.4-r3.ebuild:
+ Version bump, #131903. Thanks to TGL <degrenier@easyconnect.fr> for the
+ updates.
30 Oct 2005; Jason Wever <weeve@gentoo.org> ctorrent-1.3.4-r2.ebuild:
Added ~sparc keyword.
diff --git a/net-p2p/ctorrent/Manifest b/net-p2p/ctorrent/Manifest
index 77d4176a149c..2a47d75241f0 100644
--- a/net-p2p/ctorrent/Manifest
+++ b/net-p2p/ctorrent/Manifest
@@ -1,6 +1,30 @@
-MD5 003e8ad1a7dbf631ddf86e8cb3a51aca ChangeLog 1291
+MD5 fe04d2178bc9a16fc49e01b5e2e678d9 ChangeLog 1570
+RMD160 2a3f658991cdb307b5353c28fb246168763de536 ChangeLog 1570
+SHA256 d8f9397db1bdaf679266e5a54c1d1b3839c2fcfb85aa4d7e964df31ffa67f963 ChangeLog 1570
MD5 b3fd047ea183b0d2156386d848389886 ctorrent-1.3.4-r1.ebuild 561
+RMD160 9759c77b271078985d1fc0220d1682d70dfa17dc ctorrent-1.3.4-r1.ebuild 561
+SHA256 e8ed36fdcb366f2edfc614f25943e1ebdbd0b2b6d6051f0ebe4626797217b8f8 ctorrent-1.3.4-r1.ebuild 561
MD5 14403ae5dcbb00a9c589075603557dac ctorrent-1.3.4-r2.ebuild 733
+RMD160 57fc98910b5703d2ab02352ea3fae3fe4ed90fe6 ctorrent-1.3.4-r2.ebuild 733
+SHA256 8707a274798a6b715c60bb1f43b054b329c6c1d30d8483042396360335d39de9 ctorrent-1.3.4-r2.ebuild 733
+MD5 416136f9c4685160d44492d0d8aaed90 ctorrent-1.3.4-r3.ebuild 865
+RMD160 c9cdf3b297fafd17c60cc447785fe552e1370fdf ctorrent-1.3.4-r3.ebuild 865
+SHA256 dda2e5ab77232e23376a647a36293197b5a894ab52cd8fe205fe5579d812a7af ctorrent-1.3.4-r3.ebuild 865
+MD5 85504636c784937c49cdfde00c64711a files/ctorrent-1.3.4-dnh2-SHA.patch 2019
+RMD160 6bcf4669767c6c21e187de89a2495eea05e62044 files/ctorrent-1.3.4-dnh2-SHA.patch 2019
+SHA256 d3b691656ea2c3e3646ecf88d352f63fd322762274394757c91fa9e69874ab2a files/ctorrent-1.3.4-dnh2-SHA.patch 2019
+MD5 b4bff5598dbf7a8e59b1fc9e16e3a44b files/ctorrent-1.3.4-dnh2-vfat.patch 440
+RMD160 043454e33d9f889bb6037924a42893c01d2b9c0e files/ctorrent-1.3.4-dnh2-vfat.patch 440
+SHA256 c9ff4b54424f25592d6a4f0a1aa57d9f39b649b5457366d7112e94fd3857cb55 files/ctorrent-1.3.4-dnh2-vfat.patch 440
MD5 6586ffb5b6accaa9fab65ab8b83a5e67 files/digest-ctorrent-1.3.4-r1 66
+RMD160 d82a6b0636f6b54d8b9c50a1f2337099a6b3f866 files/digest-ctorrent-1.3.4-r1 66
+SHA256 19df115f5c733225dc55c2242a38f207c90ea0276e5c2e93ee7aab1582141009 files/digest-ctorrent-1.3.4-r1 66
MD5 00596f2b58c085e135af4ccdb182dcf2 files/digest-ctorrent-1.3.4-r2 143
+RMD160 5e4c74680daf2d57d780d9af937477dd62992ec7 files/digest-ctorrent-1.3.4-r2 143
+SHA256 bda54bb5f695b724a1127e2f68c4bdd5363fb32682f20066cc3605fcccf05a75 files/digest-ctorrent-1.3.4-r2 143
+MD5 d3205b8095489ab0b54fe9eaaaf0bc29 files/digest-ctorrent-1.3.4-r3 524
+RMD160 f7dbcab448a8eed92d35d81df62285cdd256f93d files/digest-ctorrent-1.3.4-r3 524
+SHA256 2f20f34eee0bed29d1d1fff9496f3072473cfbef26c8a355434ddd44180ab62b files/digest-ctorrent-1.3.4-r3 524
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
+SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
diff --git a/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild b/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild
new file mode 100644
index 000000000000..565b46e3c343
--- /dev/null
+++ b/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild,v 1.1 2006/05/01 14:46:21 squinky86 Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="CTorrent is a BitTorrent console client written in C and C++."
+HOMEPAGE="http://ctorrent.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ http://www.rahul.net/dholmes/ctorrent/patchset-${P}-dnh2.diff"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4
+ dev-libs/openssl"
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+
+ epatch ${DISTDIR}/patchset-${P}-dnh2.diff
+ epatch ${FILESDIR}/${P}-dnh2-SHA.patch
+ epatch ${FILESDIR}/${P}-dnh2-vfat.patch
+
+ eautoreconf
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc README-DNH.TXT README NEWS
+}
diff --git a/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-SHA.patch b/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-SHA.patch
new file mode 100644
index 000000000000..322b55597b03
--- /dev/null
+++ b/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-SHA.patch
@@ -0,0 +1,55 @@
+--- configure.ac.orig 2006-05-01 15:07:04.000000000 +0200
++++ configure.ac 2006-05-01 15:13:28.000000000 +0200
+@@ -10,16 +10,19 @@
+ AC_PROG_CC
+
+ # Checks for libraries.
+-AC_CHECK_LIB([ssl],[SHA1_Init],,
+- [AC_CHECK_LIB([crypt],[SHA1_Init],,
++AC_CHECK_HEADERS([openssl/sha.h],
+ [AC_CHECK_LIB([crypto],[SHA1_Init],,
+- [AC_CHECK_LIB([md],[SHA1_Init],,
+- [AC_DEFINE([USE_STANDALONE_SHA1],,[Define to 1 to use the Steve Reid's public-domain SHA-1 code.])])])])])
++ AC_CHECK_LIB([ssl],[SHA1_Init]))],
++ [AC_CHECK_HEADERS([sha.h],
++ [AC_CHECK_LIB([crypt],[SHA1_Init],,
++ [AC_CHECK_LIB([crypto],[SHA1_Init],,
++ [AC_CHECK_LIB([md],[SHA1_Init])])])],
++ [AC_DEFINE([USE_STANDALONE_SHA1],,[Define to 1 to use the Steve Reid's public-domain SHA-1 code.])])])
+
+ # Checks for header files.
+ AC_HEADER_DIRENT
+ AC_HEADER_STDC
+-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h ssl/sha.h])
++AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h])
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+--- btcontent.cpp.orig 2006-05-01 15:14:18.000000000 +0200
++++ btcontent.cpp 2006-05-01 15:15:19.000000000 +0200
+@@ -9,9 +9,9 @@
+ #else
+ #include <unistd.h>
+ #include <sys/param.h>
+-#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD) || defined(HAVE_LIBCRYPTO)
++#if defined(HAVE_SHA_H)
+ #include <sha.h>
+-#elif defined(HAVE_LIBSSL)
++#elif defined(HAVE_OPENSSL_SHA_H)
+ #include <openssl/sha.h>
+ #endif
+ #endif
+--- btfiles.cpp.orig 2006-05-01 15:15:47.000000000 +0200
++++ btfiles.cpp 2006-05-01 15:16:18.000000000 +0200
+@@ -8,9 +8,9 @@
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <sys/param.h>
+-#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD) || defined(HAVE_LIBCRYPTO)
++#if defined(HAVE_SHA_H)
+ #include <sha.h>
+-#elif defined(HAVE_LIBSSL)
++#elif defined(HAVE_OPENSSL_SHA_H)
+ #include <openssl/sha.h>
+ #endif
+ #endif
diff --git a/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-vfat.patch b/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-vfat.patch
new file mode 100644
index 000000000000..102ae2462124
--- /dev/null
+++ b/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-vfat.patch
@@ -0,0 +1,16 @@
+--- btfiles.cpp.orig Sun Jan 1 18:41:21 2006
++++ btfiles.cpp Sun Mar 19 19:54:53 2006
+@@ -170,11 +170,13 @@
+ return write(fd, &c, 1);
+ #else
+ // ftruncate() not allowed on [v]fat under linux
+- if( ftruncate(fd,length) < 0 ) {
++ int retval = ftruncate(fd,length);
++ if( retval < 0 ) {
+ char c = (char)0;
+ if(lseek(fd,length - 1, SEEK_SET) < 0 ) return -1;
+ return write(fd, &c, 1);
+ }
++ else return retval;
+ #endif
+ }
diff --git a/net-p2p/ctorrent/files/digest-ctorrent-1.3.4-r3 b/net-p2p/ctorrent/files/digest-ctorrent-1.3.4-r3
new file mode 100644
index 000000000000..91e89453caec
--- /dev/null
+++ b/net-p2p/ctorrent/files/digest-ctorrent-1.3.4-r3
@@ -0,0 +1,6 @@
+MD5 823010ec78215d476537c9eba9381cdd ctorrent-1.3.4.tar.bz2 87333
+RMD160 0cf6a89e8e29a1c3fad087e1c666941c6ecd73b9 ctorrent-1.3.4.tar.bz2 87333
+SHA256 7e2ef5d0656ac23cecd03374d9b00291a55b274c972adfe94d6f41ae3ba60c73 ctorrent-1.3.4.tar.bz2 87333
+MD5 587a062bc863c47f4ab8b816ed035e9f patchset-ctorrent-1.3.4-dnh2.diff 394735
+RMD160 3eda43626e9583e8aabadec58df973b879ea9283 patchset-ctorrent-1.3.4-dnh2.diff 394735
+SHA256 e54966def9c541bef97a08eb303e82c91af919536c06108c8582632e451da318 patchset-ctorrent-1.3.4-dnh2.diff 394735