diff --git a/net/wired-tracker/Makefile b/net/wired-tracker/Makefile index f110563d00b4..b06d65cec84f 100644 --- a/net/wired-tracker/Makefile +++ b/net/wired-tracker/Makefile @@ -6,9 +6,10 @@ # PORTNAME= wired-tracker -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.2 CATEGORIES= net MASTER_SITES= http://www.zankasoftware.com/dist/ +DISTNAME= wiredtracker-${PORTVERSION} MAINTAINER= trasz@FreeBSD.org COMMENT= Wired tracker @@ -17,6 +18,7 @@ COMMENT= Wired tracker # use some common files, like wired/etc/resolv.conf. RUN_DEPENDS= ${LOCALBASE}/sbin/wired:${PORTSDIR}/net/wired +WRKSRC= ${WRKDIR}/wired-tracker-${PORTVERSION} GNU_CONFIGURE= yes USE_GMAKE= yes USE_RC_SUBR= trackerd.sh diff --git a/net/wired-tracker/distinfo b/net/wired-tracker/distinfo index 1791b891beef..12c9ff9bf6d4 100644 --- a/net/wired-tracker/distinfo +++ b/net/wired-tracker/distinfo @@ -1,3 +1,3 @@ -MD5 (wired-tracker-1.0.1.tar.gz) = d06b90f4e570d5ecd1cb2a24ae708370 -SHA256 (wired-tracker-1.0.1.tar.gz) = 3e3572f9f52d34e8a4a06f06ac5edd830094f9092e4a5e0f9065b34a8078bcfa -SIZE (wired-tracker-1.0.1.tar.gz) = 277340 +MD5 (wiredtracker-1.0.2.tar.gz) = ff9381256cce85d8d8e8d18e303807b1 +SHA256 (wiredtracker-1.0.2.tar.gz) = ae7d53952c1e2dded79acfa954e4aec0b13b2f4c834f9b5034a0f33e90331c8d +SIZE (wiredtracker-1.0.2.tar.gz) = 318644 diff --git a/net/wired-tracker/files/patch-configure b/net/wired-tracker/files/patch-configure index d73f32c2bdaf..b193f5630a3b 100644 --- a/net/wired-tracker/files/patch-configure +++ b/net/wired-tracker/files/patch-configure @@ -1,20 +1,27 @@ ---- configure.orig 2007-12-09 18:11:07.000000000 +0100 -+++ configure 2007-12-13 21:12:14.000000000 +0100 -@@ -5988,7 +5988,7 @@ - - if test "$_wi_pthreads_found" != yes ; then +--- configure.orig 2009-03-09 17:52:11.000000000 +0100 ++++ configure 2009-03-10 21:32:32.000000000 +0100 +@@ -6791,12 +6791,12 @@ OLD_LIBS="$LIBS" -- LIBS="-lpthread $LIBS" -+ LIBS="-pthread $LIBS" - if test "$cross_compiling" = yes; then + if test -z "$LIBS"; then +- LIBS="-lpthread" ++ LIBS="-pthread" + else +- MATCH=`expr -- "$LIBS" : ".*-lpthread"` ++ MATCH=`expr -- "$LIBS" : ".*-pthread"` -@@ -6125,7 +6125,7 @@ - - if test "$_wi_pthreads_test" = yes ; then - _wi_pthreads_found=yes -- _wi_pthreads_libs="-lpthread" -+ _wi_pthreads_libs="-pthread" + if test "$MATCH" = "0"; then +- LIBS="$LIBS -lpthread" ++ LIBS="$LIBS -pthread" + fi + fi + +@@ -6936,7 +6936,7 @@ + + if test "$wi_pthreads_test" = "yes"; then + wi_pthreads_found="yes" +- wi_pthreads_libs="-lpthread" ++ wi_pthreads_libs="-pthread" fi fi diff --git a/net/wired-tracker/files/patch-trackerd-main.c b/net/wired-tracker/files/patch-trackerd-main.c deleted file mode 100644 index 94dbd2f328f7..000000000000 --- a/net/wired-tracker/files/patch-trackerd-main.c +++ /dev/null @@ -1,11 +0,0 @@ ---- trackerd/main.c.orig 2007-12-16 14:55:55.000000000 +0100 -+++ trackerd/main.c 2007-12-16 14:56:27.000000000 +0100 -@@ -190,7 +190,7 @@ - - /* detach */ - if(daemonize) { -- wi_array_insert_data_at_index(arguments, WI_STR("-X"), 0); -+ wi_array_add_data(arguments, WI_STR("-X")); - wi_array_insert_data_at_index(arguments, wi_string_with_cstring(argv[0]), 0); - - switch(fork()) {