Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Dec 2015 15:26:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204966] www/rssroll: make check-plist incorrectly returns/replaces path with %%WWWOWN%%
Message-ID:  <bug-204966-13-oeZ1ZfOzn5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204966-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204966-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204966

--- Comment #7 from Nikola Kolev <koue@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204966-13-oeZ1ZfOzn5>