apache: update to 2.4.47

This commit is contained in:
Juergen Daubert 2021-04-29 12:48:58 +02:00
parent df27bc4750
commit 8a454326bb
2 changed files with 27 additions and 27 deletions

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/efSZnxWFeH2M2lkiYYR626D6QFTo3tY+dtgi7cIjky4Nm/TVVageqCQRWXCSCvkj6UYUPtTydDVAjwYGg+i8wg=
SHA256 (Pkgfile) = 1a148bfb52931edafbef0b893b3cbbc14736440c659130813eab1c789fa04d23
RWSE3ohX2g5d/X8VQTN+bRYVoaXg0yJqag/y7bFlupAsZRac2m4qKiaV3PBmi5JPQNDRxyC68YNiL8h4ts9CS+lMgKq60rML0wY=
SHA256 (Pkgfile) = 76efb218d14a8f2f35e32fab3798bdda96c2e9e0956af44e247345a76c5037ee
SHA256 (.footprint) = 5e67d75802efcd4097db6c95f25e70dfa4b740e7e437404376fdd65c9a010bb5
SHA256 (httpd-2.4.46.tar.bz2) = 740eddf6e1c641992b22359cabc66e6325868c3c5e2e3f98faf349b61ecf41ea
SHA256 (httpd-2.4.47.tar.bz2) = 23d006dbc8e578116a1138fa457eea824048458e89c84087219f0372880c03ca
SHA256 (crux.layout) = cf555f92cdc9a078d9e89035819da1ac0d2e248f0d31637b9e8f48fc8d3f42cf
SHA256 (apache) = f4ff530751a937bead9030e15689a3b19591f790095b46bddc073efc82f756dd

View File

@ -1,37 +1,37 @@
# Description: Apache HTTP server version 2.4.x
# Maintainer: Juergen Daubert, jue at crux dot nu
# URL: http://httpd.apache.org/
# Depends on: apr libpcre openssl libxml2
# Group: apache
# Maintainer: Juergen Daubert, jue at crux dot nu
# URL: http://httpd.apache.org/
# Depends on: apr libpcre openssl libxml2
name=apache
version=2.4.46
version=2.4.47
release=1
source=(http://www.apache.org/dist/httpd/httpd-$version.tar.bz2 \
crux.layout apache)
crux.layout apache)
build(){
cd httpd-$version
cd httpd-$version
cat $SRC/crux.layout >> config.layout
sed -ri '/^(User|Group)/s/daemon/www/' docs/conf/httpd.conf.in
cat $SRC/crux.layout >> config.layout
sed -ri '/^(User|Group)/s/daemon/www/' docs/conf/httpd.conf.in
./configure --enable-layout=CRUX \
--with-apr=/usr \
--with-apr-util=/usr \
--with-pcre=/usr \
--enable-so \
--enable-modules=all \
--enable-mods-shared=all \
--enable-mpms-shared=all \
--disable-lua
make
make -j1 DESTDIR=$PKG install
./configure \
--enable-layout=CRUX \
--with-apr=/usr \
--with-apr-util=/usr \
--with-pcre=/usr \
--enable-so \
--enable-modules=all \
--enable-mods-shared=all \
--enable-mpms-shared=all \
--disable-lua
make
make -j1 DESTDIR=$PKG install
install -D -m 755 $SRC/apache $PKG/etc/rc.d/apache
install -D -m 755 $SRC/apache $PKG/etc/rc.d/apache
rm -r $PKG/var/www/htdocs/*
rm $PKG/var/www/{error,icons}/README*
rm -r $PKG/var/www/htdocs/*
rm $PKG/var/www/{error,icons}/README*
chmod -R g-s $PKG/var/www/
chmod -R g-s $PKG/var/www/
}