quagga.logrotate: remove generic weekly and nocompress options

quagga.spec.in: build snmp support, update prequisites ucd-snmp to net-snmp
This commit is contained in:
paul 2004-08-19 03:36:13 +00:00
parent c0618de64c
commit b63cef7c41
2 changed files with 3 additions and 15 deletions

View File

@ -1,8 +1,6 @@
/var/log/quagga/zebra.log { /var/log/quagga/zebra.log {
notifempty notifempty
missingok missingok
nocompress
weekly
postrotate postrotate
/usr/sbin/killall -USR1 zebra /usr/sbin/killall -USR1 zebra
endscript endscript
@ -11,8 +9,6 @@
/var/log/quagga/bgpd.log { /var/log/quagga/bgpd.log {
notifempty notifempty
missingok missingok
nocompress
weekly
postrotate postrotate
/usr/sbin/killall -USR1 bgpd /usr/sbin/killall -USR1 bgpd
endscript endscript
@ -21,8 +17,6 @@
/var/log/quagga/ospfd.log { /var/log/quagga/ospfd.log {
notifempty notifempty
missingok missingok
nocompress
weekly
postrotate postrotate
/usr/sbin/killall -USR1 ospfd /usr/sbin/killall -USR1 ospfd
endscript endscript
@ -31,8 +25,6 @@
/var/log/quagga/ospf6d.log { /var/log/quagga/ospf6d.log {
notifempty notifempty
missingok missingok
nocompress
weekly
postrotate postrotate
/usr/sbin/killall -USR1 ospf6d /usr/sbin/killall -USR1 ospf6d
endscript endscript
@ -41,8 +33,6 @@
/var/log/quagga/ripd.log { /var/log/quagga/ripd.log {
notifempty notifempty
missingok missingok
nocompress
weekly
postrotate postrotate
/usr/sbin/killall -USR1 ripd /usr/sbin/killall -USR1 ripd
endscript endscript
@ -51,8 +41,6 @@
/var/log/quagga/ripngd.log { /var/log/quagga/ripngd.log {
notifempty notifempty
missingok missingok
nocompress
weekly
postrotate postrotate
/usr/sbin/killall -USR1 ripngd /usr/sbin/killall -USR1 ripngd
endscript endscript

View File

@ -1,5 +1,5 @@
# configure options # configure options
%define with_snmp 0 %define with_snmp 1
%define with_vtysh 1 %define with_vtysh 1
%define with_ospf_te 1 %define with_ospf_te 1
%define with_nssa 1 %define with_nssa 1
@ -45,8 +45,8 @@ Group: System Environment/Daemons
Source0: http://www.quagga.net/snapshots/cvs/%{name}-%{version}.tar.gz Source0: http://www.quagga.net/snapshots/cvs/%{name}-%{version}.tar.gz
URL: http://www.quagga.net URL: http://www.quagga.net
%if %with_snmp %if %with_snmp
BuildRequires: ucd-snmp-devel BuildRequires: net-snmp-devel
Prereq: ucd-snmp Prereq: net-snmp
%endif %endif
%if %with_vtysh %if %with_vtysh
BuildRequires: readline readline-devel ncurses ncurses-devel BuildRequires: readline readline-devel ncurses ncurses-devel