]> git.pld-linux.org Git - packages/vtun.git/blame - vtun.spec
- use %service
[packages/vtun.git] / vtun.spec
CommitLineData
c2ef35e0 1#
df2a14e1 2# Conditional build:
c2ef35e0 3%bcond_without ssl # build without encryption ability
4#
8e6b0ccb 5Summary: Virtual tunnel over TCP/IP networks
8aa2c96b 6Summary(pl): Wirtualne tunele poprzez sieci TCP/IP
1dc48ba5 7Name: vtun
5e120748 8Version: 2.6
51701fb2 9Release: 2
91d79fbf 10Epoch: 2
1dc48ba5 11License: GPL
12Group: Networking/Daemons
9cc026ff 13Source0: http://dl.sourceforge.net/vtun/%{name}-%{version}.tar.gz
dbe44cd3 14# Source0-md5: 309534fd03c5d13a19c43916f61f4bbf
1dc48ba5 15Source1: %{name}.init
b32c5512 16Source2: %{name}.sysconfig
f9b827b2 17Patch0: %{name}-makefile.patch
91d79fbf 18Patch1: %{name}-expect.patch
0ce71b67
SZ
19Patch2: %{name}-autoheader.patch
20Patch3: %{name}-getpt.patch
3601b414 21Patch4: %{name}-sslauth.patch
e28f7a79 22Patch5: %{name}-ac.patch
2d4baaf0 23Patch6: %{name}-lzo2.patch
a21572dc 24URL: http://vtun.sourceforge.net/
3fd96c97 25BuildRequires: autoconf
59c6eeff 26BuildRequires: automake
9cc026ff
JB
27BuildRequires: bison
28BuildRequires: flex
2d4baaf0 29BuildRequires: lzo-devel >= 2.0.1
3a6d8a84 30%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
dbe44cd3 31BuildRequires: rpmbuild(macros) >= 1.268
c3d615ff 32BuildRequires: zlib-devel
9cc026ff 33Requires(post,preun): /sbin/chkconfig
23c4c207 34Requires: rc-scripts
1dc48ba5 35Obsoletes: vppp
c2ef35e0 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1dc48ba5 37
38%define _localstatedir /var
39
40%description
f9b827b2 41VTun provides the method for creating Virtual Tunnels over TCP/IP
42networks and allows to shape, compress, encrypt traffic in that
43tunnels. Supported type of tunnels are: PPP, IP, Ethernet and most of
44other serial protocols and programs. VTun is easily and highly
45configurable, it can be used for various network task like VPN, Mobil
46IP, Shaped Internet access, IP address saving, etc. It is completely
47user space implementation and does not require modification to any
48kernel parts. You need SSLeay-devel and lzo-devel to build it.
1dc48ba5 49
8aa2c96b 50%description -l pl
23c4c207
ER
51