Ticket #26197: net-snmp-agent.diff
File net-snmp-agent.diff, 1.4 KB (added by gjasny@…, 11 years ago) |
---|
-
Portfile
old new 5 5 6 6 name net-snmp 7 7 version 5.7.2 8 revision 1 8 9 categories net 9 10 license BSD 10 11 platforms darwin … … 37 38 configure.env-append PERLPROG=${prefix}/bin/perl 38 39 39 40 configure.args --with-defaults \ 40 --disable-agent \41 41 --with-sys-contact=nobody@no.where \ 42 42 --with-persistent-directory=${prefix}/var/net-snmp \ 43 43 --mandir=${prefix}/share/man \ … … 58 58 configure.args-append --without-openssl 59 59 } 60 60 61 variant server description {Build snmpd} {62 configure.args-delete --disable-agent63 64 startupitem.create yes65 startupitem.name NetSNMP66 startupitem.start "echo \"NOT starting (net-)snmpd, no real startup item yet\""67 startupitem.stop "echo \"NOT stopping (net-)snmpd, no real startup item yet\""68 }69 70 61 variant ksm description {support for kerberos based SNMP security} { 71 62 configure.args-append --with-security-modules="usm ksm" 72 63 } … … 91 82 92 83 install.asroot yes 93 84 85 startupitem.create yes 86 startupitem.executable ${prefix}/sbin/snmpd -f 87 94 88 livecheck.type regex 95 89 livecheck.url ${homepage}download.html 96 90 livecheck.regex {net-snmp/([0-9.]+)/}