# angie/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run \ --checkout=Angie-1.7.0 \ https://github.com/webserver-llc/angie.git #--------------------------------------------------------------------- 2. It may not be possible to cross-build this package. I.e.: It may need to be built under the target distro. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.77 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM #--------------------------------------------------------------------- [settings] build = default license = See "license*.txt" in installed tree licfile = LICENSE setpaths = $PRODTREE/perl5 tmpsize = 67M #--------------------------------------------------------------------- [depends] actools gawk grep openssl pcre perl:strict sed zlib #--------------------------------------------------------------------- [configure] LOGDIR=/var/log/nginx ERRLOG=$LOGDIR/nginx-errors.log MAINLOG=$LOGDIR/nginx-access.log VARDIR=/var/nginx mkdir -p $LOGDIR $VARDIR chmod 777 $LOGDIR $VARDIR MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE rm -f /etc/nginx if [ -e /etc/nginx ]; then echo Error: Must remove or rename /etc/nginx exit 1 fi ln -nsf /opt/nginx /etc/ tar jxf $PKGDIR_SPECIAL/ngx-fancyindex-git-*.tar.bz2 mv ngx-fancyindex-git-* ngx-fancyindex tar jxf $PKGDIR_SPECIAL/nginx-unzip-module-git-*.tar.bz2 mv nginx-unzip-module-git-* nginx-unzip-module bash ./configure \ --prefix=$PKGDIR_PROD \ \ --conf-path=/opt/nginx/nginx.conf \ --error-log-path=$ERRLOG \ --http-log-path=$MAINLOG \ \ --http-client-body-temp-path=$VARDIR/tempbody \ --http-proxy-temp-path=$VARDIR/tempproxy \ --http-fastcgi-temp-path=$VARDIR/temp-fastcgi \ --http-uwsgi-temp-path=$VARDIR/temp-uwsgi \ --http-scgi-temp-path=$VARDIR/tmp \ \ --lock-path=$VARDIR/nginx.lock \ --pid-path=$VARDIR/nginx.pid \ \ --add-module=ngx-fancyindex \ --add-module=nginx-unzip-module \ \ --with-file-aio \ --with-mail \ --with-stream \ --with-stream_ssl_module \ --with-stream_ssl_preread_module \ --with-threads \ \ --with-http_acme_module \ --with-http_addition_module \ --with-http_auth_request_module \ --with-http_dav_module \ --with-http_flv_module \ --with-http_gunzip_module \ --with-http_gzip_static_module \ --with-http_mp4_module \ --with-http_perl_module \ --with-http_random_index_module \ --with-http_secure_link_module \ --with-http_slice_module \ --with-http_ssl_module \ --with-http_stub_status_module \ --with-http_v2_module \ --with-http_v3_module #--------------------------------------------------------------------- [postbuild] cd $PKGDIR_PROD/sbin/ ln -nsf angie nginx mkdir -p /etc/init.d/ cp -p $PKGDIR_SPECIAL/init-d-nginx /etc/init.d/nginx chmod 755 /etc/init.d/nginx DHDIR=/etc/ssl/certs DHPARAM=$DHDIR/dhparam.pem if [ \! -f $DHPARAM ]; then mkdir -p $DHDIR openssl dhparam -out $DHPARAM 2048 fi #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian_page = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 210417 Added package. Started with 1.18.0. 210906 Updated to 1.19.10 210912 Updated to 1.21.3 211118 Updated to 1.21.4 211228 Updated to 1.21.5 220625 Updated to 1.21.6 220722 Updated to 1.23.1 230108 Updated to 1.23.3 230411 Updated to 1.24.0 230525 Updated to 1.25.0 230816 Updated to 1.25.2 230816 Added some "nginx" extension modules 240328 Updated to 1.25.4 240503 Updated to 1.26.0 241004 Replaced F5 "nginx" with "angie" 241004 Updated to 53e096488 - same as 1.27.0