From nobody Mon Nov 13 11:36:44 2023 X-Original-To: dev-commits-ports-all@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 4STS7d2jW5z51Fw4; Mon, 13 Nov 2023 11:36:45 +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 4STS7d2H8rz4Qrg; Mon, 13 Nov 2023 11:36:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699875405; 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=TsXkkpahlQFk30zV2MxeMzg2+YDkSCQMFn/HGgD+EUU=; b=oRf5vp+jPPnUqcQATUbNwRbO7L/L8EO2GUOXPPkpe3WsZ8E9yYcqFQ5c8I+MFIgcK3GOwB 3EXS893A6pvPHiULi5cDishXKWUqoaFQLq6MUbEfcin2/GdPlXwKEcTott5IKC91BN5kYV Y07dYX/3lK22M3tFbzNdxT533a5NJtbxPXpStGs5mEQ80qhDVueeHX4YfF6bzv8yqUlmOE K80gS+1PxS3DxngPyZxM17uqyZAjszMgadC1A0uq9Z7Vv2EU4pCLPDda0jDt226mjfIxwt pg6RKBJ0DqQXjtozO2TmqN6zzYCd9jVQJZiWqM+l3aLNvPz+NQ+guL6hhoov/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699875405; 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=TsXkkpahlQFk30zV2MxeMzg2+YDkSCQMFn/HGgD+EUU=; b=PHEMHUAwqyjGKTGdjA96oL1iS0RYcjbwAY48T0lWCDFdt0fPO/FMfUmaF+3z/z4fkKUhAL 42kjgrMK6/NEXQfOWqqRR8sDfF9QGZxScB5SlS4fRK4Q1FNWvV+DuW3s36D3q0im702F4X BRvyAodkOxhFrCYmStsdA+99bMfjPsm2WaQMz9WDpA/LOfIhOUFEYE1Dp0DpWqk8XT4uSf NpI27j/Q/+/ZXqhsAom8vxJhVrcqrTNkOCg0aGnrGBiaOVv/glQ8oH5ZUNSa9Pyd3fW9D7 LnCuVIr7qgbXtMdIZuAdBAfBcC7rmt1n/4xy+0V2Rh8apOKpG74qh5J9fD4r4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699875405; a=rsa-sha256; cv=none; b=urh6hBQD08kpcAQQ2vFE7Cq9FXaX4lFo/oqGJWs8sZZqshLOxBIO5gWOfdBjAtyUeJIJCa vmDusapvAsW7/pSOH0Z7uls8T6AtTXfJKuCKkBKQRYofjltvL3UN0UC7S9MzvLqLUlTvry +w0oXwEm/b2XloAkoebVrV8AIL8C/8CpP+pnRc7QyrCIVDCMwbUDc+tDhXHPx/hc+AVwfX kU9p8kDJeQz9aqBcGrmyIvyACsJYnC3nnfyoH9+gUctM4071A963Opzxsu/I+5qndkPYht RIS8ulUFgdg9WTjJNhMZ8IWQM2vwKF2Mvn31pQs76d1A8vaEe4OQ7/3VjlOnzA== 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 4STS7d154Qz13df; Mon, 13 Nov 2023 11:36:45 +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 3ADBajBr077165; Mon, 13 Nov 2023 11:36:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ADBaila077162; Mon, 13 Nov 2023 11:36:44 GMT (envelope-from git) Date: Mon, 13 Nov 2023 11:36:44 GMT Message-Id: <202311131136.3ADBaila077162@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Renato Botelho Subject: git: f59a0c57b04c - 2023Q4 - security/sshguard: Fix build on FreeBSD 12 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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/2023Q4 X-Git-Reftype: branch X-Git-Commit: f59a0c57b04c285a3f4c658fcd17b5fde290cff8 Auto-Submitted: auto-generated The branch 2023Q4 has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=f59a0c57b04c285a3f4c658fcd17b5fde290cff8 commit f59a0c57b04c285a3f4c658fcd17b5fde290cff8 Author: Kevin Zheng AuthorDate: 2023-11-09 19:07:44 +0000 Commit: Renato Botelho CommitDate: 2023-11-13 11:36:36 +0000 security/sshguard: Fix build on FreeBSD 12 PR: 274985 Reported by: Yani Karydis (cherry picked from commit 2eca5c84fab2c480693b45136f7b904a18db6a0a) --- 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])])