Bug 229445 - sysutils/zrepl: Wrong installed file: etc/newsyslog.conf.d/zrepl.conf.sample
Summary: sysutils/zrepl: Wrong installed file: etc/newsyslog.conf.d/zrepl.conf.sample
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ben Woods
URL: https://svnweb.freebsd.org/base?view=...
Depends on:
Reported: 2018-07-01 06:50 UTC by Yuri Victorovich
Modified: 2019-06-04 14:25 UTC (History)
1 user (show)

See Also:
woodsb02: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2018-07-01 06:50:23 UTC
This line:
> @sample etc/newsyslog.conf.d/zrepl.conf.sample
is certainly wrong, because all files in etc/newsyslog.conf.d/ are executed. 

Sample should be under %%ETCDIR%%, something like
> @sample %%ETCDIR%%/newsyslog.conf.sample etc/newsyslog.conf.d/%%PORTNAME%%.conf

> @sample etc/syslog.d/zrepl.conf.sample
likely suffers from the same problem.
Comment 1 Ben Woods freebsd_committer 2019-06-04 14:25:15 UTC
I have modified the FreeBSD base default newsyslog.conf file to only include files which end in a .conf. This will take effect from FreeBSD 13.