3 # - add to /etc/modules.conf: alias char-major-10-200 tun
4 # - check for kernel 2.2 (currently tested on kernel 2.4)
6 # In case not using --comp we get:
7 # yavipind: src/comp.c:55: comp_init: Assertion `comp_algoid >= 1 && comp_algoid
9 Summary: Secure tunnel using the state of art in network security
10 Summary(pl.UTF-8): Bezpieczny tunel używający reguł sztuki bezpieczeństwa sieciowego
16 Group: Networking/Daemons
17 Vendor: Jerome Etienne (jme at off.net)
18 Source0: http://dl.sourceforge.net/yavipin/%{name}-%{version}.tgz
19 # Source0-md5: 62ea055b362bd331b1ca98ce9953b7a8
20 URL: http://yavipin.sourceforge.net/
21 BuildRequires: autoconf
22 #BuildRequires: automake
23 BuildRequires: glib-devel
24 BuildRequires: openssl-devel >= 0.9.7d
25 BuildRequires: zlib-devel
26 Requires: dev >= 2.8.0-29
27 #Requires: kernel >= 2.4
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Yavipind is a secure tunnel aka 2 peers securely forwarding packets
32 toward each other. It forwards any kind of packet (IPv4, IPv6 or
33 other) sent over the virtual point-to-point device (e.g. tun0). It
34 fully runs in linux userspace.
36 %description -l pl.UTF-8
37 Yavipind jest pakietem tworzącym bezpieczne tunele pomiędzy dwoma
38 komputerami. Przesyła każdy rodzaj pakietów (IPv4, IPv6, inne) poprzez
39 wirtualne urządzenie point-to-point (np. tun0). Pracuje całkowicie w
40 przestrzeni użytkownika.
55 rm -rf $RPM_BUILD_ROOT
57 #%%{__make} install DESTDIR=$RPM_BUILD_ROOT #deosn't work - manuall install
59 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
61 install src/yavipind $RPM_BUILD_ROOT%{_sbindir}
62 install src/yavipind.8 $RPM_BUILD_ROOT%{_mandir}/man8
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 #%attr(754,root,root) /etc/rc.d/init.d/vtund
70 #%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/vtun
71 #%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vtund.conf
72 %attr(755,root,root) %{_sbindir}/yavipind