2 |
%define name smeserver-ipsec |
%define name smeserver-ipsec |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.0.2 |
%define version 0.0.2 |
5 |
%define release 04 |
%define release 6 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release} |
Release: %{release}%{?dist} |
8 |
License: GPL |
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 |
Patch0: smeserver-ipsec-0.0.1-relocatemastemplates.patch |
12 |
Patch1: smeserver-ipsec-0.0.1-dbdefaults.patch |
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 |
* 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 |
- 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 |
based ones are removed/updated. Thankfully we don't need to do most |
199 |
%setup |
%setup |
200 |
%patch0 -p1 |
%patch0 -p1 |
201 |
%patch1 -p1 |
%patch1 -p1 |
202 |
|
%patch2 -p1 |
203 |
|
|
204 |
%build |
%build |
205 |
# perl createlinks |
# perl createlinks |
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) |