Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2010 16:33:33 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Corey Smith <corsmith@gmail.com>
Cc:        freebsd-ports-bugs@FreeBSD.org, "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>
Subject:   Re: ports/152116: [MAINTAINER UPDATE] net-mgmt/torrus: 1.0.8 to 1.0.9
Message-ID:  <4CEBDECD.7020703@FreeBSD.org>
In-Reply-To: <AANLkTi=hL%2BbnwNAn%2Bbtrk4C5gNh3LuhDWqXJGsBPuVTd@mail.gmail.com>
References:  <201011181449.oAIEnDtA012363@freefall.freebsd.org>	<AANLkTimOaWmy=uw=vsaRELi_K=n%2BXii7_oipQNhgqovf@mail.gmail.com>	<1290205168.1788.170.camel@hood.oook.cz> <AANLkTi=hL%2BbnwNAn%2Bbtrk4C5gNh3LuhDWqXJGsBPuVTd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@oook.cz>
               <pav@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CEBDECD.7020703>