SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
net/p5-Net-SSH-Perl/patches/patch-Makefile_PL
Normal file
13
net/p5-Net-SSH-Perl/patches/patch-Makefile_PL
Normal 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}};
|
||||
|
21
net/p5-Net-SSH-Perl/patches/patch-src_chacha_poly1305_c
Normal file
21
net/p5-Net-SSH-Perl/patches/patch-src_chacha_poly1305_c
Normal 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 { \
|
Loading…
Add table
Add a link
Reference in a new issue