1 Summary: Free IPSEC implemetation
2 Summary(pl): Publicznie dostêpna implementacja IPSEC
7 Group: Networking/Daemons
8 Group(cs): Sí»ové/Démoni
9 Group(da): Netværks/Dæmoner
10 Group(de): Netzwerkwesen/Server
11 Group(es): Red/Servidores
12 Group(fr): Réseau/Serveurs
14 Group(it): Rete/Demoni
15 Group(no): Nettverks/Daemoner
16 Group(pl): Sieciowe/Serwery
17 Group(pt): Rede/Servidores
18 Group(ru): óÅÔÅ×ÙÅ/äÅÍÏÎÙ
19 Group(sl): Omre¾ni/Stre¾niki
20 Group(sv): Nätverk/Demoner
21 Source0: ftp://ftp.xs4all.nl/pub/crypto/freeswan/%{name}-%{version}.tar.gz
22 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
23 Patch0: %{name}-Makefiles.patch
24 Patch1: %{name}-manlink.patch
25 Patch2: %{name}-config.patch
26 Patch3: %{name}-init.patch
27 URL: http://www.freeswan.org/
28 Prereq: /sbin/chkconfig
30 BuildRequires: gmp-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 The basic idea of IPSEC is to provide security functions
35 (authentication and encryption) at the IP (Internet Protocol) level.
36 It will be required in IP version 6 (better known as IPng, the next
37 generation) and is optional for the current IP, version 4.
39 FreeS/WAN is a freely-distributable implementation of IPSEC protocol.
42 Podstawowa idea IPSEC to zapewnienie funkcji bezpieczeñstwa
43 (autentykacji i szyfrowania) na poziomie IP. Bêdzie wymagany do IP w
44 wersji 6 (znanego tak¿e jako IPng, IP nastêpnej generacji) i jest
45 opcjonalny dla aktualnego IP, w wersji 4.
47 FreeS/WAN jest darmow± implementacj± protoko³u IPSEC.
57 OPT_FLAGS="%{rpmcflags}"; export OPT_FLAGS
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/freeswan,/etc/rc.d/init.d,/var/run/pluto}
65 DESTDIR="$RPM_BUILD_ROOT"
67 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
69 gzip -9nf README CREDITS CHANGES BUGS \
70 doc/{kernel.notes,impl.notes,examples,prob.report,standards}
73 rm -rf $RPM_BUILD_ROOT
76 /sbin/chkconfig --add ipsec
77 if [ -f /var/lock/subsys/ipsec ]; then
78 /etc/rc.d/init.d/ipsec restart >&2
80 echo "Run '/etc/rc.d/init.d/ipsec start' to start IPSEC services." >&2
84 if [ "$1" = "0" ]; then
85 if [ -f /var/lock/subsys/ipsec ]; then
86 /etc/rc.d/init.d/ipsec stop >&2
88 /sbin/chkconfig --del ipsec >&2
92 %defattr(644,root,root,755)
93 %doc *.gz doc/*.gz doc/*.html
95 %lang(pl) %{_mandir}/pl/man*/*
96 %attr(755,root,root) %{_sbindir}/*
97 %attr(754,root,root) /etc/rc.d/init.d/*
99 %attr(755,root,root) %{_libdir}/ipsec/*
100 %attr(751,root,root) %dir %{_sysconfdir}/freeswan
101 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/freeswan/*