From 42615319cbe3fcfe9a5c5a181598f979845d88f5 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Feb 13 2014 10:48:22 +0000 Subject: import quagga-0.99.22.4-4.el7.src.rpm --- diff --git a/SOURCES/0001-systemd-change-the-WantedBy-target.patch b/SOURCES/0001-systemd-change-the-WantedBy-target.patch index f21a4c3..4c20c78 100644 --- a/SOURCES/0001-systemd-change-the-WantedBy-target.patch +++ b/SOURCES/0001-systemd-change-the-WantedBy-target.patch @@ -1,168 +1,169 @@ -From 318afd68d26818eff24b3dfe94fa01b8dad873eb Mon Sep 17 00:00:00 2001 -From: Michal Sekletar -Date: Tue, 11 Jun 2013 19:17:09 +0200 -Subject: [PATCH] systemd: change the WantedBy target - -Previously with configuration WantedBy=network.target it could happen -that after enabling let's say zebra and bgpd and restarting the server -services won't be started. In case when no service pulls in -network.target quagga daemons won't start, because they are enabled -under network.target. This might be the case when only zebra is used -for configuring interfaces and other services like NM and initscripts -are disabled. - -This commit also removes ordering dependency on syslog.target, since -this is redundant these days, because systemd-journald is early boot -service. ---- - redhat/babeld.service | 4 ++-- - redhat/bgpd.service | 4 ++-- - redhat/isisd.service | 4 ++-- - redhat/ospf6d.service | 4 ++-- - redhat/ospfd.service | 4 ++-- - redhat/ripd.service | 4 ++-- - redhat/ripngd.service | 4 ++-- - redhat/zebra.service | 5 +++-- - 8 files changed, 17 insertions(+), 16 deletions(-) - diff --git a/redhat/babeld.service b/redhat/babeld.service -index b1ea943..2182de7 100644 +index b1ea943..a7ea7fe 100644 --- a/redhat/babeld.service +++ b/redhat/babeld.service -@@ -1,7 +1,7 @@ +@@ -1,14 +1,15 @@ [Unit] Description=Babel routing daemon - BindTo=zebra.service +-BindTo=zebra.service -After=syslog.target network.target zebra.service ++BindsTo=zebra.service +After=zebra.service ConditionPathExists=/etc/quagga/babeld.conf [Service] -@@ -11,4 +11,4 @@ ExecStart=/usr/sbin/babeld -d $BABELD_OPTS -f /etc/quagga/babeld.conf + Type=forking ++PIDFile=/run/quagga/babeld.pid + EnvironmentFile=/etc/sysconfig/quagga + ExecStart=/usr/sbin/babeld -d $BABELD_OPTS -f /etc/quagga/babeld.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target diff --git a/redhat/bgpd.service b/redhat/bgpd.service -index 5040284..b48a053 100644 +index 5040284..af923df 100644 --- a/redhat/bgpd.service +++ b/redhat/bgpd.service -@@ -1,7 +1,7 @@ +@@ -1,14 +1,15 @@ [Unit] Description=BGP routing daemon - BindTo=zebra.service +-BindTo=zebra.service -After=syslog.target network.target zebra.service ++BindsTo=zebra.service +After=zebra.service ConditionPathExists=/etc/quagga/bgpd.conf [Service] -@@ -11,4 +11,4 @@ ExecStart=/usr/sbin/bgpd -d $BGPD_OPTS -f /etc/quagga/bgpd.conf + Type=forking ++PIDFile=/run/quagga/bgpd.pid + EnvironmentFile=/etc/sysconfig/quagga + ExecStart=/usr/sbin/bgpd -d $BGPD_OPTS -f /etc/quagga/bgpd.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target diff --git a/redhat/isisd.service b/redhat/isisd.service -index 4cdf67d..d5c2438 100644 +index 4cdf67d..8687601 100644 --- a/redhat/isisd.service +++ b/redhat/isisd.service -@@ -1,7 +1,7 @@ +@@ -1,14 +1,15 @@ [Unit] Description=IS-IS routing daemon - BindTo=zebra.service +-BindTo=zebra.service -After=syslog.target network.target zebra.service ++BindsTo=zebra.service +After=zebra.service ConditionPathExists=/etc/quagga/isisd.conf [Service] -@@ -11,4 +11,4 @@ ExecStart=/usr/sbin/isisd -d $ISISD_OPTS -f /etc/quagga/isisd.conf + Type=forking ++PIDFile=/run/quagga/isisd.pid + EnvironmentFile=/etc/sysconfig/quagga + ExecStart=/usr/sbin/isisd -d $ISISD_OPTS -f /etc/quagga/isisd.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target diff --git a/redhat/ospf6d.service b/redhat/ospf6d.service -index 3c9c466..f9759f5 100644 +index 3c9c466..d13e970 100644 --- a/redhat/ospf6d.service +++ b/redhat/ospf6d.service -@@ -1,7 +1,7 @@ +@@ -1,14 +1,15 @@ [Unit] Description=OSPF routing daemon for IPv6 - BindTo=zebra.service +-BindTo=zebra.service -After=syslog.target network.target zebra.service ++BindsTo=zebra.service +After=zebra.service ConditionPathExists=/etc/quagga/ospf6d.conf [Service] -@@ -11,4 +11,4 @@ ExecStart=/usr/sbin/ospf6d -d $OSPF6D_OPTS -f /etc/quagga/ospf6d.conf + Type=forking ++PIDFile=/run/quagga/ospf6d.pid + EnvironmentFile=/etc/sysconfig/quagga + ExecStart=/usr/sbin/ospf6d -d $OSPF6D_OPTS -f /etc/quagga/ospf6d.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target diff --git a/redhat/ospfd.service b/redhat/ospfd.service -index 5e3de23..c2887e7 100644 +index 5e3de23..959e649 100644 --- a/redhat/ospfd.service +++ b/redhat/ospfd.service -@@ -1,7 +1,7 @@ +@@ -1,14 +1,15 @@ [Unit] Description=OSPF routing daemon - BindTo=zebra.service +-BindTo=zebra.service -After=syslog.target network.target zebra.service ++BindsTo=zebra.service +After=zebra.service ConditionPathExists=/etc/quagga/ospfd.conf [Service] -@@ -11,4 +11,4 @@ ExecStart=/usr/sbin/ospfd -d $OSPFD_OPTS -f /etc/quagga/ospfd.conf + Type=forking ++PIDFile=/run/quagga/ospfd.pid + EnvironmentFile=/etc/sysconfig/quagga + ExecStart=/usr/sbin/ospfd -d $OSPFD_OPTS -f /etc/quagga/ospfd.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target diff --git a/redhat/ripd.service b/redhat/ripd.service -index d35dc47..cc4142a 100644 +index d35dc47..8e7290e 100644 --- a/redhat/ripd.service +++ b/redhat/ripd.service -@@ -1,7 +1,7 @@ +@@ -1,14 +1,15 @@ [Unit] Description=RIP routing daemon - BindTo=zebra.service +-BindTo=zebra.service -After=syslog.target network.target zebra.service ++BindsTo=zebra.service +After=zebra.service ConditionPathExists=/etc/quagga/ripd.conf [Service] -@@ -11,4 +11,4 @@ ExecStart=/usr/sbin/ripd -d $RIPD_OPTS -f /etc/quagga/ripd.conf + Type=forking ++PIDFile=/run/quagga/ripd.pid + EnvironmentFile=/etc/sysconfig/quagga + ExecStart=/usr/sbin/ripd -d $RIPD_OPTS -f /etc/quagga/ripd.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target diff --git a/redhat/ripngd.service b/redhat/ripngd.service -index 567e888..35365e7 100644 +index 567e888..1ba6dcf 100644 --- a/redhat/ripngd.service +++ b/redhat/ripngd.service -@@ -1,7 +1,7 @@ +@@ -1,14 +1,15 @@ [Unit] Description=RIP routing daemon for IPv6 - BindTo=zebra.service +-BindTo=zebra.service -After=syslog.target network.target zebra.service ++BindsTo=zebra.service +After=zebra.service ConditionPathExists=/etc/quagga/ripngd.conf [Service] -@@ -11,4 +11,4 @@ ExecStart=/usr/sbin/ripngd -d $RIPNGD_OPTS -f /etc/quagga/ripngd.conf + Type=forking ++PIDFile=/run/quagga/ripngd.pid + EnvironmentFile=/etc/sysconfig/quagga + ExecStart=/usr/sbin/ripngd -d $RIPNGD_OPTS -f /etc/quagga/ripngd.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target diff --git a/redhat/zebra.service b/redhat/zebra.service -index 27c3a52..5b9e454 100644 +index 27c3a52..259fc20 100644 --- a/redhat/zebra.service +++ b/redhat/zebra.service -@@ -1,6 +1,7 @@ +@@ -1,14 +1,16 @@ [Unit] Description=GNU Zebra routing manager -After=syslog.target network.target @@ -171,12 +172,13 @@ index 27c3a52..5b9e454 100644 ConditionPathExists=/etc/quagga/zebra.conf [Service] -@@ -11,4 +12,4 @@ ExecStart=/usr/sbin/zebra -d $ZEBRA_OPTS -f /etc/quagga/zebra.conf + Type=forking ++PIDFile=/run/quagga/zebra.pid + EnvironmentFile=-/etc/sysconfig/quagga + ExecStartPre=/sbin/ip route flush proto zebra + ExecStart=/usr/sbin/zebra -d $ZEBRA_OPTS -f /etc/quagga/zebra.conf Restart=on-abort [Install] -WantedBy=network.target +WantedBy=multi-user.target --- -1.8.1.4 - diff --git a/SPECS/quagga.spec b/SPECS/quagga.spec index c83c6d9..7715f48 100644 --- a/SPECS/quagga.spec +++ b/SPECS/quagga.spec @@ -7,12 +7,12 @@ Name: quagga Version: 0.99.22.4 -Release: 1%{?dist} +Release: 4%{?dist} Summary: Routing daemon License: GPLv2+ Group: System Environment/Daemons URL: http://www.quagga.net -Source0: http://www.quagga.net/download/%{name}-%{version}.tar.xz +Source0: http://download.savannah.gnu.org/releases/quagga/%{name}-%{version}.tar.xz Source1: quagga-filter-perl-requires.sh Source2: quagga-tmpfs.conf BuildRequires: systemd @@ -225,6 +225,16 @@ fi %{_includedir}/quagga/ospfd/*.h %changelog +* Thu Feb 13 2014 Michal Sekletar - 0.99.22.4-4 +- fix link to upstream tarball (#1059219) +- reference pidfiles of quagga daemons in service files (#842309) + +* Fri Jan 24 2014 Daniel Mach - 0.99.22.4-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 0.99.22.4-2 +- Mass rebuild 2013-12-27 + * Fri Sep 13 2013 Michal Sekletar - 0.99.22.4-1 - update to 0.99.22.4