[144212] trunk/dports/net/snmptt/Portfile
mojca at macports.org
mojca at macports.org
Mon Jan 4 13:51:12 PST 2016
Revision: 144212
https://trac.macports.org/changeset/144212
Author: mojca at macports.org
Date: 2016-01-04 13:51:12 -0800 (Mon, 04 Jan 2016)
Log Message:
-----------
snmptt: upgrade to 1.4, fix livecheck, switch to perl5.22 (#48365)
Modified Paths:
--------------
trunk/dports/net/snmptt/Portfile
Modified: trunk/dports/net/snmptt/Portfile
===================================================================
--- trunk/dports/net/snmptt/Portfile 2016-01-04 21:32:37 UTC (rev 144211)
+++ trunk/dports/net/snmptt/Portfile 2016-01-04 21:51:12 UTC (rev 144212)
@@ -2,10 +2,10 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name snmptt
-version 1.2
-revision 2
+version 1.4
categories net
license GPL-2+
maintainers nomaintainer
@@ -16,13 +16,16 @@
supported_archs noarch
homepage http://www.snmptt.org/
master_sites sourceforge:snmptt
-checksums md5 5200502b7058c9e2cbe3816bf0fe27d0
-distfiles ${name}_${version}.tgz
-worksrcdir ${name}_${version}
+extract.suffix .tgz
+distname ${name}_${version}
-depends_lib port:perl5.16 \
- port:p5.16-config-inifiles
+checksums rmd160 91514f21f05d41a4ccaf789f2033f3389f2ed989 \
+ sha256 512c33ecdf06da8b3c75082c1506e4b4091ddb714d0d9564771aa12ddc98ef99
+perl5.branches 5.22
+depends_lib port:perl${perl5.major} \
+ port:p${perl5.major}-config-inifiles
+
use_configure no
build {}
@@ -32,7 +35,7 @@
set scriptdir ${prefix}/share/${name}
post-patch {
- reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
+ reinplace "s|/usr/bin/perl|${perl5.bin}|g" \
${worksrcpath}/snmptt \
${worksrcpath}/snmptt-net-snmp-test \
${worksrcpath}/snmpttconvert \
@@ -87,7 +90,9 @@
-Edit your snmptrapd.conf (you may use the snmpconf utility) and make sure that
these items are present.
- traphandle default ${prefix}/bin/perl5.16 ${prefix}/sbin/snmptt
+ traphandle default ${perl5.bin} ${prefix}/sbin/snmptt
\n"
}
+
+livecheck.regex {/snmptt/snmptt_([0-9.]+)/}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160104/4702cdce/attachment.html>
More information about the macports-changes
mailing list