aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/btpd/Makefile8
-rw-r--r--net-p2p/btpd/distinfo6
-rw-r--r--net-p2p/btpd/files/patch-configure.ac38
3 files changed, 46 insertions, 6 deletions
diff --git a/net-p2p/btpd/Makefile b/net-p2p/btpd/Makefile
index 73f325a30f22..cc3d20d40e11 100644
--- a/net-p2p/btpd/Makefile
+++ b/net-p2p/btpd/Makefile
@@ -6,14 +6,16 @@
#
PORTNAME= btpd
-PORTVERSION= 0.13
+PORTVERSION= 0.15
CATEGORIES= net-p2p
MASTER_SITES= http://www.murmeldjur.se/btpd/
MAINTAINER= baptiste.daroussin@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
@@ -22,8 +24,8 @@ PORTDOCS= README
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/net-p2p/btpd/distinfo b/net-p2p/btpd/distinfo
index 6094a2786f6d..514b270c00fe 100644
--- a/net-p2p/btpd/distinfo
+++ b/net-p2p/btpd/distinfo
@@ -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 --git a/net-p2p/btpd/files/patch-configure.ac b/net-p2p/btpd/files/patch-configure.ac
new file mode 100644
index 000000000000..997a60c987da
--- /dev/null
+++ b/net-p2p/btpd/files/patch-configure.ac
@@ -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;;