Changes of Revision 2
[-] | Changed | apache2-mod_authnz_external.spec |
x 1
2 %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) 3 # 4 Name: apache2-mod_authnz_external 5 -Version: 3.2.6 6 +Version: 3.3.1 7 Release: 0 8 # 9 Group: Productivity/Networking/Web/Servers 10
11 # 12 URL: http://unixpapa.com/mod_authnz_external/ 13 Source: http://unixpapa.com/software/%{mod_name}-%{version}.tar.bz2 14 +Patch0: apache24.patch 15 # 16 Summary: Apache External Authentication Modules 17 %description 18
19 20 %prep 21 %setup -n %{mod_name}-%{version} 22 +%patch0 -p1 23 %{__rm} -rf .libs/ .*.swp 24 25 + 26 %build 27 %{apxs} -c %{mod_name}.c 28 29 |
||
[+] | Added | apache24.patch ^ |
@@ -0,0 +1,13 @@ +--- mod_authnz_external-3.3.1/mod_authnz_external.c.orig 2013-07-28 11:33:46.089602778 +0200 ++++ mod_authnz_external-3.3.1/mod_authnz_external.c 2013-07-28 11:34:11.525405425 +0200 +@@ -443,8 +443,8 @@ + if (remote_host != NULL) + child_env[i++]= apr_pstrcat(p, ENV_HOST"=", remote_host,NULL); + +- if (c->remote_ip) +- child_env[i++]= apr_pstrcat(p, ENV_IP"=", c->remote_ip, NULL); ++ if (c->client_ip) ++ child_env[i++]= apr_pstrcat(p, ENV_IP"=", c->client_ip, NULL); + + if (r->uri) + child_env[i++]= apr_pstrcat(p, ENV_URI"=", r->uri, NULL); | ||
Added | mod_authnz_external-3.3.1.tar.bz2 ^ |