summaryrefslogtreecommitdiff
path: root/security/putty
diff options
context:
space:
mode:
Diffstat (limited to 'security/putty')
-rw-r--r--security/putty/Makefile6
-rw-r--r--security/putty/distinfo11
-rw-r--r--security/putty/patches/patch-aa69
-rw-r--r--security/putty/patches/patch-ah17
4 files changed, 20 insertions, 83 deletions
diff --git a/security/putty/Makefile b/security/putty/Makefile
index 0bbbf92abbb..3cb245b3f34 100644
--- a/security/putty/Makefile
+++ b/security/putty/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2006/09/09 02:46:08 obache Exp $
+# $NetBSD: Makefile,v 1.13 2007/03/17 16:35:05 rillig Exp $
#
-DISTNAME= putty-0.58
-PKGREVISION= 1
+DISTNAME= putty-0.59
CATEGORIES= security
MASTER_SITES= http://the.earth.li/~sgtatham/putty/latest/
@@ -14,6 +13,7 @@ USE_TOOLS+= gmake
BUILD_DIRS= ${WRKSRC}/unix
MAKE_FILE= Makefile.gtk
+MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.prefs.mk"
diff --git a/security/putty/distinfo b/security/putty/distinfo
index 7c809fc1ac4..bf2a9a067e0 100644
--- a/security/putty/distinfo
+++ b/security/putty/distinfo
@@ -1,15 +1,14 @@
-$NetBSD: distinfo,v 1.5 2005/04/13 16:45:46 rillig Exp $
+$NetBSD: distinfo,v 1.6 2007/03/17 16:35:05 rillig Exp $
-SHA1 (putty-0.58.tar.gz) = 25504ca4fe4e3b1a8d96d9c50be5eb6cd370f018
-RMD160 (putty-0.58.tar.gz) = 3a01b629d9646d2c328881d3011a9f2da08702dd
-Size (putty-0.58.tar.gz) = 1567268 bytes
-SHA1 (patch-aa) = 8d8cb757bc3faeb8ab7fbfd00e96162c9cdfc7bc
+SHA1 (putty-0.59.tar.gz) = 64fcbcd50bc7f204699de415931b3745ceac8c56
+RMD160 (putty-0.59.tar.gz) = dea0c6b3890760617e26d380e500fcc8b898bbeb
+Size (putty-0.59.tar.gz) = 1736071 bytes
+SHA1 (patch-aa) = 3bec8d64a504a887c0ef299aead01c647480313f
SHA1 (patch-ac) = 61cc8640417931a04152d4f4a1d6daa420d85496
SHA1 (patch-ad) = b90f5fc8ebd7bb1227dc18ed93afe104e5e40490
SHA1 (patch-ae) = 82bd150f0dfb59eda57e4d9bca7abfc8093090a9
SHA1 (patch-af) = 549688da80048f57530f23d59799c04f09ddbdca
SHA1 (patch-ag) = 2012609deff68e4931538b1a987c02b532bf04be
-SHA1 (patch-ah) = 38f64084ff1618d751a8f51871b3e95f84e6afc9
SHA1 (patch-ai) = 3965e71c222d7db61d5d852dedf8fb3ec082c9a1
SHA1 (patch-aj) = 7c22c5cb2c41445fa70dfff9e6d756af444daf06
SHA1 (patch-ak) = 2ca42d1ea913505d7d265a3fde71e09aa292d75f
diff --git a/security/putty/patches/patch-aa b/security/putty/patches/patch-aa
index 79a261dfd45..223484fdc7f 100644
--- a/security/putty/patches/patch-aa
+++ b/security/putty/patches/patch-aa
@@ -1,67 +1,22 @@
-$NetBSD: patch-aa,v 1.3 2005/04/13 16:45:46 rillig Exp $
+$NetBSD: patch-aa,v 1.4 2007/03/17 16:35:05 rillig Exp $
---- unix/Makefile.gtk.orig 2005-04-06 23:00:44.000000000 +0200
-+++ unix/Makefile.gtk 2005-04-06 23:04:54.000000000 +0200
-@@ -80,16 +80,13 @@
-
- # You can define this path to point at your tools if you need to
+--- unix/Makefile.gtk.orig 2007-01-24 21:22:52.000000000 +0100
++++ unix/Makefile.gtk 2007-03-17 17:27:25.000000000 +0100
+@@ -98,14 +98,14 @@
# TOOLPATH = /opt/gcc/bin
--CC = $(TOOLPATH)cc
-+#CC = $(TOOLPATH)cc
+ CC = $(TOOLPATH)cc
-CFLAGS = -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
-+CFLAGS += -Wall -Werror -I.././ -I../charset/ -I../windows/ -I../unix/ \
- -I../mac/ -I../macosx/ `gtk-config --cflags`
++CFLAGS += -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ \
+ -I../mac/ -I../macosx/ `gtk-config --cflags` -D _FILE_OFFSET_BITS=64
XLDFLAGS = `gtk-config --libs`
-ULDFLAGS =#
--INSTALL=install
--INSTALL_PROGRAM=$(INSTALL)
--INSTALL_DATA=$(INSTALL)
--prefix=/usr/local
+ULDFLAGS = $(LDFLAGS)
-+prefix=$(PREFIX)
+ INSTALL=install
+ INSTALL_PROGRAM=$(INSTALL)
+ INSTALL_DATA=$(INSTALL)
+-prefix=/usr/local
++prefix= ${PREFIX}
exec_prefix=$(prefix)
bindir=$(exec_prefix)/bin
mandir=$(prefix)/man
-@@ -834,10 +831,10 @@
- $(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c ../version.c; \
- fi
- install:
-- $(INSTALL_PROGRAM) -m 755 plink $(DESTDIR)$(bindir)/plink
-- $(INSTALL_PROGRAM) -m 755 pscp $(DESTDIR)$(bindir)/pscp
-- $(INSTALL_PROGRAM) -m 755 psftp $(DESTDIR)$(bindir)/psftp
-- $(INSTALL_PROGRAM) -m 755 pterm $(DESTDIR)$(bindir)/pterm
-+ $(BSD_INSTALL_PROGRAM) plink $(DESTDIR)$(bindir)/plink
-+ $(BSD_INSTALL_PROGRAM) pscp $(DESTDIR)$(bindir)/pscp
-+ $(BSD_INSTALL_PROGRAM) psftp $(DESTDIR)$(bindir)/psftp
-+ $(BSD_INSTALL_PROGRAM) pterm $(DESTDIR)$(bindir)/pterm
- if test -n "$(UTMP_GROUP)"; then \
- chgrp $(UTMP_GROUP) $(DESTDIR)$(bindir)/pterm && \
- chmod 2755 $(DESTDIR)$(bindir)/pterm; \
-@@ -845,16 +842,16 @@
- chown $(UTMP_USER) $(DESTDIR)$(bindir)/pterm && \
- chmod 4755 $(DESTDIR)$(bindir)/pterm; \
- fi
-- $(INSTALL_PROGRAM) -m 755 putty $(DESTDIR)$(bindir)/putty
-- $(INSTALL_PROGRAM) -m 755 puttygen $(DESTDIR)$(bindir)/puttygen
-- $(INSTALL_PROGRAM) -m 755 puttytel $(DESTDIR)$(bindir)/puttytel
-- $(INSTALL_DATA) -m 644 ../doc/plink.1 $(DESTDIR)$(man1dir)/plink.1
-- $(INSTALL_DATA) -m 644 ../doc/pscp.1 $(DESTDIR)$(man1dir)/pscp.1
-- $(INSTALL_DATA) -m 644 ../doc/psftp.1 $(DESTDIR)$(man1dir)/psftp.1
-- $(INSTALL_DATA) -m 644 ../doc/pterm.1 $(DESTDIR)$(man1dir)/pterm.1
-- $(INSTALL_DATA) -m 644 ../doc/putty.1 $(DESTDIR)$(man1dir)/putty.1
-- $(INSTALL_DATA) -m 644 ../doc/puttygen.1 $(DESTDIR)$(man1dir)/puttygen.1
-- $(INSTALL_DATA) -m 644 ../doc/puttytel.1 $(DESTDIR)$(man1dir)/puttytel.1
-+ $(BSD_INSTALL_PROGRAM) putty $(DESTDIR)$(bindir)/putty
-+ $(BSD_INSTALL_PROGRAM) puttygen $(DESTDIR)$(bindir)/puttygen
-+ $(BSD_INSTALL_PROGRAM) puttytel $(DESTDIR)$(bindir)/puttytel
-+ $(BSD_INSTALL_MAN) ../doc/plink.1 $(DESTDIR)$(man1dir)/plink.1
-+ $(BSD_INSTALL_MAN) ../doc/pscp.1 $(DESTDIR)$(man1dir)/pscp.1
-+ $(BSD_INSTALL_MAN) ../doc/psftp.1 $(DESTDIR)$(man1dir)/psftp.1
-+ $(BSD_INSTALL_MAN) ../doc/pterm.1 $(DESTDIR)$(man1dir)/pterm.1
-+ $(BSD_INSTALL_MAN) ../doc/putty.1 $(DESTDIR)$(man1dir)/putty.1
-+ $(BSD_INSTALL_MAN) ../doc/puttygen.1 $(DESTDIR)$(man1dir)/puttygen.1
-+ $(BSD_INSTALL_MAN) ../doc/puttytel.1 $(DESTDIR)$(man1dir)/puttytel.1
-
- install-strip:
- $(MAKE) install INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s"
diff --git a/security/putty/patches/patch-ah b/security/putty/patches/patch-ah
deleted file mode 100644
index 030692c561e..00000000000
--- a/security/putty/patches/patch-ah
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2005/04/13 16:45:46 rillig Exp $
-
---- unix/uxpty.c.orig 2005-04-06 23:16:28.000000000 +0200
-+++ unix/uxpty.c 2005-04-06 23:28:38.000000000 +0200
-@@ -2,8 +2,10 @@
- * Pseudo-tty backend for pterm.
- */
-
--#define _XOPEN_SOURCE 600
--#define _XOPEN_SOURCE_EXTENDED
-+/* Don't use _XOPEN_SOURCE/_XOPEN_SOURCE_EXTENDED here, because
-+ * we are using strsignal() (which is not defined in POSIX).
-+ */
-+
- #define _GNU_SOURCE
-
- #include <stdio.h>