add putty patches: pageant fix from freebsd, arm/aarch64 fix from upstream
This commit is contained in:
parent
6525abf6b8
commit
a85da3b14e
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2019/03/16 22:09:30 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2019/03/31 10:55:48 sthen Exp $
|
||||
|
||||
COMMENT-main= SSH and telnet client
|
||||
COMMENT-gui= PuTTY GUI clients
|
||||
|
||||
V= 0.71
|
||||
REVISION= 0
|
||||
DISTNAME= putty-$V
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
PKGNAME-gui= ${DISTNAME:S/putty/putty-gui/}
|
||||
@ -35,4 +36,13 @@ LIB_DEPENDS-gui= devel/gettext \
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
AUTOCONF_VERSION= 2.69
|
||||
AUTOMAKE_VERSION= 1.16
|
||||
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
|
||||
${MODGNU_AUTOMAKE_DEPENDS}
|
||||
|
||||
do-gen:
|
||||
cd ${WRKDIST}; ${AUTOCONF_ENV} perl mkfiles.pl && \
|
||||
${AUTOCONF_ENV} sh mkauto.sh
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.2 2019/03/16 22:09:30 sthen Exp $
|
||||
Index: Makefile.in
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -97,7 +97,7 @@ POST_UNINSTALL = :
|
||||
@HAVE_GTK_FALSE@ psftp$(EXEEXT) puttygen$(EXEEXT)
|
||||
@HAVE_GTK_TRUE@bin_PROGRAMS = plink$(EXEEXT) pscp$(EXEEXT) \
|
||||
@HAVE_GTK_TRUE@ psftp$(EXEEXT) puttygen$(EXEEXT) \
|
||||
-@HAVE_GTK_TRUE@ pageant$(EXEEXT) pterm$(EXEEXT) putty$(EXEEXT) \
|
||||
+@HAVE_GTK_TRUE@ pterm$(EXEEXT) putty$(EXEEXT) \
|
||||
@HAVE_GTK_TRUE@ puttytel$(EXEEXT)
|
||||
@HAVE_GTK_FALSE@noinst_PROGRAMS = cgtest$(EXEEXT) fuzzterm$(EXEEXT) \
|
||||
@HAVE_GTK_FALSE@ osxlaunch$(EXEEXT) testcrypt$(EXEEXT) \
|
22
net/putty/patches/patch-Recipe
Normal file
22
net/putty/patches/patch-Recipe
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-Recipe,v 1.1 2019/03/31 10:55:48 sthen Exp $
|
||||
|
||||
From f5c1753244d0399764fd68d6ac42ea2f2db47fc9 Mon Sep 17 00:00:00 2001
|
||||
From: Simon Tatham <anakin@pobox.com>
|
||||
Date: Tue, 26 Mar 2019 19:12:27 +0000
|
||||
Subject: [PATCH] Link uxutils.o into Unix PuTTYgen.
|
||||
|
||||
On Arm Linux, this is necessary for the functions that check
|
||||
availability of hardware crypto acceleration.
|
||||
|
||||
Index: Recipe
|
||||
--- Recipe.orig
|
||||
+++ Recipe
|
||||
@@ -365,7 +365,7 @@ PUTTYGEN_UNIX = sshrsag sshdssg sshprime sshdes ARITH
|
||||
+ sshrand uxnoise sshsha MISC sshrsa sshdss uxcons uxstore uxmisc
|
||||
+ sshpubk sshaes sshsh256 sshsh512 IMPORT puttygen.res time tree234
|
||||
+ uxgen notiming CONF sshecc sshecdsag uxnogtk sshauxcrypt sshhmac
|
||||
- + uxpoll
|
||||
+ + uxpoll uxutils
|
||||
puttygen : [U] cmdgen PUTTYGEN_UNIX
|
||||
cgtest : [UT] cgtest PUTTYGEN_UNIX
|
||||
|
16
net/putty/patches/patch-unix_uxpgnt_c
Normal file
16
net/putty/patches/patch-unix_uxpgnt_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-unix_uxpgnt_c,v 1.1 2019/03/31 10:55:48 sthen Exp $
|
||||
|
||||
https://svnweb.freebsd.org/ports/head/security/putty/files/patch-unix_uxpgnt.c?revision=496064&view=co
|
||||
|
||||
Index: unix/uxpgnt.c
|
||||
--- unix/uxpgnt.c.orig
|
||||
+++ unix/uxpgnt.c
|
||||
@@ -241,7 +241,7 @@ void pageant_fork_and_print_env(bool retain_tty)
|
||||
/* Get out of our previous process group, to avoid being
|
||||
* blasted by passing signals. But keep our controlling tty,
|
||||
* so we can keep checking to see if we still have one. */
|
||||
- setpgrp();
|
||||
+ setpgrp(0, 0);
|
||||
} else {
|
||||
/* Do that, but also leave our entire session and detach from
|
||||
* the controlling tty (if any). */
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.3 2017/04/30 22:29:53 sthen Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.4 2019/03/31 10:55:48 sthen Exp $
|
||||
@bin bin/pageant
|
||||
@bin bin/plink
|
||||
@bin bin/pscp
|
||||
@bin bin/psftp
|
||||
|
Loading…
x
Reference in New Issue
Block a user