Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions angie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
package:
name: angie
version: 1.11.4
epoch: 0
description: Efficient, powerful and scalable web server, drop-in replacement for nginx
copyright:
- license: BSD-2-Clause

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- openssl-dev
- pcre2-dev
- zlib-dev

pipeline:
- uses: fetch
with:
uri: https://download.angie.software/files/angie-${{package.version}}.tar.gz
expected-sha256: b95009ceef7a1c40809aead95f71901ca1c5c9d2630eca0763853811b641983c

- runs: |
./configure \
--prefix=/usr \
--sbin-path=/usr/bin/angie \
--conf-path=/etc/angie/angie.conf \
--pid-path=/run/angie.pid \
--error-log-path=/var/log/angie/error.log \
--http-log-path=/var/log/angie/access.log \
--http-client-body-temp-path=/var/cache/angie/client_temp \
--http-proxy-temp-path=/var/cache/angie/proxy_temp \
--http-fastcgi-temp-path=/var/cache/angie/fastcgi_temp \
--http-uwsgi-temp-path=/var/cache/angie/uwsgi_temp \
--http-scgi-temp-path=/var/cache/angie/scgi_temp \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_acme_module \
--with-http_realip_module \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-threads \
--with-file-aio \
--with-stream \
--with-stream_ssl_module \
--with-pcre-jit

- uses: autoconf/make

- uses: autoconf/make-install

- runs: |
rm -rf "${{targets.destdir}}"/run
mkdir -p "${{targets.destdir}}"/var/log/angie
mkdir -p "${{targets.destdir}}"/var/cache/angie
mkdir -p "${{targets.destdir}}"/usr/lib/tmpfiles.d
echo "d /run/angie 0755 root root -" > "${{targets.destdir}}"/usr/lib/tmpfiles.d/angie.conf

- uses: strip

update:
enabled: true
github:
identifier: webserver-llc/angie
strip-prefix: Angie-
tag-filter: Angie-

subpackages:
- name: angie-doc
description: angie documentation
pipeline:
- uses: split/manpages

test:
pipeline:
- name: Verify angie binary
runs: |
set -euo pipefail
stat /usr/bin/angie
test -x /usr/bin/angie
- name: Check angie version
runs: |
angie -V 2>&1 | grep -i "Angie"
- name: Check angie config
runs: |
angie -t 2>&1 | grep "test is successful"