]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame_incremental - network/network.nm
network+initscripts: Fix hard coded dependency /usr/bin/ipcalc.
[people/ms/ipfire-3.x.git] / network / network.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = network
7epoch = 1
8version = 003
9release = 2
10arch = noarch
11
12maintainer = Michael Tremer <michael.tremer@ipfire.org>
13groups = Base Networking/Tools
14url = http://www.ipfire.org/
15license = GPLv3+
16summary = The IPFire Networking Scripts.
17
18# XXX maybe we can split this package into smaller ones like -wireless,
19# -dialup etc.
20
21description
22 The scripts that are contained in this package are the heart of the
23 IPFire networking. They control the configuration of the network
24 zones, physical and virtual devices, handle hotplug events and
25 everything.
26end
27
28source_dl = http://source.ipfire.org/releases/network/
29
30build
31 build = # Do nothing
32end
33
34packages
35 package %{name}
36 requires
37 aiccu
38 bash>=4.0
39 bridge-utils
40 dhcp
41 ebtables
42 hostapd
43 iproute2
44 ppp
45 radvd
46 rstp
47 sqlite
48 systemd-units
49 tunctl
50 vlan
51 wpa_supplicant
52 /usr/bin/ipcalc
53 /usr/bin/logger
54 end
55
56 prerequires = systemd-units
57
58 # Enable network service, so it starts at the first boot.
59 script postin
60 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
61 /bin/systemctl --no-reload enable network.service >/dev/null 2>&1 || :
62 end
63
64 script preun
65 /bin/systemctl --no-reload disable network.service >/dev/null 2>&1 || :
66 /bin/systemctl stop network.service >/dev/null 2>&1 || :
67 end
68
69 script postup
70 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
71
72 # Maybe it is not a good idea to restart network.
73 #/bin/systemctl try-reload-or-restart network.service >/dev/null 2>&1 || :
74 end
75 end
76end