From 1c9528094d46da3764087742a4842fda621218d7 Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 3 Jan 2005 06:59:31 +0000 Subject: Do not use supplementary groups on Interix, which doesn't have setgroups. Patch provided by HIRAMATSU Yoshifumi in PR pkg/27567. --- www/apache2/distinfo | 3 ++- www/apache2/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 www/apache2/patches/patch-ab (limited to 'www') diff --git a/www/apache2/distinfo b/www/apache2/distinfo index 33c46139dae..52f96b96dce 100644 --- a/www/apache2/distinfo +++ b/www/apache2/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.34 2005/01/01 17:24:25 minskim Exp $ +$NetBSD: distinfo,v 1.35 2005/01/03 06:59:31 minskim Exp $ SHA1 (httpd-2.0.52.tar.gz) = 2a22fde052adc7d7258f999cd7dd8a7592ff36e7 Size (httpd-2.0.52.tar.gz) = 6918995 bytes SHA1 (patch-aa) = 8ff497da17144d191e633d59274bf2f7e0e7c08c +SHA1 (patch-ab) = 37e7faca9217122c24fbb7e5b8cd8e8f027ead5a SHA1 (patch-ac) = f48d6622406b89a00ee3ba14fdcff356c5ef59e8 SHA1 (patch-ad) = 27fa3655d6ba4840296e79fa6fd96cd9de79a33a SHA1 (patch-ag) = 78dcb023f524ef65928b529320932c9664ec0d01 diff --git a/www/apache2/patches/patch-ab b/www/apache2/patches/patch-ab new file mode 100644 index 00000000000..6fecef4afae --- /dev/null +++ b/www/apache2/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.5 2005/01/03 06:59:32 minskim Exp $ + +--- server/mpm_common.c.orig Thu Feb 26 14:32:21 2004 ++++ server/mpm_common.c +@@ -322,7 +322,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 */ -- cgit v1.2.3