Commit Graph

132 Commits

Author SHA1 Message Date
Peter Robinson
8f015eac43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 23:05:29 +00:00
Dennis Gilmore
edd56b08f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 20:33:23 -05:00
Michal Sekletar
63f996c821 zebra: raise the privileges before calling socket()
Because of recent changes when creating AF_NETLINK socket, kernel will
cache capabilities of the caller and if file descriptor is used or
otherwise handed to another process it will check that current user has
necessary capabilities to use the socket. Hence we need to ensure we
have necessary capabilities when creating the socket and at the time we
use the socket.

See: http://www.spinics.net/lists/netdev/msg280198.html
Resolves: #1097684
2014-05-26 16:28:05 +02:00
Michal Sekletar
2e3aea77a2 spec: fix date in the changelog 2014-01-29 13:49:50 +01:00
Michal Sekletar
671d207c61 spec: fix source url
tarballs for official upstream releases are stored at
http://download.savannah.gnu.org/releases/quagga/
2014-01-29 13:47:24 +01:00
Michal Sekletar
cd7585ea4d spec: it is 2014 already 2014-01-06 13:25:40 +01:00
Michal Sekletar
935ba739d0 systemd: reference pidfiles in service files
quagga daemons don't remove pidfiles before exit. Previously it was done by
init script, now pidfiles stay around after daemon is stopped. If they are
referenced in service files systemd will remove them automatically after service
is stopped.

Also fix typo, there is no BindTo dependency, change to BindsTo.
2014-01-06 13:21:59 +01:00
Michal Sekletar
278464f2ec spec: update to 0.99.22.4 2013-09-13 18:00:11 +02:00
Petr Písař
5f75efbaed Perl 5.18 rebuild 2013-08-03 15:49:11 +02:00
Michal Sekletar
9479f8bfb8 spec: update to 0.99.22.3
This release fixes failing build on FreeBSD. Once again, not really
needed but for consistency sake we'll just do it anyway.
2013-07-30 19:06:51 +02:00
Michal Sekletar
6d1f50934b spec: fix copy-paste error in NVR in changelog 2013-07-30 16:52:14 +02:00
Michal Sekletar
9de1505d36 spec: enable hardened build
rpm-checksec revealed that ospfd is not compiled as PIE. We enable
hardened build in specfile, this should not break anything and it should
take care of enabling security related compiler options.
2013-07-30 16:46:43 +02:00
Michal Sekletar
30871293d5 spec: add systemd to BuildRequires
We install tmpfiles configuration fragment and %{_tmpfilesdir} macro is
provided by systemd. Let's please this save and add systemd explicitly
as build requirement.
2013-07-30 16:30:18 +02:00
Michal Sekletar
6130a74175 spec: update to 0.99.22.2
Update to the latest upstream. 0.99.22.2 delivers only the fix for
CVE-2013-2236. We have ospfapi and ospfclient disabled, but in order
to be consistent we push update anyway.

Resolves: #990015

http://nongnu.askapache.com//quagga/quagga-0.99.22.2.changelog.txt
2013-07-30 16:21:06 +02:00
Michal Sekletar
eb8f08ba5e spec: fix bogus dates in changelog 2013-07-23 14:13:06 +02:00
Michal Sekletar
c17c7f3c42 ospfd: disable ospfapi and ospfclient
Disable those features during configuration of package build since they
present security risk and never really worked properly anyway.

http://lists.quagga.net/pipermail/quagga-dev/2013-July/010622.html
2013-07-23 14:13:04 +02:00
Petr Písař
843dacf9cf Perl 5.18 rebuild 2013-07-18 02:56:23 +02:00
Michal Sekletar
fe94d73489 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.
2013-06-21 20:34:02 +02:00
Michal Sekletar
a0891a693d spec: fix rpm scripts handling documentation in info format 2013-06-10 15:10:40 +02:00
Michal Sekletar
6221d91101 spec: use %{_tmpfilesdir} macro instead of hard coded path 2013-06-10 15:09:32 +02:00
Michal Sekletar
1e6014930f spec: obsolete sysvinit subpackage 2013-06-10 13:18:18 +02:00
Michal Sekletar
6d65f131c3 spec: configure quagga using correct user 2013-06-06 15:01:39 +02:00
Michal Sekletar
06d201d22d spec: call chmod on correct path 2013-05-28 16:33:13 +02:00
Michal Sekletar
4301666558 spec: build package with appropriate compiler flags 2013-05-27 15:32:07 +02:00
Michal Sekletar
b2ec84e2cd spec: fix broken dependencies
We should depend on /sbin/install-info instead of
/usr/sbin/install-info. Once usrmove is done properly we can change
it back.

