Commit c3e08b47 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Update httpd to 2.4.48

parent 03e52c76
...@@ -21,12 +21,12 @@ all: httpd-service httpd-logrotate ...@@ -21,12 +21,12 @@ all: httpd-service httpd-logrotate
ln -sv /data/etc/shadow /etc/shadow ln -sv /data/etc/shadow /etc/shadow
mv -v /etc/gshadow /data/etc/gshadow mv -v /etc/gshadow /data/etc/gshadow
ln -sv /data/etc/gshadow /etc/gshadow ln -sv /data/etc/gshadow /etc/gshadow
tar xf httpd-2.4.43.tar.bz2 tar xf httpd-2.4.48.tar.bz2
patch -Np1 -d httpd-2.4.43 < httpd-2.4.43-blfs_layout-1.patch patch -Np1 -d httpd-2.4.48 < httpd-2.4.48-blfs_layout-1.patch
cd httpd-2.4.43 && sed '/dir.*CFG_PREFIX/s@^@#@' -i support/apxs.in cd httpd-2.4.48 && sed '/dir.*CFG_PREFIX/s@^@#@' -i support/apxs.in
cd httpd-2.4.43 && ./configure --enable-authnz-fcgi --enable-layout=BLFS --enable-mods-shared="all cgi" --enable-mpms-shared=all --enable-suexec=shared --with-apr=/usr/bin/apr-1-config --with-apr-util=/usr/bin/apu-1-config --with-suexec-bin=/usr/lib/httpd/suexec --with-suexec-caller=apache --with-suexec-docroot=/srv/www --with-suexec-logfile=/var/log/httpd/suexec.log --with-suexec-uidmin=100 --with-suexec-userdir=public_html cd httpd-2.4.48 && ./configure --enable-authnz-fcgi --enable-layout=BLFS --enable-mods-shared="all cgi" --enable-mpms-shared=all --enable-suexec=shared --with-apr=/usr/bin/apr-1-config --with-apr-util=/usr/bin/apu-1-config --with-suexec-bin=/usr/lib/httpd/suexec --with-suexec-caller=apache --with-suexec-docroot=/srv/www --with-suexec-logfile=/var/log/httpd/suexec.log --with-suexec-uidmin=100 --with-suexec-userdir=public_html
$(MAKE) -C httpd-2.4.43 $(MAKE) -C httpd-2.4.48
$(MAKE) -C httpd-2.4.43 install $(MAKE) -C httpd-2.4.48 install
mv -v /usr/sbin/suexec /usr/lib/httpd/suexec mv -v /usr/sbin/suexec /usr/lib/httpd/suexec
chgrp apache /usr/lib/httpd/suexec chgrp apache /usr/lib/httpd/suexec
chmod 4754 /usr/lib/httpd/suexec chmod 4754 /usr/lib/httpd/suexec
...@@ -44,7 +44,7 @@ all: httpd-service httpd-logrotate ...@@ -44,7 +44,7 @@ all: httpd-service httpd-logrotate
@echo "$$HTTPD_LOGROTATE" > /etc/logrotate.d/httpd @echo "$$HTTPD_LOGROTATE" > /etc/logrotate.d/httpd
@echo "$$HTTPD_SERVICE" > /lib/systemd/system/httpd.service @echo "$$HTTPD_SERVICE" > /lib/systemd/system/httpd.service
systemctl enable httpd.service systemctl enable httpd.service
rm -rf httpd-2.4.43 rm -rf httpd-2.4.48
httpd-service: httpd-service:
define HTTPD_SERVICE define HTTPD_SERVICE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment