Created attachment 161605 [details] Patch - Handle permissions in pkg-plist instead of CHOWNing from the makefile which breaks packaging from non-root - Use options helpers - Add NO_ARCH - I've removed rm -rf, I actually am not sure that anyone would want to lose logs/database on package update - @exec ln -sf %D/%%JAVAJARDIR%%/mysql-connector-java.jar %D/%%DATADIR%%/lib/ext/mysql-connector-java.jar looks fishy, it trues to create link where file resides. If mysql-connector-java.jar is needed in %%JAVAJARDIR%%, it may be copied/moved/linked from the Makefile. - I doubt whole WWW dir should be owner by www - this is a security hole. Only writable files/dirs should, if any.
A commit references this bug: Author: amdmi3 Date: Fri Oct 23 17:48:18 UTC 2015 New revision: 400044 URL: https://svnweb.freebsd.org/changeset/ports/400044 Log: - Handle permissions in pkg-plist instead of CHOWNing from the makefile which breaks packaging from non-root - Use options helpers - Add NO_ARCH PR: 203474 Submitted by: amdmi3 Approved by: maintainer timeout (decke, 3 weeks) Changes: head/www/helma/Makefile head/www/helma/pkg-plist