From 390a1449036e72436742d4529ccafb0cf8f64db5 Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Sun, 5 Oct 2014 12:46:22 +0200 Subject: package/nginx: new package nginx module selection is, by default, the same as the one sets by the upstream configure script. Patches improving the cross-compilation support have already been sent upstream for integration [1-5]. All these patches are needed because nginx uses its own handwritten build-system, which is cross-platform, but does not properly support cross-compilation. Fixes bug: #3427 [6] [1] http://mailman.nginx.org/pipermail/nginx-devel/2014-August/005722.html [2] http://mailman.nginx.org/pipermail/nginx-devel/2014-August/005724.html [3] http://mailman.nginx.org/pipermail/nginx-devel/2014-August/005725.html [4] http://mailman.nginx.org/pipermail/nginx-devel/2014-August/005723.html [5] http://mailman.nginx.org/pipermail/nginx-devel/2014-August/005726.html [6] https://bugs.uclibc.org/show_bug.cgi?id=3427 Signed-off-by: Samuel Martin Cc: Daniele Salvatore Albano Cc: Maxime Hadjinlian Cc: Johan Oudinet Cc: Thomas Petazzoni Cc: Gustavo Zacarias Signed-off-by: Thomas Petazzoni Tested-by: Thomas Petazzoni --- package/nginx/nginx.logrotate | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 package/nginx/nginx.logrotate (limited to 'package/nginx/nginx.logrotate') diff --git a/package/nginx/nginx.logrotate b/package/nginx/nginx.logrotate new file mode 100644 index 0000000000..e0fa9ec4ce --- /dev/null +++ b/package/nginx/nginx.logrotate @@ -0,0 +1,9 @@ +/var/log/nginx/*log { + missingok + create 640 http log + sharedscripts + compress + postrotate + test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid` + endscript +} -- cgit v1.2.3