This adds the nginx package from the old svn package fee. I adopt the licensing information and will maintain the package in the future. This request also updates nginx to the last stable version 1.4.7. It further adds support for - naxsi (the ngix web application firewall) - syslog module - http upstream check module - support for the haproxy Proxy Protocol (this way nginx can see the real ip address behind haproxy) Building was tested with target x86_64, ar71xx and avr32. Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
26 lines
578 B
Diff
26 lines
578 B
Diff
--- a/auto/types/sizeof
|
|
+++ b/auto/types/sizeof
|
|
@@ -25,8 +25,13 @@ $NGX_INCLUDE_UNISTD_H
|
|
$NGX_INCLUDE_INTTYPES_H
|
|
$NGX_INCLUDE_AUTO_CONFIG_H
|
|
|
|
+char object_code_block[] = {
|
|
+ '\n', 'e', '4', 'V', 'A',
|
|
+ '0', 'x', ('0' + sizeof($ngx_type)),
|
|
+ 'Y', '3', 'p', 'M', '\n'
|
|
+};
|
|
+
|
|
int main() {
|
|
- printf("%d", (int) sizeof($ngx_type));
|
|
return 0;
|
|
}
|
|
|
|
@@ -40,7 +45,7 @@ eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&
|
|
|
|
|
|
if [ -x $NGX_AUTOTEST ]; then
|
|
- ngx_size=`$NGX_AUTOTEST`
|
|
+ ngx_size=`sed -ne 's/^e4VA0x\(.\)Y3pM$/\1/p' < $NGX_AUTOTEST`
|
|
echo " $ngx_size bytes"
|
|
fi
|
|
|