--- smeserver-ipsec/F/smeserver-ipsec.spec 2006/01/04 00:35:21 1.1.1.1 +++ smeserver-ipsec/F/smeserver-ipsec.spec 2006/01/04 03:06:41 1.7 @@ -1,13 +1,16 @@ Summary: IPSEC support for SME Server %define name smeserver-ipsec Name: %{name} -%define version 0.0.1 -%define release 01 +%define version 0.0.2 +%define release 05 Version: %{version} Release: %{release} -Copyright: Freely distributable +License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz +Patch0: smeserver-ipsec-0.0.1-relocatemastemplates.patch +Patch1: smeserver-ipsec-0.0.1-dbdefaults.patch +Patch2: smeserver-ipsec-modulehack.patch BuildRoot: /var/tmp/e-smith-buildroot BuildArchitectures: noarch Requires: e-smith-release >= 7 @@ -17,6 +20,24 @@ Obsoletes: dmc-mitel-freeswan Obsoletes: devinfo-freeswan %changelog +* Wed Jan 4 2006 Gordon Rowell 0.0.2-05 +- Add a hack to the local event to force loading of the af_key module + until we work out why it isn't being loaded automatically + +* Wed Jan 4 2006 Gordon Rowell 0.0.2-04 +- Comment out createlinks in build for now, until the old freeswan + based ones are removed/updated. Thankfully we don't need to do most + of this with SME7 and ipsec-tools + +* Wed Jan 4 2006 Gordon Rowell 0.0.2-03 +- Add db defaults ipsec=service|status|disabled + +* Wed Jan 4 2006 Gordon Rowell 0.0.2-02 +- Relocate masq fragments to templates from templates-custom + +* Wed Jan 4 2006 Gordon Rowell 0.0.2-01 +- Removed symlinks from imported tarball + * Wed Jan 4 2006 Gordon Rowell 0.0.1-01 - Package renamed to smeserver-ipsec (from devinfo-freeswan) @@ -168,16 +189,21 @@ through the web manager %prep %setup +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build -perl createlinks +# perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f e-smith-%{version}-filelist -/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --file /etc/e-smith/events/local/ipsec-module-hack 'attr(0755,root,root)' \ + > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root)