[quagga] fixes #716561 - isisd binary is not included in quagga
Jiri Skala
jskala at fedoraproject.org
Tue Jul 19 13:16:31 UTC 2011
commit 33acfe27f529d42ace621d83b1c574ab1e3b7b03
Author: Jiri Skala <jskala at redhat.com>
Date: Tue Jul 19 15:16:14 2011 +0200
fixes #716561 - isisd binary is not included in quagga
quagga.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/quagga.spec b/quagga.spec
index 05bf847..f2267d2 100644
--- a/quagga.spec
+++ b/quagga.spec
@@ -32,7 +32,7 @@
Summary: Routing daemon
Name: quagga
Version: 0.99.18
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2+
Group: System Environment/Daemons
Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz
@@ -213,6 +213,7 @@ make install \
rm -rf $RPM_BUILD_ROOT/usr/share/info/dir
install -m 644 %{zeb_rh_src}/zebra.service $RPM_BUILD_ROOT/lib/systemd/system
+install -m 644 %{zeb_rh_src}/isisd.service $RPM_BUILD_ROOT/lib/systemd/system
install -m 644 %{zeb_rh_src}/ripd.service $RPM_BUILD_ROOT/lib/systemd/system
install -m 644 %{zeb_rh_src}/ospfd.service $RPM_BUILD_ROOT/lib/systemd/system
install -m 644 %{zeb_rh_src}/bgpd.service $RPM_BUILD_ROOT/lib/systemd/system
@@ -223,6 +224,7 @@ install -m 644 %{zeb_rh_src}/ripngd.service $RPM_BUILD_ROOT/lib/systemd/system
%endif
install %{zeb_rh_src}/zebra.init $RPM_BUILD_ROOT/etc/rc.d/init.d/zebra
+install %{zeb_rh_src}/isisd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/isisd
install %{zeb_rh_src}/bgpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/bgpd
%if %with_ipv6
install %{zeb_rh_src}/ospf6d.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ospf6d
@@ -298,6 +300,8 @@ if [ "$1" = "0" ]; then
/bin/systemctl stop bgpd.service > /dev/null 2>&1 || :
/bin/systemctl disable zebra.service > /dev/null 2>&1 || :
/bin/systemctl stop zebra.service > /dev/null 2>&1 || :
+ /bin/systemctl disable isisd.service > /dev/null 2>&1 || :
+ /bin/systemctl stop isisd.service > /dev/null 2>&1 || :
/bin/systemctl disable ospfd.service > /dev/null 2>&1 || :
/bin/systemctl stop ospfd.service > /dev/null 2>&1 || :
/bin/systemctl disable watchquagga.service > /dev/null 2>&1 || :
@@ -312,11 +316,13 @@ fi
%triggerun -- %{name} < 0.99.18-6
/sbin/chkconfig --del zebra >/dev/null 2>&1 || :
+ /sbin/chkconfig --del isisd >/dev/null 2>&1 || :
/sbin/chkconfig --del ripd >/dev/null 2>&1 || :
/sbin/chkconfig --del bgpd >/dev/null 2>&1 || :
/sbin/chkconfig --del ospfd >/dev/null 2>&1 || :
/sbin/chkconfig --del watchquagga >/dev/null 2>&1 || :
/bin/systemctl try-restart zebra.service >/dev/null 2>&1 || :
+ /bin/systemctl try-restart isisd.service >/dev/null 2>&1 || :
/bin/systemctl try-restart ripd.service >/dev/null 2>&1 || :
/bin/systemctl try-restart bgpd.service >/dev/null 2>&1 || :
/bin/systemctl try-restart ospfd.service >/dev/null 2>&1 || :
@@ -330,6 +336,7 @@ fi
%triggerpostun -n %{name}-sysvinit -- %{name} < 0.99.18-6
/sbin/chkconfig --add zebra >/dev/null 2>&1 || :
+ /sbin/chkconfig --add isisd >/dev/null 2>&1 || :
/sbin/chkconfig --add ripd >/dev/null 2>&1 || :
/sbin/chkconfig --add bgpd >/dev/null 2>&1 || :
/sbin/chkconfig --add ospfd >/dev/null 2>&1 || :
@@ -402,6 +409,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
+* Tue Jul 19 2011 Jiri Skala <jskala at redhat.com> - 0.99.18-7
+- fixes #716561 - isisd binary is not included in quagga
+
* Tue Jul 19 2011 Jiri Skala <jskala at redhat.com> - 0.99.18-6
- fixes #719610 - add unit files, SysV initscripts moved to subpackage
More information about the scm-commits
mailing list