Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Oct 2015 16:14:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203474] www/helma: fix build as non-root, helpers
Message-ID:  <bug-203474-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
          Assignee: decke@FreeBSD.org
             Flags: maintainer-feedback?(decke@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.



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