pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap-auth-external Add support for passing through M...
details: https://anonhg.NetBSD.org/pkgsrc/rev/26d16b3ff650
branches: trunk
changeset: 534852:26d16b3ff650
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Fri Nov 02 15:06:26 2007 +0000
description:
Add support for passing through METHOD to the authenticator which allows you
to grant read-only or write access to WebDAV directories.
diffstat:
www/ap-auth-external/Makefile | 4 ++--
www/ap-auth-external/distinfo | 3 ++-
www/ap-auth-external/patches/patch-aa | 22 ++++++++++++++++++++++
3 files changed, 26 insertions(+), 3 deletions(-)
diffs (54 lines):
diff -r 33ac2dc2a833 -r 26d16b3ff650 www/ap-auth-external/Makefile
--- a/www/ap-auth-external/Makefile Fri Nov 02 11:56:11 2007 +0000
+++ b/www/ap-auth-external/Makefile Fri Nov 02 15:06:26 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2007/02/03 04:13:25 obache Exp $
+# $NetBSD: Makefile,v 1.5 2007/11/02 15:06:26 sborrill Exp $
#
DISTNAME= mod_auth_external-${DISTVERS}
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= ${APACHE_PKG_PREFIX}-auth-external-${DISTVERS}
CATEGORIES= www
MASTER_SITES= http://unixpapa.com/software/
diff -r 33ac2dc2a833 -r 26d16b3ff650 www/ap-auth-external/distinfo
--- a/www/ap-auth-external/distinfo Fri Nov 02 11:56:11 2007 +0000
+++ b/www/ap-auth-external/distinfo Fri Nov 02 15:06:26 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/01/19 09:00:24 sborrill Exp $
+$NetBSD: distinfo,v 1.2 2007/11/02 15:06:26 sborrill Exp $
SHA1 (mod_auth_external-2.1.19.tar.gz) = da2266f93acf82e488e14380157f1acd69198ad9
RMD160 (mod_auth_external-2.1.19.tar.gz) = f4012119f3e3eca73b07c1f90292338e6256e31a
@@ -6,3 +6,4 @@
SHA1 (mod_auth_external-2.2.11.tar.gz) = da89adcdac611ec8c0f69a79f2edff669210f2a1
RMD160 (mod_auth_external-2.2.11.tar.gz) = be27183d8049989f64548a5c8dd3cdecc3b3a5e2
Size (mod_auth_external-2.2.11.tar.gz) = 52542 bytes
+SHA1 (patch-aa) = 259f28f6db5937d9c015c60339c5fd14b8ab7dc9
diff -r 33ac2dc2a833 -r 26d16b3ff650 www/ap-auth-external/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-auth-external/patches/patch-aa Fri Nov 02 15:06:26 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2007/11/02 15:06:26 sborrill Exp $
+
+--- mod_auth_external.c.orig 2003-10-23 15:20:45.000000000 +0100
++++ mod_auth_external.c 2007-07-16 15:28:19.000000000 +0100
+@@ -227,6 +227,7 @@
+ #define ENV_PASS "PASS"
+ #define ENV_GROUP "GROUP"
+ #define ENV_URI "URI"
++#define ENV_METHOD "METHOD"
+ #define ENV_IP "IP"
+ #define ENV_HOST "HOST" /* Remote Host */
+ #define ENV_HTTP_HOST "HTTP_HOST" /* Local Host */
+@@ -485,6 +486,9 @@
+ if (r->uri)
+ child_env[i++]= ap_pstrcat(r->pool, ENV_URI"=", r->uri, NULL);
+
++ if (r->method)
++ child_env[i++]= ap_pstrcat(r->pool, ENV_METHOD"=", r->method, NULL);
++
+ if ((host= lookup_header(r,"Host")) != NULL)
+ child_env[i++]= ap_pstrcat(r->pool, ENV_HTTP_HOST"=", host, NULL);
+
Home |
Main Index |
Thread Index |
Old Index