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