ALT Linux repositórios
Group :: Sistema/Servidores
RPM: strongswan
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: strongswan
Version: 4.2.17
Release: alt0.M41.1
Summary: StrongSWAN IPSEC implementation
License: GPLv2+
Group: System/Servers
Url: http://www.strongswan.org
Source0: %name-%version.tar.bz2
Source1: ipsec.init
Patch0: strongswan-4.2.10-alt-shreq.patch
Patch1: strongswan-4.2.14-alt-glibc29.patch
Patch2: strongswan-4.x.x_invalid_ike_state.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Thu Jan 08 2009
BuildRequires: flex gcc-c++ glibc-devel-static libgmp-devel libldap-devel
BuildRequires: libopensc-devel
%package -n lib%name
Summary: StrongSWAN IPSEC implementation libraries
License: GPL
Group: System/Servers
%description
FreeS/WAN 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 daemons and userland tools for setting up
FreeS/WAN on a freeswan enabled kernel.
%description -n lib%name
libraries for strongswan
%add_findprov_lib_path %_libdir/%name
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
%autoreconf
%configure \
--sysconfdir=%_sysconfdir/%name \
--libdir=%_libdir/%name \
--libexecdir=%_libdir/%name \
--localstatedir=%_var \
--datadir=%_datadir/%name \
--enable-http \
--enable-ldap \
--enable-smartcard \
--enable-cisco-quirks \
--enable-nat-transport
%make_build
%install
%make_build install DESTDIR=%buildroot
install -d %buildroot%_initdir
install -m0755 %SOURCE1 %buildroot%_initdir/ipsec
%files
%doc CREDITS README
%docdir %_docdir/%name-%version
%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/strongswan.conf
%config(noreplace) %_sysconfdir/%name/ipsec.conf
%config(noreplace) %_initrddir/ipsec
%_sbindir/*
%_mandir/*/*
%files -n lib%name
%dir %_libdir/%name/ipsec
%_libdir/%name/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 4.2.17
Release: alt0.M41.1
Summary: StrongSWAN IPSEC implementation
License: GPLv2+
Group: System/Servers
Url: http://www.strongswan.org
Source0: %name-%version.tar.bz2
Source1: ipsec.init
Patch0: strongswan-4.2.10-alt-shreq.patch
Patch1: strongswan-4.2.14-alt-glibc29.patch
Patch2: strongswan-4.x.x_invalid_ike_state.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Thu Jan 08 2009
BuildRequires: flex gcc-c++ glibc-devel-static libgmp-devel libldap-devel
BuildRequires: libopensc-devel
%package -n lib%name
Summary: StrongSWAN IPSEC implementation libraries
License: GPL
Group: System/Servers
%description
FreeS/WAN 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 daemons and userland tools for setting up
FreeS/WAN on a freeswan enabled kernel.
%description -n lib%name
libraries for strongswan
%add_findprov_lib_path %_libdir/%name
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
%autoreconf
%configure \
--sysconfdir=%_sysconfdir/%name \
--libdir=%_libdir/%name \
--libexecdir=%_libdir/%name \
--localstatedir=%_var \
--datadir=%_datadir/%name \
--enable-http \
--enable-ldap \
--enable-smartcard \
--enable-cisco-quirks \
--enable-nat-transport
%make_build
%install
%make_build install DESTDIR=%buildroot
install -d %buildroot%_initdir
install -m0755 %SOURCE1 %buildroot%_initdir/ipsec
%files
%doc CREDITS README
%docdir %_docdir/%name-%version
%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/strongswan.conf
%config(noreplace) %_sysconfdir/%name/ipsec.conf
%config(noreplace) %_initrddir/ipsec
%_sbindir/*
%_mandir/*/*
%files -n lib%name
%dir %_libdir/%name/ipsec
%_libdir/%name/*
%changelog
…
Todas as alterações você pod ver aqui