@@ -479,8 +480,8 @@
$t =~ s|\.[^./\\]+$|\.so|;
if ($opt_i) {
- push(@cmds, "$installbuilddir/instdso.sh SH_LIBTOOL='" .
+ push(@cmds, $destdir . "$installbuilddir/instdso.sh SH_LIBTOOL='" .
- "$libtool' $f $CFG_LIBEXECDIR");
- push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
+ "$libtool' $f $CFG_DESTDIR$CFG_LIBEXECDIR");
---- httpd-2.4.3/config.layout.orig 2012-04-17 16:01:41.000000000 +0200
-+++ httpd-2.4.3/config.layout 2012-08-23 13:01:27.879147377 +0200
-@@ -370,3 +370,29 @@
- logfiledir: ${localstatedir}/log/httpd
- proxycachedir: ${localstatedir}/cache/httpd
+--- httpd-2.4.43/config.layout.orig 2020-04-04 17:17:22.695000000 +0200
++++ httpd-2.4.43/config.layout 2020-04-04 17:19:28.210000000 +0200
+@@ -419,3 +419,27 @@
+ proxycachedir: ${localstatedir}/cache/apache2
</Layout>
-+
+
+# TLD layout
+<Layout TLD>
+ prefix: /usr
+ proxycachedir: /var/cache/httpd
+ installbuilddir: ${libexecdir}/build
+</Layout>
-+
Summary(ru.UTF-8): Самый популярный веб-сервер
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
-Version: 2.4.41
-Release: 2
+Version: 2.4.43
+Release: 1
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
-# Source0-md5: dfc674f8f454e3bc2d4ccd73ad3b5f1e
+# Source0-md5: 791c986b1e70fe61eb44060aacc89a64
Source1: %{name}.init
Source2: %{name}.logrotate
Source3: %{name}.sysconfig
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%{?with_distcache:BuildRequires: distcache-devel}
+BuildRequires: jansson-devel >= 0.6.0
BuildRequires: libbrotli-devel >= 0.6.0
BuildRequires: libtool >= 2:1.5
BuildRequires: libxml2-devel >= 2
install -d build; cd build
../%configure \
--enable-layout=TLD \
+ --disable-systemd \
--disable-v4-mapped \
--enable-exception-hook \
--enable-modules=all \
--enable-log-forensic \
--enable-logio \
--enable-lua \
+ --enable-md \
--enable-mime-magic \
--enable-mpms-shared=all \
%ifarch %{ix86}