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: %smerelease %{release} |
8 |
|
Packager: %{_packager} |
9 |
License: GPL |
License: GPL |
10 |
Group: Networking/Daemons |
Group: Networking/Daemons |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
Patch0: smeserver-ipsec-0.0.1-relocatemastemplates.patch |
Patch0: smeserver-ipsec-0.0.1-relocatemastemplates.patch |
13 |
Patch1: smeserver-ipsec-0.0.1-dbdefaults.patch |
Patch1: smeserver-ipsec-0.0.1-dbdefaults.patch |
14 |
|
Patch2: smeserver-ipsec-modulehack.patch |
15 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
Requires: e-smith-release >= 7 |
Requires: e-smith-release >= 7 |
21 |
Obsoletes: devinfo-freeswan |
Obsoletes: devinfo-freeswan |
22 |
|
|
23 |
%changelog |
%changelog |
24 |
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
25 |
|
- Update to new release naming. No functional changes. |
26 |
|
- Make Packager generic |
27 |
|
|
28 |
|
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-05 |
29 |
|
- Add a hack to the local event to force loading of the af_key module |
30 |
|
until we work out why it isn't being loaded automatically |
31 |
|
|
32 |
* 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 |
33 |
- Comment out createlinks in build for now, until the old freeswan |
- Comment out createlinks in build for now, until the old freeswan |
34 |
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 |
196 |
%setup |
%setup |
197 |
%patch0 -p1 |
%patch0 -p1 |
198 |
%patch1 -p1 |
%patch1 -p1 |
199 |
|
%patch2 -p1 |
200 |
|
|
201 |
%build |
%build |
202 |
# perl createlinks |
# perl createlinks |
206 |
|
|
207 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
208 |
rm -f e-smith-%{version}-filelist |
rm -f e-smith-%{version}-filelist |
209 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
210 |
|
--file /etc/e-smith/events/local/ipsec-module-hack 'attr(0755,root,root)' \ |
211 |
|
> %{name}-%{version}-filelist |
212 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
213 |
|
|
214 |
%defattr(-,root,root) |
%defattr(-,root,root) |