mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
936af4387d
patch-au corrects a problem when either ResourceConfig/AccessConfig is set to the apache configuration file (${PREFIX}/etc/apache/httpd.conf). Without this patch, if you set the apache server to listen to alterate ports the server would fail to start and the error log would contain: [crit] (48)Address already in use: make_sock: could not bind to port 8000 ResourceConfig/AccessConfig can't be set to /dev/null. The fpsrvadm.exe will not be able to obtain the DocumnetRoot from the ResourceConfig file (/dev/null). PR: 13673 Submitted by: maintainer
13 lines
446 B
Plaintext
13 lines
446 B
Plaintext
--- src/support/apxs.pl.orig Thu Aug 19 22:57:08 1999
|
|
+++ src/support/apxs.pl Thu Aug 19 23:02:17 1999
|
|
@@ -426,8 +426,7 @@
|
|
my $t = $f;
|
|
$t =~ s|^.+/([^/]+)$|$1|;
|
|
if ($opt_i) {
|
|
- push(@cmds, "cp $f $CFG_LIBEXECDIR/$t");
|
|
- push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
|
|
+ push(@cmds, "install -c -m 555 -o root -g wheel $f $CFG_LIBEXECDIR/$t");
|
|
}
|
|
|
|
# determine module symbolname and filename
|