pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/btget LibBT is a C reimplementation of the BitTorr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/534f9a8985ef
branches: trunk
changeset: 497848:534f9a8985ef
user: reinoud <reinoud%pkgsrc.org@localhost>
date: Fri Aug 05 22:00:49 2005 +0000
description:
LibBT is a C reimplementation of the BitTorrent core protocols. Our
goal for the project is to develop a low overhead library version of
the protocols so that BitTorrent transfers can easily be built in to
any existing application.
A suplied application called `btget' is a full fledged bittorrent
application based on this library.
diffstat:
net/btget/DESCR | 7 +++++++
net/btget/Makefile | 26 ++++++++++++++++++++++++++
net/btget/PLIST | 8 ++++++++
net/btget/distinfo | 7 +++++++
net/btget/patches/patch-aa | 16 ++++++++++++++++
net/btget/patches/patch-ab | 12 ++++++++++++
6 files changed, 76 insertions(+), 0 deletions(-)
diffs (100 lines):
diff -r d4788a728d0a -r 534f9a8985ef net/btget/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/btget/DESCR Fri Aug 05 22:00:49 2005 +0000
@@ -0,0 +1,7 @@
+LibBT is a C reimplementation of the BitTorrent core protocols. Our
+goal for the project is to develop a low overhead library version of
+the protocols so that BitTorrent transfers can easily be built in to
+any existing application.
+
+A suplied application called `btget' is a full fledged bittorrent
+application based on this library.
diff -r d4788a728d0a -r 534f9a8985ef net/btget/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/btget/Makefile Fri Aug 05 22:00:49 2005 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/05 22:00:49 reinoud Exp $
+#
+
+DISTNAME= libbt-1.04
+PKGNAME= ${DISTNAME:S/libbt/btget/}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libbt/}
+
+MAINTAINER= reinoud%NetBSD.org@localhost
+HOMEPAGE= http://libbt.sourceforge.net/
+COMMENT= Fast bittorrent client and library written in C
+
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/btget ${PREFIX}/bin/btget
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/btlist ${PREFIX}/bin/btlist
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/btcheck ${PREFIX}/bin/btcheck
+ ${INSTALL_MAN} ${WRKSRC}/man/btget.1 ${PREFIX}/man/man1/btget.1
+ ${INSTALL_MAN} ${WRKSRC}/man/btlist.1 ${PREFIX}/man/man1/btlist.1
+ ${INSTALL_MAN} ${WRKSRC}/man/btcheck.1 ${PREFIX}/man/man1/btcheck.1
+
+.include "../../www/curl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d4788a728d0a -r 534f9a8985ef net/btget/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/btget/PLIST Fri Aug 05 22:00:49 2005 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/05 22:00:49 reinoud Exp $
+bin/btcheck
+bin/btget
+bin/btlist
+man/man1/btcheck.1
+man/man1/btget.1
+man/man1/btlist.1
+@dirrm etc/cups/certs
diff -r d4788a728d0a -r 534f9a8985ef net/btget/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/btget/distinfo Fri Aug 05 22:00:49 2005 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/08/05 22:00:49 reinoud Exp $
+
+SHA1 (libbt-1.04.tar.gz) = ee65205f3e5575d86d5fec0b2958bb8855ec0fa5
+RMD160 (libbt-1.04.tar.gz) = a6b827fa1d5dc7a27ab78fefe2ac5009ef115f2a
+Size (libbt-1.04.tar.gz) = 309186 bytes
+SHA1 (patch-aa) = 3f045800da8d372d45fcf59fe2f1f9fb0a288a20
+SHA1 (patch-ab) = dc53a0a44dcc3475122d87280deb2ba946f79588
diff -r d4788a728d0a -r 534f9a8985ef net/btget/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/btget/patches/patch-aa Fri Aug 05 22:00:49 2005 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/08/05 22:00:49 reinoud Exp $
+
+--- include/util.h.orig 2004-04-16 08:41:48.000000000 +0200
++++ include/util.h
+@@ -28,9 +28,11 @@ int hexdecode (unsigned char *digest, in
+ typedef void (*exitfn_ptr) (int,void*);
+ int on_exit( exitfn_ptr exitfn, void* data) ;
+ #endif
++#if 0
+ #define malloc(s) use_btmalloc_instead
+ #define calloc(n,s) use_btcalloc_instead
+ #define realloc(p,s) use_btrealloc_instead
+ #define free(p) use_btfree_instead
++#endif
+
+ #endif
diff -r d4788a728d0a -r 534f9a8985ef net/btget/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/btget/patches/patch-ab Fri Aug 05 22:00:49 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/08/05 22:00:49 reinoud Exp $
+
+--- src/peer.c.orig 2005-04-27 06:47:47.000000000 +0200
++++ src/peer.c
+@@ -6,6 +6,7 @@
+ # include <arpa/inet.h>
+ # include <netdb.h>
+ # include <sys/socket.h>
++# include <limits.h>
+ # if HAVE_UNISTD_H
+ # include <unistd.h>
+ # endif
Home |
Main Index |
Thread Index |
Old Index