- In some situations an SSH server could cause PuTTY to access freed memory by pretending to accept an SSH key and then refusing the actual signature. It can only happen if you're using an SSH agent. - New configuration option to disable PuTTY's default policy of changing its host key algorithm preferences to prefer keys it already knows. (There is a theoretical information leak in this policy.)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.35 2020/06/27 11:56:19 sthen Exp $
|
|
|
|
COMMENT-main= SSH and telnet client
|
|
COMMENT-gui= PuTTY GUI clients
|
|
|
|
V= 0.74
|
|
DISTNAME= putty-$V
|
|
PKGNAME-main= ${DISTNAME}
|
|
PKGNAME-gui= ${DISTNAME:S/putty/putty-gui/}
|
|
CATEGORIES= net security
|
|
|
|
HOMEPAGE= https://www.chiark.greenend.org.uk/~sgtatham/putty/
|
|
MASTER_SITES= https://the.earth.li/~sgtatham/putty/$V/ \
|
|
ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-$V/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
WANTLIB-gui+= X11 atk-1.0 cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
|
|
WANTLIB-gui+= gio-2.0 glib-2.0 gobject-2.0 gtk-3 intl harfbuzz pango-1.0
|
|
WANTLIB-gui+= pangocairo-1.0 ${WANTLIB}
|
|
|
|
CONFIGURE_STYLE= autoreconf
|
|
AUTORECONF= ${WRKDIST}/mkauto.sh
|
|
CONFIGURE_ENV= CPPFLAGS="-I.././" \
|
|
LDFLAGS="-L${X11BASE}/lib"
|
|
MAKE_FLAGS= WARNINGOPTS=-Wall # strip upstream's usual -Werror for clang
|
|
WRKSRC= ${WRKDIST}/unix
|
|
|
|
MULTI_PACKAGES= -main -gui
|
|
|
|
LIB_DEPENDS-gui= devel/gettext,-runtime \
|
|
x11/gtk+3
|
|
|
|
NO_TEST= Yes
|
|
|
|
AUTOCONF_VERSION= 2.69
|
|
AUTOMAKE_VERSION= 1.16
|
|
|
|
do-gen:
|
|
cd ${WRKDIST}; ${AUTOCONF_ENV} perl mkfiles.pl
|
|
|
|
.include <bsd.port.mk>
|