diff --git a/net-snmp.spec b/net-snmp.spec index 61bf9b6..f7564b0 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -3,7 +3,7 @@ Summary: A collection of SNMP protocol tools and libraries. Name: net-snmp Version: 5.1.2 -Release: 10 +Release: 11 License: BSDish Group: System Environment/Daemons Source0: ftp://net-snmp.sourceforge.net/net-snmp-%{version}.tar.gz @@ -334,6 +334,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/*.la %changelog +* Fri Oct 15 2004 Radek Vokal 5.1.2-11 +- Logrotate support added (#125004) + * Thu Oct 14 2004 Phil Knirsch 5.1.2-10 - Extended the libwrap and bsdcompat patches diff --git a/net-snmpd.logrotate b/net-snmpd.logrotate index 19a2993..0244e02 100644 --- a/net-snmpd.logrotate +++ b/net-snmpd.logrotate @@ -1,4 +1,7 @@ /var/log/snmpd.log { notifempty missingok + postrotate + /sbin/service snmpd condrestart 2> /dev/null > /dev/null || true + endscript }