From nobody Mon Nov 13 11:35:37 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4STS6K5DGsz51Fjl; Mon, 13 Nov 2023 11:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4STS6K4cbHz4QLV; Mon, 13 Nov 2023 11:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699875337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aWwNSAJna6cwqQWx5S9u3cmB4wRBsL2oyqlvjPWv59s=; b=CKTUDoi1QC/uWPAboLjSPGB/4z9N8Nku7tssI8NshwXqlyikKomOa2YxPv0j883PEPTsSP rHMYOHs7zeOPz9+sxdRDjlklbaLYqRopbgFEtYFZigaHMy1sVS1mNGpKJDy2EaRKuYq7i9 kJDDZPVzVjG35jKGwSXNiDlGH5Jx/6G1VhrK0BYkW1RfCgj4Tx/T6V+CEmCcWzINS25TJJ baKXJMLpwwgdjyB6JVgMi+FkOfdu0Zj/nNk5LZRze+8DkTzxRHrkSVcZf+/nr4Zm4WLkW0 5bJUSb+9jVhfGvY2VfOJ2pqrh0EPeNxc3J60P4nIfdIFs422JEYNADrbvvz8MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699875337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aWwNSAJna6cwqQWx5S9u3cmB4wRBsL2oyqlvjPWv59s=; b=LUf4AEf7L0aK4A3kkRR+Q5krvT3tB0hDsd4hJnGvijImhAG+dZLmh/5FFawkvvH+q1gffC S7fsOZ9OPAxyKUHdIC+Vgb55YsazgPijz0kEUefWjs1RnYj5FzoYw+FZMlbcpv4KFP/4UQ 5LIRpYrjZaoOAacg91u9BI3MeWrO2DYV7Ljf34ZrznFQOQrlXhoLMMXY2U0mUoqeUILN48 RHUl02Jy4SRbxFLcvKWVlhslmOfZWxrWORzI0rP8NRGVDBu/HBiWe5wNn2XTwj0ln1MqvC UXQN559B94lZ0myWxyuhj/oxh5h95Pta6fzEkW7XZyQsiFJZEs0lyteVaqp/yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699875337; a=rsa-sha256; cv=none; b=nI0IKqVE0cR/Xq5gKczfPzyHI3p1zb6rB+W1Q3YsmylGn3ImxjrYVxTCaAf9dEceCZUKZ3 Dv6JzrfTqVGMPCqMzQSdIloZPJgHt6EDXhEQvJKrHegSWzA9hnkv/hRSa1sAwfaiPaIw5l 9boZfyLpdMRwagL3DJxnf3GjPUXANnJDJiqn3JvrM+nfdJsHFFYbBD6FNwtOfu5GOfLP0D Denh7AGw45dkmvLTq+OIIWVyc3kvhzrbHNwnj1dMXtcMm7XGX0fnqU8/Ti0fz27b2776D0 e24/12VSvEl0K21aUy2SL2AsZ1EnhmKswOW32IbCXC+mZgl9+4y1R9Vc1jm/WQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4STS6K3dXYz13hJ; Mon, 13 Nov 2023 11:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ADBZbDs076825; Mon, 13 Nov 2023 11:35:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ADBZbTe076822; Mon, 13 Nov 2023 11:35:37 GMT (envelope-from git) Date: Mon, 13 Nov 2023 11:35:37 GMT Message-Id: <202311131135.3ADBZbTe076822@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: 2eca5c84fab2 - main - security/sshguard: Fix build on FreeBSD 12 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2eca5c84fab2c480693b45136f7b904a18db6a0a Auto-Submitted: auto-generated The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=2eca5c84fab2c480693b45136f7b904a18db6a0a commit 2eca5c84fab2c480693b45136f7b904a18db6a0a Author: Kevin Zheng AuthorDate: 2023-11-09 19:07:44 +0000 Commit: Renato Botelho CommitDate: 2023-11-13 11:34:36 +0000 security/sshguard: Fix build on FreeBSD 12 PR: 274985 Reported by: Yani Karydis --- security/sshguard/Makefile | 3 +++ security/sshguard/files/patch-configure.ac | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile index c3d163ba6cab..e5e4bc0e6693 100644 --- a/security/sshguard/Makefile +++ b/security/sshguard/Makefile @@ -1,5 +1,6 @@ PORTNAME= sshguard PORTVERSION= 2.4.3 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION} @@ -10,6 +11,8 @@ WWW= https://www.sshguard.net/ LICENSE= BSD2CLAUSE +USES= autoreconf + USE_RC_SUBR= sshguard GNU_CONFIGURE= yes diff --git a/security/sshguard/files/patch-configure.ac b/security/sshguard/files/patch-configure.ac new file mode 100644 index 000000000000..5ca3f46d889b --- /dev/null +++ b/security/sshguard/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2023-06-28 19:03:42 UTC ++++ configure.ac +@@ -21,7 +21,7 @@ AM_PROG_LEX + AS_BOX([Headers, Types, and Compiler Checks]) + AC_CHECK_HEADERS([getopt.h]) + +-AC_CHECK_HEADERS([capsicum_helpers.h libcasper.h], capsicum_found=candidate) ++AC_CHECK_HEADERS([casper/cap_net.h], capsicum_found=candidate) + AS_IF([test "$capsicum_found" == "candidate"], + [AC_SEARCH_LIBS([cap_init], [casper], [capsicum_found=yes])] + [AC_SEARCH_LIBS([cap_getaddrinfo], [cap_net], [capsicum_found=yes])])