On Wed, 13 Apr 2005, Michael 'buk' Scherer wrote:

Bacula names all config-files foo.conf.sample, as every other port.
So what gets deleted is the ,sample-file, not the .conf-file you created afterwards.


[snip freebsd port system not removing configs]

However, the 'uninstall' target in the makefile does (well, in 1.36.1 anyway):-

(root:/home/ian/software/bacula-1.36.1)# ls -1 /usr/local/bacula/etc/*.conf
/usr/local/bacula/etc/bacula-dir.conf
/usr/local/bacula/etc/bacula-fd.conf
/usr/local/bacula/etc/bacula-sd.conf
/usr/local/bacula/etc/bconsole.conf
(root:/home/ian/software/bacula-1.36.1)# make uninstall
(cd /usr/local/bacula/etc; /bin/rm -f startmysql)
[ snip ]
(cd /usr/local/bacula/etc; /bin/rm -f console.conf bconsole.conf 
bconsole.conf.new)
[ snip ]
(cd /usr/local/bacula/etc; /bin/rm -f bacula-dir.conf bacula-dir.conf.new)
[ snip ]
(cd /usr/local/bacula/etc; /bin/rm -f bacula-sd.conf bacula-sd.conf.new)
(cd /usr/local/bacula/sbin; /bin/rm -f bsmtp)
(cd /usr/local/bacula/sbin; /bin/rm -f dbcheck)
(root:/home/ian/software/bacula-1.36.1)# ls -1 /usr/local/bacula/etc/*.conf
/usr/local/bacula/etc/bacula-fd.conf
(root:/home/ian/software/bacula-1.36.1)#


PS: Not removing configs is a must for every port and therefor tested before accepting it


I think the origonal poster was doing a 'make uninstall' from the source tree.

Cheers,

Ian

PS Apologies for the long lines here I was trying not to chop commands.
--
Ian Clark



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to