]>
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 | 8 | version = 007 |
ca468b64 | 9 | release = 1.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 | 27 | requires |
ca468b64 MT |
28 | autoconf |
29 | automake | |
fec9db53 MT |
30 | docbook-xsl |
31 | libxslt | |
ca468b64 MT |
32 | systemd-devel |
33 | end | |
34 | ||
35 | prepare_cmds | |
36 | [ -e "configure" ] || ./autogen.sh | |
fec9db53 MT |
37 | end |
38 | ||
e0ec214f MT |
39 | install_cmds |
40 | # Create some dummy configuration files. | |
bef6465a MT |
41 | mkdir -pv %{BUILDROOT}%{sysconfdir}/network |
42 | touch %{BUILDROOT}%{sysconfdir}/network/{settings,dns-servers,routes} | |
e0ec214f | 43 | end |
802ea3af MT |
44 | end |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | requires | |
49 | aiccu | |
e0ec214f | 50 | bash >= 4.0 |
fec9db53 MT |
51 | batctl |
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 MT |
63 | rp-pppoe |
64 | mstpd | |
802ea3af MT |
65 | sqlite |
66 | systemd-units | |
67 | tunctl | |
e40e9212 | 68 | wpa_supplicant >= 1.0-2 |
802ea3af MT |
69 | /usr/bin/logger |
70 | end | |
73db16dd | 71 | |
e0ec214f | 72 | configfiles |
e0ec214f MT |
73 | /etc/network |
74 | end | |
73db16dd | 75 | |
73db16dd | 76 | script postin |
e0ec214f | 77 | systemctl daemon-reload >/dev/null 2>&1 || : |
73db16dd MT |
78 | end |
79 | ||
ca468b64 MT |
80 | script postun |
81 | systemctl daemon-reload >/dev/null 2>&1 || : | |
73db16dd MT |
82 | end |
83 | ||
84 | script postup | |
e0ec214f | 85 | systemctl daemon-reload >/dev/null 2>&1 || : |
73db16dd | 86 | end |
802ea3af | 87 | end |
ca468b64 MT |
88 | |
89 | package %{name}-debuginfo | |
90 | template DEBUGINFO | |
91 | end | |
802ea3af | 92 | end |