]> git.ipfire.org Git - ipfire-3.x.git/blame - network/network.nm
network: Depend on bird instead of frr
[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
fe10a675 8version = 010
643d637c 9release = 2
b6860f43 10
802ea3af
MT
11maintainer = Michael Tremer <michael.tremer@ipfire.org>
12groups = Base Networking/Tools
13url = http://www.ipfire.org/
14license = GPLv3+
15summary = The IPFire Networking Scripts.
b6860f43 16
802ea3af 17description
66ee7725
MT
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.
802ea3af
MT
22end
23
fe10a675 24source_dl = https://source.ipfire.org/releases/network/
802ea3af
MT
25
26build
fec9db53 27 requires
ca468b64
MT
28 autoconf
29 automake
fec9db53 30 docbook-xsl
fe10a675 31 libnl3-devel
fec9db53 32 libxslt
ca468b64
MT
33 systemd-devel
34 end
35
36 prepare_cmds
37 [ -e "configure" ] || ./autogen.sh
fec9db53
MT
38 end
39
e0ec214f
MT
40 install_cmds
41 # Create some dummy configuration files.
bef6465a
MT
42 mkdir -pv %{BUILDROOT}%{sysconfdir}/network
43 touch %{BUILDROOT}%{sysconfdir}/network/{settings,dns-servers,routes}
e0ec214f 44 end
802ea3af
MT
45end
46
47packages
48 package %{name}
49 requires
e0ec214f 50 bash >= 4.0
9896be87 51 crda
fec9db53 52 curl
954a213a 53 dhclient >= 4.2.4-2
e40e9212 54 dhcp >= 4.2.4-1
802ea3af
MT
55 ebtables
56 hostapd
405f7967 57 initscripts >= 1:2.99-18
802ea3af 58 iproute2
e0ec214f
MT
59 iw
60 man
e0ec214f 61 ppp >= 2.4.5-4
802ea3af 62 radvd
e0ec214f 63 rp-pppoe
86d3e771 64 strongswan
802ea3af
MT
65 sqlite
66 systemd-units
e40e9212 67 wpa_supplicant >= 1.0-2
fe10a675 68 /usr/bin/flock
802ea3af
MT
69 /usr/bin/logger
70 end
73db16dd 71
83a5eb26 72 recommends
643d637c 73 bird
83a5eb26
MT
74 end
75
e0ec214f 76 configfiles
e0ec214f
MT
77 /etc/network
78 end
73db16dd 79
73db16dd 80 script postin
e0ec214f 81 systemctl daemon-reload >/dev/null 2>&1 || :
73db16dd
MT
82 end
83
ca468b64
MT
84 script postun
85 systemctl daemon-reload >/dev/null 2>&1 || :
73db16dd
MT
86 end
87
88 script postup
e0ec214f 89 systemctl daemon-reload >/dev/null 2>&1 || :
73db16dd 90 end
802ea3af 91 end
ca468b64
MT
92
93 package %{name}-debuginfo
94 template DEBUGINFO
95 end
802ea3af 96end