quagga.logrotate: remove generic weekly and nocompress options
quagga.spec.in: build snmp support, update prequisites ucd-snmp to net-snmp
diff --git a/redhat/quagga.logrotate b/redhat/quagga.logrotate
index 58cbe7f..a649438 100644
--- a/redhat/quagga.logrotate
+++ b/redhat/quagga.logrotate
@@ -1,8 +1,6 @@
/var/log/quagga/zebra.log {
notifempty
missingok
- nocompress
- weekly
postrotate
/usr/sbin/killall -USR1 zebra
endscript
@@ -11,8 +9,6 @@
/var/log/quagga/bgpd.log {
notifempty
missingok
- nocompress
- weekly
postrotate
/usr/sbin/killall -USR1 bgpd
endscript
@@ -21,8 +17,6 @@
/var/log/quagga/ospfd.log {
notifempty
missingok
- nocompress
- weekly
postrotate
/usr/sbin/killall -USR1 ospfd
endscript
@@ -31,8 +25,6 @@
/var/log/quagga/ospf6d.log {
notifempty
missingok
- nocompress
- weekly
postrotate
/usr/sbin/killall -USR1 ospf6d
endscript
@@ -41,8 +33,6 @@
/var/log/quagga/ripd.log {
notifempty
missingok
- nocompress
- weekly
postrotate
/usr/sbin/killall -USR1 ripd
endscript
@@ -51,8 +41,6 @@
/var/log/quagga/ripngd.log {
notifempty
missingok
- nocompress
- weekly
postrotate
/usr/sbin/killall -USR1 ripngd
endscript
diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in
index f3b87b9..fcfc758 100644
--- a/redhat/quagga.spec.in
+++ b/redhat/quagga.spec.in
@@ -1,5 +1,5 @@
# configure options
-%define with_snmp 0
+%define with_snmp 1
%define with_vtysh 1
%define with_ospf_te 1
%define with_nssa 1
@@ -45,8 +45,8 @@
Source0: http://www.quagga.net/snapshots/cvs/%{name}-%{version}.tar.gz
URL: http://www.quagga.net
%if %with_snmp
-BuildRequires: ucd-snmp-devel
-Prereq: ucd-snmp
+BuildRequires: net-snmp-devel
+Prereq: net-snmp
%endif
%if %with_vtysh
BuildRequires: readline readline-devel ncurses ncurses-devel