64 lines
1.4 KiB
Plaintext
64 lines
1.4 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = bird
|
|
version = 2.13.1
|
|
release = 1
|
|
|
|
groups = Networking/Routing
|
|
url = https://bird.network.cz/
|
|
license = GPLv2+
|
|
summary = BIRD Internet Routing Daemon.
|
|
|
|
description
|
|
BIRD is dynamic routing daemon supporting IPv4 and IPv6 versions of routing
|
|
protocols BGP, RIP and OSPF.
|
|
end
|
|
|
|
source_dl = https://bird.network.cz/download/
|
|
|
|
build
|
|
requires
|
|
bison
|
|
flex
|
|
ncurses-devel
|
|
readline-devel
|
|
end
|
|
|
|
install_cmds
|
|
# Drop /var/run
|
|
rm -rvf %{BUILDROOT}%{localstatedir}/run
|
|
end
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
prerequires = systemd-units
|
|
|
|
script postin
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
end
|
|
|
|
script preun
|
|
/bin/systemctl --no-reload disable bird.service > /dev/null 2>&1 || :
|
|
/bin/systemctl stop bird.service > /dev/null 2>&1 || :
|
|
|
|
end
|
|
|
|
script postun
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
end
|
|
|
|
script postup
|
|
/bin/systemctl daemon-reload 2>&1 || :
|
|
/bin/systemctl reload-or-try-restart bird.service >/dev/null 2>&1 || :
|
|
end
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|