libsm: update to 1.2.5
[oi-userland.git] / components / sysutils / nrpe / Makefile
blobe204e56e3d6a7eaf2e21393f469d460d76807b96
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2022 Marcel Telka
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME = nrpe
19 COMPONENT_VERSION = 4.1.3
20 COMPONENT_SUMMARY = Nagios Remote Plugin Executor
21 COMPONENT_PROJECT_URL = https://github.com/NagiosEnterprises/nrpe
22 COMPONENT_FMRI = system/management/nagios/nrpe
23 COMPONENT_CLASSIFICATION = System/Enterprise Management
24 COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL = \
27 https://github.com/NagiosEnterprises/nrpe/releases/download/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
28 COMPONENT_ARCHIVE_HASH = \
29 sha256:5a86dfde6b9732681abcd6ea618984f69781c294b8862a45dfc18afaca99a27a
30 COMPONENT_LICENSE = GPL-2.0-only
31 COMPONENT_LICENSE_FILE = LICENSE.md
33 TEST_TARGET = $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 CONFIGURE_OPTIONS += --enable-install-method=os
38 CONFIGURE_OPTIONS += --enable-command-args
39 CONFIGURE_OPTIONS += --with-piddir=$(VARDIR)/run
40 CONFIGURE_OPTIONS += --with-ssl=$(OPENSSL_PREFIX)
41 CONFIGURE_OPTIONS += --with-nrpe-user=nrpe
42 CONFIGURE_OPTIONS += --with-nrpe-group=nrpe
44 COMPONENT_BUILD_TARGETS = nrpe
46 COMPONENT_INSTALL_ARGS += NAGIOS_INSTALL_OPTS=
47 COMPONENT_INSTALL_ARGS += NRPE_INSTALL_OPTS=
48 # The default 'install' target installs both nrpe and check_nrpe. Since we do
49 # not need check_nrpe for now we need to override it by 'install-daemon'
50 # target.
51 COMPONENT_INSTALL_TARGETS = install-daemon
52 COMPONENT_INSTALL_TARGETS += install-config
53 COMPONENT_INSTALL_TARGETS += install-init
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES += $(OPENSSL_PKG)
57 REQUIRED_PACKAGES += SUNWcs
58 REQUIRED_PACKAGES += system/library