OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Apr-2007 18:13:06
Branch: HEAD Handle: 2007041517130500
Modified files:
openpkg-src/apache apache.patch apache.spec
Log:
allow a reasonably sized (128KB instead of just 8KB lines)
AuthGroupFile, please
Summary:
Revision Changes Path
1.26 +25 -0 openpkg-src/apache/apache.patch
1.397 +1 -1 openpkg-src/apache/apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.patch
============================================================================
$ cvs diff -u -r1.25 -r1.26 apache.patch
--- openpkg-src/apache/apache.patch 2 Apr 2007 15:07:30 -0000 1.25
+++ openpkg-src/apache/apache.patch 15 Apr 2007 16:13:05 -0000 1.26
@@ -126,3 +126,28 @@
typedef struct {
AP_LONG digest[5]; /* message digest */
+Index: apache_1.3.37/src/modules/standard/mod_auth.c
+--- apache_1.3.37/src/modules/standard/mod_auth.c.orig 2006-07-12
10:16:05 +0200
++++ apache_1.3.37/src/modules/standard/mod_auth.c 2007-04-15 18:08:53
+0200
+@@ -107,7 +107,7 @@
+ configfile_t *f;
+ table *grps = ap_make_table(p, 15);
+ pool *sp;
+- char l[MAX_STRING_LEN];
++ char *l;
+ const char *group_name, *ll, *w;
+
+ if (!(f = ap_pcfg_openfile(p, grpfile))) {
+@@ -116,9 +116,11 @@
+ return NULL;
+ }
+
++ if ((l = (char *)ap_palloc(p, 128*1024)) == NULL)
++ return NULL;
+ sp = ap_make_sub_pool(p);
+
+- while (!(ap_cfg_getline(l, MAX_STRING_LEN, f))) {
++ while (!(ap_cfg_getline(l, 128*1024, f))) {
+ if ((l[0] == '#') || (!l[0]))
+ continue;
+ ll = l;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.396 -r1.397 apache.spec
--- openpkg-src/apache/apache.spec 13 Apr 2007 14:18:06 -0000 1.396
+++ openpkg-src/apache/apache.spec 15 Apr 2007 16:13:05 -0000 1.397
@@ -68,7 +68,7 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 20070413
+Release: 20070415
# package options (Apache core related)
%option with_hard_server_limit 256
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]