# 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.8.1 \ 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.02 hours (or 001.33 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 bzip2 gawk grep libzip openssl pcre pcre2 perl:strict sed xzutils zlib zstd #--------------------------------------------------------------------- [configure] ETCDIR=/etc/nginx ACMEDIR=$ETCDIR/acme_client LOGDIR=/var/log/nginx MANBASE=$PKGDIR_PROD/man MODDIR=$PKGDIR_PROD/modules VARDIR=/var/nginx #--------------------------------------------------------------------- ERRLOG=$LOGDIR/errors.log MAINLOG=$LOGDIR/access.log #--------------------------------------------------------------------- # Remove symlink if present. Warning: This shouldn't use "rm -fr". if [ -L $ETCDIR ]; then rm -f $ETCDIR; fi #--------------------------------------------------------------------- mkdir -p $LOGDIR $VARDIR $ACMEDIR $MODDIR $ETCDIR $MANBASE chmod 777 $LOGDIR $VARDIR chmod 700 $ACMEDIR #--------------------------------------------------------------------- tar jxf $PKGDIR_SPECIAL/ngx_devel_kit-git-*.tar.bz2 mv ngx_devel_kit-git-* \ ngx_devel_kit 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=$ETCDIR/nginx.conf \ --error-log-path=$ERRLOG \ --modules-path=$MODDIR \ --http-log-path=$MAINLOG \ --http-acme-client-path=$ACMEDIR \ \ --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_devel_kit \ --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_image_filter_module \ --with-http_mp4_module \ --with-http_perl_module \ --with-http_random_index_module \ --with-http_realip_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 \ --with-http_xslt_module #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin ETCDIR=/etc/nginx ETCINIT=/etc/init.d mkdir -p $BINDIR $ETCDIR $ETCINIT #--------------------------------------------------------------------- cd $ETCDIR/ rm -fr *.default prometheus_all.conf #--------------------------------------------------------------------- cd $PKGDIR_SPECIAL/ cp -p nginx-restart nginx-stop $BINDIR/ chmod 755 $BINDIR/nginx* mkdir -p $ETCINIT/ cp -p init-d-nginx $ETCINIT/nginx chmod 755 $ETCINIT/nginx #--------------------------------------------------------------------- cd $BINDIR/ ln -nsf nginx-restart nginx-start #--------------------------------------------------------------------- cd $PKGDIR_PROD/sbin/ ln -nsf angie 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 250105 Updated to f324a8701 - same as 1.28.1