]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = tunctl |
7 | version = 1.5 | |
8 | release = 1 | |
93c59336 | 9 | |
802ea3af MT |
10 | groups = Networking/Tools |
11 | url = http://tunctl.sourceforge.net/ | |
12 | license = GPL+ | |
13 | summary = Create and remove virtual network interfaces. | |
93c59336 | 14 | |
802ea3af MT |
15 | description |
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 | 21 | end |
93c59336 | 22 | |
802ea3af | 23 | source_dl = http://sourceforge.net/projects/tunctl/files/tunctl/%{version}/%{sources}/download |
93c59336 MT |
24 | |
25 | # XXX needs docbook for man page | |
26 | ||
802ea3af MT |
27 | build |
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 | |
38 | end | |
93c59336 | 39 | |
802ea3af MT |
40 | packages |
41 | package %{name} | |
42 | end | |
43 | end |