Index: head/net-mgmt/snmptt/Makefile =================================================================== --- head/net-mgmt/snmptt/Makefile (revision 567414) +++ head/net-mgmt/snmptt/Makefile (revision 567415) @@ -1,57 +1,58 @@ # $FreeBSD$ PORTNAME= snmptt PORTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= nistor@snickers.org COMMENT= SNMP trap handler/translator/swiss-army-knife LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= net-snmp>=0:net-mgmt/net-snmp \ p5-Config-IniFiles>=0:devel/p5-Config-IniFiles NO_BUILD= yes NO_ARCH= yes USES= perl5 shebangfix tar:tgz USE_RC_SUBR= snmptt SUB_LIST= PERL=${PERL} PORTDOCS= faqs.html index.html layout1.css snmptt.html \ snmpttconvert.html snmpttconvertmib.html USERS= snmptt GROUPS= snmptt OPTIONS_DEFINE= DOCS SCRIPTS= snmptt snmptt-net-snmp-test snmpttconvert \ snmpttconvertmib snmptthandler SHEBANG_FILES= ${SCRIPTS} post-patch: ${REINPLACE_CMD} -e "s|/var/run|/var/run/${PORTNAME}|" \ -e "s|/etc|${PREFIX}/etc|" ${WRKSRC}/snmptt.ini do-install: cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${PREFIX}/etc/snmp ${INSTALL_DATA} ${WRKSRC}/snmptt.ini ${STAGEDIR}${PREFIX}/etc/snmp/snmptt.ini.sample ${INSTALL_DATA} ${WRKSRC}/examples/snmptt.conf.generic \ ${STAGEDIR}${PREFIX}/etc/snmp/snmptt.conf.generic.sample ${INSTALL_DATA} ${FILESDIR}/newsyslog-snmptt.conf \ ${STAGEDIR}${PREFIX}/etc/snmp/newsyslog-snmptt.conf.sample @${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} @${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} @${MKDIR} ${STAGEDIR}/var/spool/${PORTNAME} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net-mgmt/snmptt/files/patch-snmptt =================================================================== --- head/net-mgmt/snmptt/files/patch-snmptt (nonexistent) +++ head/net-mgmt/snmptt/files/patch-snmptt (revision 567415) @@ -0,0 +1,13 @@ +--- snmptt.orig 2021-02-19 20:24:30 UTC ++++ snmptt +@@ -956,8 +956,8 @@ if ($daemon == 1) + $) = $daemon_gid; + $( = $); + +- $> = $daemon_uid; +- $< = $>; ++ $< = $daemon_uid; ++ $> = $<; + + if ($< != $daemon_uid || $( != $daemon_gid) { + if ($syslog_system_enable == 1) { Property changes on: head/net-mgmt/snmptt/files/patch-snmptt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property