Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37548604
en ru br
Репозитории ALT
S:5.9.11-alt1
5.1: 4.3.7-alt1.M51.1
4.1: 4.2.17-alt0.M41.1
4.0: 4.2.17-alt0.M40.1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: strongswan

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable curl
%def_enable ldap
%def_disable mysql
%def_disable sqlite
%def_enable stroke
%def_disable medsrv
%def_enable medcli
%def_enable smp
%def_enable sql
%def_enable smartcard
%def_enable cisco-quirks
%def_disable unit-tests
%def_disable load-tests
%def_enable eap-sim
%def_enable eap-sim-file
%def_enable eap-md5
%def_enable eap-gtc
%def_enable eap-aka
%def_enable kernel-netlink
%def_enable kernel-pfkey
%def_enable kernel-klips
%def_enable nat-transport
%def_disable dumm
%def_disable manager
%def_enable mediation
%def_enable integrity-test
%def_enable self-test
%def_enable openssl
%def_enable agent
%def_disable uci
%def_disable nm

%ifarch %ix86
%def_enable padlock
%else
%def_disable padlock
%endif

Name: strongswan
Version: 4.3.7
Release: alt1.M51.1

Summary: StrongSWAN IPSEC implementation
License: GPLv2+
Group: System/Servers

Url: http://www.strongswan.org
Source: %name-%version.tar.bz2
Source1: ipsec.init
Patch0: strongswan-4.3.3-alt-tmpfile.patch
Patch1: strongswan-4.3.5-5.0.3_openssl_ecdsa_signature.patch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Sun Feb 21 2010

BuildRequires: flex gperf libcurl-devel libgmp-devel libldap-devel libxml2-devel

Provides: libstrongswan = %version-%release
Obsoletes: libstrongswan < 4.3

%define pkgdocdir %_docdir/%name-%version

%description
StrongSWAN is a free implementation of IPSEC & IKE for Linux.  IPSEC is
the Internet Protocol Security and uses strong cryptography to provide
both authentication and encryption services.  These services allow you
to build secure tunnels through untrusted networks.  Everything passing
through the untrusted net is encrypted by the ipsec gateway machine and
decrypted by the gateway at the other end of the tunnel.  The resulting
tunnel is a virtual private network or VPN.

This package contains the service and userland tools for setting up
StrongSWAN on a freeswan enabled kernel.

%package testing
Summary: %name testing
Group: Documentation
Requires: %name = %version
BuildArch: noarch

%description testing
This package contains testing scripts and configuration snippets
of StrongSWAN documentation

%prep
%setup
%patch0 -p1
%patch1 -p1

%build
#autoreconf
%configure \
--sysconfdir=%_sysconfdir/%name \
--libexecdir=%_libdir/%name \
%{subst_enable curl} \
%{subst_enable ldap} \
%{subst_enable mysql} \
%{subst_enable sqlite} \
%{subst_enable stroke} \
%{subst_enable medsrv} \
%{subst_enable medcli} \
%{subst_enable smp} \
%{subst_enable sql} \
%{subst_enable smartcard} \
%{subst_enable cisco-quirks} \
%{subst_enable unit-tests} \
%{subst_enable load-tests} \
%{subst_enable eap-sim} \
%{subst_enable eap-sim-file} \
%{subst_enable eap-md5} \
%{subst_enable eap-gtc} \
%{subst_enable eap-aka} \
%{subst_enable kernel-netlink} \
%{subst_enable kernel-pfkey} \
%{subst_enable kernel-klips} \
%{subst_enable nat-transport} \
%{subst_enable dumm} \
%{subst_enable manager} \
%{subst_enable mediation} \
%{subst_enable integrity-test} \
%{subst_enable self-test} \
%{subst_enable padlock} \
%{subst_enable openssl} \
%{subst_enable agent} \
%{subst_enable uci} \
%{subst_enable nm} \

%make_build

%install
%makeinstall_std
install -pDm755 %SOURCE1 %buildroot%_initdir/ipsec
rm -f %buildroot%_libdir/lib%name.{a,so}

mkdir -p %buildroot%pkgdocdir
install -pm644 CREDITS ChangeLog NEWS README TODO %buildroot%pkgdocdir/
rm -f testing/do-tests.in testing/Makefile.*
cp -a testing/ %buildroot%pkgdocdir/

%files
%dir %pkgdocdir
%pkgdocdir/[A-Z]*
%attr(700,root,root) %dir %_sysconfdir/%name
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/acerts
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/aacerts
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/ocspcerts
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/certs
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/cacerts
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/crls
%attr(700,root,root) %dir %_sysconfdir/%name/ipsec.d/private
%config(noreplace) %_sysconfdir/%name/ipsec.conf
%config(noreplace) %_sysconfdir/%name/%name.conf
%config(noreplace) %_initdir/ipsec
%dir %_libdir/%name/ipsec
%_libdir/%name/*
%_libdir/lib%name.so.*
%_sbindir/*
%_mandir/*/*

%files testing
%pkgdocdir/testing/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin