-diff -urN httpd-2.0.45.org/config.layout httpd-2.0.45/config.layout
---- httpd-2.0.45.org/config.layout Thu Apr 3 09:27:42 2003
-+++ httpd-2.0.45/config.layout Thu Apr 3 09:27:59 2003
-@@ -298,3 +298,28 @@
- installbuilddir: ${prefix}/etc/apache2/build
- errordir: ${datadir}/error
+--- httpd-2.4.1/config.layout.orig 2012-02-02 13:05:28.000000000 +0100
++++ httpd-2.4.1/config.layout 2012-02-21 23:00:30.919692557 +0100
+@@ -347,3 +347,27 @@
+ proxycachedir: ${localstatedir}/proxy
</Layout>
-+
-+# PLD layout
-+<Layout PLD>
+
++# TLD layout
++<Layout TLD>
+ prefix: /usr
+ exec_prefix: ${prefix}
+ bindir: ${exec_prefix}/bin
---- httpd-2.2.0/configure.in~ 2005-12-18 02:38:31.000000000 +0200
-+++ httpd-2.2.0/configure.in 2005-12-18 02:40:04.000000000 +0200
-@@ -584,9 +584,9 @@
- [Listening sockets are non-blocking when there are more than 1])
- fi
-
--APACHE_FAST_OUTPUT(Makefile modules/Makefile srclib/Makefile)
-+APACHE_FAST_OUTPUT(Makefile modules/Makefile)
- APACHE_FAST_OUTPUT(os/Makefile server/Makefile)
--APACHE_FAST_OUTPUT(support/Makefile srclib/pcre/Makefile)
-+APACHE_FAST_OUTPUT(support/Makefile)
-
- if test -d ./test; then
- APACHE_FAST_OUTPUT(test/Makefile)
--- httpd-2.2.0/Makefile.in 2005-12-18 02:41:25.000000000 +0200
+++ httpd-2.2.0/Makefile.in 2005-12-18 02:38:31.000000000 +0200
@@ -1,5 +1,5 @@
CLEAN_SUBDIRS = test
PROGRAM_NAME = $(progname)
+--- httpd-2.4.1/configure.in.orig 2012-02-21 23:01:57.000000000 +0100
++++ httpd-2.4.1/configure.in 2012-02-21 23:04:58.222953514 +0100
+@@ -751,7 +751,7 @@
+ [Allow IPv4 connections on IPv6 listening sockets])
+ fi
+
+-APACHE_FAST_OUTPUT(Makefile modules/Makefile srclib/Makefile)
++APACHE_FAST_OUTPUT(Makefile modules/Makefile)
+ APACHE_FAST_OUTPUT(os/Makefile server/Makefile)
+ APACHE_FAST_OUTPUT(support/Makefile)
+
Summary(ru.UTF-8): Самый популярный веб-сервер
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
-Version: 2.2.22
-Release: 1
+Version: 2.4.1
+Release: 0.1
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
-# Source0-md5: d77fa5af23df96a8af68ea8114fa6ce1
+# Source0-md5: 4366afbea8149ca125af01fd59a2f8a2
Source1: %{name}.init
Source2: %{name}.logrotate
Source3: %{name}.sysconfig
exit 1
fi
-# fix libdir (at least in PLD layout; no need to care about other ones)
+# fix libdir (at least in TLD layout; no need to care about other ones)
sed -i -e 's,/lib$,/%{_lib},' config.layout
%build
for mpm in prefork worker %{?with_event:event} %{?with_itk:itk}; do
install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
../%configure \
- --enable-layout=PLD \
+ --enable-layout=TLD \
--disable-v4-mapped \
$( [ "${mpm}" = "prefork" -o "${mpm}" = "worker" -o "${mpm}" = "event" -o "${mpm}" = "itk" ] && echo "--enable-exception-hook" ) \
--enable-modules=all \