# $Id: Portfile,v 1.17 2005/04/27 18:05:26 ricci Exp $ PortSystem 1.0 name net-snmp version 5.2.1 revision 0 categories net maintainers opendarwin.org@darkart.com description An extendable SNMP implementation long_description This is net-snmp, a derivative of CMU's SNMP \ package. Various tools relating to the Simple \ Network Management Protocol including: an extensible \ agent, an SNMP library, tools to request or set \ information from SNMP agents, tools to generate and \ handle SNMP traps, a version of the unix 'netstat' \ command using SNMP, a Tk/perl MIB browser. homepage http://net-snmp.sourceforge.net/ platforms darwin master_sites sourceforge checksums md5 4c38451b1f5914789da370b79dc06124 depends_build path:/usr/include/netinet/ip_var.h:netinet-headers patchfiles patch-Makefile.in depends_lib port:openssl \ port:zlib configure.args --enable-shared --disable-static --with-defaults \ --with-sys-contact=nobody@no.where \ --with-mib-modules="host disman/event-mib smux" \ --with-persistent-directory='\${prefix}/var/net-snmp' \ --mandir='\${prefix}/share/man' \ --infodir='\${prefix}/share/info' \ --with-logfile='\${prefix}/var/log' \ --with-openssl=${prefix} --with-zlib=${prefix} variant no_ssl { configure.args-delete --with-openssl=${prefix} configure.args-append --without-openssl } variant no_zlib { configure.args-delete --with-zlib=${prefix} configure.args-append --without-zlib } variant server { depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup } variant ipv6 { configure.args-append --enable-ipv6 } destroot.destdir prefix=${destroot}${prefix} \ exec_prefix=${destroot}${prefix} post-destroot { destroot.keepdirs ${destroot}${prefix}/var/net-snmp }