Received: by mail.netbsd.org (Postfix, from userid 605) id BD8B684EAD; Wed, 11 Jan 2023 09:27:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EC9CC84D8D for ; Wed, 11 Jan 2023 09:27:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id VZbHcKD_qVDg for ; Wed, 11 Jan 2023 09:27:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 470F884D43 for ; Wed, 11 Jan 2023 09:27:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 404C6FA90; Wed, 11 Jan 2023 09:27:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1673429248181630" MIME-Version: 1.0 Date: Wed, 11 Jan 2023 09:27:28 +0000 From: "Christopher KOBAYASHI" Subject: CVS commit: pkgsrc/net/nagios-plugins To: pkgsrc-changes@NetBSD.org Reply-To: sekiya@netbsd.org X-Mailer: log_accum Message-Id: <20230111092728.404C6FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1673429248181630 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: sekiya Date: Wed Jan 11 09:27:28 UTC 2023 Modified Files: pkgsrc/net/nagios-plugins: distinfo pkgsrc/net/nagios-plugins/patches: patch-plugins_check_radius.c Log Message: Linux-flavored includes should not be the default. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 pkgsrc/net/nagios-plugins/distinfo cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/net/nagios-plugins/patches/patch-plugins_check_radius.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1673429248181630 Content-Disposition: inline Content-Length: 2564 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/nagios-plugins/distinfo diff -u pkgsrc/net/nagios-plugins/distinfo:1.28 pkgsrc/net/nagios-plugins/distinfo:1.29 --- pkgsrc/net/nagios-plugins/distinfo:1.28 Mon Jan 9 00:28:41 2023 +++ pkgsrc/net/nagios-plugins/distinfo Wed Jan 11 09:27:27 2023 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.28 2023/01/09 00:28:41 sekiya Exp $ +$NetBSD: distinfo,v 1.29 2023/01/11 09:27:27 sekiya Exp $ BLAKE2s (nagios-plugins-2.3.3.tar.gz) = 4eee57a0cae28eab4a115d1f518506a7c33ab0ab66e505088a7af2a65308bb22 SHA512 (nagios-plugins-2.3.3.tar.gz) = 2128601b1098eb82f4e7d720b96a5f92d6ad75dc181a94b25c38172767de8b72f9fece3eddb74933b1cd520928ae9416a7dc665e2f059bfe362dd74041d28cd7 @@ -14,5 +14,5 @@ SHA1 (patch-plugins-scripts_check_wave.p SHA1 (patch-plugins_Makefile.in) = 3509f2972feabe4806e4529c320eb5a119b5df77 SHA1 (patch-plugins_check_ide_smart.c) = 6601814ad4ac91f11dbeb18613254df55e14edbd SHA1 (patch-plugins_check_nagios.c) = 922d4494c77c1764ee30f004e96ce8734ab6954f -SHA1 (patch-plugins_check_radius.c) = 909c78e18a969c0d0c8431151c0b6069afaaf2ae +SHA1 (patch-plugins_check_radius.c) = 02bd463b9e02512d5de1b54132ef0c0a0d217783 SHA1 (patch-plugins_check_swap.c) = ecef90186c97256051ae1e238f95d9861c87e31b Index: pkgsrc/net/nagios-plugins/patches/patch-plugins_check_radius.c diff -u pkgsrc/net/nagios-plugins/patches/patch-plugins_check_radius.c:1.1 pkgsrc/net/nagios-plugins/patches/patch-plugins_check_radius.c:1.2 --- pkgsrc/net/nagios-plugins/patches/patch-plugins_check_radius.c:1.1 Mon Jan 9 00:28:41 2023 +++ pkgsrc/net/nagios-plugins/patches/patch-plugins_check_radius.c Wed Jan 11 09:27:28 2023 @@ -1,9 +1,28 @@ -$NetBSD: patch-plugins_check_radius.c,v 1.1 2023/01/09 00:28:41 sekiya Exp $ +$NetBSD: patch-plugins_check_radius.c,v 1.2 2023/01/11 09:27:28 sekiya Exp $ + +Do not assume that we are compiling under Linux. Support radius config. ---- plugins/check_radius.c.orig 2019-12-05 06:53:08.000000000 +0900 -+++ plugins/check_radius.c 2023-01-09 08:53:32.981542458 +0900 +--- plugins/check_radius.c.orig 2023-01-11 18:07:22.189005504 +0900 ++++ plugins/check_radius.c 2023-01-11 18:07:11.857369955 +0900 +@@ -38,13 +38,13 @@ + + #include + +-#ifdef __FreeBSD__ +-#include +-#else ++#if defined(__linux__) + #include + #define AF_LINK AF_PACKET + #define LLADDR(l) ((l)->sll_addr) + #define sockaddr_dl sockaddr_ll ++#else ++#include + #endif + + #if defined(HAVE_LIBFREERADIUS_CLIENT) @@ -99,7 +99,7 @@ char *nasipaddress = NULL; char *castid = NULL; --_----------=_1673429248181630--