############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = network epoch = 1 version = 010 release = 2 maintainer = Michael Tremer groups = Base Networking/Tools url = http://www.ipfire.org/ license = GPLv3+ summary = The IPFire Networking Scripts. description The scripts that are contained in this package are the heart of the IPFire networking. They control the configuration of the network zones, physical and virtual devices, handle hotplug events and everything. end source_dl = https://source.ipfire.org/releases/network/ build requires autoconf automake docbook-xsl libnl3-devel libxslt systemd-devel end prepare_cmds [ -e "configure" ] || ./autogen.sh end install_cmds # Create some dummy configuration files. mkdir -pv %{BUILDROOT}%{sysconfdir}/network touch %{BUILDROOT}%{sysconfdir}/network/{settings,dns-servers,routes} end end packages package %{name} requires bash >= 4.0 crda curl dhclient >= 4.2.4-2 dhcp >= 4.2.4-1 ebtables hostapd initscripts >= 1:2.99-18 iproute2 iw man ppp >= 2.4.5-4 radvd rp-pppoe strongswan sqlite systemd-units wpa_supplicant >= 1.0-2 /usr/bin/flock /usr/bin/logger end recommends bird end configfiles /etc/network end script postin systemctl daemon-reload >/dev/null 2>&1 || : end script postun systemctl daemon-reload >/dev/null 2>&1 || : end script postup systemctl daemon-reload >/dev/null 2>&1 || : end end package %{name}-debuginfo template DEBUGINFO end end