pantry/projects/apache.org/httpd/package.yml
Andrew e5c9014fff
apache.org/httpd & apr-util --includedir fix (#1798)
* modified:   projects/apache.org/apr-util/package.yml

* new file:   projects/apache.org/httpd/package.yml

* modified:   projects/apache.org/apr-util/package.yml

* modified:   projects/apache.org/httpd/package.yml

* make without -j

* Update package.yml

* modified:   projects/apache.org/httpd/package.yml
2023-05-01 19:08:24 -04:00

78 lines
No EOL
1.9 KiB
YAML

distributable:
url: https://dlcdn.apache.org/httpd/httpd-2.4.57.tar.gz
strip-components: 1
versions:
url: https://dlcdn.apache.org/httpd/
match: /httpd-\d+\.\d+\.\d+.tar.gz/
strip:
- /^httpd-/
- /\.tar\.gz$/
dependencies:
apache.org/apr: '>=1.3.0'
apache.org/apr-util: '>=1.3.0'
github.com/google/brotli: '*'
nghttp2.org: '*'
openssl.org: '*'
pcre.org/v2: '*'
gnome.org/libxml2: '*'
zlib.net: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/libtool: '*'
gnu.org/autoconf: '*'
script: |
./configure $ARGS
make
make install
env:
ARGS:
- --prefix="{{prefix}}"
- --enable-layout=Slackware-FHS
- --sbindir={{prefix}}/bin
- --mandir={{prefix}}/man
- --sysconfdir={{prefix}}/etc/httpd
- --datadir={{prefix}}/var/www
- --localstatedir={{prefix}}/var
- --enable-mpms-shared=all
- --enable-mods-shared=all
- --enable-authnz-fcgi
- --enable-cgi
- --enable-pie
- --enable-suexec
- --with-suexec-bin={{prefix}}/suexec
- --with-suexec-caller=_www
- --with-port=8080
- --with-sslport=8443
- --with-apr={{deps.apache.org/apr.prefix}}
- --with-apr-util={{deps.apache.org/apr-util.prefix}}
- --with-brotli={{deps.github.com/google/brotli.prefix}}
- --with-libxml2={{deps.gnome.org/libxml2.prefix}}
- --with-mpm=prefork
- --with-nghttp2={{deps.nghttp2.org.prefix}}
- --with-ssl={{deps.openssl.org.prefix}}
- --with-pcre={{deps.pcre.org/v2.prefix}}
- --with-z={{deps.zlib.net.prefix}}
- --disable-lua
- --disable-luajit
provides:
- bin/ab
- bin/checkgid
- bin/fcgistarter
- bin/htcacheclean
- bin/htdbm
- bin/htdigest
- bin/htpasswd
- bin/httpd
- bin/httxt2dbm
- bin/logresolve
- bin/rotatelogs
- bin/suexec
test:
httpd -v | grep {{version}}