Add some checking to portlint for the pkg-plist files: - "@unexec rm " should have a %D in it to specify the prefix - "@unexec rm " should have a redirection and or to true in it - "@unexec rmdir" should have a %D in it to specify the prefix How-To-Repeat: [/usr/ports/net/dhcpdump] root@k7>cat pkg-plist @unexec rm lib/xmms/General/libinfopipe.so @unexec rm %D/lib/xmms/General/libinfopipe-1.3.so @unexec rm %D/lib/xmms/General/libinfopipe-1.3.so 2>&1 >/dev/null || true @unexec rmdir lib/xmms/General/libinfopipe.so @unexec rmdir %D/lib/xmms/General/libinfopipe.so [/usr/ports/net/dhcpdump] root@k7>portlint -a WARN: pkg-plist:1 use "%D" to specify prefix. WARN: pkg-plist:1 add "2>&1 >/dev/null || true" to "@unexec rm". WARN: pkg-plist:2 add "2>&1 >/dev/null || true" to "@unexec rm". WARN: pkg-plist:4 use "%D" to specify prefix. WARN: pkg-plist:5 use "@dirrm" instead of "@unexec rmdir". WARN: pkg-plist:5 use "@dirrm" instead of "@unexec rmdir".
Responsible Changed From-To: freebsd-ports-bugs->marcus Over to maintainer.
State Changed From-To: open->closed Committed, thanks!