diff options
author | sborrill <sborrill@pkgsrc.org> | 2007-11-02 15:06:26 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2007-11-02 15:06:26 +0000 |
commit | 64a746545eaf0a0cc8ffbd7b09ae45c1e4eb9b3c (patch) | |
tree | 2f30c6609c0bf8444f9508baee4f156763160875 /www/ap-auth-external | |
parent | 32aed258f6f0ffa95493791532c1b94fb40c40fd (diff) | |
download | pkgsrc-64a746545eaf0a0cc8ffbd7b09ae45c1e4eb9b3c.tar.gz |
Add support for passing through METHOD to the authenticator which allows you
to grant read-only or write access to WebDAV directories.
Diffstat (limited to 'www/ap-auth-external')
-rw-r--r-- | www/ap-auth-external/Makefile | 4 | ||||
-rw-r--r-- | www/ap-auth-external/distinfo | 3 | ||||
-rw-r--r-- | www/ap-auth-external/patches/patch-aa | 22 |
3 files changed, 26 insertions, 3 deletions
diff --git a/www/ap-auth-external/Makefile b/www/ap-auth-external/Makefile index 077b6d4c8d7..7d97eadb58a 100644 --- a/www/ap-auth-external/Makefile +++ b/www/ap-auth-external/Makefile @@ -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 --git a/www/ap-auth-external/distinfo b/www/ap-auth-external/distinfo index 113b93873cc..a5056cd3ef8 100644 --- a/www/ap-auth-external/distinfo +++ b/www/ap-auth-external/distinfo @@ -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 @@ Size (mod_auth_external-2.1.19.tar.gz) = 51390 bytes 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 --git a/www/ap-auth-external/patches/patch-aa b/www/ap-auth-external/patches/patch-aa new file mode 100644 index 00000000000..2c617471338 --- /dev/null +++ b/www/ap-auth-external/patches/patch-aa @@ -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); + |