]>
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 | 6 | name = network |
fe10a675 | 7 | version = 010 |
c27b32b6 | 8 | release = 5 |
b6860f43 | 9 | |
802ea3af MT |
10 | maintainer = Michael Tremer <michael.tremer@ipfire.org> |
11 | groups = Base Networking/Tools | |
12 | url = http://www.ipfire.org/ | |
13 | license = GPLv3+ | |
14 | summary = The IPFire Networking Scripts. | |
b6860f43 | 15 | |
802ea3af | 16 | description |
66ee7725 MT |
17 | The scripts that are contained in this package are the heart of the |
18 | IPFire networking. They control the configuration of the network | |
19 | zones, physical and virtual devices, handle hotplug events and | |
20 | everything. | |
802ea3af MT |
21 | end |
22 | ||
fe10a675 | 23 | source_dl = https://source.ipfire.org/releases/network/ |
802ea3af MT |
24 | |
25 | build | |
fec9db53 | 26 | requires |
ca468b64 MT |
27 | autoconf |
28 | automake | |
fec9db53 | 29 | docbook-xsl |
fe10a675 | 30 | libnl3-devel |
fec9db53 | 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 | |
e0ec214f | 49 | bash >= 4.0 |
d12fdd6e | 50 | bird >= 2 |
fec9db53 | 51 | curl |
c578985d | 52 | dhcpcd |
802ea3af | 53 | hostapd |
c578985d | 54 | initscripts >= 2.99-18 |
802ea3af | 55 | iproute2 |
e0ec214f MT |
56 | iw |
57 | man | |
e0ec214f | 58 | ppp >= 2.4.5-4 |
86d3e771 | 59 | strongswan |
802ea3af MT |
60 | sqlite |
61 | systemd-units | |
e40e9212 | 62 | wpa_supplicant >= 1.0-2 |
fe10a675 | 63 | /usr/bin/flock |
802ea3af MT |
64 | /usr/bin/logger |
65 | end | |
73db16dd | 66 | |
83a5eb26 | 67 | recommends |
643d637c | 68 | bird |
83a5eb26 MT |
69 | end |
70 | ||
e0ec214f | 71 | configfiles |
e0ec214f MT |
72 | /etc/network |
73 | end | |
73db16dd | 74 | |
73db16dd | 75 | script postin |
e0ec214f | 76 | systemctl daemon-reload >/dev/null 2>&1 || : |
73db16dd MT |
77 | end |
78 | ||
ca468b64 MT |
79 | script postun |
80 | systemctl daemon-reload >/dev/null 2>&1 || : | |
73db16dd MT |
81 | end |
82 | ||
83 | script postup | |
e0ec214f | 84 | systemctl daemon-reload >/dev/null 2>&1 || : |
73db16dd | 85 | end |
802ea3af | 86 | end |
ca468b64 MT |
87 | |
88 | package %{name}-debuginfo | |
89 | template DEBUGINFO | |
90 | end | |
802ea3af | 91 | end |