From nobody Mon Jun 26 21:49:15 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 4QqhM01wFFz4kD0R; Mon, 26 Jun 2023 21:49:16 +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 4QqhM01FrZz4PHr; Mon, 26 Jun 2023 21:49:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687816156; 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=NRBEHaHyEoua9kVl6nMgDwVomvbWdtw2iSpDzjHKBXs=; b=Yx3C3N7CkmJo70+FEC6Jg7QB0KW4lDV/DTbxM2G1dM/Yhs3C9kG+GhsfgSi2HRnsWet6ml wV7FzQhx0Km6mfH0cYXePCgGWJt7Olv2XdeYkye83vjf1xy0IGvEv1ooaOFe6DyawmzAJC ld6QjvQ4bNfJIlaSpAhUkgW4sRwdPPI1qBDHpWEDG14VWiH2e4l9zfFPnAEQ6CFfQxkiWX aslLy+T9qvDwB0A9PNy0+3kwXgpg552aDBZQlNwY1PCAo+USeFv1sVZNrIUsl+Hpy6VwnS NerNLsKZJ+isNvpADmiNe1TiXM3Tfmx2Yy0aJLmbgq9k1eoIIt7L9KPjIYqDxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687816156; 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=NRBEHaHyEoua9kVl6nMgDwVomvbWdtw2iSpDzjHKBXs=; b=EJVGTRXQlRMKs53cutw1VEbZCavaZ2OEyRBoRdvJX6PlMoiMvcdi/4ytp9jUdqv/mWmBFs BAfwhLgejgafhAVlb7Rz7ZoG4W/izUFgffdZcxRxsM+hJXCc0az1J6X3twIKVBTnFP/tT3 4wV2OYObgdg3RAS9zJI8+2+209HB9DwlOtQjM3m2fl6sCpFzKJWj+LX8RfZrpiJpEugKuC cekHmVtnEJzGTynFVjgtl7fj9gY69vNSCJgZRxRxV50jfqimTFt4bEzP7ve3owU6KTFhyX E8wrsUrXcrJ5YD+7uXhGmsEUFKOnn0LBZjHhI3bbSQCklBpD6Mh3ZBlNuyEGmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687816156; a=rsa-sha256; cv=none; b=wK2jjge7lj9Sm7zSv5hMA7VKsUIIwkNk7Yr44SPrAC+b2s15H/vZJc0Ho5QsK+ujl/V/fa noOgIKFwp/Hlnx0+vGcs7XbkXfPk8U4eIBOngaHeJNdwGTUsY/Hh2sOx5/Ex6qna015Xsf oJnMEjRelC7kocebJn9q3cy/1XApi3I/2eRJpJVuSHw6Wdr9VwKvP4VjltPrdvzk19GW8u mTutNZcX8vM/lU5QN53W19WAv7Is4BJV8jLLi5LxaeWuRB3kHsp+2YRH446Z0hn7HXbXRZ yC/ChiH/Um6DHyD0DASXhB6bk34irzUYo3l10l0BffT/Flo03UFkA+HVQ5rgpQ== 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 4QqhM00JkSzRPD; Mon, 26 Jun 2023 21:49:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35QLnFmh049240; Mon, 26 Jun 2023 21:49:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35QLnFdU049239; Mon, 26 Jun 2023 21:49:15 GMT (envelope-from git) Date: Mon, 26 Jun 2023 21:49:15 GMT Message-Id: <202306262149.35QLnFdU049239@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: 6915372e7e37 - main - security/ncrack: fix build on 14-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: 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: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6915372e7e37062d17508cea6f335927a00b5aee Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=6915372e7e37062d17508cea6f335927a00b5aee commit 6915372e7e37062d17508cea6f335927a00b5aee Author: Stefan Eßer AuthorDate: 2023-06-26 21:48:45 +0000 Commit: Stefan Eßer CommitDate: 2023-06-26 21:48:45 +0000 security/ncrack: fix build on 14-CURRENT --- security/ncrack/files/patch-crypto.cc | 90 +++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/security/ncrack/files/patch-crypto.cc b/security/ncrack/files/patch-crypto.cc new file mode 100644 index 000000000000..43c2be6bc61c --- /dev/null +++ b/security/ncrack/files/patch-crypto.cc @@ -0,0 +1,90 @@ +--- crypto.cc.orig 2019-08-24 22:25:32 UTC ++++ crypto.cc +@@ -573,7 +573,7 @@ int edf + int edf + ) + { +- register int i, j, l, m, n; ++ int i, j, l, m, n; + unsigned char pc1m[56], pcr[56]; + unsigned long kn[32]; + +@@ -609,12 +609,12 @@ static void cookey( + //static void cookey(raw1) + //register unsigned long *raw1; + static void cookey( +-register unsigned long *raw1 ++unsigned long *raw1 + ) + { +- register unsigned long *cook, *raw0; ++ unsigned long *cook, *raw0; + unsigned long dough[32]; +- register int i; ++ int i; + + cook = dough; + for( i = 0; i < 16; i++, raw1++ ) { +@@ -635,10 +635,10 @@ void cpkey( + //void cpkey(into) + //register unsigned long *into; + void cpkey( +-register unsigned long *into ++unsigned long *into + ) + { +- register unsigned long *from, *endp; ++ unsigned long *from, *endp; + + from = KnL, endp = &KnL[32]; + while( from < endp ) *into++ = *from++; +@@ -648,10 +648,10 @@ void usekey( + //void usekey(from) + //register unsigned long *from; + void usekey( +-register unsigned long *from ++unsigned long *from + ) + { +- register unsigned long *to, *endp; ++ unsigned long *to, *endp; + + to = KnL, endp = &KnL[32]; + while( to < endp ) *to++ = *from++; +@@ -676,8 +676,8 @@ static void scrunch( + //register unsigned char *outof; + //register unsigned long *into; + static void scrunch( +-register unsigned char *outof, +-register unsigned long *into ++unsigned char *outof, ++unsigned long *into + ) + { + *into = (*outof++ & 0xffL) << 24; +@@ -695,8 +695,8 @@ static void unscrun( + //register unsigned long *outof; + //register unsigned char *into; + static void unscrun( +-register unsigned long *outof, +-register unsigned char *into ++unsigned long *outof, ++unsigned char *into + ) + { + *into++ = (*outof >> 24) & 0xffL; +@@ -857,11 +857,11 @@ static void desfunc( + //static void desfunc(block, keys) + //register unsigned long *block, *keys; + static void desfunc( +-register unsigned long *block, register unsigned long *keys ++unsigned long *block, unsigned long *keys + ) + { +- register unsigned long fval, work, right, leftt; +- register int round; ++ unsigned long fval, work, right, leftt; ++ int round; + + leftt = block[0]; + right = block[1];