Wed Nov 12 09:07:56 2008 UTC ()
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.


(martti)
diff -r1.1.1.1 -r1.2 pkgsrc/www/ap22-authnz-external/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/www/ap22-authnz-external/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/www/ap22-authnz-external/patches/patch-aa

cvs diff -r1.1.1.1 -r1.2 pkgsrc/www/ap22-authnz-external/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/www/ap22-authnz-external/Attic/Makefile 2008/07/29 05:07:46 1.1.1.1
+++ pkgsrc/www/ap22-authnz-external/Attic/Makefile 2008/11/12 09:07:56 1.2
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:07:46 schmonz Exp $ 1# $NetBSD: Makefile,v 1.2 2008/11/12 09:07:56 martti Exp $
2# 2#
3 3
4DISTNAME= mod_authnz_external-${DISTVERS} 4DISTNAME= mod_authnz_external-${DISTVERS}
5PKGNAME= ${APACHE_PKG_PREFIX}-authnz-external-${DISTVERS} 5PKGNAME= ${APACHE_PKG_PREFIX}-authnz-external-${DISTVERS}
6CATEGORIES= www 6CATEGORIES= www
7MASTER_SITES= http://unixpapa.com/software/ 7MASTER_SITES= http://unixpapa.com/software/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://unixpapa.com/mod_authnz_external/ 10HOMEPAGE= http://unixpapa.com/mod_authnz_external/
11COMMENT= Apache module for external program authentication 11COMMENT= Apache module for external program authentication
12 12
13PKG_APACHE_ACCEPTED= apache22 13PKG_APACHE_ACCEPTED= apache22
14 14
15.include "../../mk/apache.mk" 15.include "../../mk/apache.mk"
16 16
17APACHE_MODULE_NAME= mod_authnz_external.${MODULE_EXT} 17APACHE_MODULE_NAME= mod_authnz_external.${MODULE_EXT}
18 18
19DISTVERS= 3.1.0 19DISTVERS= 3.2.1
20MODULE_EXT= la 20MODULE_EXT= la
21MESSAGE_SUBST+= MODULE_NAME=authnz_external_module 21MESSAGE_SUBST+= MODULE_NAME=authnz_external_module
22 22
23.include "../../www/apache/module.mk" 23.include "../../www/apache/module.mk"
24.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/www/ap22-authnz-external/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/www/ap22-authnz-external/Attic/distinfo 2008/07/29 05:07:46 1.1.1.1
+++ pkgsrc/www/ap22-authnz-external/Attic/distinfo 2008/11/12 09:07:56 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1.1.1 2008/07/29 05:07:46 schmonz Exp $ 1$NetBSD: distinfo,v 1.2 2008/11/12 09:07:56 martti Exp $
2 2
3SHA1 (mod_authnz_external-3.1.0.tar.gz) = 0b699abaeaf693edad8f1b7435cab77d28af0bec 3SHA1 (mod_authnz_external-3.2.1.tar.gz) = fd2ae98063bc69eb9009fe32977fc1bc00a7c3a8
4RMD160 (mod_authnz_external-3.1.0.tar.gz) = 380398a58b06ba3352f1ff0dc7758dba6d455327 4RMD160 (mod_authnz_external-3.2.1.tar.gz) = 174f9fdd2c7765c8ca9e424a243303cbc8620467
5Size (mod_authnz_external-3.1.0.tar.gz) = 171832 bytes 5Size (mod_authnz_external-3.2.1.tar.gz) = 57823 bytes
6SHA1 (patch-aa) = a40c483acc3eed629bb0d487778ad6ce9f819ae7 6SHA1 (patch-aa) = a566906fe7c50452979f3bd6c618ee8b08cce645

cvs diff -r1.1.1.1 -r1.2 pkgsrc/www/ap22-authnz-external/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/www/ap22-authnz-external/patches/Attic/patch-aa 2008/07/29 05:07:46 1.1.1.1
+++ pkgsrc/www/ap22-authnz-external/patches/Attic/patch-aa 2008/11/12 09:07:56 1.2
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1$NetBSD: patch-aa,v 1.1.1.1 2008/07/29 05:07:46 schmonz Exp $ 1$NetBSD: patch-aa,v 1.2 2008/11/12 09:07:56 martti Exp $
2 2
3--- mod_authnz_external.c.orig 2006-02-17 21:35:15.000000000 -0500 3--- mod_authnz_external.c.orig 2008-07-31 22:11:46.000000000 +0300
4+++ mod_authnz_external.c 4+++ mod_authnz_external.c 2008-11-12 10:53:39.000000000 +0200
5@@ -92,6 +92,7 @@ 5@@ -90,6 +90,7 @@
6 #define ENV_PASS "PASS" 6 #define ENV_PASS "PASS"
7 #define ENV_GROUP "GROUP" 7 #define ENV_GROUP "GROUP"
8 #define ENV_URI "URI" 8 #define ENV_URI "URI"
9+#define ENV_METHOD "METHOD" 9+#define ENV_METHOD "METHOD"
10 #define ENV_IP "IP" 10 #define ENV_IP "IP"
11 #define ENV_HOST "HOST" /* Remote Host */ 11 #define ENV_HOST "HOST" /* Remote Host */
12 #define ENV_HTTP_HOST "HTTP_HOST" /* Local Host */ 12 #define ENV_HTTP_HOST "HTTP_HOST" /* Local Host */
13@@ -359,6 +360,9 @@ static int exec_external(const char *ext 13@@ -446,6 +447,9 @@
14 if (r->uri) 14 if (r->uri)
15 child_env[i++]= apr_pstrcat(r->pool, ENV_URI"=", r->uri, NULL); 15 child_env[i++]= apr_pstrcat(p, ENV_URI"=", r->uri, NULL);
16  16
17+ if (r->method) 17+ if (r->method)
18+ child_env[i++]= apr_pstrcat(r->pool, ENV_METHOD"=", r->method, NULL); 18+ child_env[i++]= apr_pstrcat(r->pool, ENV_METHOD"=", r->method, NULL);
19+ 19+
20 if ((host= apr_table_get(r->headers_in, "Host")) != NULL) 20 if ((host= apr_table_get(r->headers_in, "Host")) != NULL)
21 child_env[i++]= apr_pstrcat(r->pool, ENV_HTTP_HOST"=", host, NULL); 21 child_env[i++]= apr_pstrcat(p, ENV_HTTP_HOST"=", host, NULL);
22  22