]>
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 | |
9c0932bf | 8 | version = 008 |
83a5eb26 | 9 | release = 2 |
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 | 51 | batctl |
9896be87 | 52 | crda |
fec9db53 | 53 | curl |
954a213a | 54 | dhclient >= 4.2.4-2 |
e40e9212 | 55 | dhcp >= 4.2.4-1 |
802ea3af MT |
56 | ebtables |
57 | hostapd | |
405f7967 | 58 | initscripts >= 1:2.99-18 |
802ea3af | 59 | iproute2 |
e0ec214f MT |
60 | iw |
61 | man | |
e0ec214f | 62 | ppp >= 2.4.5-4 |
802ea3af | 63 | radvd |
e0ec214f MT |
64 | rp-pppoe |
65 | mstpd | |
802ea3af MT |
66 | sqlite |
67 | systemd-units | |
68 | tunctl | |
e40e9212 | 69 | wpa_supplicant >= 1.0-2 |
802ea3af MT |
70 | /usr/bin/logger |
71 | end | |
73db16dd | 72 | |
83a5eb26 MT |
73 | recommends |
74 | quagga | |
75 | end | |
76 | ||
e0ec214f | 77 | configfiles |
e0ec214f MT |
78 | /etc/network |
79 | end | |
73db16dd | 80 | |
73db16dd | 81 | script postin |
e0ec214f | 82 | systemctl daemon-reload >/dev/null 2>&1 || : |
73db16dd MT |
83 | end |
84 | ||
ca468b64 MT |
85 | script postun |
86 | systemctl daemon-reload >/dev/null 2>&1 || : | |
73db16dd MT |
87 | end |
88 | ||
89 | script postup | |
e0ec214f | 90 | systemctl daemon-reload >/dev/null 2>&1 || : |
73db16dd | 91 | end |
802ea3af | 92 | end |
ca468b64 MT |
93 | |
94 | package %{name}-debuginfo | |
95 | template DEBUGINFO | |
96 | end | |
802ea3af | 97 | end |