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

reiffert at macports.org reiffert at macports.org
Sun Mar 16 03:44:45 PDT 2008


Revision: 35063
          http://trac.macosforge.org/projects/macports/changeset/35063
Author:   reiffert at macports.org
Date:     2008-03-16 03:44:44 -0700 (Sun, 16 Mar 2008)

Log Message:
-----------
Updated to net-snmp 5.4.1
Added variant descriptions
Adjusted patch filename
Fixed lint warning

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

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

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

Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile	2008-03-16 10:36:03 UTC (rev 35062)
+++ trunk/dports/net/net-snmp/Portfile	2008-03-16 10:44:44 UTC (rev 35063)
@@ -1,9 +1,9 @@
 # $Id$
+
 PortSystem 1.0
 
 name			net-snmp
-version			5.4
-revision		1
+version			5.4.1
 categories		net
 maintainers		opendarwin.org at darkart.com openmaintainer
 description		An extendable SNMP implementation
@@ -17,12 +17,12 @@
 homepage		http://net-snmp.sourceforge.net/
 platforms		darwin
 master_sites		sourceforge
-checksums		md5 46d893281056ff476e597659cb91574d \
-			sha1 8edb17509eba9f8c9cfb015fe35a1024048129eb \
-			rmd160 8ad1f9a3def8022eea48d9b74ae71d8efb59ca61
+checksums		md5 6c974df7a5a5b1579f72115e6b045bda \
+			sha1 ac5ba033c10d53d3057415121f8c4936c643c208 \
+			rmd160 3723488dab8d164702a7d55c9c72eeaec07dd50c
 
 depends_build		path:/usr/include/netinet/ip_var.h:netinet-headers
-patchfiles		patch-Makefile.in
+patchfiles		patch-Makefile.in.diff
 
 depends_lib		port:openssl \
 			port:zlib
@@ -37,21 +37,21 @@
 				--with-install-prefix=${destroot} \
 				--without-kmem-usage
 
-variant no_ssl {
+variant no_ssl description { Without libssl support } {
 	configure.args-delete --with-openssl=${prefix}
 	configure.args-append --without-openssl
 }
 
-variant no_zlib {
+variant no_zlib description { Without libz support } {
 	configure.args-delete --with-zlib=${prefix}
 	configure.args-append --without-zlib
 }
 
-variant bzip2 {
+variant bzip2 description { Uses libbz2 } {
 	configure.args-append --with-bzip2=${prefix}
 }
 
-variant server	{
+variant server description { Build snmpd } {
 	configure.args-delete	--disable-agent
 
 	startupitem.create              yes
@@ -62,12 +62,9 @@
 		"echo \"NOT stopping (net-)snmpd, no real startup item yet\""
 }
 
-variant ipv6	{ configure.args-append --enable-ipv6 --with-out-mib-modules=mibII/ipv6}
+variant ipv6 description { Use IPv6 } { configure.args-append --enable-ipv6 --with-out-mib-modules=mibII/ipv6}
 
-## add in support for kerb based SNMP security
-variant ksm	{ configure.args-append --with-security-modules="usm ksm" }
+variant ksm description { support for kerberos based SNMP security } { configure.args-append --with-security-modules="usm ksm" }
 
-## destroot.destdir	prefix=${destroot}${prefix} \
-## 			exec_prefix=${destroot}${prefix}
 post-destroot	{ destroot.keepdirs ${destroot}${prefix}/var/net-snmp }
 

Deleted: trunk/dports/net/net-snmp/files/patch-Makefile.in
===================================================================
--- trunk/dports/net/net-snmp/files/patch-Makefile.in	2008-03-16 10:36:03 UTC (rev 35062)
+++ trunk/dports/net/net-snmp/files/patch-Makefile.in	2008-03-16 10:44:44 UTC (rev 35063)
@@ -1,11 +0,0 @@
---- Makefile.in.orig	Wed Oct 20 21:02:05 2004
-+++ Makefile.in	Tue Dec 28 20:31:52 2004
-@@ -66,7 +66,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

Added: trunk/dports/net/net-snmp/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/net/net-snmp/files/patch-Makefile.in.diff	2008-03-16 10:44:44 UTC (rev 35063)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Wed Oct 20 21:02:05 2004
++++ Makefile.in	Tue Dec 28 20:31:52 2004
+@@ -66,7 +66,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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080316/42e72aa5/attachment.html


More information about the macports-changes mailing list