]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - network/network.nm
strongswan: Disable swanctl and enable unbound plugin
[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 8version = 006
943e1f3c 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
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
e0ec214f 55 ppp >= 2.4.5-4
802ea3af 56 radvd
e0ec214f
MT
57 rp-pppoe
58 mstpd
802ea3af
MT
59 sqlite
60 systemd-units
61 tunctl
e40e9212 62 wpa_supplicant >= 1.0-2
405f7967 63 /usr/bin/ipcalc
802ea3af
MT
64 /usr/bin/logger
65 end
73db16dd 66
e0ec214f
MT
67 configfiles
68 /etc/firewall
69 /etc/network
70 end
73db16dd
MT
71
72 # Enable network service, so it starts at the first boot.
73 script postin
e0ec214f
MT
74 systemctl daemon-reload >/dev/null 2>&1 || :
75 systemctl --no-reload enable network.service >/dev/null 2>&1 || :
73db16dd
MT
76 end
77
78 script preun
e0ec214f
MT
79 systemctl --no-reload disable network.service >/dev/null 2>&1 || :
80 systemctl stop network.service >/dev/null 2>&1 || :
73db16dd
MT
81 end
82
83 script postup
e0ec214f 84 systemctl daemon-reload >/dev/null 2>&1 || :
73db16dd 85 end
802ea3af
MT
86 end
87end