]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - network/network.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/amarx/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
e8744052 8version = 005
e0ec214f 9release = 1
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
802ea3af 18description
66ee7725
MT
19 The scripts that are contained in this package are the heart of the
20 IPFire networking. They control the configuration of the network
21 zones, physical and virtual devices, handle hotplug events and
22 everything.
802ea3af
MT
23end
24
0b7fb4e2 25source_dl = http://source.ipfire.org/releases/network/
802ea3af
MT
26
27build
e0ec214f
MT
28 install_cmds
29 # Create some dummy configuration files.
30 mkdir -pv %{BUILDROOT}%{sysconfdir}/{firewall,network}
31 touch %{BUILDROOT}%{sysconfdir}/network/{config,dns-servers}
32 end
802ea3af
MT
33end
34
35packages
36 package %{name}
37 requires
38 aiccu
e0ec214f 39 bash >= 4.0
e8744052 40 dhcp >= 4.2.4-1
802ea3af
MT
41 ebtables
42 hostapd
43 iproute2
e0ec214f
MT
44 iw
45 man
46 miredo-client
47 ppp >= 2.4.5-4
802ea3af 48 radvd
e0ec214f
MT
49 rp-pppoe
50 mstpd
802ea3af
MT
51 sqlite
52 systemd-units
53 tunctl
e8744052
MT
54 wpa_supplicant >= 1.0-2
55 /usr/bin/ipcalc >= 2.99-18
802ea3af
MT
56 /usr/bin/logger
57 end
73db16dd 58
e0ec214f
MT
59 configfiles
60 /etc/firewall
61 /etc/network
62 end
73db16dd
MT
63
64 # Enable network service, so it starts at the first boot.
65 script postin
e0ec214f
MT
66 systemctl daemon-reload >/dev/null 2>&1 || :
67 systemctl --no-reload enable network.service >/dev/null 2>&1 || :
73db16dd
MT
68 end
69
70 script preun
e0ec214f
MT
71 systemctl --no-reload disable network.service >/dev/null 2>&1 || :
72 systemctl stop network.service >/dev/null 2>&1 || :
73db16dd
MT
73 end
74
75 script postup
e0ec214f 76 systemctl daemon-reload >/dev/null 2>&1 || :
73db16dd 77 end
802ea3af
MT
78 end
79end