[Bug 203474] www/helma: fix build as non-root, helpers

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 1 16:14:49 UTC 2015


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

            Bug ID: 203474
           Summary: www/helma: fix build as non-root, helpers
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: decke at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: decke at FreeBSD.org
             Flags: maintainer-feedback?(decke at FreeBSD.org)

Created attachment 161605
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161605&action=edit
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.

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


More information about the freebsd-ports-bugs mailing list