Re: Poudriere questions
Hi, Guido,
hope you have a couple of more minutes ...
After the first failure with the make.conf syntax I just put the options in=
unconditionally,
to try if they end up in the final Apache package.
Nope:
Server version: Apache/2.2.23 (FreeBSD)
Server built: Feb 21 2013 08:56:52
Server's Module Magic Number: 20051115:31
Server loaded: APR 1.4.6, APR-Util 1.4.1
Compiled using: APR 1.4.6, APR-Util 1.4.1
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR=3D"server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=3D128
-D HTTPD_ROOT=3D"/usr/local"
-D SUEXEC_BIN=3D"/usr/local/bin/suexec"
-D DEFAULT_PIDLOG=3D"/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status"
-D DEFAULT_LOCKFILE=3D"/var/run/accept.lock"
-D DEFAULT_ERRORLOG=3D"logs/error_log"
-D AP_TYPES_CONFIG_FILE=3D"etc/apache22/mime.types"
-D SERVER_CONFIG_FILE=3D"etc/apache22/httpd.conf"
No PROXY_HTTP, no SUEXEC_DOCROOT ...
OK, tried manually wihtout Poudriere:
cd /usr/ports/www/apache22
make deinstall
rm -r /var/db/ports/apache22
make clean
make -DBATCH -DPROXY=3Don -DPROXY_HTTP=3Don -DSUEXEC=3Don -DSUEXEC_DOCROOT=
=3D/var/apache -DSUEXEC_LOGFILE=3D/var/apache/GLOBAL/suexec_log install
Result:
nanobsd# httpd -V
Server version: Apache/2.2.23 (FreeBSD)
Server built: Feb 21 2013 10:05:05
Server's Module Magic Number: 20051115:31
Server loaded: APR 1.4.6, APR-Util 1.4.1
Compiled using: APR 1.4.6, APR-Util 1.4.1
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR=3D"server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=3D128
-D HTTPD_ROOT=3D"/usr/local"
-D SUEXEC_BIN=3D"/usr/local/bin/suexec"
-D DEFAULT_PIDLOG=3D"/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status"
-D DEFAULT_LOCKFILE=3D"/var/run/accept.lock"
-D DEFAULT_ERRORLOG=3D"logs/error_log"
-D AP_TYPES_CONFIG_FILE=3D"etc/apache22/mime.types"
-D SERVER_CONFIG_FILE=3D"etc/apache22/httpd.conf"
So it seems like the method I used for years does not work anymore now that
we have OptionsNG :-( I already spent quite some time searching the documen=
tation
for a way to specify these options, without success so far.
Next try:
make config, enable PROXY, PROXY_HTTP, SUEXEC, then specify the rest on the=
command
line when building:
make -DBATCH -DSUEXEC_DOCROOT=3D/var/apache -DSUEXEC_LOGFILE=3D/var/apache/=
GLOBAL/suexec_log install
Result:
Proxy modules installed, suexec binary installed, but:
nanobsd# /usr/local/sbin/suexec -V
-D AP_DOC_ROOT=3D"/usr/local/www/data"
-D AP_GID_MIN=3D1000
-D AP_HTTPD_USER=3D"www"
-D AP_LOG_EXEC=3D"/var/log/httpd-suexec.log"
-D AP_SAFE_PATH=3D"/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=3D1000
-D AP_USERDIR_SUFFIX=3D"public_html"
*gnagnagna* ... I'm running out of ideas here.
But this is definitely no Poudriere related question, anymore. Thanks for y=
our help.
If you have a pointer to something I might have missed regarding OptionsNG,=
that
would be great.
Kind regards
Patrick
-- =
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info@punkt.de http://www.punkt.de
Gf: J=FCrgen Egeling AG Mannheim 108285
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 12 之 12 篇):