forked from pool/net-snmp
Accepting request 985773 from home:schubi2
- Moved logrotate files from user specific directory /etc/logrotate.d to vendor specific directory /usr/etc/logrotate.d. OBS-URL: https://build.opensuse.org/request/show/985773 OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=44
This commit is contained in:
parent
b2dc2d3287
commit
6aec332b8f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 29 11:21:07 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||
|
||||
- Moved logrotate files from user specific directory /etc/logrotate.d
|
||||
to vendor specific directory /usr/etc/logrotate.d.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 30 15:32:41 UTC 2022 - Alexander Bergmann <abergmann@suse.com>
|
||||
|
||||
|
@ -285,7 +285,12 @@ install -D -m 0644 dist/snmpd.service %{buildroot}%{_unitdir}/snmpd.service
|
||||
install -D -m 0644 dist/snmptrapd.service %{buildroot}%{_unitdir}/snmptrapd.service
|
||||
install -D -m 0600 %{SOURCE1} %{buildroot}%{_sysconfdir}/snmp/snmpd.conf
|
||||
install -m 0644 %{SOURCE2} .
|
||||
%if 0%{?suse_version} > 1500
|
||||
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
|
||||
install -D -m 0644 %{SOURCE3} %{buildroot}%{_distconfdir}/logrotate.d/net-snmp
|
||||
%else
|
||||
install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/net-snmp
|
||||
%endif
|
||||
install -m 0744 %{SOURCE4} testing/
|
||||
ln -sf service %{buildroot}%{_sbindir}/rcsnmpd
|
||||
ln -sf service %{buildroot}%{_sbindir}/rcsnmptrapd
|
||||
@ -379,7 +384,11 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_localstatedir}/lib/net-snmp
|
||||
%dir %ghost %attr(700,root,root) %{netsnmp_agentx_socket_dir_fhs}
|
||||
%ghost %{netsnmp_logfile}
|
||||
%if 0%{?suse_version} > 1500
|
||||
%{_distconfdir}/logrotate.d/net-snmp
|
||||
%else
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/net-snmp
|
||||
%endif
|
||||
%{_fillupdir}/sysconfig.snmpd
|
||||
%{_fillupdir}/sysconfig.snmptrapd
|
||||
%{netsnmp_agentx_socket_dir_rfc}
|
||||
|
Loading…
Reference in New Issue
Block a user