]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - netplug/netplug.nm
systemd: Remove udev rules for "predictable" network device names
[people/ms/ipfire-3.x.git] / netplug / netplug.nm
CommitLineData
92409c7b 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
92409c7b
MT
4###############################################################################
5
802ea3af
MT
6name = netplug
7version = 1.2.9.1
8release = 1
92409c7b 9
802ea3af
MT
10groups = Networking/Tools
11url = http://www.red-bean.com/~bos/
12license = GPLv2
13summary = A daemon that manages network interfaces in response to \
92409c7b
MT
14 network cables being plugged in and out.
15
802ea3af
MT
16description
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
92409c7b 20 cable into a laptop, netplug will need no further explanation.
802ea3af
MT
21end
22
23source_dl =
24sources = %{thisapp}.tar.bz2
92409c7b 25
802ea3af
MT
26build
27 prepare_cmds
28 # Remove debugging flags from CFLAGS.
29 sed -i Makefile -e "s/-ggdb3 -O3//g"
30 end
92409c7b 31
802ea3af
MT
32 build
33 make CC="gcc"
34 end
92409c7b 35
802ea3af
MT
36 install_cmds
37 rm -rfv %{BUILDROOT}/etc/rc.d
38 end
39end
92409c7b 40
802ea3af
MT
41packages
42 package %{name}
1f9bc2f0
MT
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
802ea3af 47end