Date: Thu, 8 Mar 2007 21:31:20 -0500 From: Nicholas Honywood <nic@enargea.org> To: clement@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: apache-2.2.4 Message-ID: <91C8F647-4197-4EDC-AD72-704FD92D7E3E@enargea.org>
next in thread | raw e-mail | index | archive | help
Hi; Following the instructions returned by "make show-options" -----------<make show-options>------------------ Available knobs: By default, modules are compiled as dynamically loadable modules (DSO). Modules knobs philosophy: Modules are split in categories, "make show-categories" shows you which modules they contain. You can enable/disable/customize a category: - To enable a category: WITH_<CATEGORY>_MODULES=yes [WITH_PROXY_MODULES=yes] - To disable a category: WITHOUT_<CATEGORY>_MODULES=yes [WITHOUT_DAV_MODULES=yes] - To customize a category: WITH_CUSTOM_<CATEGORY> [WITH_CUSTOM_PROXY="proxy proxy_http"] Apache-related WITH_MPM: prefork (default) worker event itk WITH_HTTP_PORT: default: 80 WITH_LDAP: Enable LDAP support (mod_auth_ldap) (implies WITH_LDAP_MODULES) WITH_(MYSQL|PGSQL|SQLITE): Enable SQL backend for dbd and apr_dbd. When MySQL is chosen, threads are enabled. WITHOUT_V4MAPPED WITH_IPV6_V6ONLY: Don't allow IPv6 sockets to handle IPv4 connections WITHOUT_SSL: Disable SSL support WITH_THREADS: Enable threads support !! USE IT WITH CARE !! WITH_DBM: Choose your DBM: bdb (Berkeley DB), gdbm or ndbm (default) WITH_BERKELEYDB: Choose your BerkeleyDB version: db2, db3, db4, db41, db42, db43, db44 or FreeBSD (1.85, default) WITH_STATIC_SUPPORT: Build statically linked support binaries WITH_STATIC_APACHE: Build a static version of httpd (implies WITH_STATIC_MODULES) WITH_ALL_STATIC_MODULES: All modules will be statically linked. WITH_STATIC_MODULES: List of modules to build modules statics (usefull for slave ports) (They must be already enabled (i.e. WITH_MODULES or with default configuration use 'make show-modules', to check if they are enabled) WITH_MODULES: List of modules you choose WITHOUT_MODULES: Disable selected modules WITH_SUEXEC: Enable suExec support SUEXEC_DOCROOT: SuExec root directory SUEXEC_USERDIR: User subdirectory (default public_html) SUEXEC_SAFEPATH: Set the safepath SUEXEC_LOGFILE: Set log file for suexec (default: / var/log/httpd-suexec.log) SUEXEC_UIDMIN: Minimal allowed UID (default 1000) SUEXEC_GIDMIN: Minimal allowed GID (default 1000) SUEXEC_CALLER: User allowed to call SuExec (default ${WWWOWN} (www)) SUEXEC_UMASK: Defines umask for suexec'd process (default: unset) WITH_DEBUG: Build a debug versoin of apache (set CFLAGS to "-O0 -g -ggdb3" or ${DEBUG_FLAGS} and defines WITH_EXCEPTION_HOOK too) WITH_EXCEPTION_HOOK: Enable fatal exception hook Optionnal patches: WITH_EXPERIMENTAL_PATCHES Add performance patches (generally backported from apr/httpd CVS) Available make targets: show-options: prints this message show-modules: prints list of available modules show-categories: prints list of modules sorted by category Examples: make WITH_STATIC_MODULES="ssl rewrite include" WITH_EXPERIMENTAL_MODULES=yes \ WITH_CUSTOM_AUTH="auth auth_dbm" make WITHOUT_MODULES="access speling status" WITH_PROXY_MODULES=yes make WITH_MODULES="include rewrite auth" Note: If you define your custom options in /etc/make.conf, don't forget to do not use quotes. --------------<END make show-options>-------------------- I issued the following single long command line: make WITHOUT_SSL=yes WITHOUT_AUTH_MODULES=yes WITHOUT_AUTHN_MODULES=yes WITHOUT_AUTHZ_MODULES=yes WITHOUT_CACHE_MODULES=yes WITHOUT_DAV_MODULES=yes WITHOUT_SSL_MODULES=yes WITHOUT_MODULES="actions cgi env include info mime_magic negotiation setenv unique_id userdir filter version" WITH_MODULES="alias asis autoindex cern_meta charset_lite deflate dir dumpio expires headers imagemap log_config logio mime rewrite speling status usertrack log_forensic" After successful compile and "make install" /usr/local/sbin/httpd -M shows all the unwanted default modules build and installed regardless of everything after the "make" in my command line. How can I use your port for the desired build? I used to do the selection of modules with ./configure at the head of the source tree on linux. What is the right incantation for your port? Thanks for help! Nic
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91C8F647-4197-4EDC-AD72-704FD92D7E3E>