pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils zabbix*: spread curl 7.87.0 bug workaround



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a40ed37dc0e
branches:  trunk
changeset: 390579:8a40ed37dc0e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Dec 23 12:34:05 2022 +0000

description:
zabbix*: spread curl 7.87.0 bug workaround

diffstat:

 sysutils/zabbix/Makefile.common          |  5 ++++-
 sysutils/zabbix50-agent/Makefile         |  5 +----
 sysutils/zabbix50-server/Makefile.common |  5 ++++-
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs (51 lines):

diff -r 8584fdcf8ed1 -r 8a40ed37dc0e sysutils/zabbix/Makefile.common
--- a/sysutils/zabbix/Makefile.common   Fri Dec 23 12:20:47 2022 +0000
+++ b/sysutils/zabbix/Makefile.common   Fri Dec 23 12:34:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2020/09/17 13:52:15 otis Exp $
+# $NetBSD: Makefile.common,v 1.18 2022/12/23 12:34:05 wiz Exp $
 # used by sysutils/zabbix/Makefile
 # used by sysutils/zabbix-frontend/Makefile
 
@@ -12,3 +12,6 @@
 
 DISTINFO_FILE= ${.CURDIR}/../../sysutils/zabbix/distinfo
 PATCHDIR=      ${.CURDIR}/../../sysutils/zabbix/patches
+
+# workaround for https://github.com/curl/curl/issues/10148
+CPPFLAGS+=     -DCURL_DISABLE_TYPECHECK
diff -r 8584fdcf8ed1 -r 8a40ed37dc0e sysutils/zabbix50-agent/Makefile
--- a/sysutils/zabbix50-agent/Makefile  Fri Dec 23 12:20:47 2022 +0000
+++ b/sysutils/zabbix50-agent/Makefile  Fri Dec 23 12:34:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/12/23 11:03:13 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/12/23 12:34:05 wiz Exp $
 
 PKGREVISION= 4
 .include "../../sysutils/zabbix50-server/Makefile.common"
@@ -18,9 +18,6 @@
 CONFIGURE_ARGS+=       --with-libpcre=${BUILDLINK_PREFIX.pcre}
 CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
 
-# workaround for https://github.com/curl/curl/issues/10148
-CPPFLAGS+=     -DCURL_DISABLE_TYPECHECK
-
 EGDIR=         share/examples/${PKGBASE}
 CONF_FILES+=   ${EGDIR}/zabbix_agentd.conf ${PKG_SYSCONFDIR}/zabbix_agentd.conf
 
diff -r 8584fdcf8ed1 -r 8a40ed37dc0e sysutils/zabbix50-server/Makefile.common
--- a/sysutils/zabbix50-server/Makefile.common  Fri Dec 23 12:20:47 2022 +0000
+++ b/sysutils/zabbix50-server/Makefile.common  Fri Dec 23 12:34:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2021/11/13 20:41:10 otis Exp $
+# $NetBSD: Makefile.common,v 1.5 2022/12/23 12:34:05 wiz Exp $
 # used by sysutils/zabbix50-agent/Makefile
 # used by sysutils/zabbix50-proxy/Makefile
 # used by sysutils/zabbix50-server/Makefile
@@ -26,3 +26,6 @@
 FILES_SUBST+=                  ZABBIX_GROUP=${ZABBIX_GROUP}
 
 OWN_DIRS_PERMS+=               ${ZABBIX_HOMEDIR} ${ZABBIX_USER} ${ZABBIX_GROUP} 0755
+
+# workaround for https://github.com/curl/curl/issues/10148
+CPPFLAGS+=     -DCURL_DISABLE_TYPECHECK



Home | Main Index | Thread Index | Old Index