[62887] trunk/dports/net/net-snmp

ryandesign at macports.org ryandesign at macports.org
Wed Jan 20 21:41:15 PST 2010


Revision: 62887
          http://trac.macports.org/changeset/62887
Author:   ryandesign at macports.org
Date:     2010-01-20 21:41:12 -0800 (Wed, 20 Jan 2010)
Log Message:
-----------
net-snmp:

 * update to 5.5
 * remove patch-Makefile.in.diff which added -no-cpp-precomp which probably hasn't been needed for years
 * remove no_zlib variant; why would you want to disable it?
 * remove bzip2 variant; enable bzip2 support always and add bzip2 dependency
 * remove openssl dependency in no_ssl variant

Modified Paths:
--------------
    trunk/dports/net/net-snmp/Portfile
    trunk/dports/net/net-snmp/files/patch-configure.diff

Removed Paths:
-------------
    trunk/dports/net/net-snmp/files/patch-Makefile.in.diff

Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile	2010-01-21 05:14:32 UTC (rev 62886)
+++ trunk/dports/net/net-snmp/Portfile	2010-01-21 05:41:12 UTC (rev 62887)
@@ -3,8 +3,7 @@
 PortSystem              1.0
 
 name                    net-snmp
-version                 5.4.2.1
-revision                1
+version                 5.5
 categories              net
 platforms               darwin
 maintainers             nomaintainer
@@ -21,15 +20,15 @@
                         handle SNMP traps, a version of the unix 'netstat' \
                         command using SNMP, a Tk/perl MIB browser.
 
-checksums               md5 984932520143f0c8bf7b7ce1fc9e1da1 \
-                        sha1 4f2df9ea62344fe840f493d0e08abe5de3697862 \
-                        rmd160 2148c42d486ed88f9cfc3ca1d50c68abcd7e3d63
+checksums               md5     5b2551e7bd024fbbee84dca22a5f13a1 \
+                        sha1    ca03ece79b218af081ee4b273da4e217f459e508 \
+                        rmd160  1699d9cb6bcd5075a565cc8af9913be4dfbc49e2
 
-patchfiles              patch-Makefile.in.diff \
-                        patch-configure.diff
+patchfiles              patch-configure.diff
 
 depends_lib             port:openssl \
                         port:zlib \
+                        port:bzip2 \
                         path:bin/perl:perl5
 
 use_parallel_build      no
@@ -43,26 +42,20 @@
                         --mandir=${prefix}/share/man \
                         --infodir=${prefix}/share/info \
                         --with-logfile=${prefix}/var/log \
-                        --with-openssl=${prefix} --with-zlib=${prefix} \
+                        --with-openssl=${prefix} \
+                        --with-zlib=${prefix} \
+                        --with-bzip2=${prefix} \
                         --with-install-prefix=${destroot} \
                         --without-kmem-usage \
                         --enable-ipv6 \
                         --with-out-mib-modules=mibII/ipv6
 
 variant no_ssl description {Without libssl support} {
+    depends_lib-delete port:openssl
     configure.args-delete --with-openssl=${prefix}
     configure.args-append --without-openssl
 }
 
-variant no_zlib description {Without libz support} {
-    configure.args-delete --with-zlib=${prefix}
-    configure.args-append --without-zlib
-}
-
-variant bzip2 description {Uses libbz2} {
-    configure.args-append --with-bzip2=${prefix}
-}
-
 variant server description {Build snmpd} {
     configure.args-delete --disable-agent
     

Deleted: trunk/dports/net/net-snmp/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-Makefile.in.diff	2010-01-21 05:14:32 UTC (rev 62886)
+++ trunk/dports/net/net-snmp/files/patch-Makefile.in.diff	2010-01-21 05:41:12 UTC (rev 62887)
@@ -1,11 +0,0 @@
---- Makefile.in.orig	Wed Oct 20 21:02:05 2004
-+++ Makefile.in	Tue Dec 28 20:31:52 2004
-@@ -92,7 +92,7 @@
- # local build rules
- #
- sedscript: sedscript.in include/net-snmp/net-snmp-config.h $(srcdir)/agent/mibgroup/mibdefs.h
--	$(CPP) $(srcdir)/sedscript.in | egrep '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript
-+	$(CPP) -no-cpp-precomp $(srcdir)/sedscript.in | egrep '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript
- 	echo 's#DATADIR#$(datadir)#g' >> sedscript
- 	echo 's#LIBDIR#$(libdir)#g' >> sedscript
- 	echo 's#BINDIR#$(bindir)#g' >> sedscript

Modified: trunk/dports/net/net-snmp/files/patch-configure.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-configure.diff	2010-01-21 05:14:32 UTC (rev 62886)
+++ trunk/dports/net/net-snmp/files/patch-configure.diff	2010-01-21 05:41:12 UTC (rev 62887)
@@ -1,11 +1,11 @@
---- configure.old	2008-09-05 05:29:01.000000000 -0400
-+++ configure	2008-10-26 14:42:03.000000000 -0400
-@@ -32031,7 +32031,7 @@
-       echo "$as_me:$LINENO: checking for Perl cc" >&5
- echo $ECHO_N "checking for Perl cc... $ECHO_C" >&6
+--- configure.orig	2009-09-23 19:11:54.000000000 -0500
++++ configure	2010-01-20 23:31:57.000000000 -0600
+@@ -27279,7 +27279,7 @@
+         { $as_echo "$as_me:$LINENO: checking for Perl cc" >&5
+ $as_echo_n "checking for Perl cc... " >&6; }
  
--      PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'`
-+      PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/\.]+).;\s*/$1/);'`
+-        PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'`
++        PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/\.]+).;\s*/$1/);'`
  
-       if test "x$PERLCC" != "x" ; then
-         echo "$as_me:$LINENO: result: $PERLCC" >&5
+         if test "x$PERLCC" != "x" ; then
+             { $as_echo "$as_me:$LINENO: result: $PERLCC" >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100120/6bf57074/attachment.html>


More information about the macports-changes mailing list