# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2022 Marcel Telka # include ../../../make-rules/shared-macros.mk COMPONENT_NAME = nrpe COMPONENT_VERSION = 4.1.0 COMPONENT_SUMMARY = Nagios Remote Plugin Executor COMPONENT_PROJECT_URL = https://github.com/NagiosEnterprises/nrpe COMPONENT_FMRI = system/management/nagios/nrpe COMPONENT_CLASSIFICATION = System/Enterprise Management COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_URL = \ https://github.com/NagiosEnterprises/nrpe/releases/download/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE) COMPONENT_ARCHIVE_HASH = \ sha256:a1f14aa8aaf935b576cc55ab5d77b7cb9c920d7702aff44c9d18c4c841ef8ecc COMPONENT_LICENSE = GPL-2.0-only COMPONENT_LICENSE_FILE = LICENSE.md TEST_TARGET = $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk CONFIGURE_OPTIONS += --enable-install-method=os CONFIGURE_OPTIONS += --with-piddir=$(VARDIR)/run CONFIGURE_OPTIONS += --with-nrpe-user=nrpe CONFIGURE_OPTIONS += --with-nrpe-group=nrpe COMPONENT_BUILD_TARGETS = nrpe COMPONENT_INSTALL_ARGS += NAGIOS_INSTALL_OPTS= COMPONENT_INSTALL_ARGS += NRPE_INSTALL_OPTS= # The default 'install' target installs both nrpe and check_nrpe. Since we do # not need check_nrpe for now we need to override it by 'install-daemon' # target. COMPONENT_INSTALL_TARGETS = install-daemon COMPONENT_INSTALL_TARGETS += install-config COMPONENT_INSTALL_TARGETS += install-init # Auto-generated dependencies REQUIRED_PACKAGES += library/security/openssl REQUIRED_PACKAGES += SUNWcs REQUIRED_PACKAGES += system/library