Adds staging support to www/autoindex2. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->danger Over to maintainer (via the GNATS Auto Assign Tool)
maintainer reset, moving to patch-ready (untested, take at your own risk)
man, this port was terrible before you staged it. It never should have needed CHMOD'ing, but then it sets graphic files to 755, this is bizarre. Most of this CHMOD stuff can go since COPYTREE_SHARE fixes it.
You did not add @owner and @group to pkg-plist though.
This INSTALLDIR logic never worked. It wants INSTALLDIR to be WWWDIR by default but then it hardcodes plist to WWWDIR anyway. This port was garbage, frankly.
A commit references this bug: Author: marino Date: Wed Aug 13 22:35:48 UTC 2014 New revision: 364817 URL: http://svnweb.freebsd.org/changeset/ports/364817 Log: Stage www/autoindex2 The original port had several issues with it beyond staging. For example, the INSTALLDIR mechanism didn't work because the PLIST_SUB was hardcoded for WWWDIR. All sorts of CHMOD'ing was going on because COPYTREE_SHARE hadn't been used. The config.php was installed directly and therefore overwritten and/or removed each time the port was de/reinstalled. The prefetch didn't work because it checked if INSTALLDIR was defined, but the makefile always defines it. The whole thing had to be reworked, so very little of provided patch actually got used. PR: 190009 Submitted by: Joe (thralling.com) Approved by: Nobody, maintainer was reset Lotsa TLC: marino Changes: head/www/autoindex2/Makefile head/www/autoindex2/pkg-plist
glad to see this finished.
actually @sample keyword can be used in the plist instead of that @exec stuff.