summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorpaul <paul>2004-08-19 03:36:13 +0000
committerpaul <paul>2004-08-19 03:36:13 +0000
commitb63cef7c41e2ea92836a2c4570dc34b06c4c5ab7 (patch)
tree3ae12055df62b5ed50486e72583d20b30622c615 /redhat
parentc0618de64ca81b9f1f2fd05e43c24f155234b451 (diff)
quagga.logrotate: remove generic weekly and nocompress options
quagga.spec.in: build snmp support, update prequisites ucd-snmp to net-snmp
Diffstat (limited to 'redhat')
-rw-r--r--redhat/quagga.logrotate12
-rw-r--r--redhat/quagga.spec.in6
2 files changed, 3 insertions, 15 deletions
diff --git a/redhat/quagga.logrotate b/redhat/quagga.logrotate
index 58cbe7f0..a6494381 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 f3b87b92..fcfc7589 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 @@ Group: System Environment/Daemons
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