]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - tunctl/tunctl.nm
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / tunctl / tunctl.nm
CommitLineData
93c59336 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
93c59336
MT
4###############################################################################
5
802ea3af
MT
6name = tunctl
7version = 1.5
8release = 1
93c59336 9
802ea3af
MT
10groups = Networking/Tools
11url = http://tunctl.sourceforge.net/
12license = GPL+
13summary = Create and remove virtual network interfaces.
93c59336 14
802ea3af
MT
15description
16 tunctl is a tool to set up and maintain persistent TUN/TAP network
17 interfaces, enabling user applications access to the wire side of a
18 virtual nework interface. Such interfaces is useful for connecting VPN
19 software, virtualization, emulation and a number of other similar
93c59336 20 applications to the network stack.
802ea3af 21end
93c59336 22
802ea3af 23source_dl = http://sourceforge.net/projects/tunctl/files/tunctl/%{version}/%{sources}/download
93c59336
MT
24
25# XXX needs docbook for man page
26
802ea3af
MT
27build
28 prepare_cmds
29 sed -e "s/^CFLAGS.*/CFLAGS = %{CFLAGS}/" -i Makefile
30 end
31
32 make_build_targets = tunctl CC=gcc
93c59336 33
802ea3af
MT
34 install
35 mkdir -pv %{BUILDROOT}/usr/sbin
36 install -m 755 tunctl %{BUILDROOT}/usr/sbin
37 end
38end
93c59336 39
802ea3af
MT
40packages
41 package %{name}
42 end
43end