Marcel Telka
2023-12-21 9a37f4af83b4a57d4abe2b5f57a79e0f54267aa2
nrpe: fix service refresh; switch to openssl-3.1

1 files added
5 files modified
31 ■■■■ changed files
components/sysutils/nrpe/Makefile 4 ●●●● patch | view | raw | blame | history
components/sysutils/nrpe/patches/01-no-nrpe-uninstall.patch 4 ●●●● patch | view | raw | blame | history
components/sysutils/nrpe/patches/02-smf-cfg-path.patch 4 ●●●● patch | view | raw | blame | history
components/sysutils/nrpe/patches/03-smf-creds.patch 4 ●●●● patch | view | raw | blame | history
components/sysutils/nrpe/patches/04-smf-refresh.patch 13 ●●●●● patch | view | raw | blame | history
components/sysutils/nrpe/pkg5 2 ●●● patch | view | raw | blame | history
components/sysutils/nrpe/Makefile
@@ -17,7 +17,7 @@
COMPONENT_NAME =        nrpe
COMPONENT_VERSION =        4.1.0
COMPONENT_REVISION =        1
COMPONENT_REVISION =        2
COMPONENT_SUMMARY =        Nagios Remote Plugin Executor
COMPONENT_PROJECT_URL =        https://github.com/NagiosEnterprises/nrpe
COMPONENT_FMRI =        system/management/nagios/nrpe
@@ -55,5 +55,5 @@
# Auto-generated dependencies
REQUIRED_PACKAGES += SUNWcs
REQUIRED_PACKAGES += library/security/openssl-11
REQUIRED_PACKAGES += library/security/openssl-31
REQUIRED_PACKAGES += system/library
components/sysutils/nrpe/patches/01-no-nrpe-uninstall.patch
@@ -1,5 +1,5 @@
--- nrpe-4.1.0/src/Makefile.in.orig    2022-09-03 08:03:42.587879112 +0000
+++ nrpe-4.1.0/src/Makefile.in    2022-09-03 08:03:52.019237210 +0000
--- nrpe-4.1.0/src/Makefile.in.orig
+++ nrpe-4.1.0/src/Makefile.in
@@ -74,7 +74,6 @@
 
 install-uninstall:
components/sysutils/nrpe/patches/02-smf-cfg-path.patch
@@ -1,5 +1,5 @@
--- nrpe-4.1.0/startup/solaris-init.xml.in.orig    2022-09-03 23:06:39.591423133 +0000
+++ nrpe-4.1.0/startup/solaris-init.xml.in    2022-09-03 23:06:49.459296706 +0000
--- nrpe-4.1.0/startup/solaris-init.xml.in.orig
+++ nrpe-4.1.0/startup/solaris-init.xml.in
@@ -68,7 +68,7 @@
             restart_on='restart'
             type='path'>
components/sysutils/nrpe/patches/03-smf-creds.patch
@@ -1,5 +1,5 @@
--- nrpe-4.1.0/startup/solaris-init.xml.in.orig    2022-09-04 08:25:13.012334859 +0000
+++ nrpe-4.1.0/startup/solaris-init.xml.in    2022-09-04 08:25:32.429454220 +0000
--- nrpe-4.1.0/startup/solaris-init.xml.in.orig
+++ nrpe-4.1.0/startup/solaris-init.xml.in
@@ -91,9 +91,6 @@
             name='start'
             exec='@sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg -d'
components/sysutils/nrpe/patches/04-smf-refresh.patch
New file
@@ -0,0 +1,13 @@
https://github.com/NagiosEnterprises/nrpe/pull/281
--- nrpe-4.1.0/startup/solaris-init.xml.in.orig
+++ nrpe-4.1.0/startup/solaris-init.xml.in
@@ -102,7 +102,7 @@
         <exec_method
             type='method'
             name='refresh'
-            exec=':hup'
+            exec=':kill -HUP'
             timeout_seconds='60'/>
         <property_group name='startd' type='framework'>
components/sysutils/nrpe/pkg5
@@ -1,7 +1,7 @@
{
    "dependencies": [
        "SUNWcs",
        "library/security/openssl-11",
        "library/security/openssl-31",
        "system/library"
    ],
    "fmris": [