Also we should claim ownership of directory %{_libdir}/quagga.
2013-05-17 14:19:45 +02:00
Michal Sekletar
da8daef3e2 spec: rebase to version 0.99.22.1
Rebase quagga to the newest upstream release 0.99.22.1. Drop unneeded
patch.

Changelog:
http://gnu.mirrors.pair.com/savannah/savannah//quagga/quagga-0.99.22.1.changelog.txt
2013-05-14 14:49:04 +02:00
Michal Sekletar
052748f271 spec: install tmpfiles configuration to /usr/lib/tmpfiles.d
https://fedoraproject.org/wiki/Packaging:Tmpfiles.d
2013-04-19 17:00:53 +02:00
Michal Sekletar
06add1b054 spec: cleanup a little bit 2013-04-19 16:54:31 +02:00
Adam Tkac
611000ff34 Fix building of documentation
Signed-off-by: Adam Tkac <atkac@redhat.com>
2013-03-26 13:39:22 +01:00
Adam Tkac
a26f9aeab4 Update to 0.99.22
- quagga-CVE-2012-1820.patch has been merged
- explicitly enable SMNP AgentX interface

Signed-off-by: Adam Tkac <atkac@redhat.com>
2013-02-20 14:49:18 +01:00
Dennis Gilmore
ed23ed1175 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 15:16:21 -06:00
Dennis Gilmore
b588ceae89 Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-27 01:16:04 -05:00
Adam Tkac
f24af48eca Build with -fno-strict-aliasing
Signed-off-by: Adam Tkac <atkac@redhat.com>
2012-07-12 14:55:36 +02:00
Adam Tkac
dd793e2bff Fix CVE-2012-1820
Signed-off-by: Adam Tkac <atkac@redhat.com>
2012-06-07 12:04:24 +02:00
Adam Tkac
3e4599a767 Add note to changelog.
Signed-off-by: Adam Tkac <atkac@redhat.com>
2012-05-03 13:27:50 +02:00
David Ward
70cee2f641 Update to version 0.99.21
- Add babeld (Babel routing protocol daemon, RFC 6126)
- Use .tar.xz source distribution
- Drop all patches (included upstream)
- Move watchquagga to -sysvinit
  (The systemd service files are now configured to automatically
  restart any daemon on failure. If zebra fails, all running
  daemons will be stopped; zebra will be started again; and then
  the previously running daemons will be started again.)
2012-05-03 13:11:13 +02:00
David Ward
ebcf8bbb05 Only include sample configuration files for daemons that are built 2012-05-03 10:56:16 +02:00
David Ward
5a4dc4b410 Only install configuration samples in /usr/share/doc (not /etc/quagga) 2012-05-03 10:56:07 +02:00
David Ward
f301ef1201 Set ownership of generated vtysh.conf properly 2012-05-03 10:55:55 +02:00
David Ward
ff438e62ce Enable isisd build (actually fix #716561) 2012-05-03 10:55:46 +02:00
David Ward
75d4e0e339 Fix build and uninstall-trigger for '--without ipv6' option 2012-05-03 10:55:27 +02:00
David Ward
2f90639ba4 Remove unneeded hack to force PIE build 2012-05-03 10:54:26 +02:00
David Ward
2d3a5c9048 Remove non-existing switch for NSSA support 2012-05-03 10:54:17 +02:00
David Ward
7cb68b3abe Fix package descriptions 2012-05-03 10:54:02 +02:00
Jiri Skala
717648361c updated to latest upstream version 0.99.20.1 2012-03-15 10:07:22 +01:00
Dennis Gilmore
797d5e9624 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 20:34:01 -06:00
Jiri Skala
23b84de611 modified permissions of var dirs (fixes #755491) 2011-11-23 11:53:37 +01:00
Dennis Gilmore
faf70d9ddb - Rebuilt for glibc bug#747377 2011-10-26 19:21:54 -05:00
Jiri Skala
157ad9cb4c fixes #746886 - severe memory leak in quagga 0.99.{19,20} 2011-10-18 09:20:42 +02:00
Jiri Skala
55e2f587ec update to 0.99.20, corrected fix CVE-2011-3325 2011-09-30 07:55:51 +02:00