Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 17:57:32 +0800 (CST)
From:      Li-Wen Hsu <lwhsu@lwhsu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        rainer.alves@gmail.com, lwhsu@lwhsu.org
Subject:   ports/104206: [PATCH] net/mtr: update to 0.72
Message-ID:  <200610090957.k999vWUa081714@knight.lwhsu.ckefgisc.org>
Resent-Message-ID: <200610091000.k99A0fnH064075@freefall.freebsd.org>

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

>Number:         104206
>Category:       ports
>Synopsis:       [PATCH] net/mtr: update to 0.72
>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 Oct 09 10:00:41 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD knight.lwhsu.ckefgisc.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Fri Sep 29 19:45:24 CST 2006
>Description:
- Update to 0.72
- Update patch-dns.c (official release contains the bugfix)
- Remove patch-cofigure (using ${REINPLACE_CMD} in post-configure to remove -lresolv)

Removed file(s):
- files/patch-configure

Port maintainer (rainer.alves@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mtr-0.72.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/mtr/Makefile /home/lwhsu/ports/net/mtr/Makefile
--- /usr/ports/net/mtr/Makefile	Fri May  5 02:51:42 2006
+++ /home/lwhsu/ports/net/mtr/Makefile	Mon Oct  9 16:52:51 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mtr
-PORTVERSION=	0.71
+PORTVERSION=	0.72
 CATEGORIES=	net ipv6
 MASTER_SITES=	ftp://ftp.bitwizard.nl/mtr/ \
 		http://www.mirrors.wiretapped.net/security/network-mapping/mtr/ \
@@ -36,6 +36,9 @@
 PKGNAMESUFFIX=	-nox11
 CONFIGURE_ARGS=--without-gtk --with-gtk-prefix=/nonexistant
 .endif
+
+post-configure:
+	@${REINPLACE_CMD} -e 's|-lresolv||g' ${WRKSRC}/Makefile
 
 post-install:
 	@${ECHO} ""
diff -ruN --exclude=CVS /usr/ports/net/mtr/distinfo /home/lwhsu/ports/net/mtr/distinfo
--- /usr/ports/net/mtr/distinfo	Fri May  5 02:51:42 2006
+++ /home/lwhsu/ports/net/mtr/distinfo	Mon Oct  9 16:02:35 2006
@@ -1,3 +1,3 @@
-MD5 (mtr-0.71.tar.gz) = 8c1c9f5db2c599eea3b12bfed8b80618
-SHA256 (mtr-0.71.tar.gz) = b742c46797ba23000e149c99127580d541ed44a69b5bbc44323211665c95e02a
-SIZE (mtr-0.71.tar.gz) = 205442
+MD5 (mtr-0.72.tar.gz) = d771061f8da96b80ecca2f69a3a2d594
+SHA256 (mtr-0.72.tar.gz) = 1473b7880cd3570cff59fb9692c08c8579c334cc04d5a1df092088f1570318db
+SIZE (mtr-0.72.tar.gz) = 295845
diff -ruN --exclude=CVS /usr/ports/net/mtr/files/patch-configure /home/lwhsu/ports/net/mtr/files/patch-configure
--- /usr/ports/net/mtr/files/patch-configure	Fri May  5 02:51:42 2006
+++ /home/lwhsu/ports/net/mtr/files/patch-configure	Thu Jan  1 08:00:00 1970
@@ -1,51 +0,0 @@
---- configure.orig	Fri Mar 24 03:46:43 2006
-+++ configure	Wed May  3 19:00:36 2006
-@@ -6817,7 +6817,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lresolv  $LIBS"
-+LIBS="$LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -6876,10 +6876,10 @@
- echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6
- if test $ac_cv_lib_resolv_res_mkquery = yes; then
-   cat >>confdefs.h <<_ACEOF
--#define HAVE_LIBRESOLV 1
-+#define HAVE_LIBRESOLV 0
- _ACEOF
- 
--  LIBS="-lresolv $LIBS"
-+  LIBS="$LIBS"
- 
- else
- 
-@@ -6889,7 +6889,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lresolv  $LIBS"
-+LIBS="$LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -6951,7 +6951,7 @@
- #define HAVE_LIBRESOLV 1
- _ACEOF
- 
--  LIBS="-lresolv $LIBS"
-+  LIBS="$LIBS"
- 
- else
-   { { echo "$as_me:$LINENO: error: No resolver library found" >&5
-@@ -6965,7 +6965,7 @@
- 
- fi
- 
--LIBS="$LIBS -lresolv"
-+LIBS="$LIBS"
- 
- echo "$as_me:$LINENO: checking for herror" >&5
- echo $ECHO_N "checking for herror... $ECHO_C" >&6
diff -ruN --exclude=CVS /usr/ports/net/mtr/files/patch-dns.c /home/lwhsu/ports/net/mtr/files/patch-dns.c
--- /usr/ports/net/mtr/files/patch-dns.c	Fri May  5 02:51:42 2006
+++ /home/lwhsu/ports/net/mtr/files/patch-dns.c	Mon Oct  9 16:12:47 2006
@@ -1,5 +1,5 @@
---- dns.c.orig	Thu Mar 23 02:45:58 2006
-+++ dns.c	Wed May  3 18:48:01 2006
+--- dns.c.orig	Mon Oct  9 16:11:26 2006
++++ dns.c	Mon Oct  9 16:11:46 2006
 @@ -48,11 +48,13 @@
  #include "dns.h"
  #include "net.h"
@@ -14,12 +14,3 @@
  
  /*  Hmm, it seems Irix requires this  */
  extern int errno;
-@@ -1357,7 +1359,7 @@
- #ifdef ENABLE_IPV6
- /* Returns an ip6.arpa character string. */
- void addr2ip6arpa( ip_t * ip, char * buf ) {
--  char * p = (char *) ip;
-+  unsigned char * p = (unsigned char *) ip;
-   char * b = buf;
-   int i;
- 
--- mtr-0.72.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?200610090957.k999vWUa081714>