[Bug 204966] www/rssroll: make check-plist incorrectly returns/replaces path with %%WWWOWN%%

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 3 15:26:15 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204966

--- Comment #7 from Nikola Kolev <koue at chaosophia.net> ---
Hi,

If port's Makefile contains

PLIST_SUB=     WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

and ${WWWOWN} by default is 'www' (/usr/ports/Mk/bsd.port.mk) and if 'www'
exists somewhere in the paths of the installed files from the port except
'www/${PORTNAME}' because it is ${WWWDIR} then 'make check-plist' returns:

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/test/dir/%%WWWOWN%%/%%WWWOWN%%/%%WWWOWN%%.html
Error: Orphaned: %%WWWDIR%%/%%WWWOWN%%.html
===>

I reproduced this with another port from the ports tree by adding new installed
files which paths contain 'www'. Installed files paths are:

lib/test/dir/www/www/www.html
www/portname/www.html

In my opinion %%WWWOWN%% and %%WWWGRP%% should not be replaced in file path by
'make check-plist' because they are responsible for ownership of the files.

I fixed my rssroll port with correct install paths and everything is OK but if
someone uses PLIST_SUB, WWWOWN and 'www' in installed files will be surprised
(like me) why 'make check-plist' recommends using of %%WWWOWN%% in file path in
pkg-plist.

If this is expected behavior I'm OK the bug to be closed.

Nikola

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list