diff --git a/openswan.spec b/openswan.spec index 8433df5..d8d778b 100644 --- a/openswan.spec +++ b/openswan.spec @@ -1,23 +1,28 @@ Name: openswan -Version: 2.6.50 +Version: 3.0.0 Release: 1mamba Summary: openswan is an implementation of IPSEC & IKE for Linux Group: Network/Security Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -Source0: http://www.openswan.com/download/openswan-%{version}.tar.gz +URL: https://www.openswan.com/ +Source0: https://download.openswan.org/openswan/openswan-%{version}.tar.gz Source1: ipsec-initscript Source2: ipsec.conf Source3: ipsec-gencert -URL: http://www.openswan.com/ -License: GPL - # BSD (DES library), redistributable (MD5 implementation) -BuildRequires: libgmp-devel >= 4.1.2 -BuildRequires: libopenldap-devel >= 2.1.23 +License: GPL, BSD +# redistributable (MD5 implementation) +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libgmp-devel +BuildRequires: libperl +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: libopenldap-devel BuildRequires: bind-devel -Requires: libgmp >= 4.1.2 -Requires: iproute >= 2.4.7 +Requires: iproute Requires: perl Conflicts: freeswan BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -28,18 +33,21 @@ Openswan was originally based on FreeS/WAN 2.04 CVS, along with some minor bug f It also includes Andreas Steffan's X.509 Digital Certificate patch, NAT-Traversal code (based on Mathieu Lafon's work for Arkoon) and XAUTH Server support (based on Columbris's code). +%debug_package + %prep -%setup -q +%setup -q -n Openswan-%{version} %build ln freeswan linux/include/openswan -s -make %{_smp_mflags} programs \ +%make -j1 \ INC_USRLOCAL=%{_prefix} \ INC_MANDIR=/share/man \ - FINALLIBEXECDIR=%{_libdir}/ipsec + FINALLIBEXECDIR=%{_libdir}/ipsec \ + programs %install -test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT" +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" make install \ DESTDIR=$RPM_BUILD_ROOT \ INC_USRLOCAL=%{_prefix} \ @@ -111,6 +119,9 @@ test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT" #%doc BUGS CHANGES README %changelog +* Sat Feb 20 2021 Silvan Calarco 3.0.0-1mamba +- update to 3.0.0 + * Sat Nov 18 2017 Automatic Build System 2.6.50-1mamba - automatic update by autodist @@ -180,7 +191,7 @@ test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT" * Sun Jun 27 2004 Silvan Calarco 2.1.4-1qilnx - new version build -* Tue May 27 2004 Silvan Calarco 2.1.2-2qilnx +* Thu May 27 2004 Silvan Calarco 2.1.2-2qilnx - some fixes to ipsec-gencert script * Thu May 20 2004 Silvan Calarco 2.1.2-1qilnx