]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = network | |
7 | epoch = 1 | |
8 | version = 007 | |
9 | release = 1.1 | |
10 | ||
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. | |
16 | ||
17 | description | |
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. | |
22 | end | |
23 | ||
24 | source_dl = http://source.ipfire.org/releases/network/ | |
25 | ||
26 | build | |
27 | requires | |
28 | autoconf | |
29 | automake | |
30 | docbook-xsl | |
31 | libxslt | |
32 | systemd-devel | |
33 | end | |
34 | ||
35 | prepare_cmds | |
36 | [ -e "configure" ] || ./autogen.sh | |
37 | end | |
38 | ||
39 | install_cmds | |
40 | # Create some dummy configuration files. | |
41 | mkdir -pv %{BUILDROOT}%{sysconfdir}/network | |
42 | touch %{BUILDROOT}%{sysconfdir}/network/{settings,dns-servers,routes} | |
43 | end | |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | requires | |
49 | aiccu | |
50 | bash >= 4.0 | |
51 | batctl | |
52 | curl | |
53 | dhclient >= 4.2.4-2 | |
54 | dhcp >= 4.2.4-1 | |
55 | ebtables | |
56 | hostapd | |
57 | initscripts >= 1:2.99-18 | |
58 | iproute2 | |
59 | iw | |
60 | man | |
61 | ppp >= 2.4.5-4 | |
62 | radvd | |
63 | rp-pppoe | |
64 | mstpd | |
65 | sqlite | |
66 | systemd-units | |
67 | tunctl | |
68 | wpa_supplicant >= 1.0-2 | |
69 | /usr/bin/logger | |
70 | end | |
71 | ||
72 | configfiles | |
73 | /etc/network | |
74 | end | |
75 | ||
76 | script postin | |
77 | systemctl daemon-reload >/dev/null 2>&1 || : | |
78 | end | |
79 | ||
80 | script postun | |
81 | systemctl daemon-reload >/dev/null 2>&1 || : | |
82 | end | |
83 | ||
84 | script postup | |
85 | systemctl daemon-reload >/dev/null 2>&1 || : | |
86 | end | |
87 | end | |
88 | ||
89 | package %{name}-debuginfo | |
90 | template DEBUGINFO | |
91 | end | |
92 | end |