Subject: Re: print-PLIST and rc.d/etc files
To: Greg Troxel <>
From: Thomas Klausner <>
List: tech-pkg
Date: 04/28/2005 14:40:17
On Wed, Apr 27, 2005 at 10:48:46AM -0400, Greg Troxel wrote:
> I just updated wip/quagga-devel to a new snapshot.  I did make
> print-PLIST and added in a few files newly appearing.  If I cat
> together and sort the PLIST files used (main, opaquelsa, v6, vtysh),
> sort the auto PLIST, and 'diff pkgsrc.sort auto.sort, I see only the
> following lines:
> +etc/zebra/bgpd.conf
> +etc/zebra/ospf6d.conf
> +etc/zebra/ospfd.conf
> +etc/zebra/ripd.conf
> +etc/zebra/ripngd.conf
> +etc/zebra/vtysh.conf
> +etc/zebra/zebra.conf
> +share/examples/rc.d/bgpd
> +share/examples/rc.d/ospf6d
> +share/examples/rc.d/ospfd
> +share/examples/rc.d/ripd
> +share/examples/rc.d/ripngd
> +share/examples/rc.d/zebra
> The Makefile does (and similarly for more e.g. if v6 defined)
> RCD_SCRIPTS=    zebra bgpd ospfd ripd
> and
> # log_syslog.conf is used as a template for each config file
> .for _file_ in vtysh.conf zebra.conf bgpd.conf ospfd.conf ripd.conf
> ${PREFIX}/share/examples/quagga/log_syslog.conf ${PKG_SYSCONFDIR}/${_file_} quagga quagga 0600
> .endfor
> .undef _file_
> It seems the files above do not belong in PLIST, since they are
> auto-inserted.  So, is this a bug in the print-PLIST target (which
> seems to know how to omit other than .la for libtool libs)?

Yes, I think it's a bug too.

On the other hand, if you use it the following way:
	make install
	make deinstall
	make print-PLIST
you won't have this particular problem, since the auto-inserted
files will already be gone again.