Date: Sun, 17 Oct 2004 12:23:52 +0900 (JST) From: Fumihiko Kimura <jfkimura@yahoo.co.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kuriyama@FreeBSD.org Subject: ports/72779: update ports: net-mgmt/net-snmp Message-ID: <200410170323.i9H3Nq97042140@sh0.radio.gr.jp> Resent-Message-ID: <200410170330.i9H3UTfJ086074@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72779 >Category: ports >Synopsis: update ports: net-mgmt/net-snmp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 17 03:30:29 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Fumihiko Kimura >Release: FreeBSD 4.10-RELEASE i386 >Organization: >Environment: >Description: (Cc MAINTAINER) A warning message was displayed. In addition, a sample file of a setting file hopes for a thing in DATADIR. My suggestion is the following particulars which changed each file. - pkg-messages - leave sample file to DATADIR - pkg-plist >How-To-Repeat: I referred to pkg-messages, and I set it, but the following messages were displayed. Warning: -s option is deprecated; use -Lsd instead >Fix: === begin cut here === diff -urN net-snmp-orig/Makefile net-snmp/Makefile --- net-snmp-orig/Makefile Mon Sep 6 05:46:36 2004 +++ net-snmp/Makefile Sun Oct 17 11:54:27 2004 @@ -238,7 +238,7 @@ ' .endif -post-install: strip-files install-startup-files install-doc-files display-message +post-install: strip-files install-startup-files install-config-files install-doc-files display-message strip-files: @cd ${PREFIX}/bin; ${STRIP_CMD} ${BIN_FILES} @@ -248,6 +248,9 @@ .for file in ${STARTUP_FILES} @${INSTALL_SCRIPT} ${WRKDIR}/${file} ${STARTUP_DIR} .endfor + +install-config-files: + @${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${DATADIR}/snmpd.conf.example install-doc-files: .if !defined(NOPORTDOCS) diff -urN net-snmp-orig/pkg-message net-snmp/pkg-message --- net-snmp-orig/pkg-message Thu Mar 11 06:34:04 2004 +++ net-snmp/pkg-message Sun Oct 17 11:26:21 2004 @@ -4,9 +4,9 @@ lines into /etc/rc.conf. snmpd_enable="YES" - snmpd_flags="-as -p /var/run/snmpd.pid" + snmpd_flags="-a -p /var/run/snmpd.pid" snmptrapd_enable="YES" - snmptrapd_flags="-as -p /var/run/snmptrapd.pid" + snmptrapd_flags="-a -p /var/run/snmptrapd.pid" **** You may specify the following make variables: diff -urN net-snmp-orig/pkg-plist net-snmp/pkg-plist --- net-snmp-orig/pkg-plist Mon Sep 6 05:46:36 2004 +++ net-snmp/pkg-plist Sun Oct 17 11:56:38 2004 @@ -222,6 +222,7 @@ %%PORTDOCS%%%%DOCSDIR%%/README.snmpv3 %%PORTDOCS%%%%DOCSDIR%%/README.thread %%PORTDOCS%%%%DOCSDIR%%/README.smux +%%DATADIR%%/snmpd.conf.example %%DATADIR%%/mib2c.access_functions.conf %%DATADIR%%/mib2c.array-user.conf %%DATADIR%%/mib2c.check_values.conf === ended cut here === >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410170323.i9H3Nq97042140>