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