ports/109674: net/bacula-server doesn't honor PREFIX

Andrew Kolchoogin andrew at rinet.ru
Wed Feb 28 13:20:04 UTC 2007

>Number:         109674
>Category:       ports
>Synopsis:       net/bacula-server doesn't honor PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 13:20:04 GMT 2007
>Originator:     Andrew Kolchoogin
>Release:        FreeBSD 6.2-RELEASE alpha
Cronyx Plus LLC
System: FreeBSD mowgli.rinet.ru 6.2-RELEASE-NAT-T FreeBSD 6.2-RELEASE-NAT-T #0: Mon Jan 15 18:25:51 MSK 2007 sallevan at mowgli.rinet.ru:/usr/obj/usr/src/sys-nat-t/UNIX alpha
	Port "net/bacula-server" doesn't honor PREFIX seiing
	Just build port with PREFIX set to something other than "/usr/local" and try to start Bacula storage daemon.
bagheera# cvs diff -u bacula-sd.in
Index: bacula-sd.in
RCS file: /home/ncvs/ports/sysutils/bacula-server/files/bacula-sd.in,v
retrieving revision 1.2
diff -u -r1.2 bacula-sd.in
--- bacula-sd.in        4 Jan 2007 23:22:30 -0000       1.2
+++ bacula-sd.in        28 Feb 2007 12:41:12 -0000
@@ -18,14 +18,14 @@


 load_rc_config $name


 : ${bacula_sd_enable="NO"}
-: ${bacula_sd_flags=" -u bacula -g bacula -v -c /usr/local/etc/bacula-sd.conf"}
+: ${bacula_sd_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula-sd.conf"}
 : ${bacula_sd_pidfile="/var/run/bacula-sd.9103.pid"}

 run_rc_command "$1"


More information about the freebsd-ports-bugs mailing list