Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
nagios-plugins-rsync
nagios-plugins-rsync.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-plugins-rsync.spec of Package nagios-plugins-rsync
# # spec file for package nagios-plugins-rsync # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: nagios-plugins-rsync Summary: Nagios plugin for checking rsync servers availability Version: 1.02 Release: 14 Url: https://www.monitoringexchange.org/p/817 License: GPL-3.0 Group: System/Monitoring Source0: check_rsync Source1: COPYING Patch1: nagios-plugins-rsync-timeout.patch %if 0%{?suse_version} > 1010 # nagios can execute the script with embedded perl Recommends: perl %endif Requires: rsync BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define libexecdir %_prefix/lib/nagios/plugins %description Checks rsync servers availability, as well as (optionally) individual modules availability. It also supports authentication on modules. Usage: check_rsync -H [-p ] [-m [,,] [-m [,,]...]] The only required argument is -H, in which case it will only try to list modules on the Rsync server. Authors: -------- Thomas Guyot-Sionnest <tguyot@gmail.com> %prep %setup -q -T -c %name install -m644 %{SOURCE0} . %patch1 -p0 %build %install mkdir -p %buildroot/%{libexecdir} sed -e "s|/usr/local/nagios/libexec|%{libexecdir}|g" check_rsync > %buildroot/%{libexecdir}/check_rsync chmod +x %buildroot/%{libexecdir}/check_rsync %clean rm -rf %buildroot %files %defattr(-,root,root) # avoid build dependecy of nagios - own the dirs %dir %_prefix/lib/nagios %dir %{libexecdir} %{libexecdir}/check_rsync %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor