]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - netplug/netplug.nm
Merge remote-tracking branch 'maniacikarus/samba'
[people/ms/ipfire-3.x.git] / netplug / netplug.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = netplug
7 version = 1.2.9.1
8 release = 1
9
10 groups = Networking/Tools
11 url = http://www.red-bean.com/~bos/
12 license = GPLv2
13 summary = A daemon that manages network interfaces in response to \
14 network cables being plugged in and out.
15
16 description
17 Netplug is a Linux daemon that manages network interfaces in response
18 to network cables being plugged in and out. If you're familiar with
19 Windows XP, which just does the Right Thing when you plug an ethernet
20 cable into a laptop, netplug will need no further explanation.
21 end
22
23 source_dl =
24 sources = %{thisapp}.tar.bz2
25
26 build
27 prepare_cmds
28 # Remove debugging flags from CFLAGS.
29 sed -i Makefile -e "s/-ggdb3 -O3//g"
30 end
31
32 build
33 make CC="gcc"
34 end
35
36 install_cmds
37 rm -rfv %{BUILDROOT}/etc/rc.d
38 end
39 end
40
41 packages
42 package %{name}
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
47 end