]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - network/network.nm
network: Update to 004.
[people/ms/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 = 004
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 description
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.
23 end
24
25 source_dl = http://source.ipfire.org/releases/network/
26
27 build
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
33 end
34
35 packages
36 package %{name}
37 requires
38 aiccu
39 bash >= 4.0
40 bridge-utils
41 dhcp
42 ebtables
43 hostapd
44 iproute2
45 iw
46 man
47 miredo-client
48 ppp >= 2.4.5-4
49 radvd
50 rp-pppoe
51 mstpd
52 sqlite
53 systemd-units
54 tunctl
55 vlan
56 wpa_supplicant
57 /usr/bin/ipcalc
58 /usr/bin/logger
59 end
60
61 configfiles
62 /etc/firewall
63 /etc/network
64 end
65
66 # Enable network service, so it starts at the first boot.
67 script postin
68 systemctl daemon-reload >/dev/null 2>&1 || :
69 systemctl --no-reload enable network.service >/dev/null 2>&1 || :
70 end
71
72 script preun
73 systemctl --no-reload disable network.service >/dev/null 2>&1 || :
74 systemctl stop network.service >/dev/null 2>&1 || :
75 end
76
77 script postup
78 systemctl daemon-reload >/dev/null 2>&1 || :
79 end
80 end
81 end