OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 19-Apr-2007 18:05:58
Branch: HEAD Handle: 2007041917055602
Modified files:
openpkg-src/apache apache.spec
openpkg-src/apache-php4 apache-php4.spec
Log:
added some more esoteric build options
Summary:
Revision Changes Path
1.20 +210 -5 openpkg-src/apache-php4/apache-php4.spec
1.399 +210 -5 openpkg-src/apache/apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache-php4/apache-php4.spec
============================================================================
$ cvs diff -u -r1.19 -r1.20 apache-php4.spec
--- openpkg-src/apache-php4/apache-php4.spec 13 Apr 2007 14:18:09 -0000
1.19
+++ openpkg-src/apache-php4/apache-php4.spec 19 Apr 2007 16:05:58 -0000
1.20
@@ -68,7 +68,7 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 20070413
+Release: 20070419
# package options (Apache core related)
%option with_hard_server_limit 256
@@ -85,6 +85,43 @@
%option with_suphp_ugid_mode paranoid
%option with_suphp_ugid_check yes
+# package options (modules which are part of the Apache HTTP
+# distribution; basically you want to keep them unchanged but
+# disabling them allows you to squeeze down Apache's memory
+# requirements to the bare minimum)
+%option with_mod_actions yes
+%option with_mod_asis yes
+%option with_mod_auth yes
+%option with_mod_auth_anon yes
+%option with_mod_auth_db no
+%option with_mod_auth_dbm yes
+%option with_mod_autoindex yes
+%option with_mod_cern_meta yes
+%option with_mod_cgi yes
+%option with_mod_dir yes
+%option with_mod_env yes
+%option with_mod_expires yes
+%option with_mod_headers yes
+%option with_mod_imap yes
+%option with_mod_include yes
+%option with_mod_info yes
+%option with_mod_log_agent no
+%option with_mod_log_forensic yes
+%option with_mod_log_referer no
+%option with_mod_mime yes
+%option with_mod_mime_magic yes
+%option with_mod_mmap_static no
+%option with_mod_negotiation yes
+%option with_mod_proxy yes
+%option with_mod_rewrite yes
+%option with_mod_setenvif yes
+%option with_mod_speling yes
+%option with_mod_status yes
+%option with_mod_unique_id yes
+%option with_mod_userdir yes
+%option with_mod_usertrack yes
+%option with_mod_vhost_alias yes
+
# package options (additionally used Apache modules; can be enabled
without thinking)
%option with_mod_dav no
%option with_mod_define no
@@ -1276,6 +1313,178 @@
--activate-module=src/modules/dav/libdav.a \
%endif
--disable-rule=EXPAT \
+ --enable-module=access \
+%if "%{with_mod_actions}" == "yes"
+ --enable-module=actions \
+%else
+ --disable-module=actions \
+%endif
+ --enable-module=alias \
+%if "%{with_mod_asis}" == "yes"
+ --enable-module=asis \
+%else
+ --disable-module=asis \
+%endif
+%if "%{with_mod_auth}" == "yes"
+ --enable-module=auth \
+%else
+ --disable-module=auth \
+%endif
+%if "%{with_mod_auth_anon}" == "yes"
+ --enable-module=auth_anon \
+%else
+ --disable-module=auth_anon \
+%endif
+%if "%{with_mod_auth_db}" == "yes"
+ --enable-module=auth_db \
+%else
+ --disable-module=auth_db \
+%endif
+%if "%{with_mod_auth_dbm}" == "yes"
+ --enable-module=auth_dbm \
+%else
+ --disable-module=auth_dbm \
+%endif
+%if "%{with_mod_auth_digest}" == "yes"
+ --enable-module=auth_digest \
+ --disable-module=digest \
+%else
+ --disable-module=auth_digest \
+ --enable-module=digest \
+%endif
+%if "%{with_mod_autoindex}" == "yes"
+ --enable-module=autoindex \
+%else
+ --disable-module=autoindex \
+%endif
+%if "%{with_mod_cern_meta}" == "yes"
+ --enable-module=cern_meta \
+%else
+ --disable-module=cern_meta \
+%endif
+%if "%{with_mod_cgi}" == "yes"
+ --enable-module=cgi \
+%else
+ --disable-module=cgi \
+%endif
+%if "%{with_mod_dir}" == "yes"
+ --enable-module=dir \
+%else
+ --disable-module=dir \
+%endif
+%if "%{with_mod_env}" == "yes"
+ --enable-module=env \
+%else
+ --disable-module=env \
+%endif
+ --disable-module=example \
+%if "%{with_mod_expires}" == "yes"
+ --enable-module=expires \
+%else
+ --disable-module=expires \
+%endif
+%if "%{with_mod_headers}" == "yes"
+ --enable-module=headers \
+%else
+ --disable-module=headers \
+%endif
+%if "%{with_mod_imap}" == "yes"
+ --enable-module=imap \
+%else
+ --disable-module=imap \
+%endif
+%if "%{with_mod_include}" == "yes"
+ --enable-module=include \
+%else
+ --disable-module=include \
+%endif
+%if "%{with_mod_info}" == "yes"
+ --enable-module=info \
+%else
+ --disable-module=info \
+%endif
+%if "%{with_mod_log_agent}" == "yes"
+ --enable-module=log_agent \
+%else
+ --disable-module=log_agent \
+%endif
+ --enable-module=log_config \
+%if "%{with_mod_log_forensic}" == "yes"
+ --enable-module=log_forensic \
+%else
+ --disable-module=log_forensic \
+%endif
+%if "%{with_mod_log_referer}" == "yes"
+ --enable-module=log_referer \
+%else
+ --disable-module=log_referer \
+%endif
+%if "%{with_mod_mime}" == "yes"
+ --enable-module=mime \
+%else
+ --disable-module=mime \
+%endif
+%if "%{with_mod_mime_magic}" == "yes"
+ --enable-module=mime_magic \
+%else
+ --disable-module=mime_magic \
+%endif
+%if "%{with_mod_mmap_static}" == "yes"
+ --enable-module=mmap_static \
+%else
+ --disable-module=mmap_static \
+%endif
+%if "%{with_mod_negotiation}" == "yes"
+ --enable-module=negotiation \
+%else
+ --disable-module=negotiation \
+%endif
+%if "%{with_mod_proxy}" == "yes"
+ --enable-module=proxy \
+%else
+ --disable-module=proxy \
+%endif
+%if "%{with_mod_rewrite}" == "yes"
+ --enable-module=rewrite \
+%else
+ --disable-module=rewrite \
+%endif
+%if "%{with_mod_setenvif}" == "yes"
+ --enable-module=setenvif \
+%else
+ --disable-module=setenvif \
+%endif
+ --enable-module=so \
+%if "%{with_mod_speling}" == "yes"
+ --enable-module=speling \
+%else
+ --disable-module=speling \
+%endif
+%if "%{with_mod_status}" == "yes"
+ --enable-module=status \
+%else
+ --disable-module=status \
+%endif
+%if "%{with_mod_unique_id}" == "yes"
+ --enable-module=unique_id \
+%else
+ --disable-module=unique_id \
+%endif
+%if "%{with_mod_userdir}" == "yes"
+ --enable-module=userdir \
+%else
+ --disable-module=userdir \
+%endif
+%if "%{with_mod_usertrack}" == "yes"
+ --enable-module=usertrack \
+%else
+ --disable-module=usertrack \
+%endif
+%if "%{with_mod_vhost_alias}" == "yes"
+ --enable-module=vhost_alias \
+%else
+ --disable-module=vhost_alias \
+%endif
%if "%{with_shared_core}" == "yes"
--enable-rule=SHARED_CORE \
%endif
@@ -1333,10 +1542,6 @@
%if "%{with_mod_auth_kerb}" == "yes"
--activate-module=src/modules/mod_auth_kerb/libmod_auth_kerb.a \
%endif
-%if "%{with_mod_auth_digest}" == "yes"
- --disable-module=digest \
- --enable-module=auth_digest \
-%endif
%if "%{with_mod_zeus}" == "yes"
--activate-module=src/modules/extra/mod_zeus.o \
%endif
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.398 -r1.399 apache.spec
--- openpkg-src/apache/apache.spec 16 Apr 2007 19:59:46 -0000 1.398
+++ openpkg-src/apache/apache.spec 19 Apr 2007 16:05:56 -0000 1.399
@@ -68,7 +68,7 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 20070416
+Release: 20070419
# package options (Apache core related)
%option with_hard_server_limit 256
@@ -85,6 +85,43 @@
%option with_suphp_ugid_mode paranoid
%option with_suphp_ugid_check yes
+# package options (modules which are part of the Apache HTTP
+# distribution; basically you want to keep them unchanged but
+# disabling them allows you to squeeze down Apache's memory
+# requirements to the bare minimum)
+%option with_mod_actions yes
+%option with_mod_asis yes
+%option with_mod_auth yes
+%option with_mod_auth_anon yes
+%option with_mod_auth_db no
+%option with_mod_auth_dbm yes
+%option with_mod_autoindex yes
+%option with_mod_cern_meta yes
+%option with_mod_cgi yes
+%option with_mod_dir yes
+%option with_mod_env yes
+%option with_mod_expires yes
+%option with_mod_headers yes
+%option with_mod_imap yes
+%option with_mod_include yes
+%option with_mod_info yes
+%option with_mod_log_agent no
+%option with_mod_log_forensic yes
+%option with_mod_log_referer no
+%option with_mod_mime yes
+%option with_mod_mime_magic yes
+%option with_mod_mmap_static no
+%option with_mod_negotiation yes
+%option with_mod_proxy yes
+%option with_mod_rewrite yes
+%option with_mod_setenvif yes
+%option with_mod_speling yes
+%option with_mod_status yes
+%option with_mod_unique_id yes
+%option with_mod_userdir yes
+%option with_mod_usertrack yes
+%option with_mod_vhost_alias yes
+
# package options (additionally used Apache modules; can be enabled
without thinking)
%option with_mod_dav no
%option with_mod_define no
@@ -1285,6 +1322,178 @@
--activate-module=src/modules/dav/libdav.a \
%endif
--disable-rule=EXPAT \
+ --enable-module=access \
+%if "%{with_mod_actions}" == "yes"
+ --enable-module=actions \
+%else
+ --disable-module=actions \
+%endif
+ --enable-module=alias \
+%if "%{with_mod_asis}" == "yes"
+ --enable-module=asis \
+%else
+ --disable-module=asis \
+%endif
+%if "%{with_mod_auth}" == "yes"
+ --enable-module=auth \
+%else
+ --disable-module=auth \
+%endif
+%if "%{with_mod_auth_anon}" == "yes"
+ --enable-module=auth_anon \
+%else
+ --disable-module=auth_anon \
+%endif
+%if "%{with_mod_auth_db}" == "yes"
+ --enable-module=auth_db \
+%else
+ --disable-module=auth_db \
+%endif
+%if "%{with_mod_auth_dbm}" == "yes"
+ --enable-module=auth_dbm \
+%else
+ --disable-module=auth_dbm \
+%endif
+%if "%{with_mod_auth_digest}" == "yes"
+ --enable-module=auth_digest \
+ --disable-module=digest \
+%else
+ --disable-module=auth_digest \
+ --enable-module=digest \
+%endif
+%if "%{with_mod_autoindex}" == "yes"
+ --enable-module=autoindex \
+%else
+ --disable-module=autoindex \
+%endif
+%if "%{with_mod_cern_meta}" == "yes"
+ --enable-module=cern_meta \
+%else
+ --disable-module=cern_meta \
+%endif
+%if "%{with_mod_cgi}" == "yes"
+ --enable-module=cgi \
+%else
+ --disable-module=cgi \
+%endif
+%if "%{with_mod_dir}" == "yes"
+ --enable-module=dir \
+%else
+ --disable-module=dir \
+%endif
+%if "%{with_mod_env}" == "yes"
+ --enable-module=env \
+%else
+ --disable-module=env \
+%endif
+ --disable-module=example \
+%if "%{with_mod_expires}" == "yes"
+ --enable-module=expires \
+%else
+ --disable-module=expires \
+%endif
+%if "%{with_mod_headers}" == "yes"
+ --enable-module=headers \
+%else
+ --disable-module=headers \
+%endif
+%if "%{with_mod_imap}" == "yes"
+ --enable-module=imap \
+%else
+ --disable-module=imap \
+%endif
+%if "%{with_mod_include}" == "yes"
+ --enable-module=include \
+%else
+ --disable-module=include \
+%endif
+%if "%{with_mod_info}" == "yes"
+ --enable-module=info \
+%else
+ --disable-module=info \
+%endif
+%if "%{with_mod_log_agent}" == "yes"
+ --enable-module=log_agent \
+%else
+ --disable-module=log_agent \
+%endif
+ --enable-module=log_config \
+%if "%{with_mod_log_forensic}" == "yes"
+ --enable-module=log_forensic \
+%else
+ --disable-module=log_forensic \
+%endif
+%if "%{with_mod_log_referer}" == "yes"
+ --enable-module=log_referer \
+%else
+ --disable-module=log_referer \
+%endif
+%if "%{with_mod_mime}" == "yes"
+ --enable-module=mime \
+%else
+ --disable-module=mime \
+%endif
+%if "%{with_mod_mime_magic}" == "yes"
+ --enable-module=mime_magic \
+%else
+ --disable-module=mime_magic \
+%endif
+%if "%{with_mod_mmap_static}" == "yes"
+ --enable-module=mmap_static \
+%else
+ --disable-module=mmap_static \
+%endif
+%if "%{with_mod_negotiation}" == "yes"
+ --enable-module=negotiation \
+%else
+ --disable-module=negotiation \
+%endif
+%if "%{with_mod_proxy}" == "yes"
+ --enable-module=proxy \
+%else
+ --disable-module=proxy \
+%endif
+%if "%{with_mod_rewrite}" == "yes"
+ --enable-module=rewrite \
+%else
+ --disable-module=rewrite \
+%endif
+%if "%{with_mod_setenvif}" == "yes"
+ --enable-module=setenvif \
+%else
+ --disable-module=setenvif \
+%endif
+ --enable-module=so \
+%if "%{with_mod_speling}" == "yes"
+ --enable-module=speling \
+%else
+ --disable-module=speling \
+%endif
+%if "%{with_mod_status}" == "yes"
+ --enable-module=status \
+%else
+ --disable-module=status \
+%endif
+%if "%{with_mod_unique_id}" == "yes"
+ --enable-module=unique_id \
+%else
+ --disable-module=unique_id \
+%endif
+%if "%{with_mod_userdir}" == "yes"
+ --enable-module=userdir \
+%else
+ --disable-module=userdir \
+%endif
+%if "%{with_mod_usertrack}" == "yes"
+ --enable-module=usertrack \
+%else
+ --disable-module=usertrack \
+%endif
+%if "%{with_mod_vhost_alias}" == "yes"
+ --enable-module=vhost_alias \
+%else
+ --disable-module=vhost_alias \
+%endif
%if "%{with_shared_core}" == "yes"
--enable-rule=SHARED_CORE \
%endif
@@ -1342,10 +1551,6 @@
%if "%{with_mod_auth_kerb}" == "yes"
--activate-module=src/modules/mod_auth_kerb/libmod_auth_kerb.a \
%endif
-%if "%{with_mod_auth_digest}" == "yes"
- --disable-module=digest \
- --enable-module=auth_digest \
-%endif
%if "%{with_mod_zeus}" == "yes"
--activate-module=src/modules/extra/mod_zeus.o \
%endif
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]