]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = network |
7 | epoch = 1 | |
bef6465a MT |
8 | version = 007 |
9 | release = 1 | |
b6860f43 | 10 | |
802ea3af MT |
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. | |
b6860f43 | 16 | |
802ea3af | 17 | description |
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 |
22 | end |
23 | ||
0b7fb4e2 | 24 | source_dl = http://source.ipfire.org/releases/network/ |
802ea3af MT |
25 | |
26 | build | |
fec9db53 MT |
27 | requires |
28 | docbook-xsl | |
29 | libxslt | |
30 | end | |
31 | ||
e0ec214f MT |
32 | install_cmds |
33 | # Create some dummy configuration files. | |
bef6465a MT |
34 | mkdir -pv %{BUILDROOT}%{sysconfdir}/network |
35 | touch %{BUILDROOT}%{sysconfdir}/network/{settings,dns-servers,routes} | |
e0ec214f | 36 | end |
802ea3af MT |
37 | end |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | requires | |
42 | aiccu | |
e0ec214f | 43 | bash >= 4.0 |
fec9db53 MT |
44 | batctl |
45 | curl | |
954a213a | 46 | dhclient >= 4.2.4-2 |
e40e9212 | 47 | dhcp >= 4.2.4-1 |
802ea3af MT |
48 | ebtables |
49 | hostapd | |
405f7967 | 50 | initscripts >= 1:2.99-18 |
802ea3af | 51 | iproute2 |
e0ec214f MT |
52 | iw |
53 | man | |
e0ec214f | 54 | ppp >= 2.4.5-4 |
802ea3af | 55 | radvd |
e0ec214f MT |
56 | rp-pppoe |
57 | mstpd | |
802ea3af MT |
58 | sqlite |
59 | systemd-units | |
60 | tunctl | |
e40e9212 | 61 | wpa_supplicant >= 1.0-2 |
802ea3af MT |
62 | /usr/bin/logger |
63 | end | |
73db16dd | 64 | |
e0ec214f MT |
65 | configfiles |
66 | /etc/firewall | |
67 | /etc/network | |
68 | end | |
73db16dd MT |
69 | |
70 | # Enable network service, so it starts at the first boot. | |
71 | script postin | |
e0ec214f MT |
72 | systemctl daemon-reload >/dev/null 2>&1 || : |
73 | systemctl --no-reload enable network.service >/dev/null 2>&1 || : | |
73db16dd MT |
74 | end |
75 | ||
76 | script preun | |
e0ec214f MT |
77 | systemctl --no-reload disable network.service >/dev/null 2>&1 || : |
78 | systemctl stop network.service >/dev/null 2>&1 || : | |
73db16dd MT |
79 | end |
80 | ||
81 | script postup | |
e0ec214f | 82 | systemctl daemon-reload >/dev/null 2>&1 || : |
73db16dd | 83 | end |
802ea3af MT |
84 | end |
85 | end |