FreeBSD Bugzilla – Attachment 216647 Details for
Bug 248162
net-mgmt/snmptt: Update to 1.4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Shar of snmptt 1.4.1
snmptt-patch_141.patch (text/plain), 5.06 KB, created by
nistor
on 2020-07-22 03:13:00 UTC
(
hide
)
Description:
Shar of snmptt 1.4.1
Filename:
MIME Type:
Creator:
nistor
Created:
2020-07-22 03:13:00 UTC
Size:
5.06 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># snmptt/ ># snmptt/Makefile ># snmptt/distinfo ># snmptt/files ># snmptt/files/newsyslog-snmptt.conf ># snmptt/files/snmptt.in ># snmptt/pkg-descr ># snmptt/pkg-plist ># >echo c - snmptt/ >mkdir -p snmptt/ > /dev/null 2>&1 >echo x - snmptt/Makefile >sed 's/^X//' >snmptt/Makefile << 'e131114bb5e54cb90e883981b525ddc1' >X# $FreeBSD: head/net-mgmt/snmptt/Makefile 439381 2017-04-25 13:10:30Z garga $ >X >XPORTNAME= snmptt >XPORTVERSION= 1.4.1 >XPORTREVISION= 1 >XCATEGORIES= net-mgmt >XMASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION} >XDISTNAME= ${PORTNAME}_${PORTVERSION} >X >XMAINTAINER= nistor@snickers.org >XCOMMENT= SNMP trap handler/translator/swiss-army-knife >X >XLICENSE= GPLv2 >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XRUN_DEPENDS= net-snmp>=0:net-mgmt/net-snmp \ >X p5-Config-IniFiles>=0:devel/p5-Config-IniFiles >X >XNO_BUILD= yes >XNO_ARCH= yes >XUSES= perl5 shebangfix tar:tgz >XUSE_RC_SUBR= snmptt >XSUB_LIST= PERL=${PERL} >X >XPORTDOCS= faqs.html index.html layout1.css snmptt.html \ >X snmpttconvert.html snmpttconvertmib.html >X >XUSERS= snmptt >XGROUPS= snmptt >X >XOPTIONS_DEFINE= DOCS >X >XSCRIPTS= snmptt snmptt-net-snmp-test snmpttconvert \ >X snmpttconvertmib snmptthandler >X >XSHEBANG_FILES= ${SCRIPTS} >X >Xpost-patch: >X ${REINPLACE_CMD} -e "s|/var/run|/var/run/${PORTNAME}|" \ >X -e "s|/etc|${PREFIX}/etc|" ${WRKSRC}/snmptt.ini >X >Xdo-install: >X cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/sbin >X ${MKDIR} ${STAGEDIR}${PREFIX}/etc/snmp >X ${INSTALL_DATA} ${WRKSRC}/snmptt.ini ${STAGEDIR}${PREFIX}/etc/snmp/snmptt.ini.sample >X ${INSTALL_DATA} ${WRKSRC}/examples/snmptt.conf.generic \ >X ${STAGEDIR}${PREFIX}/etc/snmp/snmptt.conf.generic.sample >X ${INSTALL_DATA} ${FILESDIR}/newsyslog-snmptt.conf \ >X ${STAGEDIR}${PREFIX}/etc/snmp/newsyslog-snmptt.conf.sample >X @${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} >X @${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} >X @${MKDIR} ${STAGEDIR}/var/spool/${PORTNAME} >X >Xdo-install-DOCS-on: >X @${MKDIR} ${STAGEDIR}${DOCSDIR} >X cd ${WRKSRC}/docs && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} >X >X.include <bsd.port.mk> >e131114bb5e54cb90e883981b525ddc1 >echo x - snmptt/distinfo >sed 's/^X//' >snmptt/distinfo << 'abdbb5e8f65f03aa46226b066d42a7f9' >XTIMESTAMP = 1595387174 >XSHA256 (snmptt_1.4.1.tgz) = e6246879a1950edd12a93340d8ca6cac365baf73f3ba51c2a99068b36c27b5f1 >XSIZE (snmptt_1.4.1.tgz) = 142271 >abdbb5e8f65f03aa46226b066d42a7f9 >echo c - snmptt/files >mkdir -p snmptt/files > /dev/null 2>&1 >echo x - snmptt/files/newsyslog-snmptt.conf >sed 's/^X//' >snmptt/files/newsyslog-snmptt.conf << '2702c1bf39a2b645ee0d8c27ce47a618' >X# configuration file for newsyslog for snmptt >X# >X# see newsyslog.conf(5) for details >X# >X# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] >X/var/log/snmptt/snmptt.debug snmptt:snmptt 644 3 1024 * JC /var/run/snmptt/snmptt.pid >X/var/log/snmptt/snmptt.log snmptt:snmptt 644 3 * $W6D0 JC >X/var/log/snmptt/snmptthandler.debug snmptt:snmptt 644 3 1024 * JC >X/var/log/snmptt/snmpttunknown.log snmptt:snmptt 644 3 1024 * JC >X/var/log/snmptt/snmpttsystem.log snmptt:snmptt 644 3 1024 * JC >2702c1bf39a2b645ee0d8c27ce47a618 >echo x - snmptt/files/snmptt.in >sed 's/^X//' >snmptt/files/snmptt.in << '709cc0fdf3408a5a28d4704ea0fb8cb9' >X#!/bin/sh >X# >X# $FreeBSD: head/net-mgmt/snmptt/files/snmptt.in 439381 2017-04-25 13:10:30Z garga $ >X# >X >X# PROVIDE: snmptt >X# REQUIRE: LOGIN >X >X# >X# Add the following lines to /etc/rc.conf to enable snmptt: >X# >X# snmptt_enable: Set to NO by default. Set it to YES to enable it. >X# snmptt_user: The user account snmptt runs as what >X# you want it to be. It uses 'snmptt' user by >X# default. >X# snmptt_flags: See snmptt documentation for flags. >X# >X >X. /etc/rc.subr >X >Xname=snmptt >Xrcvar=${name}_enable >X >Xcommand=%%PREFIX%%/sbin/${name} >Xcommand_args="--daemon > /dev/null 2>&1" >Xcommand_interpreter=%%PERL%% >X >Xload_rc_config ${name} >X >X: ${snmptt_enable:="NO"} >X: ${snmptt_user:="snmptt"} >X >Xrequired_files=%%PREFIX%%/etc/snmp/${name}.ini >X >Xrun_rc_command "$1" >709cc0fdf3408a5a28d4704ea0fb8cb9 >echo x - snmptt/pkg-descr >sed 's/^X//' >snmptt/pkg-descr << '09d9b902467ecb006886a7d2d062908a' >XSNMPTT (SNMP Trap Translator) is an SNMP trap handler written in Perl >Xfor use with the Net-SNMP. Easy to setup and use. >X >XWWW: http://www.snmptt.org/ >09d9b902467ecb006886a7d2d062908a >echo x - snmptt/pkg-plist >sed 's/^X//' >snmptt/pkg-plist << 'f2bb589c35a6554a40834a254c335d27' >X@sample etc/snmp/newsyslog-snmptt.conf.sample etc/newsyslog.conf.d/snmptt.conf >X@sample etc/snmp/snmptt.conf.generic.sample >X@sample etc/snmp/snmptt.ini.sample >Xsbin/snmptt >Xsbin/snmptt-net-snmp-test >Xsbin/snmpttconvert >Xsbin/snmpttconvertmib >Xsbin/snmptthandler >X%%PORTDOCS%%@dir %%DOCSDIR%% >X@dir(snmptt,snmptt,775) /var/log/snmptt >X@dir(snmptt,snmptt,775) /var/run/snmptt >X@dir(snmptt,snmptt,700) /var/spool/snmptt >f2bb589c35a6554a40834a254c335d27 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
nistor:
maintainer-approval+
Actions:
View
Attachments on
bug 248162
: 216647 |
216808