summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-03-19 22:17:16 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-03-19 22:17:16 +0000
commit7043889a841b5ad28bd6b8baf4c18a96e82de455 (patch)
treea6d56cd550f3a141385dc4015a6cb20d0bf5b1ba /net-p2p/ctorrent
parentStable on amd64 wrt bug 171418 (diff)
downloadgentoo-2-7043889a841b5ad28bd6b8baf4c18a96e82de455.tar.gz
gentoo-2-7043889a841b5ad28bd6b8baf4c18a96e82de455.tar.bz2
gentoo-2-7043889a841b5ad28bd6b8baf4c18a96e82de455.zip
old
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-p2p/ctorrent')
-rw-r--r--net-p2p/ctorrent/ChangeLog7
-rw-r--r--net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild37
-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
5 files changed, 6 insertions, 115 deletions
diff --git a/net-p2p/ctorrent/ChangeLog b/net-p2p/ctorrent/ChangeLog
index 675e08a9bf1b..d8f5eda8a941 100644
--- a/net-p2p/ctorrent/ChangeLog
+++ b/net-p2p/ctorrent/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/ctorrent
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ChangeLog,v 1.22 2007/03/19 22:05:15 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ChangeLog,v 1.23 2007/03/19 22:17:16 armin76 Exp $
+
+ 19 Mar 2007; Raúl Porcel <armin76@gentoo.org>
+ -files/ctorrent-1.3.4-dnh2-SHA.patch,
+ -files/ctorrent-1.3.4-dnh2-vfat.patch, -ctorrent-1.3.4-r3.ebuild:
+ old
19 Mar 2007; Peter Weller <welp@gentoo.org> ctorrent-2.2.ebuild:
Stable on amd64 wrt bug 170764
diff --git a/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild b/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild
deleted file mode 100644
index 94256ffa098d..000000000000
--- a/net-p2p/ctorrent/ctorrent-1.3.4-r3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2007 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.6 2007/01/09 17:33:34 armin76 Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-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 ~x86-fbsd"
-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
deleted file mode 100644
index 322b55597b03..000000000000
--- a/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-SHA.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- 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
deleted file mode 100644
index 102ae2462124..000000000000
--- a/net-p2p/ctorrent/files/ctorrent-1.3.4-dnh2-vfat.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- 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
deleted file mode 100644
index 91e89453caec..000000000000
--- a/net-p2p/ctorrent/files/digest-ctorrent-1.3.4-r3
+++ /dev/null
@@ -1,6 +0,0 @@
-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