Logoj0ke.net Open Build Service > Projects > Apache:Modules > apache2-mod_rpaf > Changes
Sign Up | Log In

Changes of Revision 14

[-] Added apache2-mod_rpaf-RHEL_6.spec
x
 
1
@@ -0,0 +1,55 @@
2
+Name:           mod_rpaf
3
+Version:        0.6
4
+Release:        4%{?dist}
5
+Summary:        opposite of mod_proxy_add_forward
6
+
7
+Group:          System Environment/Daemons
8
+License:        GPL
9
+Url:            http://stderr.net/apache/rpaf/
10
+Source0:        http://stderr.net/apache/rpaf/download/%{name}-%{version}.tar.gz
11
+Source1:        mod_rpaf.conf
12
+Patch0:        mod_rpaf-ipv6.patch
13
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
+
15
+BuildRequires:  httpd-devel
16
+Requires:       httpd
17
+
18
+%description
19
+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.
20
+
21
+%debug_package
22
+%prep
23
+%setup -n %{name}-%{version}
24
+%patch0 -p1
25
+
26
+%build
27
+%{_sbindir}/apxs -Wc,"%{optflags}" -a -n %{name}.so -c %{name}-2.0.c
28
+
29
+
30
+
31
+%install
32
+rm -rf $RPM_BUILD_ROOT
33
+mkdir -pm 755 \
34
+    $RPM_BUILD_ROOT%{_libdir}/httpd/modules \
35
+    $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
36
+install -pm 755 .libs/mod_rpaf-2.0.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/
37
+install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
38
+
39
+
40
+%clean
41
+rm -rf $RPM_BUILD_ROOT
42
+
43
+
44
+%files
45
+%defattr(-,root,root,-)
46
+%doc CHANGES README
47
+%config(noreplace) %{_sysconfdir}/httpd/conf.d/*
48
+%{_libdir}/httpd/modules/*
49
+
50
+
51
+%changelog
52
+* Sat May 22 2010 Carsten Schoene <cs@linux-administrator.com> - 0.6-4
53
+- added IPv6 patch
54
+
55
+* Thu Mar 10 2009 Carsten Schoene <cs@linux-administrator.com> - 0.6
56
+- initial RHEL 5 build
57