ports/131782: Bump btpd to 0.15 + patch against configure.ac
Bapt
baptiste.daroussin at gmail.com
Tue Feb 17 15:00:10 UTC 2009
>Number: 131782
>Category: ports
>Synopsis: Bump btpd to 0.15 + patch against configure.ac
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 17 15:00:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Bapt
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD wicklow.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #7: Mon Oct 13 22:58:33 CEST 2008 root at wicklow.lan:/usr/obj/usr/src/sys/WICKLOW i386
>Description:
>How-To-Repeat:
>Fix:
--- btpd.patch begins here ---
diff -Nrnu /usr/ports/net-p2p/btpd/Makefile ./btpd/Makefile
--- /usr/ports/net-p2p/btpd/Makefile 2008-11-15 22:38:38.000000000 +0100
+++ ./btpd/Makefile 2009-02-17 15:46:18.160155994 +0100
@@ -2,28 +2,21 @@
# Date created: 2008-11-14
# Whom: bapt <baptiste.daroussin at gmail.com>
#
-# $FreeBSD: ports/net-p2p/btpd/Makefile,v 1.1 2008/11/15 21:38:38 miwi Exp $
+# $FreeBSD$
#
PORTNAME= btpd
-PORTVERSION= 0.13
+PORTVERSION= 0.15
CATEGORIES= net-p2p
MASTER_SITES= http://www.murmeldjur.se/btpd/
MAINTAINER= baptiste.daroussin at gmail.com
COMMENT= Bittorrent client consisting of a daemon and client commands
+USE_AUTOTOOLS= autoconf:262 aclocal:110
GNU_CONFIGURE= yes
PLIST_FILES= bin/btcli \
bin/btinfo \
bin/btpd
-
PORTDOCS= README
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
-
.include <bsd.port.mk>
diff -Nrnu /usr/ports/net-p2p/btpd/distinfo ./btpd/distinfo
--- /usr/ports/net-p2p/btpd/distinfo 2008-11-15 22:38:38.000000000 +0100
+++ ./btpd/distinfo 2009-02-17 14:34:57.341136553 +0100
@@ -1,3 +1,3 @@
-MD5 (btpd-0.13.tar.gz) = 0d9c4a672eea6f298fa6e44d94da1657
-SHA256 (btpd-0.13.tar.gz) = 4409ec8e34eaba5d51e53bf94ce8551e438a4b2c5a55924299edf012c189ebfc
-SIZE (btpd-0.13.tar.gz) = 273814
+MD5 (btpd-0.15.tar.gz) = b64e2e8b9936e99685bc1e7246655561
+SHA256 (btpd-0.15.tar.gz) = c2229244c3cb370ac95560e2e9ff7f5d094612ee2b2a1e36237ec7f27707db9d
+SIZE (btpd-0.15.tar.gz) = 144706
diff -Nrnu /usr/ports/net-p2p/btpd/files/patch-configure.ac ./btpd/files/patch-configure.ac
--- /usr/ports/net-p2p/btpd/files/patch-configure.ac 1970-01-01 01:00:00.000000000 +0100
+++ ./btpd/files/patch-configure.ac 2009-02-17 15:02:09.677561941 +0100
@@ -0,0 +1,38 @@
+--- ./configure.ac.orig 2009-02-09 22:04:53.000000000 +0100
++++ ./configure.ac 2009-02-17 15:00:30.648730460 +0100
+@@ -56,7 +56,7 @@
+ int main(void) { return clock_gettime(CLOCK_MONOTONIC, (void *)0); }
+ ], clock_gettime=yes, clock_gettime=no)
+ AC_MSG_RESULT($clock_gettime)
+-if test $clock_gettime == yes; then
++if test $clock_gettime = yes; then
+ old_LIBS=$LIBS
+ LIBS=""
+ AC_SEARCH_LIBS(clock_gettime,rt,clock_gettime=yes,clock_gettime=no)
+@@ -64,7 +64,7 @@
+ LIBS=$old_LIBS
+ AC_DEFINE(HAVE_CLOCK_MONOTONIC)
+ fi
+-if test $clock_gettime == no; then
++if test $clock_gettime = no; then
+ AC_CHECK_FUNCS(mach_absolute_time,,
+ AC_MSG_FAILURE(no supported time mechanism found))
+ fi
+@@ -108,7 +108,7 @@
+ ;;
+ esac
+ done
+-if test x"$EVLOOP_METHOD" == x; then
++if test x"$EVLOOP_METHOD" = x; then
+ AC_MSG_FAILURE(no suitable evloop method found)
+ exit 1
+ else
+@@ -117,7 +117,7 @@
+
+ for i in 0 1 2 3 4 5 6 7; do
+ case $i in
+- 0) if test x"$TD_CFLAGS$TD_LIBS" == x; then continue; fi;;
++ 0) if test x"$TD_CFLAGS$TD_LIBS" = x; then continue; fi;;
+ 1) TD_CFLAGS=-pthread;;
+ 2) TD_CFLAGS=-pthreads;;
+ 3) TD_CFLAGS=-kthread;;
--- btpd.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list