]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - network/network.nm
network: Add missing file for routes.
[people/ms/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
a04cd360 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
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}
a04cd360 31 touch %{BUILDROOT}%{sysconfdir}/network/{config,dns-servers,routes}
e0ec214f 32 end
802ea3af
MT
33end
34
35packages
36 package %{name}
37 requires
38 aiccu
e0ec214f 39 bash >= 4.0
954a213a 40 dhclient >= 4.2.4-2
e40e9212 41 dhcp >= 4.2.4-1
802ea3af
MT
42 ebtables
43 hostapd
405f7967 44 initscripts >= 1:2.99-18
802ea3af 45 iproute2
e0ec214f
MT
46 iw
47 man
48 miredo-client
49 ppp >= 2.4.5-4
802ea3af 50 radvd
e0ec214f
MT
51 rp-pppoe
52 mstpd
802ea3af
MT
53 sqlite
54 systemd-units
55 tunctl
e40e9212 56 wpa_supplicant >= 1.0-2
405f7967 57 /usr/bin/ipcalc
802ea3af
MT
58 /usr/bin/logger
59 end
73db16dd 60
e0ec214f
MT
61 configfiles
62 /etc/firewall
63 /etc/network
64 end
73db16dd
MT
65
66 # Enable network service, so it starts at the first boot.
67 script postin
e0ec214f
MT
68 systemctl daemon-reload >/dev/null 2>&1 || :
69 systemctl --no-reload enable network.service >/dev/null 2>&1 || :
73db16dd
MT
70 end
71
72 script preun
e0ec214f
MT
73 systemctl --no-reload disable network.service >/dev/null 2>&1 || :
74 systemctl stop network.service >/dev/null 2>&1 || :
73db16dd
MT
75 end
76
77 script postup
e0ec214f 78 systemctl daemon-reload >/dev/null 2>&1 || :
73db16dd 79 end
802ea3af
MT
80 end
81end