Davide, I’ve had one more look.
> On Nov 13, 2017, at 7:42 AM, Marius Schamschula <[email protected]> wrote: > > Davide, > > >> On Nov 13, 2017, at 4:22 AM, Davide Liessi <[email protected]> wrote: >> >> Hi. >> I have some questions regarding the apache2 port and the update to version >> 2.4. >> >> 1) The user:group changed from www:www in 2.2 to daemon:daemon in 2.4: >> was the corresponding reinplace line in post-patch forgotten or >> intentionally omitted? > > Neither. apache24-devel used daemon:daemon, so it was left that way when > apache24-devel was moved to apache2. The old post-patch would have been incorrect as well. The apache2 PortGroup specifies both user and group as “_www”. The reimplace has been added to the Portfile. >> 2) In version 2.2 the httpd-userdir.conf file was customized to match >> the /Users/*/Sites directory naming of macOS: was the corresponding >> post-patch block in the Portfile forgotten or intentionally omitted? > > Forgotten. Added. >> 3) Version 2.2 had a patch to the httpd.conf file to deny access to >> .DS_Store files, resource forks and named forks, which is omitted in >> 2.4: again, was this intentional? > > Again. Not intentional. This was never implemented under apache24-devel. Added updated version of patch for apache 2.4.x. >> 4) What is the purpose of having the original configuration files both >> in ${prefix}/etc/apache2 with .orig suffix and in >> ${prefix}/etc/apache2/original? > > The original folder only has httpd.conf, but not extra/httpd*.conf. I suppose > the original folder is a duplicate of the .orig file, and can be removed. The “original” folder is not installed by the current version of apache2. It may be safely deleted. I’ve pushed revision 1: https://github.com/macports/macports-ports/commit/c664a5716be47e58a40c6cb5c9e053df1295a558 Marius -- Marius Schamschula
