update to putty-0.77

This commit is contained in:
sthen 2022-05-27 12:06:46 +00:00
parent 5aa0f9b8a2
commit 55da48bd79
7 changed files with 29 additions and 29 deletions

View File

@ -1,7 +1,7 @@
COMMENT-main= SSH and telnet client
COMMENT-gui= PuTTY GUI clients
V= 0.76
V= 0.77
DISTNAME= putty-$V
PKGNAME-main= ${DISTNAME}
PKGNAME-gui= ${DISTNAME:S/putty/putty-gui/}
@ -14,18 +14,14 @@ MASTER_SITES= https://the.earth.li/~sgtatham/putty/$V/ \
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += c m pthread
WANTLIB += c m
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}
WANTLIB-gui += ${WANTLIB}
WANTLIB-gui += ICE SM X11 Xext atk-1.0 cairo cairo-gobject gdk-3
WANTLIB-gui += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-3
WANTLIB-gui += harfbuzz intl pango-1.0 pangocairo-1.0
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
MODULES= devel/cmake
MULTI_PACKAGES= -main -gui
@ -34,10 +30,4 @@ LIB_DEPENDS-gui= devel/gettext,-runtime \
NO_TEST= Yes
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.16
do-gen:
cd ${WRKDIST}; ${AUTOCONF_ENV} perl mkfiles.pl
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (putty-0.76.tar.gz) = VHzZeo2qh+9xA3+rB3O861Soq8yy+CWknvjrpeBFcT8=
SIZE (putty-0.76.tar.gz) = 2735687
SHA256 (putty-0.77.tar.gz) = QZp29FI4/UXyx2tCQ4mTBW50+ng3TxNgUqqoQwhb6uU=
SIZE (putty-0.77.tar.gz) = 2619481

View File

@ -0,0 +1,12 @@
Index: cmake/platforms/unix.cmake
--- cmake/platforms/unix.cmake.orig
+++ cmake/platforms/unix.cmake
@@ -125,7 +125,7 @@ endif()
if(STRICT AND (CMAKE_C_COMPILER_ID MATCHES "GNU" OR
CMAKE_C_COMPILER_ID MATCHES "Clang"))
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wpointer-arith -Wvla")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wpointer-arith -Wvla")
endif()
function(installed_program target)

View File

@ -1,7 +1,7 @@
Index: putty.h
--- putty.h.orig
+++ putty.h
@@ -1701,6 +1701,7 @@ typedef enum NoiseSourceId {
@@ -2069,6 +2069,7 @@ typedef enum NoiseSourceId {
NOISE_SOURCE_THREADTIME,
NOISE_SOURCE_PROCTIME,
NOISE_SOURCE_PERFCOUNT,

View File

@ -1,6 +1,6 @@
Index: unix/uxnoise.c
--- unix/uxnoise.c.orig
+++ unix/uxnoise.c
Index: unix/noise.c
--- unix/noise.c.orig
+++ unix/noise.c
@@ -18,25 +18,7 @@
static bool read_dev_urandom(char *buf, int len)

View File

@ -1,9 +1,9 @@
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
@@ -364,7 +364,7 @@ void pageant_fork_and_print_env(bool retain_tty)
Index: unix/pageant.c
--- unix/pageant.c.orig
+++ unix/pageant.c
@@ -330,7 +330,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. */

View File

@ -2,8 +2,6 @@
@bin bin/pageant
@bin bin/pterm
@bin bin/putty
@bin bin/puttytel
@man man/man1/pageant.1
@man man/man1/pterm.1
@man man/man1/putty.1
@man man/man1/puttytel.1