]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - network/network.nm
148cfa40c427ec61531cb5c01a2558bcab875bf1
[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 = 006
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 requires
29 docbook-xsl
30 libxslt
31 end
32
33 install_cmds
34 # Create some dummy configuration files.
35 mkdir -pv %{BUILDROOT}%{sysconfdir}/{firewall,network}
36 touch %{BUILDROOT}%{sysconfdir}/network/{config,dns-servers,routes}
37 end
38 end
39
40 packages
41 package %{name}
42 requires
43 aiccu
44 bash >= 4.0
45 batctl
46 curl
47 dhclient >= 4.2.4-2
48 dhcp >= 4.2.4-1
49 ebtables
50 hostapd
51 initscripts >= 1:2.99-18
52 iproute2
53 iw
54 man
55 miredo-client
56 ppp >= 2.4.5-4
57 radvd
58 rp-pppoe
59 mstpd
60 sqlite
61 systemd-units
62 tunctl
63 wpa_supplicant >= 1.0-2
64 /usr/bin/ipcalc
65 /usr/bin/logger
66 end
67
68 configfiles
69 /etc/firewall
70 /etc/network
71 end
72
73 # Enable network service, so it starts at the first boot.
74 script postin
75 systemctl daemon-reload >/dev/null 2>&1 || :
76 systemctl --no-reload enable network.service >/dev/null 2>&1 || :
77 end
78
79 script preun
80 systemctl --no-reload disable network.service >/dev/null 2>&1 || :
81 systemctl stop network.service >/dev/null 2>&1 || :
82 end
83
84 script postup
85 systemctl daemon-reload >/dev/null 2>&1 || :
86 end
87 end
88 end