pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache22 Re-add patch-ab, fixes runtime error on I...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9ce8de3b715
branches:  trunk
changeset: 568918:b9ce8de3b715
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Dec 26 04:51:01 2009 +0000

description:
Re-add patch-ab, fixes runtime error on Interix.

It initially existed originally came from PR#27567 for www/apache2.
CVE-2007-3304 parts was added in rev 1.2, then whole patch file was removed in
rev 1.3 as update to apache-2.2.6, because the update contains fix for
CVE-2007-3304 and comments of patch-ab only mentioned about the CVE.

To prevent a recurrence of such a accident, added PR#27567 as comments
for patch-ab.

diffstat:

 www/apache22/distinfo         |   3 ++-
 www/apache22/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 9b7b14875074 -r b9ce8de3b715 www/apache22/distinfo
--- a/www/apache22/distinfo     Fri Dec 25 22:58:18 2009 +0000
+++ b/www/apache22/distinfo     Sat Dec 26 04:51:01 2009 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.28 2009/10/30 21:08:55 christos Exp $
+$NetBSD: distinfo,v 1.29 2009/12/26 04:51:01 obache Exp $
 
 SHA1 (httpd-2.2.14.tar.bz2) = eacd04c87b489231ae708c84a77dc8e9ee176fd2
 RMD160 (httpd-2.2.14.tar.bz2) = ff5077e444ba995475202bb3b9be733384c809d1
 Size (httpd-2.2.14.tar.bz2) = 5147171 bytes
 SHA1 (patch-aa) = 40f5f687a1217b8d6684dc610d3d4c430f635cbf
+SHA1 (patch-ab) = 365cc3b0ac2d9d68ccb94f5699fe168a1c9b0150
 SHA1 (patch-ac) = 515043b5c215d49fe8f6d3191b502c978e2a2dad
 SHA1 (patch-ad) = 088d6ff0e7a8acfe70b4f85a6ce58d42c935fd13
 SHA1 (patch-ae) = 86b307d6eefef232b6223afc3f69e64be40bd913
diff -r 9b7b14875074 -r b9ce8de3b715 www/apache22/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache22/patches/patch-ab     Sat Dec 26 04:51:01 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.16 2009/12/26 04:51:02 obache Exp $
+
+PR#27567
+
+--- server/mpm_common.c.orig   2007-10-09 13:17:52.000000000 +0000
++++ server/mpm_common.c
+@@ -533,7 +533,7 @@ AP_DECLARE(gid_t) ap_gname2id(const char
+ #ifndef HAVE_INITGROUPS
+ int initgroups(const char *name, gid_t basegid)
+ {
+-#if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX) || defined(TPF) || defined(__TANDEM) || defined(OS2) || defined(WIN32) || defined(NETWARE)
++#if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX) || defined(TPF) || defined(__TANDEM) || defined(OS2) || defined(WIN32) || defined(NETWARE) || defined(__INTERIX)
+ /* QNX, MPE and BeOS do not appear to support supplementary groups. */
+     return 0;
+ #else /* ndef QNX */



Home | Main Index | Thread Index | Old Index