wok rev 15373
smx: apache 2.4 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 17 16:55:23 2013 +0000 (2013-10-17) |
parents | 3b3a139f4862 |
children | efe4d0b688a9 |
files | smx/receipt |
line diff
1.1 --- a/smx/receipt Thu Oct 17 13:16:15 2013 +0000 1.2 +++ b/smx/receipt Thu Oct 17 16:55:23 2013 +0000 1.3 @@ -17,6 +17,9 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + sed -i -e 's/ap_get_server_version/ap_get_server_banner/' \ 1.8 + -e 's/remote_ip/client_ip/' modsmx/modsmx.h 1.9 + sed -i 's/modsmx.h"/&\n#ifdef APLOG_USE_MODULE\nAPLOG_USE_MODULE(smx);\n#undef APLOG_MARK\n#define APLOG_MARK __FILE__, __LINE__, APLOG_MODULE_INDEX\n#endif/' modsmx/modsmx.cpp 1.10 ./configure \ 1.11 --prefix=/usr \ 1.12 --mandir=/usr/share/man \