From b63cef7c41e2ea92836a2c4570dc34b06c4c5ab7 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 19 Aug 2004 03:36:13 +0000 Subject: quagga.logrotate: remove generic weekly and nocompress options quagga.spec.in: build snmp support, update prequisites ucd-snmp to net-snmp --- redhat/quagga.logrotate | 12 ------------ redhat/quagga.spec.in | 6 +++--- 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 -- cgit v1.2.1