[41554] trunk/dports/net/net-snmp
mcalhoun at macports.org
mcalhoun at macports.org
Wed Nov 5 19:23:20 PST 2008
Revision: 41554
http://trac.macports.org/changeset/41554
Author: mcalhoun at macports.org
Date: 2008-11-05 19:23:19 -0800 (Wed, 05 Nov 2008)
Log Message:
-----------
net-snmp: Update version 5.4.1 -> 5.4.2.1; add perl dependency. (Fixes #17010)
Modified Paths:
--------------
trunk/dports/net/net-snmp/Portfile
trunk/dports/net/net-snmp/files/patch-Makefile.in.diff
Added Paths:
-----------
trunk/dports/net/net-snmp/files/patch-configure.diff
Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile 2008-11-05 23:47:26 UTC (rev 41553)
+++ trunk/dports/net/net-snmp/Portfile 2008-11-06 03:23:19 UTC (rev 41554)
@@ -3,8 +3,7 @@
PortSystem 1.0
name net-snmp
-version 5.4.1
-revision 1
+version 5.4.2.1
categories net
maintainers opendarwin.org at darkart.com openmaintainer
description An extendable SNMP implementation
@@ -18,16 +17,18 @@
homepage http://net-snmp.sourceforge.net/
platforms darwin
master_sites sourceforge
-checksums md5 6c974df7a5a5b1579f72115e6b045bda \
- sha1 ac5ba033c10d53d3057415121f8c4936c643c208 \
- rmd160 3723488dab8d164702a7d55c9c72eeaec07dd50c
+checksums md5 984932520143f0c8bf7b7ce1fc9e1da1 \
+ sha1 4f2df9ea62344fe840f493d0e08abe5de3697862 \
+ rmd160 2148c42d486ed88f9cfc3ca1d50c68abcd7e3d63
depends_build path:/usr/include/netinet/ip_var.h:netinet-headers
-patchfiles patch-Makefile.in.diff
+patchfiles patch-Makefile.in.diff patch-configure.diff
depends_lib port:openssl \
- port:zlib
-configure.args --enable-shared --disable-static --with-defaults \
+ port:zlib \
+ path:bin/perl:perl5
+configure.env-append PERLPROG=${prefix}/bin/perl
+configure.args --with-defaults \
--disable-agent \
--with-sys-contact=nobody at no.where \
--with-persistent-directory=${prefix}/var/net-snmp \
@@ -78,3 +79,6 @@
file delete ${badfile}
}
}
+
+livecheck.check sourceforge
+livecheck.regex "<title>net-snmp (\\d+(?:\\.\\d+)*) released.*</title>"
Modified: trunk/dports/net/net-snmp/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-Makefile.in.diff 2008-11-05 23:47:26 UTC (rev 41553)
+++ trunk/dports/net/net-snmp/files/patch-Makefile.in.diff 2008-11-06 03:23:19 UTC (rev 41554)
@@ -1,6 +1,6 @@
--- Makefile.in.orig Wed Oct 20 21:02:05 2004
+++ Makefile.in Tue Dec 28 20:31:52 2004
-@@ -66,7 +66,7 @@
+@@ -92,7 +92,7 @@
# local build rules
#
sedscript: sedscript.in include/net-snmp/net-snmp-config.h $(srcdir)/agent/mibgroup/mibdefs.h
Added: trunk/dports/net/net-snmp/files/patch-configure.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-configure.diff (rev 0)
+++ trunk/dports/net/net-snmp/files/patch-configure.diff 2008-11-06 03:23:19 UTC (rev 41554)
@@ -0,0 +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
+
+- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081105/7e6173a3/attachment.html>
More information about the macports-changes
mailing list