pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/ups-nut/patches
Module Name: pkgsrc
Committed By: gdt
Date: Thu Nov 9 18:01:06 UTC 2023
Added Files:
pkgsrc/sysutils/ups-nut/patches: patch-server_sockdebug.c
Log Message:
ups-nut: Add patchfile already in distinfo
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/ups-nut/patches/patch-server_sockdebug.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/ups-nut/patches/patch-server_sockdebug.c
diff -u /dev/null pkgsrc/sysutils/ups-nut/patches/patch-server_sockdebug.c:1.1
--- /dev/null Thu Nov 9 18:01:06 2023
+++ pkgsrc/sysutils/ups-nut/patches/patch-server_sockdebug.c Thu Nov 9 18:01:06 2023
@@ -0,0 +1,21 @@
+$NetBSD: patch-server_sockdebug.c,v 1.1 2023/11/09 18:01:06 gdt Exp $
+
+Work around upstream bug of including libwrap on a test program not written for tcp wrappers.
+
+Reported upstream by email 20231109.
+
+--- server/sockdebug.c.orig 2023-09-17 14:34:05.000000000 +0000
++++ server/sockdebug.c
+@@ -32,6 +32,12 @@
+ #include "parseconf.h"
+ #include "nut_stdint.h"
+
++#ifdef HAVE_WRAP
++#include <tcpd.h>
++int allow_severity = LOG_INFO;
++int deny_severity = LOG_WARNING;
++#endif /* HAVE_WRAP */
++
+ static PCONF_CTX_t sock_ctx;
+
+ static void sock_arg(size_t numarg, char **arg)
Home |
Main Index |
Thread Index |
Old Index