summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/libtorrent/ChangeLog9
-rw-r--r--net-libs/libtorrent/Manifest12
-rw-r--r--net-libs/libtorrent/files/digest-libtorrent-0.6.31
-rw-r--r--net-libs/libtorrent/files/libtorrent-0.6.3-fbsd.patch27
-rw-r--r--net-libs/libtorrent/libtorrent-0.6.3.ebuild41
5 files changed, 79 insertions, 11 deletions
diff --git a/net-libs/libtorrent/ChangeLog b/net-libs/libtorrent/ChangeLog
index eff86b3e4a96..e26ae37f35d8 100644
--- a/net-libs/libtorrent/ChangeLog
+++ b/net-libs/libtorrent/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/libtorrent
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.9 2005/05/29 22:26:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.10 2005/05/30 20:04:04 flameeyes Exp $
+
+*libtorrent-0.6.3 (30 May 2005)
+
+ 30 May 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/libtorrent-0.6.3-fbsd.patch, +libtorrent-0.6.3.ebuild:
+ Updated to latest upstream version. Removed -warns patch as it's applied
+ upstream, updated -fbsd patch to apply on this version. Close #94531.
29 May 2005; Diego Pettenò <flameeyes@gentoo.org>
+files/libtorrent-0.6.2-warns.patch, libtorrent-0.6.2.ebuild:
diff --git a/net-libs/libtorrent/Manifest b/net-libs/libtorrent/Manifest
index 773508869ce4..0b963351a1d4 100644
--- a/net-libs/libtorrent/Manifest
+++ b/net-libs/libtorrent/Manifest
@@ -1,22 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 c2db0fb67cfd7f12000899ff4a06514f ChangeLog 1919
MD5 2ea9378fd91b526ac1e4c80014fc0d4e libtorrent-0.3.5.ebuild 981
MD5 dec802261d55c538f2facb00e499b14f libtorrent-0.3.7.ebuild 981
MD5 1b8dfc70fa729659931a20c79dec23e5 libtorrent-0.4.1.ebuild 981
MD5 0d924f9962a83ecc942d934b06c8c526 libtorrent-0.6.2.ebuild 959
MD5 b59f615ff4e1c464f88d1667a66f6b5d metadata.xml 224
+MD5 0d924f9962a83ecc942d934b06c8c526 libtorrent-0.6.3.ebuild 959
MD5 9624018f42b92526ba13e1bb6eba02b4 files/digest-libtorrent-0.3.5 68
MD5 d92db0dead5f5ee4d2bc579695950695 files/digest-libtorrent-0.3.7 68
MD5 60450079b16686733eeaf7b85e320de3 files/digest-libtorrent-0.4.1 68
MD5 fed0b1d9f0637d8bec0610b06bc48f09 files/digest-libtorrent-0.6.2 68
MD5 335ec65aa07b3ccf5efa7a7bc06ff4a5 files/libtorrent-0.6.2-fbsd.patch 1305
MD5 fa7178b92b0fe229d3b56215dff10599 files/libtorrent-0.6.2-warns.patch 1166
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCmkChj5H05b2HAEkRAiSrAKCIznMvW52l6pWH5Cl15EkUfqo3sgCfazJ1
-Km/fegl3GBgwXeBCkdKD9sA=
-=MzMk
------END PGP SIGNATURE-----
+MD5 f6cd2647a394412df2ddd6d20d1ec93a files/digest-libtorrent-0.6.3 68
diff --git a/net-libs/libtorrent/files/digest-libtorrent-0.6.3 b/net-libs/libtorrent/files/digest-libtorrent-0.6.3
new file mode 100644
index 000000000000..423dbaf8c22d
--- /dev/null
+++ b/net-libs/libtorrent/files/digest-libtorrent-0.6.3
@@ -0,0 +1 @@
+MD5 da05c6e180349684c74d454bc064827a libtorrent-0.6.3.tar.gz 311256
diff --git a/net-libs/libtorrent/files/libtorrent-0.6.3-fbsd.patch b/net-libs/libtorrent/files/libtorrent-0.6.3-fbsd.patch
new file mode 100644
index 000000000000..f4858f604984
--- /dev/null
+++ b/net-libs/libtorrent/files/libtorrent-0.6.3-fbsd.patch
@@ -0,0 +1,27 @@
+diff -ur libtorrent-0.6.3/configure.ac libtorrent-0.6.3-fbsd/configure.ac
+--- libtorrent-0.6.3/configure.ac 2005-05-30 21:20:48.000000000 +0200
++++ libtorrent-0.6.3-fbsd/configure.ac 2005-05-30 21:34:13.650583392 +0200
+@@ -54,6 +54,8 @@
+
+ AC_DEFINE(HAVE_CONFIG_H, 1, true if config.h was included)
+
++AC_CHECK_HEADERS([malloc.h])
++
+ AC_OUTPUT([
+ libtorrent.pc
+ Makefile
+Only in libtorrent-0.6.3-fbsd/: configure.ac.orig
+diff -ur libtorrent-0.6.3/src/utils/sha_fast.cc libtorrent-0.6.3-fbsd/src/utils/sha_fast.cc
+--- libtorrent-0.6.3/src/utils/sha_fast.cc 2005-05-30 21:19:53.000000000 +0200
++++ libtorrent-0.6.3-fbsd/src/utils/sha_fast.cc 2005-05-30 21:34:16.219192904 +0200
+@@ -35,7 +35,10 @@
+
+ #include "config.h"
+
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
++
+ #include <memory.h>
+ #include "sha_fast.h"
+
diff --git a/net-libs/libtorrent/libtorrent-0.6.3.ebuild b/net-libs/libtorrent/libtorrent-0.6.3.ebuild
new file mode 100644
index 000000000000..e35c20764758
--- /dev/null
+++ b/net-libs/libtorrent/libtorrent-0.6.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.6.3.ebuild,v 1.1 2005/05/30 20:04:04 flameeyes Exp $
+
+inherit eutils
+
+DESCRIPTION="LibTorrent is a BitTorrent library written in C++ for *nix."
+HOMEPAGE="http://libtorrent.rakshasa.no/"
+SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+IUSE="debug"
+
+RDEPEND=">=dev-libs/libsigc++-2"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-fbsd.patch
+
+ ./autogen.sh
+}
+
+src_compile() {
+ econf \
+ $(use_enable debug) \
+ --disable-dependency-tracking \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}