Date: Tue, 10 Apr 2007 22:32:59 GMT From: "Brian A. Seklecki"<bseklecki@collaborativefusion.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/111462: syslog-ng2 default configuration file path Message-ID: <200704102232.l3AMWxwS069260@www.freebsd.org> Resent-Message-ID: <200704102240.l3AMe1cP099937@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111462 >Category: ports >Synopsis: syslog-ng2 default configuration file path >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 10 22:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Brian A. Seklecki >Release: FreeBSD bdb0 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 >Organization: Collaborative Fusion, Inc. >Environment: FreeBSD bdb0 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p >Description: Among many other things, syslog-ng changed the default configuration file path determination method between 2.0.0 and 2.0.3. This was missed by the port maintainer (an easy mistake if you set $syslog_ng_flags="-f /alt/file.conf" seklecki@ravage:/tmp$ diff -u syslog-ng-2.0.0/syslog-ng.spec.bb \ syslog-ng-2.0.2/syslog-ng.spec.bb | grep -i conf -./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info \ - --sysconfdir=/etc +./configure --prefix=%{prefix} --mandir=%{_mandir} --infodir=%{prefix}/share/info \ + --sysconfdir=/etc/syslog-ng ------------------------------- >How-To-Repeat: Portupgrade to 2.0.2 >Fix: Regardless of when/why this changed and who is responsible, here are the corrective actions that need to be taken to resolve the problem: -) pkg-plist needs to reflect %%PREFIX%%/etc/syslog-ng.conf instead of etc/syslog-ng/syslog-ng.conf -) pkg-message needs to mention that configuration file path has changed -) ${required_files}= in ports/sysutils/syslog-ng2/files/syslog-ng.sh.in needs to reflect %%PREFIX%%/etc/syslog-ng.conf instead of %%PREFIX%%/etc/syslog-ng/syslog-ng.conf >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704102232.l3AMWxwS069260>