[Bug 248058] net-mgmt/net-snmp: [PATCH] Install newsyslog config as a sample

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 18 03:32:27 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248058

            Bug ID: 248058
           Summary: net-mgmt/net-snmp: [PATCH] Install newsyslog config as
                    a sample
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: james at french.id.au
          Assignee: zi at FreeBSD.org
             Flags: maintainer-feedback?(zi at FreeBSD.org)

Created attachment 216527
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216527&action=edit
Patch to install newsyslog.conf.d/net-snmp.conf as a @sample

net-mgmt/net-snmp ships with a sample newsyslog.conf file that gets installed
into /usr/local/etc/newsyslog.conf.d.

If a user decides to make changes to this file then those changes:
- Get overwritten when the package is updated
- Get complained about by periodic-security because the installed file no
longer matches the package checksum

This patch instead installs the sample file under ${EXAMPLESDIR}/newsyslog.conf
and uses @sample to install it under etc/newsyslog.conf.d.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list