aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-01-26 16:47:44 +0800
committernork <nork@FreeBSD.org>2004-01-26 16:47:44 +0800
commit0960eec48deef335432709b99af24425aa82a9d6 (patch)
tree5fe09f759446c95035d83f99e3ca31f245d7cfb4 /net
parent92aba22156330052ef987256a5c4a27331daa329 (diff)
downloadfreebsd-ports-gnome-0960eec48deef335432709b99af24425aa82a9d6.tar.gz
freebsd-ports-gnome-0960eec48deef335432709b99af24425aa82a9d6.tar.zst
freebsd-ports-gnome-0960eec48deef335432709b99af24425aa82a9d6.zip
Fix build on alpha.
Accordingly(by author), update distfiles. So, bump PORTREVISION instead of. Reported by: bento via kris Submitted by: Florent Thoumie <flz@xbsd.org> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/ctorrent/Makefile5
-rw-r--r--net/ctorrent/distinfo2
-rw-r--r--net/ctorrent/files/patch-btstream.cpp7
-rw-r--r--net/ctorrent/files/patch-httpencode.cpp12
-rw-r--r--net/ctorrent/files/patch-iplist.cpp7
-rw-r--r--net/ctorrent/files/patch-peer.cpp10
-rw-r--r--net/ctorrent/files/patch-peer.h10
-rw-r--r--net/ctorrent/pkg-plist1
8 files changed, 12 insertions, 42 deletions
diff --git a/net/ctorrent/Makefile b/net/ctorrent/Makefile
index e9b49d438d7e..cacca8167a5d 100644
--- a/net/ctorrent/Makefile
+++ b/net/ctorrent/Makefile
@@ -7,12 +7,15 @@
PORTNAME= ctorrent
PORTVERSION= 1.3.r1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= CTorrent-1.3r1
+PLIST_FILES= bin/ctorrent
+
MAINTAINER= flz@xbsd.org
-COMMENT= BitTorrent Client program by C for FreeBSD and Linux
+COMMENT= BitTorrent Client written in C for FreeBSD and Linux
.include <bsd.port.mk>
diff --git a/net/ctorrent/distinfo b/net/ctorrent/distinfo
index c8eb3556346b..b23c54e2012b 100644
--- a/net/ctorrent/distinfo
+++ b/net/ctorrent/distinfo
@@ -1 +1 @@
-MD5 (CTorrent-1.3r1.tar.gz) = 833e24c797de4134e78c34aca6c2dd96
+MD5 (CTorrent-1.3r1.tar.gz) = 2bbc8598f4a714608a621908f2ab7701
diff --git a/net/ctorrent/files/patch-btstream.cpp b/net/ctorrent/files/patch-btstream.cpp
deleted file mode 100644
index eb41ae3b5072..000000000000
--- a/net/ctorrent/files/patch-btstream.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
---- btstream.cpp.orig Fri Jan 16 00:01:00 2004
-+++ btstream.cpp Sun Jan 18 02:42:47 2004
-@@ -1,3 +1,4 @@
-+#include <arpa/inet.h>
- #include "btstream.h"
- #include "msgencode.h"
- #include "btconfig.h"
diff --git a/net/ctorrent/files/patch-httpencode.cpp b/net/ctorrent/files/patch-httpencode.cpp
index 800f55f32476..8f9cbda26ec6 100644
--- a/net/ctorrent/files/patch-httpencode.cpp
+++ b/net/ctorrent/files/patch-httpencode.cpp
@@ -1,14 +1,16 @@
---- httpencode.cpp.orig Sun Jan 11 05:51:45 2004
-+++ httpencode.cpp Sun Jan 18 02:43:16 2004
-@@ -10,6 +10,7 @@
+diff -u -r CTorrent-1.3r1/httpencode.cpp CTorrent-1.3r1.new/httpencode.cpp
+--- httpencode.cpp Sat Jan 10 20:51:45 2004
++++ httpencode.cpp.new Fri Jan 23 17:22:28 2004
+@@ -10,6 +10,8 @@
/* NOTE: */
/* LINUX/WINDOWS IMPLEMENT's STANDARD C LIBRARY NO strnstr FOUND */
/* FUNCTION PROGRAMER: Siberiaic Sang */
-+#if 0
++
++#if defined(__win32__) || defined(__linux__)
static char* strnstr(const char *haystack,const char *needle,size_t haystacklen)
{
char *p;
-@@ -30,6 +31,7 @@ static char* strnstr(const char *haystac
+@@ -30,6 +32,7 @@
}
return (char*) 0;
}
diff --git a/net/ctorrent/files/patch-iplist.cpp b/net/ctorrent/files/patch-iplist.cpp
deleted file mode 100644
index 9bf36732ab15..000000000000
--- a/net/ctorrent/files/patch-iplist.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
---- iplist.cpp.orig Sun Jan 11 05:51:45 2004
-+++ iplist.cpp Sun Jan 18 02:43:29 2004
-@@ -1,3 +1,4 @@
-+#include <string.h>
- #include "iplist.h"
-
- IpList IPQUEUE;
diff --git a/net/ctorrent/files/patch-peer.cpp b/net/ctorrent/files/patch-peer.cpp
deleted file mode 100644
index 5c88f9a026d8..000000000000
--- a/net/ctorrent/files/patch-peer.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- peer.cpp.orig Wed Jan 14 21:54:26 2004
-+++ peer.cpp Sun Jan 18 02:43:36 2004
-@@ -1,6 +1,7 @@
- #include "peer.h"
-
- #include <stdlib.h>
-+#include <string.h>
-
- #include "btcontent.h"
- #include "msgencode.h"
diff --git a/net/ctorrent/files/patch-peer.h b/net/ctorrent/files/patch-peer.h
deleted file mode 100644
index 06684a043b0c..000000000000
--- a/net/ctorrent/files/patch-peer.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- peer.h.orig Fri Jan 16 00:30:15 2004
-+++ peer.h Sun Jan 18 02:44:04 2004
-@@ -6,6 +6,7 @@
- #ifdef WINDOWS
- #include <Winsock2.h>
- #else
-+#include <string.h>
- #include <unistd.h>
- #include <sys/socket.h>
- #include <arpa/inet.h>
diff --git a/net/ctorrent/pkg-plist b/net/ctorrent/pkg-plist
deleted file mode 100644
index 6ce0d4e04b52..000000000000
--- a/net/ctorrent/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/ctorrent