Installing mod_frontpage to apache2
Bill Moran
wmoran at potentialtech.com
Sun Nov 6 18:47:56 GMT 2005
A google search doesn't reveal any recent posts about this. Ports updated
just an hour or so ago. Freshports seems to indicate that all should be
well, yet I get this:
<begin make output>
cd /usr/ports/www/mod_frontpage && make install
*****************************************************
IMPORTANT
This port still has some security issues. Some buffer
overflows have been fixed, but since the port depends
on ENV[] variables, a local user can still gain a UID
of another user. This is a design issue, and also
present in the apache13-fp port.
Check carefully that the Makefile has FP_UID_MIN and
FP_GID_MIN set correctly. If you think security is
very important for you, you shouldnt run frontpage
at all.
*****************************************************
=> mod_frontpage_mirfak-1.6.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://heanet.dl.sourceforge.net/sourceforge/mirfak/.
mod_frontpage_mirfak-1.6.2.tar.gz 100% of 29 kB 57 kBps
===> Extracting for mod_frontpage-1.6.2_1
=> Checksum OK for mod_frontpage_mirfak-1.6.2.tar.gz.
===> Patching for mod_frontpage-1.6.2_1
===> Applying FreeBSD patches for mod_frontpage-1.6.2_1
===> mod_frontpage-1.6.2_1 depends on file: /usr/local/sbin/apxs - found
===> Configuring for mod_frontpage-1.6.2_1
Using: /usr/local/sbin/httpd
Let's see if it's a valid httpd... YES!
sbindir is /usr/local/sbin, trying to find apxs...Found!
Config directory: /usr/local/etc/apache2
Compiler: cc
CFLAGS: -O -pipe
Include directory: /usr/local/include/apache2
Libexecdir: /usr/local/libexec/apache2
/httpd.conf: not found
Reading httpd.conf...
Apache user: , group:
Userdir:
ServerRoot:
ErrorLog:
ErrorLog was relative, expanded to /
DocumentRoot_unresolved: ()
DocumentRoot: ()
Content uid 80, gid 80
Creating Makefile
===> Building for mod_frontpage-1.6.2_1
"Makefile", line 15: Need an operator
"Makefile", line 85: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1
Stop in /usr/ports/www/mod_frontpage.
<end make output>
It looks like the port finds the correct directory, but then can't find
the httpd.conf file there?
ls /usr/local/etc/apache2
Includes httpd.conf magic ssl.conf ssl.key
envvars.d httpd.conf.good mime.types ssl.crt
uname -a
FreeBSD ferrando.3dresearch.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Thu Jun 30 13:56:39 EDT 2005 root at ferrando.3dresearch.com:/usr/src/sys/compile/FERRANDO20050630 i386
pkg_info | grep apache
apache-2.0.55 Version 2 of Apache web server with prefork MPM.
Thoughts anyone?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
More information about the freebsd-questions
mailing list