summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-12-26 04:51:01 +0000
committerobache <obache@pkgsrc.org>2009-12-26 04:51:01 +0000
commit8bec9acbf6f020876efe49666870ca1cf7b8f351 (patch)
tree23b5d832ad4fed5b21133d188b697cc33f722e4a /www
parent1c650aa95b0eac6a1f92ea34a2a14d693b88cc36 (diff)
downloadpkgsrc-8bec9acbf6f020876efe49666870ca1cf7b8f351.tar.gz
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 (limited to 'www')
-rw-r--r--www/apache22/distinfo3
-rw-r--r--www/apache22/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/www/apache22/distinfo b/www/apache22/distinfo
index 31cb07e3549..0dd94c23a49 100644
--- a/www/apache22/distinfo
+++ b/www/apache22/distinfo
@@ -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 --git a/www/apache22/patches/patch-ab b/www/apache22/patches/patch-ab
new file mode 100644
index 00000000000..61a960d7956
--- /dev/null
+++ b/www/apache22/patches/patch-ab
@@ -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 */