From fc7dfab3d07d4d89cdff83bf3e91992ad03550a2 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 11 Jan 2023 07:55:22 +0100 Subject: [PATCH] security/stunnel: sync with master --- security/stunnel/Makefile | 1 + .../stunnel/src/opnsense/scripts/stunnel/generate_certs.php | 1 + security/stunnel/src/opnsense/scripts/stunnel/identd_stunnel.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile index c27c8c326..304126be7 100644 --- a/security/stunnel/Makefile +++ b/security/stunnel/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= stunnel PLUGIN_VERSION= 1.0.5 +PLUGIN_REVISION= 1 PLUGIN_COMMENT= Stunnel TLS proxy PLUGIN_MAINTAINER= ad@opnsense.org PLUGIN_DEPENDS= stunnel diff --git a/security/stunnel/src/opnsense/scripts/stunnel/generate_certs.php b/security/stunnel/src/opnsense/scripts/stunnel/generate_certs.php index 4aeb667e4..da6962980 100755 --- a/security/stunnel/src/opnsense/scripts/stunnel/generate_certs.php +++ b/security/stunnel/src/opnsense/scripts/stunnel/generate_certs.php @@ -27,6 +27,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +require_once('util.inc'); require_once('plugins.inc'); require_once('config.inc'); require_once('certs.inc'); diff --git a/security/stunnel/src/opnsense/scripts/stunnel/identd_stunnel.py b/security/stunnel/src/opnsense/scripts/stunnel/identd_stunnel.py index 115619d40..3017429d5 100755 --- a/security/stunnel/src/opnsense/scripts/stunnel/identd_stunnel.py +++ b/security/stunnel/src/opnsense/scripts/stunnel/identd_stunnel.py @@ -200,7 +200,7 @@ if __name__ == '__main__': parser.add_argument('--foreground', help='run in forground', default=False, action='store_true') inputargs = parser.parse_args() - syslog.openlog('identd_stunnel', logoption=syslog.LOG_DAEMON, facility=syslog.LOG_LOCAL4) + syslog.openlog('identd_stunnel', facility=syslog.LOG_LOCAL4) if inputargs.foreground: run_listener()