svn commit: r366349 - head/archivers/rpm4

Tijl Coosemans tijl at FreeBSD.org
Fri Aug 29 12:00:40 UTC 2014


On Fri, 29 Aug 2014 15:14:58 +0400 Dmitry Marakasov <amdmi3 at amdmi3.ru> wrote:
> * John Marino (freebsd.contact at marino.st) wrote:
>>>> Does it test with a non-default prefix maybe?  Because these directories
>>>> really are in lang/python27/pkg-plist.  It would at least have to be
>>>> dirrmtry here, because other ports install files in those directories.
>>> 
>>> Strange, poudriere doesn't complain on these any more (no, I haven't
>>> used non-default prefix). So I've removed them.
>>> 
>>> And yes, @dirrmtry should've been used here. Regarding directories
>>> shared by multiple ports, I still don't have clear understanding:
>>> on one hand, if a directory is managed by dependency, it shouldn't
>>> appear in the port plist. On the other hand, if a port is installed
>>> with non-default prefix, it should manage all dirs it uses on its
>>> own. I probably would prefer the latter as it's more flexible and
>>> less error prone (what if dependent ports plist change and directory
>>> is no longer shared).
>> 
>> if the directory is provided by a dependency 100% of the cases, then it
>> shouldn't be in pkg-plist because it will try-fail 100% of the time.
> 
> As I've said, this 100% is unreliable as it may change sometime
> 
>> The non-standard prefix isn't an issue because all ports will have the
>> same non-standard prefix.  There's no difference.
> 
> No, just an individual port may be installed with non-standard prefix
> (while dependencies remain in standard one).

I think pkg will handle directories automatically once pkg_install has
been removed.  Only empty directories and directories with special
permissions will have to be listed in pkg-plist then.


More information about the svn-ports-all mailing list