summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-12-17 20:04:43 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-12-17 20:04:43 +0000
commit7587be045c0589d2f0defb39395a0591f1fb6486 (patch)
treeeaa3b3b9857ceddcf01ed4a54ae861e3f5e19704 /net-p2p/ctorrent
parentx86 stable and remove old (diff)
downloadhistorical-7587be045c0589d2f0defb39395a0591f1fb6486.tar.gz
historical-7587be045c0589d2f0defb39395a0591f1fb6486.tar.bz2
historical-7587be045c0589d2f0defb39395a0591f1fb6486.zip
Add patch from bug #202041, thanks to gionnico <gionnico at email dot it>
Package-Manager: portage-2.1.4_rc10 RepoMan-Options: --force
Diffstat (limited to 'net-p2p/ctorrent')
-rw-r--r--net-p2p/ctorrent/ChangeLog9
-rw-r--r--net-p2p/ctorrent/Manifest26
-rw-r--r--net-p2p/ctorrent/ctorrent-3.2-r1.ebuild (renamed from net-p2p/ctorrent/ctorrent-3.2.ebuild)14
-rw-r--r--net-p2p/ctorrent/files/3.2-setvbuf-removal.patch10
-rw-r--r--net-p2p/ctorrent/files/digest-ctorrent-3.2-r1 (renamed from net-p2p/ctorrent/files/digest-ctorrent-3.2)0
5 files changed, 44 insertions, 15 deletions
diff --git a/net-p2p/ctorrent/ChangeLog b/net-p2p/ctorrent/ChangeLog
index b2b6b42e97a9..7ae68e332322 100644
--- a/net-p2p/ctorrent/ChangeLog
+++ b/net-p2p/ctorrent/ChangeLog
@@ -1,6 +1,13 @@
# 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.34 2007/09/01 11:43:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ChangeLog,v 1.35 2007/12/17 20:04:43 armin76 Exp $
+
+*ctorrent-3.2-r1 (17 Dec 2007)
+
+ 17 Dec 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/3.2-setvbuf-removal.patch, -ctorrent-3.2.ebuild,
+ +ctorrent-3.2-r1.ebuild:
+ Add patch from bug #202041, thanks to gionnico <gionnico at email dot it>
01 Sep 2007; Raúl Porcel <armin76@gentoo.org> -ctorrent-2.2.ebuild,
-ctorrent-3.1.ebuild:
diff --git a/net-p2p/ctorrent/Manifest b/net-p2p/ctorrent/Manifest
index 11c17ed5c4ff..861f06abf58d 100644
--- a/net-p2p/ctorrent/Manifest
+++ b/net-p2p/ctorrent/Manifest
@@ -1,20 +1,24 @@
+AUX 3.2-setvbuf-removal.patch 359 RMD160 df32ab458ca7786dbdd1394551597809c2819cfc SHA1 f803321457907c502ff45a8e1fd17be270e80d3c SHA256 2c53c7f085a1289527af3872a99e806a65fabbc2e036c07fdb17ce09685dfea2
+MD5 15ed3ad4a8574c57d493a257629d2c3e files/3.2-setvbuf-removal.patch 359
+RMD160 df32ab458ca7786dbdd1394551597809c2819cfc files/3.2-setvbuf-removal.patch 359
+SHA256 2c53c7f085a1289527af3872a99e806a65fabbc2e036c07fdb17ce09685dfea2 files/3.2-setvbuf-removal.patch 359
AUX as-needed.patch 916 RMD160 75e4e41a6ea9358ffe773dcaae8dd70fbd7833e2 SHA1 23c6fdea278a6596e012e2b68002d4151f02a076 SHA256 1bf9f954ecf2870caa86c45829ebe593ea65f5f69a7bd07d9c968c9a5f92635e
MD5 e9d13448cc2da2f973f0dffbf9728d2d files/as-needed.patch 916
RMD160 75e4e41a6ea9358ffe773dcaae8dd70fbd7833e2 files/as-needed.patch 916
SHA256 1bf9f954ecf2870caa86c45829ebe593ea65f5f69a7bd07d9c968c9a5f92635e files/as-needed.patch 916
DIST ctorrent-dnh3.2.tar.gz 202886 RMD160 16ae7d2998fe4ceeb72a43f71a41b698b8dd5252 SHA1 2d24cfb018794292b185efbbd7fde67b61bc8ce4 SHA256 a08c79ab3ace84de21385056572a8ea4019bb56d2977cae3fda18821fe2f1216
-EBUILD ctorrent-3.2.ebuild 714 RMD160 b3af679ed90dd8a4711626443c7fa4c9971740c4 SHA1 83a47e6bc07ccd954d32d8056136d5a6a451dd35 SHA256 baa9c337769f1201d393dae23ce2629445ad1403e59b1778679c367515f3141f
-MD5 76dc9db4f255fd99dbe95930dc01c9d0 ctorrent-3.2.ebuild 714
-RMD160 b3af679ed90dd8a4711626443c7fa4c9971740c4 ctorrent-3.2.ebuild 714
-SHA256 baa9c337769f1201d393dae23ce2629445ad1403e59b1778679c367515f3141f ctorrent-3.2.ebuild 714
-MISC ChangeLog 4601 RMD160 ab0154a0c5e780e3780ee2d833a62311938bd784 SHA1 0edb2d311bad68f822052247093e9bc09831a652 SHA256 8308e55d1f8a911cd1e3dbbe61c0cf4f447223bbddb73fd95955821e5adf40b9
-MD5 078ab0d7d8756d5505367b905712bf47 ChangeLog 4601
-RMD160 ab0154a0c5e780e3780ee2d833a62311938bd784 ChangeLog 4601
-SHA256 8308e55d1f8a911cd1e3dbbe61c0cf4f447223bbddb73fd95955821e5adf40b9 ChangeLog 4601
+EBUILD ctorrent-3.2-r1.ebuild 809 RMD160 14009fd8f1b382c2c89b6bbd45d1c2af19706cfd SHA1 aceb5b39e8cd777f94cbcce6bb73db0929af2486 SHA256 80b09a2799469103ca03a936c30229755cebdde8f07b7b2c5f576c3b5fadfe5e
+MD5 137da12dc19443c4973e5793b35928ee ctorrent-3.2-r1.ebuild 809
+RMD160 14009fd8f1b382c2c89b6bbd45d1c2af19706cfd ctorrent-3.2-r1.ebuild 809
+SHA256 80b09a2799469103ca03a936c30229755cebdde8f07b7b2c5f576c3b5fadfe5e ctorrent-3.2-r1.ebuild 809
+MISC ChangeLog 4844 RMD160 c0dc4361710e1d65dc308cd204bae89e6da3f084 SHA1 0a1f1094f3917cedb2d1fb09bbca3afd598d7cb4 SHA256 26f6895eccc804256254cfc046507f2dcd344c0f8fc95e4766e904d8dc89847e
+MD5 a90e63661d94bae9c5095da8169532ec ChangeLog 4844
+RMD160 c0dc4361710e1d65dc308cd204bae89e6da3f084 ChangeLog 4844
+SHA256 26f6895eccc804256254cfc046507f2dcd344c0f8fc95e4766e904d8dc89847e ChangeLog 4844
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
-MD5 d18d8764aec18de3ce531646f10d0979 files/digest-ctorrent-3.2 247
-RMD160 27ccfa68ed55047febf89ecbf3a0c6680c7e33c4 files/digest-ctorrent-3.2 247
-SHA256 a03f3f11bf3e05373f4404b41ea70a81c7a89a691e82964ef074b26b6608c9b5 files/digest-ctorrent-3.2 247
+MD5 d18d8764aec18de3ce531646f10d0979 files/digest-ctorrent-3.2-r1 247
+RMD160 27ccfa68ed55047febf89ecbf3a0c6680c7e33c4 files/digest-ctorrent-3.2-r1 247
+SHA256 a03f3f11bf3e05373f4404b41ea70a81c7a89a691e82964ef074b26b6608c9b5 files/digest-ctorrent-3.2-r1 247
diff --git a/net-p2p/ctorrent/ctorrent-3.2.ebuild b/net-p2p/ctorrent/ctorrent-3.2-r1.ebuild
index b09e6bd4a84f..21fd0c1b7224 100644
--- a/net-p2p/ctorrent/ctorrent-3.2.ebuild
+++ b/net-p2p/ctorrent/ctorrent-3.2-r1.ebuild
@@ -1,6 +1,8 @@
# 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-3.2.ebuild,v 1.4 2007/09/01 11:39:36 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/ctorrent/ctorrent-3.2-r1.ebuild,v 1.1 2007/12/17 20:04:43 armin76 Exp $
+
+inherit eutils
MY_P="${PN}-dnh${PV}"
@@ -15,8 +17,14 @@ IUSE=""
S="${WORKDIR}/${MY_P}"
-DEPEND=">=sys-apps/sed-4
- dev-libs/openssl"
+DEPEND="dev-libs/openssl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-setvbuf-removal.patch
+}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
diff --git a/net-p2p/ctorrent/files/3.2-setvbuf-removal.patch b/net-p2p/ctorrent/files/3.2-setvbuf-removal.patch
new file mode 100644
index 000000000000..72969af1bddb
--- /dev/null
+++ b/net-p2p/ctorrent/files/3.2-setvbuf-removal.patch
@@ -0,0 +1,10 @@
+--- btfiles.cpp.orig 2007-12-12 15:01:51.000000000 +0000
++++ btfiles.cpp 2007-12-12 15:02:59.000000000 +0000
+@@ -126,7 +126,6 @@
+ return -1; // caller prints error
+ }else return -1; // caller prints error
+ }
+- setvbuf(pbf->bf_fp, m_buffer, _IOFBF, DEFAULT_SLICE_SIZE);
+
+ pbf->bf_flag_opened = 1;
+ pbf->bf_flag_readonly = iotype ? 0 : 1;
diff --git a/net-p2p/ctorrent/files/digest-ctorrent-3.2 b/net-p2p/ctorrent/files/digest-ctorrent-3.2-r1
index d959ebe8342d..d959ebe8342d 100644
--- a/net-p2p/ctorrent/files/digest-ctorrent-3.2
+++ b/net-p2p/ctorrent/files/digest-ctorrent-3.2-r1