Bug 231085 - net-mgmt/net-snmp don't include newsyslog file
Summary: net-mgmt/net-snmp don't include newsyslog file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-02 08:09 UTC by Dries Michiels
Modified: 2018-09-02 14:01 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dries Michiels freebsd_committer freebsd_triage 2018-09-02 08:09:42 UTC
When installing net-snmp it also install a newsyslog file.
The newsyslog file has the flags to compress log files.

/var/log/snmpd.log 644 7 100 * J /var/run/net_snmpd.pid

In my case, the log files are already on a compressed ZFS dataset.
Is there a possibility to not include the newsyslog file anymore?
For all the other daemons that require it I made a file myself.
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2018-09-02 14:00:31 UTC
You can now disable the NEWSYSLOG option to your desired state.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-09-02 14:00:51 UTC
A commit references this bug:

Author: zi
Date: Sun Sep  2 14:00:38 UTC 2018
New revision: 478790
URL: https://svnweb.freebsd.org/changeset/ports/478790

Log:
  - Make newsyslog config file installation OPTIONable
  - Convert USE_MYSQL to USES=mysql

  PR:		231085
  Submitted by:	Dries Michiels <driesm.michiels@gmail.com>

Changes:
  head/net-mgmt/net-snmp/Makefile
  head/net-mgmt/net-snmp/pkg-plist
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2018-09-02 14:01:20 UTC
You can now disable the NEWSYSLOG option to get your desired state.