Summary(pt_BR): Servidor HTTPD para prover serviços WWW
Summary(tr): Lider WWW tarayýcý
Name: apache
-Version: 2.0.43
-Release: 0.2
+Version: 2.0.44
+Release: 0.3
License: Apache Group License
Group: Networking/Daemons
URL: http://httpd.apache.org/
Patch1: %{name}-configdir_skip_backups.patch
Patch2: %{name}-layout.patch
Patch3: %{name}-suexec.patch
-Patch4: %{name}-db.patch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6f}
-%{!?_without_ssl:BuildRequires: openssl-tools}
BuildRequires: db-devel
-BuildRequires: zlib-devel
BuildRequires: expat-devel
+BuildRequires: gdbm-devel >= 1.8.3
+%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
+%{!?_without_ssl:BuildRequires: openssl-tools >= 0.9.7}
BuildRequires: perl-devel >= 5.004
-BuildRequires: gdbm-devel
-BuildRequires: byacc
BuildRequires: rpm-perlprov >= 4.0.4
-Provides: httpd = %{version}
-Provides: webserver = %{version}
-Prereq: /sbin/chkconfig
-Prereq: /usr/sbin/useradd
-Prereq: /usr/bin/getgid
-Prereq: /bin/id
-Prereq: sh-utils
-Prereq: rc-scripts
-Prereq: perl
+BuildRequires: zlib-devel
+PreReq: perl
+PreReq: rc-scripts
+Requires(pre): /usr/bin/getgid
+Requires(pre): /bin/id
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Requires(post,preun): /sbin/chkconfig
+Requires(post,postun): /sbin/ldconfig
+Requires(post): fileutils
+Requires(postun): /usr/sbin/userdel
+Requires(postun): /usr/sbin/groupdel
Requires: mailcap
Requires: /etc/mime.types
Requires: psmisc >= 20.1
Requires: libtool
+Provides: httpd = %{version}
+Provides: webserver = %{version}
Obsoletes: apache-extra
Obsoletes: apache6
Obsoletes: apache-doc
Obsoletes: indexhtml
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/httpd
%define _includedir %{_prefix}/include/apache
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4 -p1
%build
%configure \
%pre
if [ -n "`getgid http`" ]; then
if [ "`getgid http`" != "51" ]; then
- echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
+ echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
exit 1
fi
else
fi
if [ -n "`id -u http 2>/dev/null`" ]; then
if [ "`id -u http`" != "51" ]; then
- echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
+ echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
exit 1
fi
else
fi
fi
-%post -n apr -p /sbin/ldconfig
+%post -n apr -p /sbin/ldconfig
%postun -n apr -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%doc ABOUT_APACHE CHANGES README ROADMAP
+%doc ABOUT_APACHE CHANGES README
%doc docs/conf/mime.types
%attr(754,root,root) /etc/rc.d/init.d/httpd
%files devel
%defattr(644,root,root,755)
-%{_includedir}
-%exclude %{_includedir}/apr*.h
+%{_includedir}/[!a]*
+%{_includedir}/ap[!r]*
%{_libexecdir}/*.exp
%files static
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/apr-config
%attr(755,root,root) %{_bindir}/apu-config
+%dir %{_includedir}
%{_includedir}/apr*.h
-#%{_libdir}/APRVARS
+#%%{_libdir}/APRVARS
%{_libdir}/apr*.exp
%attr(755,root,root) %{_libdir}/libapr*.so
%{_libdir}/libapr*.la