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