nginx: update to 1.4.0.
This commit is contained in:
parent
cf98b77a00
commit
4ce656e4bf
|
@ -1,8 +0,0 @@
|
|||
/var/log/nginx/*.log {
|
||||
missingok
|
||||
sharedscripts
|
||||
compress
|
||||
postrotate
|
||||
test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
|
||||
endscript
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'nginx'
|
||||
pkgname=nginx
|
||||
version=1.2.8
|
||||
version=1.4.0
|
||||
revision=1
|
||||
makedepends="pcre-devel>=8.30 openssl-devel"
|
||||
short_desc="A high performance web and reverse proxy server"
|
||||
|
@ -8,7 +8,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
license="Simplified BSD"
|
||||
homepage="http://nginx.org"
|
||||
distfiles="http://nginx.org/download/nginx-$version.tar.gz"
|
||||
checksum=d2947c98c5bed311b1e6c04e35a730af92e40e2e6bfe9201fa7f404987457137
|
||||
checksum=84aeb7a131fccff036dc80283dd98c989d2844eb84359cfe7c4863475de923a9
|
||||
|
||||
do_configure() {
|
||||
local cfgdir=/etc/nginx
|
||||
|
@ -44,8 +44,6 @@ do_build() {
|
|||
do_install() {
|
||||
make DESTDIR=$DESTDIR install
|
||||
|
||||
vinstall ${FILESDIR}/nginx.logrotate 644 etc/logrotate.d nginx
|
||||
|
||||
sed -e 's|\<user\s\+\w\+;|user html;|g' \
|
||||
-e '44s|html|/usr/share/nginx/html|' \
|
||||
-e '54s|html|/usr/share/nginx/html|' \
|
||||
|
@ -69,8 +67,7 @@ nginx_package() {
|
|||
/etc/nginx/nginx.conf
|
||||
/etc/nginx/scgi_params
|
||||
/etc/nginx/uwsgi_params
|
||||
/etc/nginx/win-utf
|
||||
/etc/logrotate.d/nginx"
|
||||
/etc/nginx/win-utf"
|
||||
depends="shadow"
|
||||
system_accounts="nginx"
|
||||
nginx_homedir="/var/tmp/nginx"
|
||||
|
@ -80,7 +77,6 @@ nginx_package() {
|
|||
/var/tmp 1777 root root
|
||||
/var/tmp/nginx 0750 root root"
|
||||
pkg_install() {
|
||||
vmove etc
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue