]> git.ipfire.org Git - ipfire-3.x.git/blame - network/network.nm
Merge remote-tracking branch 'arne_f/autoconf'
[ipfire-3.x.git] / network / network.nm
CommitLineData
642c6f37 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
642c6f37
MT
4###############################################################################
5
802ea3af
MT
6name = network
7epoch = 1
2763814b 8version = 003
3f9e64bf 9release = 2
802ea3af 10arch = noarch
b6860f43 11
802ea3af
MT
12maintainer = Michael Tremer <michael.tremer@ipfire.org>
13groups = Base Networking/Tools
14url = http://www.ipfire.org/
15license = GPLv3+
16summary = The IPFire Networking Scripts.
b6860f43 17
66ee7725
MT
18# XXX maybe we can split this package into smaller ones like -wireless,
19# -dialup etc.
20
802ea3af 21description
66ee7725
MT
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.
802ea3af
MT
26end
27
0b7fb4e2 28source_dl = http://source.ipfire.org/releases/network/
802ea3af
MT
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
3f9e64bf 52 /usr/bin/ipcalc
802ea3af
MT
53 /usr/bin/logger
54 end
73db16dd
MT
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
802ea3af
MT
75 end
76end