ports/80059: PORT UPDATE: net/libtorrent 0.5.4 -> 0.6.0

Alexey Dokuchaev danfe at FreeBSD.org
Mon Apr 18 10:40:18 UTC 2005


>Number:         80059
>Category:       ports
>Synopsis:       PORT UPDATE: net/libtorrent 0.5.4 -> 0.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 18 10:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Dokuchaev
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 6.0-CURRENT #1: Mon Apr  4 17:31:01 NOVST 2005
    root at stan.asempra.local:/usr/obj/usr/src/sys/LIGHT



>Description:


Just a version update.


>How-To-Repeat:


N/A


>Fix:


--- diff begins here ---
Index: Makefile
===================================================================
RCS file: /net/ike/export/home/cvsup/FreeBSD-CVS/ports/net/libtorrent/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	20 Mar 2005 14:38:39 -0000	1.8
+++ Makefile	18 Apr 2005 10:27:56 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libtorrent
-PORTVERSION=	0.5.4
+PORTVERSION=	0.6.0
 CATEGORIES=	net
 MASTER_SITES=	http://libtorrent.rakshasa.no/downloads/
 
@@ -24,6 +24,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e "s#\(pkgconfigdir =\).*#\1 ${PREFIX}/libdata/pkgconfig#" \
 			${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/src/utils/sha_fast.cc
 # uphold CXXFLAGS
 	@${REINPLACE_CMD} -E \
 			-e 's#^(CXXFLAGS[[:space:]]*=[[:space:]]*).*-O.*$$#\1${CXXFLAGS}#' \
Index: distinfo
===================================================================
RCS file: /net/ike/export/home/cvsup/FreeBSD-CVS/ports/net/libtorrent/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	20 Mar 2005 14:38:39 -0000	1.5
+++ distinfo	18 Apr 2005 09:35:36 -0000
@@ -1,2 +1,2 @@
-MD5 (libtorrent-0.5.4.tar.gz) = 77d1c39f2c17bddc572ae426b53e8367
-SIZE (libtorrent-0.5.4.tar.gz) = 294733
+MD5 (libtorrent-0.6.0.tar.gz) = 0593d611f1079c42c1d431057c74865c
+SIZE (libtorrent-0.6.0.tar.gz) = 304858
--- diff ends here ---

Also, put this patch in files/:

--- patch-src+net+socket_fd.cc begins here ---
--- src/net/socket_fd.cc.orig	Mon Apr 18 00:55:09 2005
+++ src/net/socket_fd.cc	Mon Apr 18 17:27:38 2005
@@ -24,9 +24,11 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
+#include <netinet/in_systm.h>
 #include <netinet/ip.h>
 
 #include "torrent/exceptions.h"
--- patch-src+net+socket_fd.cc ends here ---




>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list