07070100AA027E000041ED0000000000000000000000024F4C617500000000000000080000000600000000000000000000000200000000. 07070100AA027F000081A40000000000000000000000014F4C617500000BB6000000080000000600000000000000000000000800000000receipt # SliTaz package receipt. PACKED_SIZE="192.0K" UNPACKED_SIZE="492.0K" PACKAGE="nginx" VERSION="0.7.65" CATEGORY="network" SHORT_DESC="Asynchronous HTTP server designed for heavy loads + mail proxy." MAINTAINER="pascal.bellard@slitaz.org" SUGGESTED="php perl python" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://nginx.org/" WGET_URL="${WEB_SITE}download//$TARBALL" DEPENDS="pcre openssl zlib" BUILD_DEPENDS="pcre-dev openssl-dev zlib-dev" CONFIG_FILES="/etc/nginx" # Rules to configure and make the package. compile_rules() { cd $src # --with-rtsig_module enable rtsig module # --with-select_module enable select module # --with-poll_module enable poll module # --with-ipv6 enable ipv6 support # --with-http_realip_module enable ngx_http_realip_module # --with-http_addition_module enable ngx_http_addition_module # --with-http_xslt_module enable ngx_http_xslt_module # --with-http_image_filter_module enable ngx_http_image_filter_module # --with-http_geoip_module enable ngx_http_geoip_module # --with-http_sub_module enable ngx_http_sub_module # --with-http_random_index_module enable ngx_http_random_index_module # --with-http_secure_link_module enable ngx_http_secure_link_module # --with-http_perl_module enable ngx_http_perl_module # --with-google_perftools_module enable ngx_google_perftools_module ./configure --prefix=/usr \ --conf-path=/etc/nginx/nginx.conf \ --pid-path=/var/run/nginx.pid \ --lock-path=/var/lock/nginx.lock \ --error-log-path=/var/log/nginx/error.log \ --http-log-path=/var/log/nginx/access.log \ --http-client-body-temp-path=/var/spool/nginx/body \ --http-proxy-temp-path=/var/spool/nginx/proxy \ --http-fastcgi-temp-path=/var/spool/nginx/fastcgi \ --with-http_stub_status_module \ --with-http_flv_module \ --with-http_ssl_module \ --with-http_dav_module \ --with-mail --with-mail_ssl_module \ --user=80 --group=80 && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. # On SliTaz Lighttpd runs as user/group : www/www or 80/80. genpkg_rules() { cp -a $_pkg/* $fs/ rm -rf $fs/usr/html cp -a stuff/* $fs } # Pre and post install commands for Tazpkg. # We stop the server by default in case of upgarde. pre_install() { echo "Processing pre-install commands..." [ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop # Backup config file. if [ -d $1/$CONFIG_FILES ]; then cp -a $1/$CONFIG_FILES $1/$CONFIG_FILES.bak fi } post_install() { echo "Processing post-install commands..." # Restore original config. if [ -d $1/$CONFIG_FILES.bak ]; then rm -rf $1/$CONFIG_FILES mv $1/$CONFIG_FILES.bak $1/$CONFIG_FILES fi # Just in case. chown www.www $1/var/log/$PACKAGE if [ -z "$1" ]; then for i in apache lighttpd ; do [ -f /etc/init.d/$i ] && /etc/init.d/$i stop done /etc/init.d/$PACKAGE start fi } 07070100AA0292000081A40000000000000000000000014F4C6175000002F1000000080000000600000000000000000000000700000000md5sum 5a3e7815d0af55dbf12db6824fe38649 /etc/init.d/nginx 822165a5f2bed79b8e0fdac84b97066e /etc/nginx/fastcgi_params.default 6f392f914fafd91bd3dd55dfcc90f95e /etc/nginx/mime.types.default 09e696e2ac14d765df4343fa78350fe3 /etc/nginx/fastcgi.conf f525dc44d2b5e3343abb88b2f83db789 /etc/nginx/nginx.conf.default 6f392f914fafd91bd3dd55dfcc90f95e /etc/nginx/mime.types 3749ffe19bedd842eb87e83d544e5ce6 /etc/nginx/win-utf f525dc44d2b5e3343abb88b2f83db789 /etc/nginx/nginx.conf 3e338aca6a53a5420fc791b5ef86f64c /etc/nginx/koi-utf 822165a5f2bed79b8e0fdac84b97066e /etc/nginx/fastcgi_params bfa0b80381fed2b1dfcf617b0ba204ec /etc/nginx/koi-win 09e696e2ac14d765df4343fa78350fe3 /etc/nginx/fastcgi.conf.default c192b810b900e897f445583974bd5a15 /usr/sbin/nginx 07070100AA0298000081A40000000000000000000000014F4C617500000137000000080000000600000000000000000000000B00000000files.list /etc/init.d/nginx /etc/nginx/fastcgi_params.default /etc/nginx/mime.types.default /etc/nginx/fastcgi.conf /etc/nginx/nginx.conf.default /etc/nginx/mime.types /etc/nginx/win-utf /etc/nginx/nginx.conf /etc/nginx/koi-utf /etc/nginx/fastcgi_params /etc/nginx/koi-win /etc/nginx/fastcgi.conf.default /usr/sbin/nginx 07070100AA0299000081A40000000000000000000000014F4C61750002BFEE000000080000000600000000000000000000000D00000000fs.cpio.lzma ] c!IP_6,j *=xc+:6W .Y=)),={Nkk+i;+h_O)`< Qjȣոv qqtozpxxkWEݬV1y2?82!O%j~bՈS/| )N9L/"l Q=V{ԡ5ˏpSpXQ#D