SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,13 @@
Index: Makefile.PL
--- Makefile.PL.orig
+++ Makefile.PL
@@ -44,8 +44,7 @@ MSG
printf " [%d] SSH%d\n", $_, $_ for 1..2;
printf " [3] Both SSH1 and SSH2\n";
-my $p = prompt("\nWhich protocol(s) do you plan to use?", 3);
-print "\n";
+my $p = 3;
@prereq{keys %{$SSH_PREREQ{$p}}} = values %{$SSH_PREREQ{$p}};

View file

@ -0,0 +1,21 @@
Sync with vanilla OpenSSH code (/usr/src/usr.bin/ssh/poly1305.c)
Perl's U8TO32_LE macro fails to parenthesize its argument on sparc64 in
hv_func.h, leading to a build failure. This patch could be removed once we
ship Perl>=5.28.
Index: src/chacha/poly1305.c
--- src/chacha/poly1305.c.orig
+++ src/chacha/poly1305.c
@@ -11,13 +11,11 @@
#define mul32x32_64(a,b) ((uint64_t)(a) * (b))
-#ifndef U8TO32_LE
#define U8TO32_LE(p) \
(((uint32_t)((p)[0])) | \
((uint32_t)((p)[1]) << 8) | \
((uint32_t)((p)[2]) << 16) | \
((uint32_t)((p)[3]) << 24))
-#endif
#define U32TO8_LE(p, v) \
do { \