pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ap22-authnz-external Updated www/ap22-authnz-exter...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74add03f765f
branches:  trunk
changeset: 549981:74add03f765f
user:      martti <martti%pkgsrc.org@localhost>
date:      Wed Nov 12 09:07:56 2008 +0000

description:
Updated www/ap22-authnz-external to 3.2.1

 * Added AuthExternalContext directive, which defines a string that will be
   passed to the authenticator in the CONTEXT environment variable.  This can
   be set from the .htaccess file or the <Directory> block to give slightly
   different behavior from the same authenticator in different directories.
   Thanks to Olivier Thauvin <nanardon at mandriva dot org> for this patch.
 * Rewrite external authenticator launching code to use Apache's cross-OS
   process/thread library instead of directly calling Unix functions.
   Theoretically this should get us much closer to being usable on non-
   Unix platforms.
 * Support alternate syntax for configuration, using DefineAuthExternal and
   DefineAuthGroup commands.
 * More detailed error logging.
 * Much cleanup of documentation.

diffstat:

 www/ap22-authnz-external/Makefile         |   4 ++--
 www/ap22-authnz-external/distinfo         |  10 +++++-----
 www/ap22-authnz-external/patches/patch-aa |  16 ++++++++--------
 3 files changed, 15 insertions(+), 15 deletions(-)

diffs (67 lines):

diff -r b55cfedc68b0 -r 74add03f765f www/ap22-authnz-external/Makefile
--- a/www/ap22-authnz-external/Makefile Tue Nov 11 23:14:12 2008 +0000
+++ b/www/ap22-authnz-external/Makefile Wed Nov 12 09:07:56 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:07:46 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2008/11/12 09:07:56 martti Exp $
 #
 
 DISTNAME=      mod_authnz_external-${DISTVERS}
@@ -16,7 +16,7 @@
 
 APACHE_MODULE_NAME=    mod_authnz_external.${MODULE_EXT}
 
-DISTVERS=      3.1.0
+DISTVERS=      3.2.1
 MODULE_EXT=    la
 MESSAGE_SUBST+=        MODULE_NAME=authnz_external_module
 
diff -r b55cfedc68b0 -r 74add03f765f www/ap22-authnz-external/distinfo
--- a/www/ap22-authnz-external/distinfo Tue Nov 11 23:14:12 2008 +0000
+++ b/www/ap22-authnz-external/distinfo Wed Nov 12 09:07:56 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/07/29 05:07:46 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2008/11/12 09:07:56 martti Exp $
 
-SHA1 (mod_authnz_external-3.1.0.tar.gz) = 0b699abaeaf693edad8f1b7435cab77d28af0bec
-RMD160 (mod_authnz_external-3.1.0.tar.gz) = 380398a58b06ba3352f1ff0dc7758dba6d455327
-Size (mod_authnz_external-3.1.0.tar.gz) = 171832 bytes
-SHA1 (patch-aa) = a40c483acc3eed629bb0d487778ad6ce9f819ae7
+SHA1 (mod_authnz_external-3.2.1.tar.gz) = fd2ae98063bc69eb9009fe32977fc1bc00a7c3a8
+RMD160 (mod_authnz_external-3.2.1.tar.gz) = 174f9fdd2c7765c8ca9e424a243303cbc8620467
+Size (mod_authnz_external-3.2.1.tar.gz) = 57823 bytes
+SHA1 (patch-aa) = a566906fe7c50452979f3bd6c618ee8b08cce645
diff -r b55cfedc68b0 -r 74add03f765f www/ap22-authnz-external/patches/patch-aa
--- a/www/ap22-authnz-external/patches/patch-aa Tue Nov 11 23:14:12 2008 +0000
+++ b/www/ap22-authnz-external/patches/patch-aa Wed Nov 12 09:07:56 2008 +0000
@@ -1,22 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/07/29 05:07:46 schmonz Exp $
+$NetBSD: patch-aa,v 1.2 2008/11/12 09:07:56 martti Exp $
 
---- mod_authnz_external.c.orig 2006-02-17 21:35:15.000000000 -0500
-+++ mod_authnz_external.c
-@@ -92,6 +92,7 @@
+--- mod_authnz_external.c.orig 2008-07-31 22:11:46.000000000 +0300
++++ mod_authnz_external.c      2008-11-12 10:53:39.000000000 +0200
+@@ -90,6 +90,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 */
-@@ -359,6 +360,9 @@ static int exec_external(const char *ext
+ #define ENV_HTTP_HOST "HTTP_HOST"     /* Local Host */
+@@ -446,6 +447,9 @@
        if (r->uri)
-           child_env[i++]= apr_pstrcat(r->pool, ENV_URI"=", r->uri, NULL);
+           child_env[i++]= apr_pstrcat(p, ENV_URI"=", r->uri, NULL);
  
 +      if (r->method)
 +          child_env[i++]= apr_pstrcat(r->pool, ENV_METHOD"=", r->method, NULL);
 +
        if ((host= apr_table_get(r->headers_in, "Host")) != NULL)
-           child_env[i++]= apr_pstrcat(r->pool, ENV_HTTP_HOST"=", host, NULL);
+           child_env[i++]= apr_pstrcat(p, ENV_HTTP_HOST"=", host, NULL);
  



Home | Main Index | Thread Index | Old Index