Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 19:36:39 +0200 (CEST)
From:      Florent Thoumie <flz@xbsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65498: Update port: net/libbt - upgrade to version 1.01
Message-ID:  <20040413173639.B8283630@gw.xbsd.org>
Resent-Message-ID: <200404131740.i3DHeIQN046670@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65498
>Category:       ports
>Synopsis:       Update port: net/libbt - upgrade to version 1.01
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 10:40:16 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Florent Thoumie
>Release:        FreeBSD 4.9-RC i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD gw 4.9-RC FreeBSD 4.9-RC #4: Sun Oct 5 14:25:09 CEST 2003 rf@gw:/usr/src/sys/compile/GW i386


>Description:

	Update libbt port to version 1.01

>How-To-Repeat:

	N/A

>Fix:

Apply following patch :

--- libbt.patch begins here ---

diff -ruN libbt/Makefile libbt.new/Makefile
--- libbt/Makefile	Sun Mar 21 10:16:34 2004
+++ libbt.new/Makefile	Tue Apr 13 19:18:26 2004
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	libbt
-PORTVERSION=	0.03
+PORTVERSION=	1.01
 CATEGORIES=	net devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}.${PORTVERSION}
 
 MAINTAINER=	flz@xbsd.org
 COMMENT=	C library implementing the core BitTorrent protocol
@@ -18,8 +17,6 @@
 LIB_DEPENDS=	uuid.1:${PORTSDIR}/sysutils/e2fsprogs \
 		curl.2:${PORTSDIR}/ftp/curl
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_REINPLACE=	yes
@@ -28,9 +25,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "alpha"
-BROKEN=		"Does not compile on alpha"
-.endif
+ONLY_FOR_ARCHS=	i386
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in
@@ -42,7 +37,7 @@
 .for i in btcheck btget btlist
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${PREFIX}/bin
 .endfor
-.for i in benc.h bitset.h bterror.h bts.h context.h peer.h random.h segmenter.h strbuf.h stream.h types.h util.h
+.for i in benc.h bitset.h bterror.h btmessage.h bts.h context.h peer.h random.h segmenter.h strbuf.h stream.h types.h util.h
 	${INSTALL_DATA} ${WRKSRC}/include/${i} ${PREFIX}/include/libbt
 .endfor
 
diff -ruN libbt/distinfo libbt.new/distinfo
--- libbt/distinfo	Sun Feb 29 17:45:56 2004
+++ libbt.new/distinfo	Tue Apr 13 19:02:58 2004
@@ -1,2 +1,2 @@
-MD5 (libbt.0.03.tar.gz) = 8c2ff3afcef27441fc398105ef241a6e
-SIZE (libbt.0.03.tar.gz) = 395161
+MD5 (libbt-1.01.tar.gz) = 6a22db0d4db9036afbb5af94b8fdd526
+SIZE (libbt-1.01.tar.gz) = 307537
diff -ruN libbt/files/patch-src::peer.c libbt.new/files/patch-src::peer.c
--- libbt/files/patch-src::peer.c	Thu Jan  1 01:00:00 1970
+++ libbt.new/files/patch-src::peer.c	Tue Apr 13 19:29:28 2004
@@ -0,0 +1,10 @@
+--- src/peer.c	Wed Apr  7 06:14:44 2004
++++ src/peer.c.new	Tue Apr 13 19:29:01 2004
+@@ -20,6 +20,7 @@
+ #   endif
+ #endif
+ #include <sys/types.h>
++#include <sys/limits.h>
+ #include <string.h>
+ #ifdef HAVE_STRINGS_H
+ #   include <strings.h>
diff -ruN libbt/pkg-plist libbt.new/pkg-plist
--- libbt/pkg-plist	Sun Feb 29 17:45:56 2004
+++ libbt.new/pkg-plist	Tue Apr 13 19:20:43 2004
@@ -4,6 +4,7 @@
 include/libbt/benc.h
 include/libbt/bitset.h
 include/libbt/bterror.h
+include/libbt/btmessage.h
 include/libbt/bts.h
 include/libbt/context.h
 include/libbt/peer.h

--- libbt.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413173639.B8283630>