diff options
| author | Derek Straka <derek@asterius.io> | 2016-04-29 17:43:38 -0400 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-06 12:40:23 +0200 |
| commit | e7ead2b5522b2c862e728dea5585a4e82c574c9e (patch) | |
| tree | d802a413322c8e2c510bc7e11a75a172c63a2e1c /meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch | |
| parent | c1ede4830a34f338d880aed85ea38311ec48070b (diff) | |
| download | meta-openembedded-e7ead2b5522b2c862e728dea5585a4e82c574c9e.tar.gz | |
nginx: update stable version to 1.10.0
The 1.8 version is now considered legacy and the stable versions 1.10.X
Updated the license checksum to reflect copyright date update to 2016
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch')
| -rw-r--r-- | meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch b/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch index 46792ba067..5e96644aa2 100644 --- a/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch +++ b/meta-webserver/recipes-httpd/nginx/files/nginx-cross.patch | |||
| @@ -6,7 +6,7 @@ Upstream-Status: Pending | |||
| 6 | diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | 6 | diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature |
| 7 | --- nginx-1.0.11.orig/auto/feature 2011-05-11 06:50:19.000000000 -0500 | 7 | --- nginx-1.0.11.orig/auto/feature 2011-05-11 06:50:19.000000000 -0500 |
| 8 | +++ nginx-1.0.11/auto/feature 2011-12-27 13:56:42.323370040 -0600 | 8 | +++ nginx-1.0.11/auto/feature 2011-12-27 13:56:42.323370040 -0600 |
| 9 | @@ -48,12 +48,20 @@ | 9 | @@ -49,12 +49,20 @@ |
| 10 | 10 | ||
| 11 | if [ -x $NGX_AUTOTEST ]; then | 11 | if [ -x $NGX_AUTOTEST ]; then |
| 12 | 12 | ||
| @@ -29,7 +29,7 @@ diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | |||
| 29 | ngx_found=yes | 29 | ngx_found=yes |
| 30 | 30 | ||
| 31 | if test -n "$ngx_feature_name"; then | 31 | if test -n "$ngx_feature_name"; then |
| 32 | @@ -67,17 +75,27 @@ | 32 | @@ -68,17 +75,27 @@ |
| 33 | 33 | ||
| 34 | value) | 34 | value) |
| 35 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages | 35 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages |
| @@ -61,7 +61,7 @@ diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | |||
| 61 | else | 61 | else |
| 62 | echo " found but is not working" | 62 | echo " found but is not working" |
| 63 | fi | 63 | fi |
| 64 | @@ -85,7 +103,7 @@ | 64 | @@ -86,7 +105,7 @@ |
| 65 | 65 | ||
| 66 | bug) | 66 | bug) |
| 67 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages | 67 | # /bin/sh is used to intercept "Killed" or "Abort trap" messages |
| @@ -73,8 +73,8 @@ diff -uraN nginx-1.0.11.orig/auto/feature nginx-1.0.11/auto/feature | |||
| 73 | diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options | 73 | diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options |
| 74 | --- nginx-1.0.11.orig/auto/options 2011-12-14 07:34:16.000000000 -0600 | 74 | --- nginx-1.0.11.orig/auto/options 2011-12-14 07:34:16.000000000 -0600 |
| 75 | +++ nginx-1.0.11/auto/options 2011-12-27 13:56:42.323370040 -0600 | 75 | +++ nginx-1.0.11/auto/options 2011-12-27 13:56:42.323370040 -0600 |
| 76 | @@ -289,6 +289,18 @@ | 76 | @@ -353,6 +353,18 @@ |
| 77 | --test-build-rtsig) NGX_TEST_BUILD_RTSIG=YES ;; | 77 | --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; |
| 78 | --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;; | 78 | --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;; |
| 79 | 79 | ||
| 80 | + # cross compile support | 80 | + # cross compile support |
| @@ -92,7 +92,7 @@ diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options | |||
| 92 | *) | 92 | *) |
| 93 | echo "$0: error: invalid option \"$option\"" | 93 | echo "$0: error: invalid option \"$option\"" |
| 94 | exit 1 | 94 | exit 1 |
| 95 | @@ -434,6 +446,17 @@ | 95 | @@ -533,6 +445,17 @@ |
| 96 | 96 | ||
| 97 | --with-debug enable debug logging | 97 | --with-debug enable debug logging |
| 98 | 98 | ||
| @@ -110,7 +110,7 @@ diff -uraN nginx-1.0.11.orig/auto/options nginx-1.0.11/auto/options | |||
| 110 | END | 110 | END |
| 111 | 111 | ||
| 112 | exit 1 | 112 | exit 1 |
| 113 | @@ -455,6 +478,8 @@ | 113 | @@ -554,6 +577,8 @@ |
| 114 | 114 | ||
| 115 | if [ ".$NGX_PLATFORM" = ".win32" ]; then | 115 | if [ ".$NGX_PLATFORM" = ".win32" ]; then |
| 116 | NGX_WINE=$WINE | 116 | NGX_WINE=$WINE |
| @@ -137,14 +137,14 @@ diff -uraN nginx-1.0.11.orig/auto/types/sizeof nginx-1.0.11/auto/types/sizeof | |||
| 137 | 137 | ||
| 138 | #include <sys/types.h> | 138 | #include <sys/types.h> |
| 139 | #include <sys/time.h> | 139 | #include <sys/time.h> |
| 140 | @@ -33,20 +36,20 @@ | 140 | @@ -33,15 +36,16 @@ |
| 141 | END | 141 | END |
| 142 | 142 | ||
| 143 | 143 | ||
| 144 | -ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ | 144 | -ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
| 145 | - -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" | 145 | - -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" |
| 146 | + ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ | 146 | + ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
| 147 | + -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" | 147 | + -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" |
| 148 | 148 | ||
| 149 | -eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | 149 | -eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
| 150 | + eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | 150 | + eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
| @@ -153,20 +153,13 @@ diff -uraN nginx-1.0.11.orig/auto/types/sizeof nginx-1.0.11/auto/types/sizeof | |||
| 153 | -if [ -x $NGX_AUTOTEST ]; then | 153 | -if [ -x $NGX_AUTOTEST ]; then |
| 154 | - ngx_size=`$NGX_AUTOTEST` | 154 | - ngx_size=`$NGX_AUTOTEST` |
| 155 | - echo " $ngx_size bytes" | 155 | - echo " $ngx_size bytes" |
| 156 | -fi | ||
| 157 | + if [ -x $NGX_AUTOTEST ]; then | 156 | + if [ -x $NGX_AUTOTEST ]; then |
| 158 | + ngx_size=`$NGX_AUTOTEST` | 157 | + ngx_size=`$NGX_AUTOTEST` |
| 159 | + echo " $ngx_size bytes" | 158 | + echo " $ngx_size bytes" |
| 160 | + fi | 159 | + fi |
| 160 | fi | ||
| 161 | 161 | ||
| 162 | 162 | ||
| 163 | -rm -rf $NGX_AUTOTEST* | ||
| 164 | - | ||
| 165 | + rm -rf $NGX_AUTOTEST* | ||
| 166 | +fi | ||
| 167 | |||
| 168 | case $ngx_size in | ||
| 169 | 4) | ||
| 170 | diff -uraN nginx-1.0.11.orig/auto/unix nginx-1.0.11/auto/unix | 163 | diff -uraN nginx-1.0.11.orig/auto/unix nginx-1.0.11/auto/unix |
| 171 | --- nginx-1.0.11.orig/auto/unix 2011-12-14 07:34:16.000000000 -0600 | 164 | --- nginx-1.0.11.orig/auto/unix 2011-12-14 07:34:16.000000000 -0600 |
| 172 | +++ nginx-1.0.11/auto/unix 2011-12-27 13:56:42.327370060 -0600 | 165 | +++ nginx-1.0.11/auto/unix 2011-12-27 13:56:42.327370060 -0600 |
