1 |
Summary: IPSEC support for SME Server |
Summary: IPSEC support for SME Server |
2 |
%define name smeserver-ipsec |
%define name smeserver-ipsec |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.0.1 |
%define version 0.0.2 |
5 |
%define release 01 |
%define release 6 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release} |
Release: %{release}%{?dist} |
8 |
Copyright: Freely distributable |
License: GPL |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
|
Patch0: smeserver-ipsec-0.0.1-relocatemastemplates.patch |
12 |
|
Patch1: smeserver-ipsec-0.0.1-dbdefaults.patch |
13 |
|
Patch2: smeserver-ipsec-modulehack.patch |
14 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: e-smith-release >= 7 |
Requires: e-smith-release >= 7 |
17 |
Requires: ipsec-tools |
Requires: ipsec-tools |
18 |
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
AutoReqProv: no |
AutoReqProv: no |
20 |
Obsoletes: dmc-mitel-freeswan |
Obsoletes: dmc-mitel-freeswan |
21 |
Obsoletes: devinfo-freeswan |
Obsoletes: devinfo-freeswan |
22 |
|
|
23 |
%changelog |
%changelog |
24 |
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
25 |
|
- Clean up spec so package can be built by koji/plague |
26 |
|
|
27 |
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
28 |
|
- Update to new release naming. No functional changes. |
29 |
|
- Make Packager generic |
30 |
|
|
31 |
|
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-05 |
32 |
|
- Add a hack to the local event to force loading of the af_key module |
33 |
|
until we work out why it isn't being loaded automatically |
34 |
|
|
35 |
|
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-04 |
36 |
|
- Comment out createlinks in build for now, until the old freeswan |
37 |
|
based ones are removed/updated. Thankfully we don't need to do most |
38 |
|
of this with SME7 and ipsec-tools |
39 |
|
|
40 |
|
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-03 |
41 |
|
- Add db defaults ipsec=service|status|disabled |
42 |
|
|
43 |
|
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-02 |
44 |
|
- Relocate masq fragments to templates from templates-custom |
45 |
|
|
46 |
|
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-01 |
47 |
|
- Removed symlinks from imported tarball |
48 |
|
|
49 |
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
50 |
- Package renamed to smeserver-ipsec (from devinfo-freeswan) |
- Package renamed to smeserver-ipsec (from devinfo-freeswan) |
51 |
|
|
197 |
|
|
198 |
%prep |
%prep |
199 |
%setup |
%setup |
200 |
|
%patch0 -p1 |
201 |
|
%patch1 -p1 |
202 |
|
%patch2 -p1 |
203 |
|
|
204 |
%build |
%build |
205 |
perl createlinks |
# perl createlinks |
206 |
|
|
207 |
%install |
%install |
208 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
209 |
|
|
210 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
211 |
rm -f e-smith-%{version}-filelist |
rm -f e-smith-%{version}-filelist |
212 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
213 |
|
--file /etc/e-smith/events/local/ipsec-module-hack 'attr(0755,root,root)' \ |
214 |
|
> %{name}-%{version}-filelist |
215 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
216 |
|
|
217 |
%defattr(-,root,root) |
%defattr(-,root,root) |