Changes of Revision 2
[-] | Changed | apache2-mod_asn.spec |
x 1
2 #Source30: README 3 #Source31: INSTALL 4 # 5 +Patch0: apache24.patch 6 BuildRoot: %{_tmppath}/%{name}-%{version}-build 7 8 %description 9
10 %prep 11 %setup -n mod_asn-%{version} 12 #cp -p %{S:10} %{S:11} %{S:20} %{S:21} %{S:22} %{S:30} %{S:31} . 13 +%patch0 14 15 %build 16 %{apxs} -c mod_asn.c 17 |
||
[+] | Added | apache24.patch ^ |
@@ -0,0 +1,11 @@ +--- mod_asn-1.5/mod_asn.c.orig 2013-07-28 10:34:11.053755165 +0200 ++++ mod_asn-1.5/mod_asn.c 2013-07-28 10:37:51.501011515 +0200 +@@ -307,7 +307,7 @@ + clientip = apr_table_get(r->subprocess_env, scfg->ip_envvar); + debugLog(r, cfg, "client ip from %s envvar: %s", scfg->ip_envvar, clientip); + } else { +- clientip = apr_pstrdup(r->pool, r->connection->remote_ip); ++ clientip = apr_pstrdup(r->pool, r->connection->client_ip); + } + + if (!clientip) { |