]> git.ipfire.org Git - ipfire-3.x.git/blob - network/network.nm
Merge remote-tracking branch 'stevee/openssh'
[ipfire-3.x.git] / network / network.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = network
7 epoch = 1
8 version = 003
9 release = 1
10 arch = noarch
11
12 maintainer = Michael Tremer <michael.tremer@ipfire.org>
13 groups = Base Networking/Tools
14 url = http://www.ipfire.org/
15 license = GPLv3+
16 summary = The IPFire Networking Scripts.
17
18 # XXX maybe we can split this package into smaller ones like -wireless,
19 # -dialup etc.
20
21 description
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.
26 end
27
28 source_dl = http://source.ipfire.org/releases/network/
29
30 build
31 build = # Do nothing
32 end
33
34 packages
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 /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
76 end