]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - network/network.nm
be3c641f88c5e870b24e26e139b4be6822cc01b7
[people/amarx/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 = 007
9 release = 1
10
11 maintainer = Michael Tremer <michael.tremer@ipfire.org>
12 groups = Base Networking/Tools
13 url = http://www.ipfire.org/
14 license = GPLv3+
15 summary = The IPFire Networking Scripts.
16
17 description
18 The scripts that are contained in this package are the heart of the
19 IPFire networking. They control the configuration of the network
20 zones, physical and virtual devices, handle hotplug events and
21 everything.
22 end
23
24 source_dl = http://source.ipfire.org/releases/network/
25
26 build
27 requires
28 docbook-xsl
29 libxslt
30 end
31
32 install_cmds
33 # Create some dummy configuration files.
34 mkdir -pv %{BUILDROOT}%{sysconfdir}/network
35 touch %{BUILDROOT}%{sysconfdir}/network/{settings,dns-servers,routes}
36 end
37 end
38
39 packages
40 package %{name}
41 requires
42 aiccu
43 bash >= 4.0
44 batctl
45 curl
46 dhclient >= 4.2.4-2
47 dhcp >= 4.2.4-1
48 ebtables
49 hostapd
50 initscripts >= 1:2.99-18
51 iproute2
52 iw
53 man
54 ppp >= 2.4.5-4
55 radvd
56 rp-pppoe
57 mstpd
58 sqlite
59 systemd-units
60 tunctl
61 wpa_supplicant >= 1.0-2
62 /usr/bin/logger
63 end
64
65 configfiles
66 /etc/firewall
67 /etc/network
68 end
69
70 # Enable network service, so it starts at the first boot.
71 script postin
72 systemctl daemon-reload >/dev/null 2>&1 || :
73 systemctl --no-reload enable network.service >/dev/null 2>&1 || :
74 end
75
76 script preun
77 systemctl --no-reload disable network.service >/dev/null 2>&1 || :
78 systemctl stop network.service >/dev/null 2>&1 || :
79 end
80
81 script postup
82 systemctl daemon-reload >/dev/null 2>&1 || :
83 end
84 end
85 end