Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_rpaf
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 15
[-]
[+]
Added
apache2-mod_rpaf-CentOS_6.spec
@@ -0,0 +1,55 @@ +Name: mod_rpaf +Version: 0.6 +Release: 43%{?dist} +Summary: opposite of mod_proxy_add_forward + +Group: System Environment/Daemons +License: GPL +Url: http://stderr.net/apache/rpaf/ +Source0: http://stderr.net/apache/rpaf/download/%{name}-%{version}.tar.gz +Source1: mod_rpaf.conf +Patch0: mod_rpaf-ipv6.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: httpd-devel +Requires: httpd + +%description +rpaf is for backend Apache servers what mod_proxy_add_forward is for frontend Apache servers. It does excactly the opposite of mod_proxy_add_forward written by Ask Bjørn Hansen. It will also work with mod_proxy in Apache starting with release 1.3.25 and mod_proxy that is distributed with Apache2 from version 2.0.36. + +%debug_package +%prep +%setup -n %{name}-%{version} +%patch0 -p1 + +%build +%{_sbindir}/apxs -Wc,"%{optflags}" -a -n %{name}.so -c %{name}-2.0.c + + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -pm 755 \ + $RPM_BUILD_ROOT%{_libdir}/httpd/modules \ + $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d +install -pm 755 .libs/mod_rpaf-2.0.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/ +install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc CHANGES README +%config(noreplace) %{_sysconfdir}/httpd/conf.d/* +%{_libdir}/httpd/modules/* + + +%changelog +* Sat May 22 2010 Carsten Schoene <cs@linux-administrator.com> - 0.6-4 +- added IPv6 patch + +* Thu Feb 05 2009 Carsten Schoene <cs@linux-administrator.com> - 0.6 +- initial CentOS 5 build
[-]
[+]
Added
apache2-mod_rpaf-SL_5.spec
^
@@ -0,0 +1,55 @@ +Name: mod_rpaf +Version: 0.6 +Release: 43%{?dist} +Summary: opposite of mod_proxy_add_forward + +Group: System Environment/Daemons +License: GPL +Url: http://stderr.net/apache/rpaf/ +Source0: http://stderr.net/apache/rpaf/download/%{name}-%{version}.tar.gz +Source1: mod_rpaf.conf +Patch0: mod_rpaf-ipv6.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: httpd-devel +Requires: httpd + +%description +rpaf is for backend Apache servers what mod_proxy_add_forward is for frontend Apache servers. It does excactly the opposite of mod_proxy_add_forward written by Ask Bjørn Hansen. It will also work with mod_proxy in Apache starting with release 1.3.25 and mod_proxy that is distributed with Apache2 from version 2.0.36. + +%debug_package +%prep +%setup -n %{name}-%{version} +%patch0 -p1 + +%build +%{_sbindir}/apxs -Wc,"%{optflags}" -a -n %{name}.so -c %{name}-2.0.c + + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -pm 755 \ + $RPM_BUILD_ROOT%{_libdir}/httpd/modules \ + $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d +install -pm 755 .libs/mod_rpaf-2.0.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/ +install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc CHANGES README +%config(noreplace) %{_sysconfdir}/httpd/conf.d/* +%{_libdir}/httpd/modules/* + + +%changelog +* Sat May 22 2010 Carsten Schoene <cs@linux-administrator.com> - 0.6-4 +- added IPv6 patch + +* Thu Feb 05 2009 Carsten Schoene <cs@linux-administrator.com> - 0.6 +- initial CentOS 5 build