Revision: 6575
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6575&view=rev
Author:   gespinasse
Date:     2012-04-25 19:43:33 +0000 (Wed, 25 Apr 2012)
Log Message:
-----------
Upgrade traceroute to 2.0.18.
There is some 3.0 kernel features that only 2.0.18 have.
While I am there, fix 3 warnings 'format not a string literal and no format 
arguments'

Modified Paths:
--------------
    ipcop/trunk/lfs/traceroute
    ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0
    ipcop/trunk/updates/2.1.0/information.xml

Added Paths:
-----------
    ipcop/trunk/src/patches/traceroute-2.0.18_clif.patch

Modified: ipcop/trunk/lfs/traceroute
===================================================================
--- ipcop/trunk/lfs/traceroute  2012-04-25 15:26:47 UTC (rev 6574)
+++ ipcop/trunk/lfs/traceroute  2012-04-25 19:43:33 UTC (rev 6575)
@@ -33,7 +33,7 @@
 include Config
 
 PKG_NAME   = traceroute
-VER        = 2.0.17
+VER        = 2.0.18
 HOST_ARCH  = all
 OTHER_SRC  = yes
 
@@ -45,7 +45,7 @@
 
 # Used to include same timestamp for all
 # This is the release date
-DATESTAMP = "Dec 14 2010"
+DATESTAMP = "Aug 18 2011"
 
 ###############################################################################
 # Top-level Rules
@@ -55,7 +55,7 @@
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 01b609719249db7bc6de12167d2f4dc9
+$(DL_FILE)_MD5 = b7254149b7f081cce07f4b9e065ba5ef
 
 install : $(TARGET)
 
@@ -87,6 +87,7 @@
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        # Use release date instead of __DATE__ so everyone that compile has 
same md5
        cd $(DIR_APP) && sed -i -e 's|__DATE__|$(DATESTAMP)|' 
traceroute/traceroute.c
+       cd $(DIR_APP) && patch -p1 -i $(DIR_PATCHES)/$(THISAPP)_clif.patch
 
        cd $(DIR_APP) && make
        cd $(DIR_APP) && install -m 0755 traceroute/traceroute 
/usr/sbin/traceroute

Added: ipcop/trunk/src/patches/traceroute-2.0.18_clif.patch
===================================================================
--- ipcop/trunk/src/patches/traceroute-2.0.18_clif.patch                        
        (rev 0)
+++ ipcop/trunk/src/patches/traceroute-2.0.18_clif.patch        2012-04-25 
19:43:33 UTC (rev 6575)
@@ -0,0 +1,28 @@
+Fix the warning seen with -Wformat-security flag (gcc-4.4.5)
+clif.c:795: warning: format not a string literal and no format arguments
+clif.c:797: warning: format not a string literal and no format arguments
+clif.c:836: warning: format not a string literal and no format arguments
+
+--- traceroute-2.0.18/libsupp/clif.c.old       2007-08-06 17:20:17.000000000 
+0200
++++ traceroute-2.0.18/libsupp/clif.c   2012-04-25 19:19:51.000000000 +0200
+@@ -792,9 +792,9 @@
+       if (l > 0) {
+           memset (buf, ' ', l);
+           buf[l] = '\0';
+-          fprintf (stderr, buf);
++          fprintf (stderr, "%s", buf);
+       } else 
+-          fprintf (stderr, spacer);
++          fprintf (stderr, "%s", spacer);
+ 
+ 
+       endp = buf + width;
+@@ -833,7 +833,7 @@
+                   
+           *p = '\0';
+           fprintf (stderr, "%s", buf);
+-          fprintf (stderr, spacer);
++          fprintf (stderr, "%s", spacer);
+               
+           p++;
+           for (s = buf; *p; *s++ = *p++) ;

Modified: ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0
===================================================================
--- ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0      2012-04-25 15:26:47 UTC 
(rev 6574)
+++ ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0      2012-04-25 19:43:33 UTC 
(rev 6575)
@@ -566,6 +566,10 @@
 /usr/lib/squid/errors
 /usr/lib/squid/errors.ipcop
 ##
+## traceroute-2.018
+/usr/sbin/traceroute
+/usr/sbin/traceroute6
+##
 ## tzdata-2012c
 /usr/share/zoneinfo/posix/Africa/Casablanca
 /usr/share/zoneinfo/posix/America/Atikokan

Modified: ipcop/trunk/updates/2.1.0/information.xml
===================================================================
--- ipcop/trunk/updates/2.1.0/information.xml   2012-04-25 15:26:47 UTC (rev 
6574)
+++ ipcop/trunk/updates/2.1.0/information.xml   2012-04-25 19:43:33 UTC (rev 
6575)
@@ -17,7 +17,7 @@
             openldap to 2.4.30, openssh to 6.0, openssl to 1.0.1a, openswan to 
2.6.38,
             pcre to 8.30, pixman to 0.24.4, procps to 3.3.2, psmisc to 22.16,
             rsyslog to 5.8.9, shadow to 4.1.5, squid-langpack to 20120329,
-            tzdata to 2012c, util-linux to 2.21.1, several Perl CPAN modules.
+            traceroute to 2.0.18, tzdata to 2012c, util-linux to 2.21.1, 
several Perl CPAN modules.
             <br />
             <b>Mandatory reboot after upgrade.</b>
         </description>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to