diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-08-18 18:11:16 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-08-18 18:11:16 +0000 |
commit | 70baed7b845ad8d6e4d24cfb44fcd814058f8c6c (patch) | |
tree | 8a75d4f3ef313bb18adb4a3b6942645c3457b3c4 /net-libs/libtorrent | |
parent | Change the arts use dep a little bit (diff) | |
download | historical-70baed7b845ad8d6e4d24cfb44fcd814058f8c6c.tar.gz historical-70baed7b845ad8d6e4d24cfb44fcd814058f8c6c.tar.bz2 historical-70baed7b845ad8d6e4d24cfb44fcd814058f8c6c.zip |
Initial import, closes #60674.
Diffstat (limited to 'net-libs/libtorrent')
-rw-r--r-- | net-libs/libtorrent/ChangeLog | 12 | ||||
-rw-r--r-- | net-libs/libtorrent/Manifest | 16 | ||||
-rw-r--r-- | net-libs/libtorrent/files/0.3.2-rtorrent.patch | 7 | ||||
-rw-r--r-- | net-libs/libtorrent/files/digest-libtorrent-0.3.2 | 1 | ||||
-rw-r--r-- | net-libs/libtorrent/files/libtorrent-0.3.1-client.patch | 15 | ||||
-rw-r--r-- | net-libs/libtorrent/libtorrent-0.3.2.ebuild | 42 | ||||
-rw-r--r-- | net-libs/libtorrent/metadata.xml | 8 |
7 files changed, 101 insertions, 0 deletions
diff --git a/net-libs/libtorrent/ChangeLog b/net-libs/libtorrent/ChangeLog new file mode 100644 index 000000000000..117bea253b33 --- /dev/null +++ b/net-libs/libtorrent/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-libs/libtorrent +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.1 2004/08/18 18:11:16 squinky86 Exp $ + +*libtorrent-0.3.2 (18 Aug 2004) + + 18 Aug 2004; Jon Hood <squinky86@gentoo.org> +metadata.xml, + +files/0.3.2-rtorrent.patch, +files/libtorrent-0.3.1-client.patch, + +libtorrent-0.3.2.ebuild: + Initial import, thanks to José Romildo Malaquias <romildo@uber.com.br> for the + initial ebuild and Rakshasa <jaris@ifi.uio.no> for the updates, #60674. + diff --git a/net-libs/libtorrent/Manifest b/net-libs/libtorrent/Manifest new file mode 100644 index 000000000000..5328a8b4ddb7 --- /dev/null +++ b/net-libs/libtorrent/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 edadd4149c1f4993b70661b834755749 libtorrent-0.3.2.ebuild 932 +MD5 a43db37ad2757e9dc98b972d487d22d2 ChangeLog 562 +MD5 8abcb326775f027b2e13f23344036e34 metadata.xml 224 +MD5 172fe995c5681517637542f5b2a2bf24 files/digest-libtorrent-0.3.2 68 +MD5 459b4193764b0275cdf318933f56240e files/libtorrent-0.3.1-client.patch 664 +MD5 52ac1797d19c6c7245d735651bf93c6b files/0.3.2-rtorrent.patch 249 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.5 (GNU/Linux) + +iD8DBQFBI5wEcAgAdbxYsnERAoeQAJ4xcrdCQEqeHebeLyaLD8CFfkB1DQCggCFc +SLyLe4JzTj9NMz8q+YxpN7Q= +=9NKB +-----END PGP SIGNATURE----- diff --git a/net-libs/libtorrent/files/0.3.2-rtorrent.patch b/net-libs/libtorrent/files/0.3.2-rtorrent.patch new file mode 100644 index 000000000000..5b8f485c2043 --- /dev/null +++ b/net-libs/libtorrent/files/0.3.2-rtorrent.patch @@ -0,0 +1,7 @@ +--- libtorrent-0.3.2/client/rtorrent.cc 2004-08-18 13:00:42.692968144 -0500 ++++ libtorrent-0.3.2/client/rtorrent.cc 2004-08-18 13:00:48.763045352 -0500 +@@ -1,3 +1,4 @@ ++#include <cerrno> + #include <iostream> + #include <fstream> + #include <signal.h> diff --git a/net-libs/libtorrent/files/digest-libtorrent-0.3.2 b/net-libs/libtorrent/files/digest-libtorrent-0.3.2 new file mode 100644 index 000000000000..d80bf6debcfc --- /dev/null +++ b/net-libs/libtorrent/files/digest-libtorrent-0.3.2 @@ -0,0 +1 @@ +MD5 0019b862d4d196bebe565b8db6f41ee9 libtorrent-0.3.2.tar.gz 355731 diff --git a/net-libs/libtorrent/files/libtorrent-0.3.1-client.patch b/net-libs/libtorrent/files/libtorrent-0.3.1-client.patch new file mode 100644 index 000000000000..cf5990fae3a4 --- /dev/null +++ b/net-libs/libtorrent/files/libtorrent-0.3.1-client.patch @@ -0,0 +1,15 @@ +diff -ur libtorrent-0.3.1.orig/client/Makefile libtorrent-0.3.1/client/Makefile +--- libtorrent-0.3.1.orig/client/Makefile 2004-08-11 03:47:07.000000000 -0300 ++++ libtorrent-0.3.1/client/Makefile 2004-08-17 09:28:03.060190224 -0300 +@@ -1,8 +1,8 @@ + OBJECTS = http.o display.o download.o rtorrent.o + +-LIBS = -ltorrent -lncurses -lcrypto `pkg-config --libs sigc++-2.0 libtorrent` ++LIBS = -ltorrent -lncurses -lcrypto `pkg-config --libs sigc++-2.0` + +-CFLAGS = -Wall -O3 -g `pkg-config --cflags sigc++-2.0 libtorrent` ++CFLAGS = -Wall -O3 -g `pkg-config --cflags sigc++-2.0` -I .. -L ../torrent/.libs + + all: $(OBJECTS) + g++ $(CFLAGS) -o rtorrent $(OBJECTS) $(LIBS) + diff --git a/net-libs/libtorrent/libtorrent-0.3.2.ebuild b/net-libs/libtorrent/libtorrent-0.3.2.ebuild new file mode 100644 index 000000000000..5fe37eeeb38f --- /dev/null +++ b/net-libs/libtorrent/libtorrent-0.3.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +inherit eutils + +DESCRIPTION="LibTorrent is a BitTorrent library written in C++ for *nix." +HOMEPAGE="http://libtorrent.rakshasa.no/" +SRC_URI="http://libtorrent.rakshasa.no/${P}.tar.gz" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +IUSE="ncurses" + +RDEPEND="dev-libs/openssl + net-misc/curl + >=dev-libs/libsigc++-2 + ncurses? ( >=sys-libs/ncurses-5.4 )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.11" + +src_unpack() { + unpack ${A} + cd ${S} + use ncurses && cp client/Makefile2 client/Makefile + use ncurses && epatch ${FILESDIR}/0.3.2-rtorrent.patch +} + +src_compile() { + econf || die + emake || die + use ncurses && emake -C client || die +} + +src_install() { + einstall || die + use ncurses && dobin client/rtorrent + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO + use ncurses && newdoc client/README README.rtorrent +} diff --git a/net-libs/libtorrent/metadata.xml b/net-libs/libtorrent/metadata.xml new file mode 100644 index 000000000000..a6f4b1dc32c6 --- /dev/null +++ b/net-libs/libtorrent/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-p2p</herd> +<maintainer> + <email>squinky86@gentoo.org</email> +</maintainer> +</pkgmetadata> |