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: 12-Apr-2007 11:52:30
Branch: HEAD Handle: 2007041210522702
Modified files:
openpkg-src/apache apache.spec
openpkg-src/apache-php4 apache-php4.spec
Log:
added compile time option for HARD_SERVER_LIMIT
Summary:
Revision Changes Path
1.18 +10 -4 openpkg-src/apache-php4/apache-php4.spec
1.395 +9 -3 openpkg-src/apache/apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache-php4/apache-php4.spec
============================================================================
$ cvs diff -u -r1.17 -r1.18 apache-php4.spec
--- openpkg-src/apache-php4/apache-php4.spec 11 Apr 2007 06:41:51 -0000
1.17
+++ openpkg-src/apache-php4/apache-php4.spec 12 Apr 2007 09:52:29 -0000
1.18
@@ -68,7 +68,10 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 20070411
+Release: 20070412
+
+# package options (Apache core related)
+%option with_hard_server_limit 256
# package options (suexec related)
%option with_suexec yes
@@ -681,12 +684,14 @@
# optionally pre-configure Apache for mod_php and mod_dav
%if "%{with_mod_php}" == "yes" || "%{with_mod_dav}" == "yes"
( cd apache_%{V_apache}
- CC="%{l_cc}" \
%if "%{with_debug}" == "yes"
- CFLAGS="%{l_cflags} -g" \
+ cflags="%{l_cflags} -g" \
%else
- CFLAGS="%{l_cflags -O}" \
+ cflags="%{l_cflags -O}" \
%endif
+ cflags="$cflags -DHARD_SERVER_LIMIT=%{with_hard_server_limit}"
+ CC="%{l_cc}" \
+ CFLAGS="$cflags" \
./configure \
%if "%{with_mod_ssl}" == "yes" || "%{with_mod_define}" == "yes"
--enable-rule=EAPI \
@@ -1155,6 +1160,7 @@
%else
cflags="%{l_cflags -O}"
%endif
+ cflags="$cflags -DHARD_SERVER_LIMIT=%{with_hard_server_limit}"
ldflags=""
libs=""
%if "%{with_mod_auth_pam}" == "yes"
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.394 -r1.395 apache.spec
--- openpkg-src/apache/apache.spec 12 Apr 2007 07:55:51 -0000 1.394
+++ openpkg-src/apache/apache.spec 12 Apr 2007 09:52:27 -0000 1.395
@@ -70,6 +70,9 @@
Version: %{V_apache}
Release: 20070412
+# package options (Apache core related)
+%option with_hard_server_limit 256
+
# package options (suexec related)
%option with_suexec yes
%option with_suexec_caller %{l_nusr}
@@ -676,12 +679,14 @@
# optionally pre-configure Apache for mod_php and mod_dav
%if "%{with_mod_php}" == "yes" || "%{with_mod_dav}" == "yes"
( cd apache_%{V_apache}
- CC="%{l_cc}" \
%if "%{with_debug}" == "yes"
- CFLAGS="%{l_cflags} -g" \
+ cflags="%{l_cflags} -g" \
%else
- CFLAGS="%{l_cflags -O}" \
+ cflags="%{l_cflags -O}" \
%endif
+ cflags="$cflags -DHARD_SERVER_LIMIT=%{with_hard_server_limit}"
+ CC="%{l_cc}" \
+ CFLAGS="$cflags" \
./configure \
%if "%{with_mod_ssl}" == "yes" || "%{with_mod_define}" == "yes"
--enable-rule=EAPI \
@@ -1149,6 +1154,7 @@
%else
cflags="%{l_cflags -O}"
%endif
+ cflags="$cflags -DHARD_SERVER_LIMIT=%{with_hard_server_limit}"
ldflags=""
libs=""
%if "%{with_mod_auth_pam}" == "yes"
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]