pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/ctorrent Initial import of ctorrent.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6e4277c626a5
branches: trunk
changeset: 477030:6e4277c626a5
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jun 25 17:20:47 2004 +0000
description:
Initial import of ctorrent.
CTorrent is a BitTorrent client written in the C programming language.
It currently runs on most Linux variants, MacOS and FreeBSD, but
hopefully on Windows as well! CTorrent is built as a console program,
which means that it doesn't require any graphical components (such as an
X server) on the machine you are running it on, you can even run it
remotely through a terminal if you wish.
diffstat:
net/ctorrent/DESCR | 6 ++++++
net/ctorrent/Makefile | 16 ++++++++++++++++
net/ctorrent/PLIST | 2 ++
net/ctorrent/distinfo | 6 ++++++
net/ctorrent/patches/patch-aa | 30 ++++++++++++++++++++++++++++++
net/ctorrent/patches/patch-ab | 20 ++++++++++++++++++++
6 files changed, 80 insertions(+), 0 deletions(-)
diffs (104 lines):
diff -r c2fe27c201c9 -r 6e4277c626a5 net/ctorrent/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ctorrent/DESCR Fri Jun 25 17:20:47 2004 +0000
@@ -0,0 +1,6 @@
+CTorrent is a BitTorrent client written in the C programming language.
+It currently runs on most Linux variants, MacOS and FreeBSD, but
+hopefully on Windows as well! CTorrent is built as a console program,
+which means that it doesn't require any graphical components (such as an
+X server) on the machine you are running it on, you can even run it
+remotely through a terminal if you wish.
diff -r c2fe27c201c9 -r 6e4277c626a5 net/ctorrent/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ctorrent/Makefile Fri Jun 25 17:20:47 2004 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/25 17:20:47 wiz Exp $
+#
+
+DISTNAME= ctorrent-1.3.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ctorrent/}
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://ctorrent.sourceforge.net/
+COMMENT= Bittorrent client for the console
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff -r c2fe27c201c9 -r 6e4277c626a5 net/ctorrent/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ctorrent/PLIST Fri Jun 25 17:20:47 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/25 17:20:47 wiz Exp $
+bin/ctorrent
diff -r c2fe27c201c9 -r 6e4277c626a5 net/ctorrent/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ctorrent/distinfo Fri Jun 25 17:20:47 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/25 17:20:47 wiz Exp $
+
+SHA1 (ctorrent-1.3.2.tar.gz) = 8757bafd304d9c8c0b241a1a91ce8389613f1e69
+Size (ctorrent-1.3.2.tar.gz) = 87195 bytes
+SHA1 (patch-aa) = 338158f13fce9f9b9f29eb49fc7bc7b6ef0d9862
+SHA1 (patch-ab) = 579da81c93609fea7f2a6a9ef6ecdab344e7ad9e
diff -r c2fe27c201c9 -r 6e4277c626a5 net/ctorrent/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ctorrent/patches/patch-aa Fri Jun 25 17:20:47 2004 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/06/25 17:20:47 wiz Exp $
+
+--- configure.orig 2004-02-01 07:15:43.000000000 +0100
++++ configure
+@@ -2888,13 +2888,13 @@ _ACEOF
+
+ else
+
+-echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypt" >&5
+-echo $ECHO_N "checking for SHA1_Init in -lcrypt... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypto" >&5
++echo $ECHO_N "checking for SHA1_Init in -lcrypto... $ECHO_C" >&6
+ if test "${ac_cv_lib_crypt_SHA1_Init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcrypt $LIBS"
++LIBS="-lcrypto $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+@@ -2948,7 +2948,7 @@ if test $ac_cv_lib_crypt_SHA1_Init = yes
+ #define HAVE_LIBCRYPT 1
+ _ACEOF
+
+- LIBS="-lcrypt $LIBS"
++ LIBS="-lcrypto $LIBS"
+
+ else
+
diff -r c2fe27c201c9 -r 6e4277c626a5 net/ctorrent/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ctorrent/patches/patch-ab Fri Jun 25 17:20:47 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/06/25 17:20:47 wiz Exp $
+
+--- peerlist.cpp.orig 2004-06-25 19:16:32.000000000 +0200
++++ peerlist.cpp
+@@ -3,6 +3,7 @@
+ #include "peerlist.h"
+
+ #include <stdlib.h>
++#include <errno.h>
+
+ #include <stdio.h>
+
+@@ -361,6 +362,7 @@ int PeerList::Initial_ListenPort()
+ struct sockaddr_in lis_addr;
+ memset(&lis_addr,0, sizeof(sockaddr_in));
+ lis_addr.sin_addr.s_addr = INADDR_ANY;
++ lis_addr.sin_family = AF_INET;
+
+ m_listen_sock = socket(AF_INET,SOCK_STREAM,0);
+
Home |
Main Index |
Thread Index |
Old Index