]> git.ipfire.org Git - ipfire-3.x.git/blob - network/network.nm
7db2dba63a776f81a47320dfea1e06435b5b8975
[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 = 010
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 = https://source.ipfire.org/releases/network/
25
26 build
27 requires
28 autoconf
29 automake
30 docbook-xsl
31 libnl3-devel
32 libxslt
33 systemd-devel
34 end
35
36 prepare_cmds
37 [ -e "configure" ] || ./autogen.sh
38 end
39
40 install_cmds
41 # Create some dummy configuration files.
42 mkdir -pv %{BUILDROOT}%{sysconfdir}/network
43 touch %{BUILDROOT}%{sysconfdir}/network/{settings,dns-servers,routes}
44 end
45 end
46
47 packages
48 package %{name}
49 requires
50 bash >= 4.0
51 crda
52 curl
53 dhclient >= 4.2.4-2
54 dhcp >= 4.2.4-1
55 ebtables
56 hostapd
57 initscripts >= 1:2.99-18
58 iproute2
59 iw
60 man
61 ppp >= 2.4.5-4
62 radvd
63 rp-pppoe
64 strongswan
65 sqlite
66 systemd-units
67 wpa_supplicant >= 1.0-2
68 /usr/bin/flock
69 /usr/bin/logger
70 end
71
72 recommends
73 frr
74 end
75
76 configfiles
77 /etc/network
78 end
79
80 script postin
81 systemctl daemon-reload >/dev/null 2>&1 || :
82 end
83
84 script postun
85 systemctl daemon-reload >/dev/null 2>&1 || :
86 end
87
88 script postup
89 systemctl daemon-reload >/dev/null 2>&1 || :
90 end
91 end
92
93 package %{name}-debuginfo
94 template DEBUGINFO
95 end
96 end