x86_64: install plugins to %{_libdir} [release 2.1.2-2mamba;Sat Nov 12 2016]
This commit is contained in:
parent
f0141b54e2
commit
3246d1e2ea
@ -1,6 +1,6 @@
|
|||||||
Name: nagios-plugins
|
Name: nagios-plugins
|
||||||
Version: 2.1.2
|
Version: 2.1.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Host/service/network monitoring program plugins for Nagios
|
Summary: Host/service/network monitoring program plugins for Nagios
|
||||||
Group: Network/Monitoring
|
Group: Network/Monitoring
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -43,8 +43,8 @@ This package contains the basic plugins necessary for use with the Nagios packag
|
|||||||
export PATH="/usr/sbin:$PATH"
|
export PATH="/usr/sbin:$PATH"
|
||||||
%configure \
|
%configure \
|
||||||
PATH_TO_FPING=%{_sbindir}/fping \
|
PATH_TO_FPING=%{_sbindir}/fping \
|
||||||
--libdir=%{_prefix}/lib/nagios/plugins \
|
--libdir=%{_libdir}/nagios/plugins \
|
||||||
--libexecdir=%{_prefix}/lib/nagios/plugins \
|
--libexecdir=%{_libdir}/nagios/plugins \
|
||||||
--with-trusted-path="/bin:/sbin:/usr/bin:/usr/sbin" \
|
--with-trusted-path="/bin:/sbin:/usr/bin:/usr/sbin" \
|
||||||
--with-cgiurl=/nagios/cgi-bin \
|
--with-cgiurl=/nagios/cgi-bin \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
@ -63,9 +63,9 @@ export PATH="/usr/sbin:$PATH"
|
|||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
# remove unpackaged plugins
|
# remove unpackaged plugins
|
||||||
rm -f %{buildroot}/%{_prefix}/lib/nagios/plugins/check_uptime
|
rm -f %{buildroot}/%{_libdir}/nagios/plugins/check_uptime
|
||||||
|
|
||||||
chmod 644 %{buildroot}/%{_prefix}/lib/nagios/plugins/utils.pm
|
chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -73,16 +73,19 @@ chmod 644 %{buildroot}/%{_prefix}/lib/nagios/plugins/utils.pm
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/lib/nagios/plugins
|
%dir %{_libdir}/nagios/plugins
|
||||||
%attr(755,root,root) %{_prefix}/lib/nagios/plugins/check_*
|
%attr(755,root,root) %{_libdir}/nagios/plugins/check_*
|
||||||
%{_prefix}/lib/nagios/plugins/negate
|
%{_libdir}/nagios/plugins/negate
|
||||||
%{_prefix}/lib/nagios/plugins/urlize
|
%{_libdir}/nagios/plugins/urlize
|
||||||
%{_prefix}/lib/nagios/plugins/utils.pm
|
%{_libdir}/nagios/plugins/utils.pm
|
||||||
%{_prefix}/lib/nagios/plugins/utils.sh
|
%{_libdir}/nagios/plugins/utils.sh
|
||||||
%doc COPYING LEGAL
|
%doc COPYING LEGAL
|
||||||
#CODING FAQ README REQUIREMENTS SUPPORT ChangeLog command.cfg
|
#CODING FAQ README REQUIREMENTS SUPPORT ChangeLog command.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-2mamba
|
||||||
|
- x86_64: install plugins to %{_libdir}
|
||||||
|
|
||||||
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
|
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user