wok-6.x diff nginx-extras/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | 83b97236db32 |
children |
line diff
1.1 --- a/nginx-extras/receipt Sat Feb 12 11:42:56 2022 +0000 1.2 +++ b/nginx-extras/receipt Tue Sep 06 07:38:52 2022 +0000 1.3 @@ -1,21 +1,23 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="nginx-extras" 1.7 -VERSION="1.16.0" 1.8 +VERSION="1.21.6" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Asynchronous HTTP server designed for heavy loads and mail proxy." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="BSD" 1.13 -WEB_SITE="http://nginx.org/" 1.14 +WEB_SITE="https://nginx.org/" 1.15 1.16 -TARBALL="nginx-$VERSION.tar.gz" 1.17 -WGET_URL="${WEB_SITE}download/$TARBALL" 1.18 +SOURCE="nginx" 1.19 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.20 +WGET_URL="${WEB_SITE}download//$TARBALL" 1.21 1.22 PROVIDE="lighttpd" 1.23 CONFLICT="nginx" 1.24 -SUGGESTED="php perl python" 1.25 -DEPENDS="geoip libgd libxslt openssl pcre zlib" 1.26 -BUILD_DEPENDS="geoip-dev libgd-dev libxslt-dev openssl-dev pcre-dev 1.27 + 1.28 +SUGGESTED="php python" 1.29 +DEPENDS="geoip libgd libxslt openssl pcre perl zlib" 1.30 +BUILD_DEPENDS="geoip-dev libgd-dev libxslt-dev openssl-dev pcre-dev 1.31 tiff zlib-dev" 1.32 1.33 CONFIG_FILES="/etc/nginx" 1.34 @@ -70,7 +72,7 @@ 1.35 --user=80 \ 1.36 --group=80 && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + make install DESTDIR=$DESTDIR 1.40 1.41 # not yet available - perftools dep lib 1.42 #--with-google_perftools_module \ 1.43 @@ -91,8 +93,8 @@ 1.44 # We stop the server by default in case of upgarde. 1.45 pre_install() 1.46 { 1.47 - [ -f /etc/init.d/$PACKAGE ] && 1.48 - /etc/init.d/$PACKAGE stop 1.49 + [ -f /etc/init.d/$SOURCE ] && 1.50 + /etc/init.d/$SOURCE stop 1.51 1.52 # Backup configuration file. 1.53 if [ -d "$1/$CONFIG_FILES" ] 1.54 @@ -113,14 +115,14 @@ 1.55 fi 1.56 1.57 # Just in case. 1.58 - chown www.www "$1/var/log/$PACKAGE" 1.59 + chown www.www "$1/var/log/$SOURCE" 1.60 if [ -z "$1" ] 1.61 then 1.62 for i in apache lighttpd 1.63 do 1.64 [ -f /etc/init.d/$i ] && /etc/init.d/$i stop 1.65 done 1.66 - /etc/init.d/$PACKAGE start 1.67 + /etc/init.d/$SOURCE start 1.68 fi 1.69 1.70 :