[37346] trunk/dports/net/mtr

mr_bond at macports.org mr_bond at macports.org
Tue Jun 3 15:58:30 PDT 2008


Revision: 37346
          http://trac.macosforge.org/projects/macports/changeset/37346
Author:   mr_bond at macports.org
Date:     2008-06-03 15:58:29 -0700 (Tue, 03 Jun 2008)

Log Message:
-----------
Follow upstream version bump (0.72 -> 0.73), patched getaddrinfo() in mtr.c and taking maintainership

Modified Paths:
--------------
    trunk/dports/net/mtr/Portfile

Added Paths:
-----------
    trunk/dports/net/mtr/files/
    trunk/dports/net/mtr/files/patch-configure
    trunk/dports/net/mtr/files/patch-mtr.c

Modified: trunk/dports/net/mtr/Portfile
===================================================================
--- trunk/dports/net/mtr/Portfile	2008-06-03 22:28:11 UTC (rev 37345)
+++ trunk/dports/net/mtr/Portfile	2008-06-03 22:58:29 UTC (rev 37346)
@@ -4,9 +4,9 @@
 PortSystem 1.0
 
 name        mtr
-version     0.72
-categories  net security
-maintainers nomaintainer
+version     0.73
+categories  net
+maintainers mr_bond
 description 'traceroute' and 'ping' in a single tool
 long_description    \
     As mtr starts,  it  investigates  the  network  connection \
@@ -22,9 +22,9 @@
 platforms   darwin
 master_sites    ftp://ftp.bitwizard.nl/mtr/ \
                 macports:blair
-checksums   md5 d771061f8da96b80ecca2f69a3a2d594 \
-            sha1 afc26c9e8a30eba7ca92ba68d4489b0c9c07977d \
-            rmd160 69843b82fb2de2b2a597c21a62d8eb9473df31b6
-configure.args  --mandir=${prefix}/share/man --without-gtk
-configure.cppflags   "-DBIND_8_COMPAT"
-build.env   "CPPFLAGS=-DBIND_8_COMPAT"
+checksums   md5 52223cc34c72092a0392865356a3dc76 \
+            sha1 52cf5bd1a1e6a8e14a0ebb70610bd2be9e597c15 \
+            rmd160 09b9b2cea84b0596bf25a4055cdcb78e8faebc10
+configure.args-append --without-gtk
+
+patchfiles	patch-configure patch-mtr.c
\ No newline at end of file

Added: trunk/dports/net/mtr/files/patch-configure
===================================================================
--- trunk/dports/net/mtr/files/patch-configure	                        (rev 0)
+++ trunk/dports/net/mtr/files/patch-configure	2008-06-03 22:58:29 UTC (rev 37346)
@@ -0,0 +1,23 @@
+--- configure.old	2008-06-04 00:29:45.000000000 +0200
++++ configure	2008-06-04 00:31:47.000000000 +0200
+@@ -6739,15 +6739,15 @@
+   rm -f conf.gtktest
+ 
+         else
+-		AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
+-                           LIBS="$LIBS $GTK_LIBS",
+-                           { echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
+-echo "$as_me: WARNING: Building without GTK+ display support" >&2;}
++#		AM_PATH_GTK("1.0.0", CFLAGS="$CFLAGS $GTK_CFLAGS"
++ #                          LIBS="$LIBS $GTK_LIBS",
++  #                         { echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
++#echo "$as_me: WARNING: Building without GTK+ display support" >&2;}
+                            cat >>confdefs.h <<\_ACEOF
+ #define NO_GTK 1
+ _ACEOF
+ 
+-                           GTK_OBJ="")
++            #               GTK_OBJ="")
+ 	fi
+ else
+ 	cat >>confdefs.h <<\_ACEOF
\ No newline at end of file

Added: trunk/dports/net/mtr/files/patch-mtr.c
===================================================================
--- trunk/dports/net/mtr/files/patch-mtr.c	                        (rev 0)
+++ trunk/dports/net/mtr/files/patch-mtr.c	2008-06-03 22:58:29 UTC (rev 37346)
@@ -0,0 +1,11 @@
+--- mtr.c.old	2008-06-04 00:52:05.000000000 +0200
++++ mtr.c	2008-06-04 00:52:45.000000000 +0200
+@@ -384,7 +384,7 @@
+   bzero( &hints, sizeof hints );
+   hints.ai_family = af;
+   hints.ai_socktype = SOCK_DGRAM;
+-  error = getaddrinfo( Hostname, "0", &hints, &res );
++  error = getaddrinfo( Hostname, "", &hints, &res );
+   if ( error ) {
+     perror( gai_strerror(error) );
+     exit( EXIT_FAILURE );
\ No newline at end of file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080603/aacd2f2a/attachment.htm 


More information about the macports-changes mailing list