add mod_proxy_html subpackage (w/mod_proxy_html + mod_xml2enc)
- move mod_ldap, mod_authnz_ldap to mod_ldap subpackage
This commit is contained in:
parent
c540f64f85
commit
415f76c452
@ -75,4 +75,3 @@ LoadModule vhost_alias_module modules/mod_vhost_alias.so
|
|||||||
#LoadModule request_module modules/mod_request.so
|
#LoadModule request_module modules/mod_request.so
|
||||||
#LoadModule sed_module modules/mod_sed.so
|
#LoadModule sed_module modules/mod_sed.so
|
||||||
#LoadModule speling_module modules/mod_speling.so
|
#LoadModule speling_module modules/mod_speling.so
|
||||||
#LoadModule xml2enc_module modules/mod_xml2enc.so
|
|
||||||
|
3
00-proxyhtml.conf
Normal file
3
00-proxyhtml.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# This file configures mod_proxy_html and mod_xml2enc:
|
||||||
|
LoadModule xml2enc_module modules/mod_xml2enc.so
|
||||||
|
LoadModule proxy_html_module modules/mod_proxy_html.so
|
@ -1,2 +1,3 @@
|
|||||||
|
# This file configures the LDAP modules:
|
||||||
LoadModule ldap_module modules/mod_ldap.so
|
LoadModule ldap_module modules/mod_ldap.so
|
||||||
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
|
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
|
62
httpd.spec
62
httpd.spec
@ -8,7 +8,7 @@
|
|||||||
Summary: Apache HTTP Server
|
Summary: Apache HTTP Server
|
||||||
Name: httpd
|
Name: httpd
|
||||||
Version: 2.4.1
|
Version: 2.4.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
URL: http://httpd.apache.org/
|
URL: http://httpd.apache.org/
|
||||||
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
|
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
|
||||||
Source1: index.html
|
Source1: index.html
|
||||||
@ -25,12 +25,13 @@ Source14: 01-cgi.conf
|
|||||||
Source15: 00-dav.conf
|
Source15: 00-dav.conf
|
||||||
Source16: 00-proxy.conf
|
Source16: 00-proxy.conf
|
||||||
Source17: 00-ssl.conf
|
Source17: 00-ssl.conf
|
||||||
Source18: 00-ldap.conf
|
Source18: 01-ldap.conf
|
||||||
Source19: userdir.conf
|
Source19: 00-proxyhtml.conf
|
||||||
Source20: ssl.conf
|
Source20: userdir.conf
|
||||||
Source21: welcome.conf
|
Source21: ssl.conf
|
||||||
|
Source22: welcome.conf
|
||||||
# Documentation
|
# Documentation
|
||||||
Source33: README.confd
|
Source30: README.confd
|
||||||
# build/scripts patches
|
# build/scripts patches
|
||||||
Patch1: httpd-2.4.1-apctl.patch
|
Patch1: httpd-2.4.1-apctl.patch
|
||||||
Patch2: httpd-2.4.1-apxs.patch
|
Patch2: httpd-2.4.1-apxs.patch
|
||||||
@ -54,7 +55,7 @@ Obsoletes: httpd-suexec
|
|||||||
Provides: webserver
|
Provides: webserver
|
||||||
Provides: mod_dav = %{version}-%{release}, httpd-suexec = %{version}-%{release}
|
Provides: mod_dav = %{version}-%{release}, httpd-suexec = %{version}-%{release}
|
||||||
Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa}
|
Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa}
|
||||||
Requires: httpd-tools = %{version}-%{release}, apr-util-ldap
|
Requires: httpd-tools = %{version}-%{release}
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
Requires(preun): systemd-units
|
Requires(preun): systemd-units
|
||||||
Requires(postun): systemd-units
|
Requires(postun): systemd-units
|
||||||
@ -115,6 +116,28 @@ The mod_ssl module provides strong cryptography for the Apache Web
|
|||||||
server via the Secure Sockets Layer (SSL) and Transport Layer
|
server via the Secure Sockets Layer (SSL) and Transport Layer
|
||||||
Security (TLS) protocols.
|
Security (TLS) protocols.
|
||||||
|
|
||||||
|
%package -n mod_proxy_html
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
Summary: HTML and XML content filters for the Apache HTTP Server
|
||||||
|
Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa}
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
Epoch: 1
|
||||||
|
Obsoletes: mod_proxy_html < 1:2.4.1-2
|
||||||
|
|
||||||
|
%description -n mod_proxy_html
|
||||||
|
The mod_proxy_html and mod_xml2enc modules provide filters which can
|
||||||
|
transform and modify HTML and XML content.
|
||||||
|
|
||||||
|
%package -n mod_ldap
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
Summary: LDAP authentication modules for the Apache HTTP Server
|
||||||
|
Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa}
|
||||||
|
Requires: apr-util-ldap
|
||||||
|
|
||||||
|
%description -n mod_ldap
|
||||||
|
The mod_ldap and mod_authnz_ldap modules add support for LDAP
|
||||||
|
authentication to the Apache HTTP Server.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .apctl
|
%patch1 -p1 -b .apctl
|
||||||
@ -191,8 +214,6 @@ export LYNX_PATH=/usr/bin/links
|
|||||||
--enable-cgid --enable-cgi \
|
--enable-cgid --enable-cgi \
|
||||||
--enable-authn-anon --enable-authn-alias \
|
--enable-authn-anon --enable-authn-alias \
|
||||||
--disable-imagemap \
|
--disable-imagemap \
|
||||||
--disable-proxy-html \
|
|
||||||
--disable-xml2enc \
|
|
||||||
--disable-session
|
--disable-session
|
||||||
$*
|
$*
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -213,7 +234,8 @@ mkdir $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d \
|
|||||||
install -m 644 $RPM_SOURCE_DIR/README.confd \
|
install -m 644 $RPM_SOURCE_DIR/README.confd \
|
||||||
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/README
|
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/README
|
||||||
for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.conf \
|
for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.conf \
|
||||||
00-proxy.conf 00-ssl.conf 00-ldap.conf; do
|
00-proxy.conf 00-ssl.conf 01-ldap.conf 00-proxyhtml.conf \
|
||||||
|
01-ldap.conf; do
|
||||||
install -m 644 -p $RPM_SOURCE_DIR/$f \
|
install -m 644 -p $RPM_SOURCE_DIR/$f \
|
||||||
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
|
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
|
||||||
done
|
done
|
||||||
@ -443,6 +465,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_sysconfdir}/httpd/conf.modules.d
|
%dir %{_sysconfdir}/httpd/conf.modules.d
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/*.conf
|
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/*.conf
|
||||||
%exclude %{_sysconfdir}/httpd/conf.modules.d/00-ssl.conf
|
%exclude %{_sysconfdir}/httpd/conf.modules.d/00-ssl.conf
|
||||||
|
%exclude %{_sysconfdir}/httpd/conf.modules.d/00-proxyhtml.conf
|
||||||
|
%exclude %{_sysconfdir}/httpd/conf.modules.d/01-ldap.conf
|
||||||
|
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/httpd
|
%config(noreplace) %{_sysconfdir}/sysconfig/httpd
|
||||||
%config %{_sysconfdir}/tmpfiles.d/httpd.conf
|
%config %{_sysconfdir}/tmpfiles.d/httpd.conf
|
||||||
@ -458,6 +482,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_libdir}/httpd/modules
|
%dir %{_libdir}/httpd/modules
|
||||||
%{_libdir}/httpd/modules/mod*.so
|
%{_libdir}/httpd/modules/mod*.so
|
||||||
%exclude %{_libdir}/httpd/modules/mod_ssl.so
|
%exclude %{_libdir}/httpd/modules/mod_ssl.so
|
||||||
|
%exclude %{_libdir}/httpd/modules/mod_*ldap.so
|
||||||
|
%exclude %{_libdir}/httpd/modules/mod_proxy_html.so
|
||||||
|
%exclude %{_libdir}/httpd/modules/mod_xml2enc.so
|
||||||
|
|
||||||
%dir %{contentdir}
|
%dir %{contentdir}
|
||||||
%dir %{contentdir}/icons
|
%dir %{contentdir}/icons
|
||||||
@ -503,6 +530,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(0700,apache,root) %dir %{_localstatedir}/cache/httpd/ssl
|
%attr(0700,apache,root) %dir %{_localstatedir}/cache/httpd/ssl
|
||||||
%{_libexecdir}/httpd-ssl-pass-dialog
|
%{_libexecdir}/httpd-ssl-pass-dialog
|
||||||
|
|
||||||
|
%files -n mod_proxy_html
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/httpd/modules/mod_proxy_html.so
|
||||||
|
%{_libdir}/httpd/modules/mod_xml2enc.so
|
||||||
|
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/00-proxyhtml.conf
|
||||||
|
|
||||||
|
%files -n mod_ldap
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/httpd/modules/mod_*ldap.so
|
||||||
|
%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/01-ldap.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/httpd
|
%{_includedir}/httpd
|
||||||
@ -514,6 +552,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_sysconfdir}/rpm/macros.httpd
|
%{_sysconfdir}/rpm/macros.httpd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 13 2012 Joe Orton <jorton@redhat.com> - 2.4.1-3
|
||||||
|
- add mod_proxy_html subpackage (w/mod_proxy_html + mod_xml2enc)
|
||||||
|
- move mod_ldap, mod_authnz_ldap to mod_ldap subpackage
|
||||||
|
|
||||||
* Tue Mar 13 2012 Joe Orton <jorton@redhat.com> - 2.4.1-2
|
* Tue Mar 13 2012 Joe Orton <jorton@redhat.com> - 2.4.1-2
|
||||||
- clean docroot better
|
- clean docroot better
|
||||||
- ship proxy, ssl directories within /var/cache/httpd
|
- ship proxy, ssl directories within /var/cache/httpd
|
||||||
|
Loading…
Reference in New Issue
Block a user