<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[129760] trunk/dports/net/net-snmp</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/129760">129760</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2014-12-19 16:41:13 -0800 (Fri, 19 Dec 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>net-snmp:
* update to 5.7.3 (#46225)
* use perl 5.16 explicitly
* change no_ssl variant to ssl variant
* remove server variant; always build agent and install launchd plist (#26197)
* don't install.asroot; I don't remember why I added that in <a href="https://trac.macports.org/changeset/73191">r73191</a>
* allow parallel build, which now works (#35691)
* add kerberos5 dependency to ksm variant, which now works (#21241)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsnetnetsnmpPortfile">trunk/dports/net/net-snmp/Portfile</a></li>
<li><a href="#trunkdportsnetnetsnmpfilespatchconfigurediff">trunk/dports/net/net-snmp/files/patch-configure.diff</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsnetnetsnmpfilespatchincludenetsnmpsystemdarwin14hdiff">trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsnetnetsnmpfilespatchincludenetsnmpsystemdarwin13hdiff">trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsnetnetsnmpPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/net/net-snmp/Portfile (129759 => 129760)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/net-snmp/Portfile        2014-12-19 23:59:34 UTC (rev 129759)
+++ trunk/dports/net/net-snmp/Portfile        2014-12-20 00:41:13 UTC (rev 129760)
</span><span class="lines">@@ -4,8 +4,7 @@
</span><span class="cx"> PortSystem              1.0
</span><span class="cx"> 
</span><span class="cx"> name                    net-snmp
</span><del>-version                 5.7.2
-revision                4
</del><ins>+version                 5.7.3
</ins><span class="cx"> categories              net
</span><span class="cx"> license                 BSD
</span><span class="cx"> platforms               darwin
</span><span class="lines">@@ -23,37 +22,31 @@
</span><span class="cx">                         handle SNMP traps, a version of the unix 'netstat' \
</span><span class="cx">                         command using SNMP, a Tk/perl MIB browser.
</span><span class="cx"> 
</span><del>-checksums               rmd160  392d643e9f2f42ee4fa688b4702329ad005ee12e \
-                        sha256  09ed31b4cc1f3c0411ef9a16eff79ef3b30d89c32ca46d5a01a41826c4ceb816
</del><ins>+checksums               rmd160  c5cf54d5723ee417e07f1f9fa3936aef505104a2 \
+                        sha256  12ef89613c7707dc96d13335f153c1921efc9d61d3708ef09f3fc4a7014fb4f0
</ins><span class="cx"> 
</span><ins>+set perl_version        5.16
+
+depends_lib             port:bzip2 \
+                        port:perl${perl_version} \
+                        port:zlib
+
</ins><span class="cx"> post-extract {
</span><del>-    # darwin13.h does not exist in 5.7.2
</del><ins>+    # darwin14.h does not exist in 5.7.3
</ins><span class="cx">     # https://sourceforge.net/p/net-snmp/bugs/2504/
</span><del>-    copy ${worksrcpath}/include/net-snmp/system/darwin12.h ${worksrcpath}/include/net-snmp/system/darwin13.h
</del><ins>+    copy ${worksrcpath}/include/net-snmp/system/darwin13.h ${worksrcpath}/include/net-snmp/system/darwin14.h
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> patchfiles              patch-configure.diff
</span><del>-patchfiles-append       patch-include-net-snmp-system-darwin13.h.diff
-patchfiles-append       patch-5.7.2.1.diff
</del><ins>+patchfiles-append       patch-include-net-snmp-system-darwin14.h.diff
</ins><span class="cx"> 
</span><del>-depends_lib             port:openssl \
-                        port:zlib \
-                        port:bzip2 \
-                        path:bin/perl:perl5
</del><ins>+configure.env-append    PERLPROG=${prefix}/bin/perl${perl_version}
</ins><span class="cx"> 
</span><del>-# make[1]: *** No rule to make target `add_mibdir.3', needed by `maninstall'.  Stop.
-use_parallel_build      no
-
-configure.env-append    PERLPROG=${prefix}/bin/perl
-
</del><span class="cx"> configure.args          --with-defaults \
</span><del>-                        --disable-agent \
</del><span class="cx">                         --with-sys-contact=nobody@no.where \
</span><span class="cx">                         --with-persistent-directory=${prefix}/var/net-snmp \
</span><del>-                        --mandir=${prefix}/share/man \
-                        --infodir=${prefix}/share/info \
</del><span class="cx">                         --with-logfile=${prefix}/var/log \
</span><del>-                        --with-openssl=${prefix} \
</del><ins>+                        --without-openssl \
</ins><span class="cx">                         --with-zlib=${prefix} \
</span><span class="cx">                         --with-bzip2=${prefix} \
</span><span class="cx">                         --with-install-prefix=${destroot} \
</span><span class="lines">@@ -62,22 +55,20 @@
</span><span class="cx">                         --enable-ipv6 \
</span><span class="cx">                         --with-out-mib-modules=mibII/ipv6
</span><span class="cx"> 
</span><del>-variant no_ssl description {Without libssl support} {
-    depends_lib-delete port:openssl
-    configure.args-delete --with-openssl=${prefix}
-    configure.args-append --without-openssl
</del><ins>+# Remove no_ssl variant after December 2015
+variant no_ssl conflicts ssl description {Legacy compatibility variant} {}
+variant ssl conflicts no_ssl description {Enable ssl support} {
+    depends_lib-append  port:openssl
+    configure.args-replace --without-openssl --with-openssl=${prefix}
</ins><span class="cx"> }
</span><del>-
-variant server description {Build snmpd} {
-    configure.args-delete --disable-agent
-    
-    startupitem.create  yes
-    startupitem.name    NetSNMP
-    startupitem.start   &quot;echo \&quot;NOT starting (net-)snmpd, no real startup item yet\&quot;&quot;
-    startupitem.stop    &quot;echo \&quot;NOT stopping (net-)snmpd, no real startup item yet\&quot;&quot;
</del><ins>+if {[variant_isset no_ssl]} {
+    default_variants -ssl
+} else {
+    default_variants +ssl
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-variant ksm description {support for kerberos based SNMP security} {
</del><ins>+variant ksm description {Enable support for kerberos-based SNMP security} {
+    depends_lib-append  port:kerberos5
</ins><span class="cx">     configure.args-append --with-security-modules=&quot;usm ksm&quot;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -99,7 +90,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-install.asroot          yes
</del><ins>+startupitem.create      yes
+startupitem.executable  ${prefix}/sbin/snmpd -f
</ins><span class="cx"> 
</span><span class="cx"> livecheck.type          regex
</span><span class="cx"> livecheck.url           ${homepage}download.html
</span></span></pre></div>
<a id="trunkdportsnetnetsnmpfilespatchconfigurediff"></a>
<div class="modfile"><h4>Modified: trunk/dports/net/net-snmp/files/patch-configure.diff (129759 => 129760)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/net-snmp/files/patch-configure.diff        2014-12-19 23:59:34 UTC (rev 129759)
+++ trunk/dports/net/net-snmp/files/patch-configure.diff        2014-12-20 00:41:13 UTC (rev 129760)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><del>---- configure.orig        2012-10-09 17:35:37.000000000 -0500
-+++ configure        2012-10-20 18:10:02.000000000 -0500
-@@ -23410,7 +23410,7 @@
</del><ins>+--- configure.orig        2014-12-08 14:23:37.000000000 -0600
++++ configure        2014-12-19 18:25:57.000000000 -0600
+@@ -23928,7 +23928,7 @@
</ins><span class="cx">          { $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking for Perl cc&quot; &gt;&amp;5
</span><span class="cx">  $as_echo_n &quot;checking for Perl cc... &quot; &gt;&amp;6; }
</span><span class="cx">  
</span></span></pre></div>
<a id="trunkdportsnetnetsnmpfilespatchincludenetsnmpsystemdarwin13hdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff (129759 => 129760)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff        2014-12-19 23:59:34 UTC (rev 129759)
+++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff        2014-12-20 00:41:13 UTC (rev 129760)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>---- include/net-snmp/system/darwin12.h        2012-10-09 17:28:58.000000000 -0500
-+++ include/net-snmp/system/darwin13.h        2013-10-24 00:58:04.000000000 -0500
-@@ -44,9 +44,9 @@
- /*
-  * This section defines Mac OS X 10.5 (and later) specific additions.
-  */
--#define darwin 12
--#ifndef darwin12
--#   define darwin12 darwin
-+#define darwin 13
-+#ifndef darwin13
-+#   define darwin13 darwin
- #endif

- /*
</del></span></pre></div>
<a id="trunkdportsnetnetsnmpfilespatchincludenetsnmpsystemdarwin14hdifffromrev129748trunkdportsnetnetsnmpfilespatchincludenetsnmpsystemdarwin13hdiff"></a>
<div class="copfile"><h4>Copied: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff (from rev 129748, trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin13.h.diff) (0 => 129760)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff                                (rev 0)
+++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff        2014-12-20 00:41:13 UTC (rev 129760)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+--- include/net-snmp/system/darwin13.h        2013-10-09 17:28:58.000000000 -0500
++++ include/net-snmp/system/darwin14.h        2014-10-24 00:58:04.000000000 -0500
+@@ -44,9 +44,9 @@
+ /*
+  * This section defines Mac OS X 10.5 (and later) specific additions.
+  */
+-#define darwin 13
+-#ifndef darwin13
+-#   define darwin13 darwin
++#define darwin 14
++#ifndef darwin14
++#   define darwin14 darwin
+ #endif

+ /*
</ins></span></pre>
</div>
</div>

</body>
</html>