From nobody Tue Jul 16 21:06:42 2024 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 4WNs7k5Mx3z5QFxl; Tue, 16 Jul 2024 21:06:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WNs7k4qjTz4Jcn; Tue, 16 Jul 2024 21:06:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721164002; 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=Zw3KJfbUSdLB9RCmP9CLfP/kEcKjx2jxnGn2a3oshaY=; b=uWvDQNJxw0SqUEEEXchnHkysiYPXd3v8IO7z/1QHs6jwHy5ZL0/p9mlNwYHsu/yNAtFaB0 /OKVFPemncmuTI2Wv3iWjfibmJYty9CH488Q0TXUer149THmikG7aJTuaCMOQRzDM206is yFwHNZYsCzajf9gUpXuwtMYRdczErYhYZBwcu7ecnNfhs57ruY4hWkDUeKthJXzK/NcMpv WaMKmvIAeI2WObtpwOgxaNP510wOB6jyBfIsHk+oIqKvirDUfbz/vUEJB8lF322OpbChc0 pQVuftK6EV//eo4/74C8GS1n9SeZfl8Q41e6bMHBkXx3XaynKBkenb44pfpklQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721164002; a=rsa-sha256; cv=none; b=kAu5NTG6P1STFrj8jl4a2POWq+chUHxJuVALkNi8DozJN6sLBhi8D1DNYYgVyS3Cs/tKyy tc6uXqADTMbYk4nfnp229P4zZw60aZh/0kBxa6JeXaqmTLYrI2m06YqY4OvH78bvKqr6v7 pFtjxYoDSTpqIjSoOIJ5LCfEaZG7JsSOTJYlyjEJmgSGTY4aeLK48K/Xk1GJqh3EvCjn6Y 0R34fTcxCWl9NDEWTEnb06BSXqeILiZMQlWzUZ3rgZEbnDi2tfiZfLbcjWedCqilrTQHQ7 VkogdP6nq6EQUEJxa1Sdkl+WLIaSbL7/6Ehr/bS/XjC3z8TPqzCzeSJ5gogVVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721164002; 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=Zw3KJfbUSdLB9RCmP9CLfP/kEcKjx2jxnGn2a3oshaY=; b=cTpQWR+/WtMzwdw/86Yd1Pk/lvXlRJ45GspyaVKdS7NWVFU8rSAIgj+v9B/NojzvbiQSk4 /hA0yGT5Op6U1JdQ/5OtxXWGVO8o1nPwKEUqqAWHmSGzDqUtQ60PWJh6S+u7t80Lx7lWDD 6y3HpwY6lYKcb0uyHBE/kX2OwsfNT94OLcxzlXh+CSmt5MJjvcATyMr1/0GrkZuf+hiw/4 Ya7RZ76ME/2L3GtXa+GF/GIvuGEI24Aa60dC6UecgKWxjH5OEXT9uZgmYNg8ONl/lHHIND tmIyDyPcDS9Lgg+uNyg5Oqy5HwGwG946wunnVSR5IRzzO3dudTkVE/awDwLYcg== 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 4WNs7k4KvgzrhN; Tue, 16 Jul 2024 21:06:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46GL6gOX068668; Tue, 16 Jul 2024 21:06:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46GL6gsg068665; Tue, 16 Jul 2024 21:06:42 GMT (envelope-from git) Date: Tue, 16 Jul 2024 21:06:42 GMT Message-Id: <202407162106.46GL6gsg068665@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Stefan =?utf-8?Q?E=C3=9Fer?= Subject: git: 0cb87c12e5ad - main - security/ncrack: fix build on -CURRENT 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0cb87c12e5adbe78ac4a7ea2dc0f2599393b1e31 Auto-Submitted: auto-generated The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=0cb87c12e5adbe78ac4a7ea2dc0f2599393b1e31 commit 0cb87c12e5adbe78ac4a7ea2dc0f2599393b1e31 Author: Stefan Eßer AuthorDate: 2024-07-16 20:56:00 +0000 Commit: Stefan Eßer CommitDate: 2024-07-16 21:06:14 +0000 security/ncrack: fix build on -CURRENT This port seems to have been affected by the recent FORTIFY_SOURCE update on -CURRENT. The error message was: In file included from strlcpy.c:21: In file included from ./includes.h:190: In file included from ./entropy.h:30: In file included from ./buffer.h:28: In file included from ./sshbuf.h:29: In file included from /usr/local/include/openssl/bn.h:26: In file included from /usr/local/include/openssl/crypto.h:25: In file included from /usr/include/stdlib.h:73: /usr/include/ssp/stdlib.h:41:33: error: static declaration of '_ssh_compat_realpath' follows non-static declaration 41 | __ssp_redirect_raw_impl(char *, realpath, realpath, | ^ ./openbsd-compat.h:98:7: note: previous declaration is here 98 | char *realpath(const char *path, char *resolved); | ^ ./openbsd-compat.h:95:26: note: expanded from macro 'realpath' 95 | # define realpath(x, y) _ssh_compat_realpath(x, y) | ^ 2 errors generated. --- security/ncrack/Makefile | 2 +- security/ncrack/files/patch-opensshlib_openbsd-compat.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/security/ncrack/Makefile b/security/ncrack/Makefile index def310cdebcc..cedd01d907a4 100644 --- a/security/ncrack/Makefile +++ b/security/ncrack/Makefile @@ -1,6 +1,6 @@ PORTNAME= ncrack DISTVERSION= 0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= se@FreeBSD.org diff --git a/security/ncrack/files/patch-opensshlib_openbsd-compat.h b/security/ncrack/files/patch-opensshlib_openbsd-compat.h new file mode 100644 index 000000000000..e6700fa7d161 --- /dev/null +++ b/security/ncrack/files/patch-opensshlib_openbsd-compat.h @@ -0,0 +1,11 @@ +--- opensshlib/openbsd-compat.h.orig 2019-08-24 22:25:32 UTC ++++ opensshlib/openbsd-compat.h +@@ -95,7 +95,7 @@ void *recallocarray(void *, size_t, size_t, size_t); + # define realpath(x, y) _ssh_compat_realpath(x, y) + # endif + +-char *realpath(const char *path, char *resolved); ++static char *realpath(const char *path, char *resolved); + #endif + + #ifndef HAVE_RRESVPORT_AF