Summary: Virtual tunnel over TCP/IP networks
+Summary(pl): Wirtualne tunele poprzez sieci TCP/IP
Name: vtun
-Version: 2.2
-Release: 1
+Version: 2.4
+Release: 2
+Epoch: 1
License: GPL
Group: Networking/Daemons
+Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Vendor: Maxim Krasnyansky <max_mk@yahoo.com>
-Source0: ftp://vtun.sourceforge.net/pub/vtun/%{name}-%{version}.tar.gz
+Source0: http://vtun.sourceforge.net/%{name}-%{version}.tar.gz
Source1: %{name}.init
Patch0: %{name}-makefile.patch
URL: http://vtun.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: autoconf
+BuildRequires: lzo-devel
BuildRequires: openssl-devel
BuildRequires: zlib-devel
+Prereq: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: vppp
user space implementation and does not require modification to any
kernel parts. You need SSLeay-devel and lzo-devel to build it.
+%description -l pl
+VTun umo¿liwia tworzenie Wirtualnych Tunelu poprzez sieci TCP/IP
+wraz z przydzielaniem pasma, kompresj±, szyfrowaniem danych w tunelach.
+Wspierane typy tuneli to: PPP, IP, Ethernet i wiêkszo¶æ pozosta³ych
+protoko³ów szeregowych.
+
%prep
%setup -q
%patch -p1
+
%build
-LDFLAGS="-s"; export LDFLAGS
+aclocal
+autoconf
%configure \
- --with-crypto-headers=%{_includedir}/openssl
-make
+ --with-crypto-headers=%{_includedir}/openssl \
+ --enable-lzo
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/vtund
-gzip -9nf ChangeLog Credits README README.Setup README.Shaper FAQ TODO \
- $RPM_BUILD_ROOT%{_mandir}/*/*
+gzip -9nf ChangeLog Credits README README.Setup README.Shaper FAQ TODO
%post
/sbin/chkconfig --add vtund
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vtund.conf
%attr(755,root,root) %{_sbindir}/vtund
%attr(755,root,root) %dir /var/log/vtund
-%{_mandir}/man8/*
+%{_mandir}/man*/*