1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 0.5.4.

This commit is contained in:
Florent Thoumie 2005-03-20 14:38:39 +00:00
parent 17963408e4
commit e0227725e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131724
12 changed files with 10 additions and 86 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= libtorrent
PORTVERSION= 0.5.0
PORTREVISION= 2
PORTVERSION= 0.5.4
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@ -16,7 +15,7 @@ COMMENT= BitTorrent Library written in C++
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20
USE_GCC= 3.3+
USE_GCC= 3.4
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_INC_LIBTOOL_VER= 13

View File

@ -1,2 +1,2 @@
MD5 (libtorrent-0.5.0.tar.gz) = c146ba6129d8f0b0b155186d35236e1e
SIZE (libtorrent-0.5.0.tar.gz) = 301239
MD5 (libtorrent-0.5.4.tar.gz) = 77d1c39f2c17bddc572ae426b53e8367
SIZE (libtorrent-0.5.4.tar.gz) = 294733

View File

@ -1,14 +0,0 @@
--- client/rtorrent.cc.old Fri Jan 7 15:04:15 2005
+++ client/rtorrent.cc Fri Jan 7 15:04:57 2005
@@ -19,9 +19,9 @@
#include "curl_get.h"
// Uncomment this if your system doesn't have execinfo.h
-#define USE_EXECINFO
+//#define USE_EXECINFO
-#ifdef USE_EXECINFO
+#ifdef USE_EXECINFO
#include <execinfo.h>
#endif

View File

@ -1,13 +0,0 @@
--- src/data/file.cc.old Fri Jan 7 14:35:43 2005
+++ src/data/file.cc Fri Jan 7 14:36:35 2005
@@ -19,8 +19,9 @@
(flags & in && flags & out ? O_RDWR :
(flags & in ? O_RDONLY : 0) |
(flags & out ? O_WRONLY : 0)) |
-
+#if defined(Linux)
(flags & largefile ? O_LARGEFILE : 0) |
+#endif
(flags & create ? O_CREAT : 0) |
(flags & truncate ? O_TRUNC : 0) |
(flags & nonblock ? O_NONBLOCK : 0),

View File

@ -1,11 +0,0 @@
--- src/torrent/torrent.h.old Fri Jan 7 22:34:09 2005
+++ src/torrent/torrent.h Fri Jan 7 22:51:03 2005
@@ -4,6 +4,8 @@
#include <list>
#include <torrent/common.h>
#include <torrent/download.h>
+#include <sys/types.h>
+#include <sys/select.h>
namespace torrent {

View File

@ -6,6 +6,7 @@ include/torrent/entry.h
include/torrent/http.h
include/torrent/peer.h
include/torrent/torrent.h
include/torrent/tracker.h
lib/libtorrent.so
lib/libtorrent.so.2
libdata/pkgconfig/libtorrent.pc

View File

@ -6,8 +6,7 @@
#
PORTNAME= libtorrent
PORTVERSION= 0.5.0
PORTREVISION= 2
PORTVERSION= 0.5.4
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@ -16,7 +15,7 @@ COMMENT= BitTorrent Library written in C++
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20
USE_GCC= 3.3+
USE_GCC= 3.4
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_INC_LIBTOOL_VER= 13

View File

@ -1,2 +1,2 @@
MD5 (libtorrent-0.5.0.tar.gz) = c146ba6129d8f0b0b155186d35236e1e
SIZE (libtorrent-0.5.0.tar.gz) = 301239
MD5 (libtorrent-0.5.4.tar.gz) = 77d1c39f2c17bddc572ae426b53e8367
SIZE (libtorrent-0.5.4.tar.gz) = 294733

View File

@ -1,14 +0,0 @@
--- client/rtorrent.cc.old Fri Jan 7 15:04:15 2005
+++ client/rtorrent.cc Fri Jan 7 15:04:57 2005
@@ -19,9 +19,9 @@
#include "curl_get.h"
// Uncomment this if your system doesn't have execinfo.h
-#define USE_EXECINFO
+//#define USE_EXECINFO
-#ifdef USE_EXECINFO
+#ifdef USE_EXECINFO
#include <execinfo.h>
#endif

View File

@ -1,13 +0,0 @@
--- src/data/file.cc.old Fri Jan 7 14:35:43 2005
+++ src/data/file.cc Fri Jan 7 14:36:35 2005
@@ -19,8 +19,9 @@
(flags & in && flags & out ? O_RDWR :
(flags & in ? O_RDONLY : 0) |
(flags & out ? O_WRONLY : 0)) |
-
+#if defined(Linux)
(flags & largefile ? O_LARGEFILE : 0) |
+#endif
(flags & create ? O_CREAT : 0) |
(flags & truncate ? O_TRUNC : 0) |
(flags & nonblock ? O_NONBLOCK : 0),

View File

@ -1,11 +0,0 @@
--- src/torrent/torrent.h.old Fri Jan 7 22:34:09 2005
+++ src/torrent/torrent.h Fri Jan 7 22:51:03 2005
@@ -4,6 +4,8 @@
#include <list>
#include <torrent/common.h>
#include <torrent/download.h>
+#include <sys/types.h>
+#include <sys/select.h>
namespace torrent {

View File

@ -6,6 +6,7 @@ include/torrent/entry.h
include/torrent/http.h
include/torrent/peer.h
include/torrent/torrent.h
include/torrent/tracker.h
lib/libtorrent.so
lib/libtorrent.so.2
libdata/pkgconfig/libtorrent.pc