ports/152116: [MAINTAINER UPDATE] net-mgmt/torrus: 1.0.8 to 1.0.9
Pav Lucistnik
pav at FreeBSD.org
Tue Nov 23 15:33:39 UTC 2010
On 2010/11/23 16:29, Corey Smith wrote:
> They already are.
>
> # pkg_info -v torrus-1.0.9 | grep -i sample
> File: etc/torrus/conf/devdiscover-siteconfig.pl.sample
> File: etc/torrus/conf/email-siteconfig.pl.sample
> File: etc/torrus/conf/notify-siteconfig.pl.sample
> File: etc/torrus/conf/snmptrap-siteconfig.pl.sample
> File: etc/torrus/conf/torrus-siteconfig.pl.sample
> File: etc/torrus/xmlconfig/site-global.xml.sample
>
> It does the right thing if you use the package. If you install via
> the port you get some leftover files because the make install copies
> the files to the original name + the original name .sample if the
> originals don't exist.
Right, so install from package differs to install from port.
You need to fix it, two ways to choose from:
1) stop port from installing original name
2) make package copy from .sample to .pl and delete on deinstall,
and fix it to remove .pl if it's identical to .sample on deinstall, per
http://www.freebsd.org/doc/en/books/porters-handbook/plist-config.html
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
More information about the freebsd-ports-bugs
mailing list