This little repo provides the means to build separate NRDP server and client RPMs for use on RHEL-type systems
The client RPM makes use of the alternatives
system to permit different
implementations of send_nrpd
to be installed concurrently; the version
supplied by this package is written in PHP, however you might feel about
command-line PHP (I personally think it's a catastrophic abomination) but
that's the "reference implementation" supplied by Nagios Enterprises, LLC.
- Make sure you're on a system that can
rpmbuild
properly - Type
make
- Copy the resulting SRPM and/or RPM from
${HOME}/rpmbuild/{RPMS,SRPMS}
- Make sure you're on a system that can use
mock
properly - Type
make mock
- Copy the resulting SRPM and/or RPMs from
${MOCK_ROOT/result}
The default mock target is epel-6-x86_64
(the architecture doesn't matter
too much as the RPMs are noarch
). If for some reason you want to build
for a different configuration, you can either:
- Edit the Makefile to update the
MOCK_CONFIG
variable; or - use
MOCK_CONFIG=other_config_name make mock
on the command-line
These scripts are licensed under the GPLv3; the actual code contained
within the NRDP server reference implementation, and the PHP-based
send_nrdp
client are licensed under the Nagios Open Software License.