head	1.31;
access;
symbols
	RELEASE_8_3_0:1.25
	RELEASE_9_0_0:1.25
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.21
	RELEASE_8_1_0:1.21
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.21
	RELEASE_7_2_0:1.21
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.11
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.3;
locks; strict;
comment	@# @;


1.31
date	2013.01.06.13.46.59;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2013.01.06.13.41.47;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2012.11.18.03.01.31;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2012.10.13.13.39.56;	author dinoex;	state Exp;
branches;
next	1.26;

1.26
date	2012.06.01.05.24.07;	author dinoex;	state Exp;
branches;
next	1.25;

1.25
date	2011.12.12.19.57.18;	author mandree;	state Exp;
branches;
next	1.24;

1.24
date	2011.12.11.03.18.10;	author mandree;	state Exp;
branches;
next	1.23;

1.23
date	2011.11.30.04.03.15;	author cy;	state Exp;
branches;
next	1.22;

1.22
date	2011.07.17.14.18.36;	author mandree;	state Exp;
branches;
next	1.21;

1.21
date	2009.01.28.23.25.20;	author beat;	state Exp;
branches;
next	1.20;

1.20
date	2009.01.04.16.19.32;	author miwi;	state Exp;
branches;
next	1.19;

1.19
date	2008.06.06.14.01.03;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2008.01.22.15.58.21;	author garga;	state Exp;
branches;
next	1.17;

1.17
date	2007.06.13.12.03.01;	author garga;	state Exp;
branches;
next	1.16;

1.16
date	2007.05.25.12.34.15;	author garga;	state Exp;
branches;
next	1.15;

1.15
date	2007.05.19.20.22.49;	author flz;	state Exp;
branches;
next	1.14;

1.14
date	2007.03.15.17.59.02;	author garga;	state Exp;
branches;
next	1.13;

1.13
date	2007.02.11.17.10.03;	author garga;	state Exp;
branches;
next	1.12;

1.12
date	2007.02.03.13.18.30;	author garga;	state Exp;
branches;
next	1.11;

1.11
date	2006.05.13.04.15.13;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2006.03.07.08.27.36;	author ade;	state Exp;
branches;
next	1.9;

1.9
date	2005.07.11.16.47.15;	author garga;	state Exp;
branches;
next	1.8;

1.8
date	2005.04.30.15.17.38;	author leeym;	state Exp;
branches;
next	1.7;

1.7
date	2005.02.20.21.09.31;	author simon;	state Exp;
branches;
next	1.6;

1.6
date	2004.10.28.10.17.28;	author dinoex;	state Exp;
branches;
next	1.5;

1.5
date	2004.10.14.05.23.15;	author dinoex;	state Exp;
branches;
next	1.4;

1.4
date	2004.08.04.08.03.05;	author dinoex;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.15.19.29.43;	author dinoex;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.15.07.52.59;	author dinoex;	state Exp;
branches;
next	1.1;

1.1
date	2004.02.13.17.45.38;	author dinoex;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309981
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309981 | mandree | 2013-01-06 13:04:46 +0000 (Sun, 06 Jan 2013) | 2 lines
## SVN ##
## SVN ## Bump PORTREVISION, to get the ports rebuilt with ${CC}.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# $FreeBSD: head/security/putty/Makefile 309981 2013-01-06 13:04:46Z mandree $

PORTNAME=	putty
PORTVERSION=	0.62
PORTREVISION=	3
CATEGORIES=	security ipv6
MASTER_SITES=	http://the.earth.li/~sgtatham/putty/%SUBDIR%/ \
		ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/
MASTER_SITE_SUBDIR=	${PORTVERSION}

# Beat Gaetzi (beat@@) is permitted to take maintainership back
# or commit to this port without my prior approval.
MAINTAINER=	mandree@@FreeBSD.org
COMMENT=	Secure shell and telnet client

USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}/unix
MAKEFILE=	Makefile.gtk

PLIST_FILES=	bin/plink bin/pscp bin/psftp bin/puttygen
MAN1=		plink.1 pscp.1 psftp.1 puttygen.1

OPTIONS_DEFINE=	GSSAPI GTK2
OPTIONS_DEFAULT=GSSAPI GTK2

CONFLICTS=	pssh-[0-9]*

.include <bsd.port.options.mk>

CFLAGS+=	-DBSD_PTYS -DOMIT_UTMP -DIPV6

.if ${PORT_OPTIONS:MGTK2} && !defined(WITHOUT_X11)
USE_GNOME=	gtk20
PLIST_FILES+=	bin/pterm bin/putty bin/puttytel
MAN1+=		pterm.1 putty.1 puttytel.1
MAKE_ARGS+=	PUTTY_WITH_GTK=yes GTK_CONFIG="pkg-config gtk+-2.0 x11 --cflags"
.else
MAKE_ARGS+=	GTK_CONFIG=:
.endif

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MGSSAPI}
_COMPAT=		-DSTATIC_GSSAPI
.if ${OSVERSION} >= 900000
LIB_DEPENDS+=		krb5support:${PORTSDIR}/security/krb5
.endif
.else
_COMPAT=		-DNO_GSSAPI
.endif

_COMPAT+=	-DOMIT_UTMP

.if defined(WITH_DEBUG) && ${WITH_DEBUG} != "no"
XFLAGS=		-DDEBUG
.endif

# upstream sets -Werror - there are no issues on 9.1-FreeBSD amd64
# currently, but override it nonetheless.
XFLAGS+=	-Wno-error

MAKE_ARGS+=	COMPAT="${_COMPAT}" \
		CC="${CC}" \
		XFLAGS="${XFLAGS}" \
		INSTALL_DATA="${INSTALL_DATA}" \
		INSTALL_PROGRAM="${INSTALL_PROGRAM}"

post-patch:
	@@${REINPLACE_CMD} -e 's,prefix=/usr/local,prefix=${PREFIX},;\
			      s,make,${GMAKE},'\
		${WRKSRC}/${MAKEFILE}

.include <bsd.port.post.mk>
@


1.30
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309979
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309979 | mandree | 2013-01-06 12:52:30 +0000 (Sun, 06 Jan 2013) | 6 lines
## SVN ##
## SVN ## - Convert to Options NG. Renames GTK option to GTK2 for consistency.
## SVN ## - Strip Makefile header.
## SVN ## - Make sure that the port build heeds ${CC}, passing it through MAKE_ARGS.
## SVN ## - Replace CC-is-clang specific -Wno-empty-body by unconditional -Wno-error.
## SVN ## - Remove LIB_DEPENDS ABI versions.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/security/putty/Makefile 309979 2013-01-06 12:52:30Z mandree $
d5 1
a5 1
PORTREVISION=	2
@


1.29
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307470
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307470 | mandree | 2012-11-15 23:33:59 +0000 (Thu, 15 Nov 2012) | 5 lines
## SVN ##
## SVN ## Add CONFLICTS.
## SVN ##
## SVN ## Suggested by:	ketas's ports conflicts checker
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/security/putty/Makefile 307470 2012-11-15 23:33:59Z mandree $
d5 1
a5 1
PORTREVISION=	1
d23 2
a24 2
OPTIONS=	GSSAPI "Enable GSSAPI support" on \
		GTK    "Enable GTK+ 2 GUI (recommended)" on
d32 1
a32 1
.if !defined(WITHOUT_GTK) && !defined(WITHOUT_X11)
d43 1
a43 1
.if !defined(WITHOUT_GSSAPI)
d46 1
a46 1
LIB_DEPENDS+=		krb5support.0:${PORTSDIR}/security/krb5
d58 3
a60 3
.if ${CC:T} == clang
XFLAGS+=	-Wno-empty-body
.endif
d63 1
d70 1
a70 1
			      s,make,${GMAKE},' \
@


1.28
log
@Switch exporter over
@
text
@d1 1
a1 1
# $FreeBSD: head/security/putty/Makefile 305832 2012-10-13 13:39:56Z dinoex $
d26 2
@


1.27
log
@SVN rev 305832 on 2012-10-13 13:39:56Z by dinoex

- cleanup comments
Feature safe: yes
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.26
log
@- update png to 1.5.10
@
text
@a0 4
# New ports collection makefile for:	putty
# Date created:		13 Feb 2004
# Whom:			dirk.meyer@@dinoex.sub.org
#
a1 1
#
@


1.25
log
@Update PuTTY to new upstream security and bug fix release 0.62,
and add a new VuXML entry.

Changelog:      http://lists.tartarus.org/pipermail/putty-announce/2011/000017.html
Security:       bbd5f486-24f1-11e1-95bc-080027ef73ec
Feature safe:   yes
@
text
@d10 1
@


1.24
log
@Revise OPTIONS wording.

Feature safe: yes
@
text
@d9 1
a9 1
PORTVERSION=	0.61
d48 1
a48 1
LIB_DEPENDS=		krb5support.0:${PORTSDIR}/security/krb5
@


1.23
log
@Fix build with GSSAPI under 9.0.

Approved by:	tabthorp (portmgr)
Feature safe:	yes
@
text
@d27 2
a28 2
OPTIONS=	GSSAPI "Enable GSSAPI support (broken on 9-CURRENT)" on \
		GTK    "Enable GTK+ 2 GUI" on
@


1.22
log
@- Take over maintainership from beat@@ along his suggestion,
  permit him to take it back or commit without my approval.
- Update to upstream version 0.61.
- Add OPTIONS for GSSAPI and GTK (both enabled by default).

  NOTE: GSSAPI is currently broken on 9-CURRENT because the
  Kerberos in base expects MD2 which isn't provided by OpenSSL.

- mark BROKEN on OSVERSION >= 900000 when GSSAPI is enabled
- heed CFLAGS, CC, WITH_DEBUG, INSTALL_* settings.
- WITHOUT_X11 is now an alias for WITHOUT_GTK
- drop utmp support, the upstream requires a utmpx implementation that
  FreeBSD does not provide in any version.
- Preliminary clang support (adds files/patch-timing.c)
- Refreshed patches.
@
text
@d48 1
a48 1
BROKEN=		FreeBSD 9's Kerberos misses MD2, use WITHOUT_GSSAPI=1
@


1.21
log
@Update my email address to @@FreeBSD.org.

Approved by:	miwi (mentor)
@
text
@d9 1
a9 2
PORTVERSION=	0.60
PORTREVISION=	1
d15 3
a17 1
MAINTAINER=	beat@@FreeBSD.org
a22 1
CFLAGS+=	-DBSD_PTYS -DOMIT_UTMP
d27 9
a35 2
.if !defined(WITHOUT_GTK)
USE_GNOME=	gtk12
d38 3
a40 2
MAKE_ENV+=	PUTTY_WITH_GTK=yes
CFLAGS+=	`${GTK_CONFIG} --cflags`
d43 9
a51 2
.if !defined(WITHOUT_IPV6)
CFLAGS+=	-DIPV6
d54 15
d70 2
a71 2
	@@${REINPLACE_CMD} -e 's,gtk-config,${GTK_CONFIG},g; \
			      s,prefix=/usr/local,prefix=${PREFIX},' \
d74 1
a74 1
.include <bsd.port.mk>
@


1.20
log
@- Pass maintainership to submitter

Submitted by:	"Beat Gtzi" <beat@@chruetertee.ch>
@
text
@d16 1
a16 1
MAINTAINER=	beat@@chruetertee.ch
@


1.19
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.18
log
@Drop maintainership
@
text
@d10 1
@


1.17
log
@- Add one more MASTER_SITE
@
text
@d15 1
a15 1
MAINTAINER=	garga@@FreeBSD.org
@


1.16
log
@- Update to 0.60

PR:		ports/112377
Submitted by:	Dima Panov <fluffy@@ael.ru>
@
text
@d11 2
a12 1
MASTER_SITES=	http://the.earth.li/~sgtatham/putty/%SUBDIR%/
@


1.15
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	0.59
PORTREVISION=	1
@


1.14
log
@Install puttygen even if you set WITHOUT_GTK since it doesn't require gtk.

PR:		ports/110335
Submitted by:	Kenneth Vestergaard Schmidt<kvs@@pil.dk>
@
text
@d10 1
@


1.13
log
@Update to 0.59
@
text
@d22 2
a23 6
.if !defined(WITHOUT_IPV6)
CFLAGS+=	-DIPV6
.endif

PLIST_FILES=	bin/plink bin/pscp bin/psftp
MAN1=		plink.1 pscp.1 psftp.1
d27 2
a28 2
PLIST_FILES+=	bin/pterm bin/putty bin/puttygen bin/puttytel
MAN1+=		pterm.1 putty.1 puttygen.1 puttytel.1
d33 4
@


1.12
log
@- Remove 4.x support on my ports
@
text
@d9 1
a9 2
PORTVERSION=	0.58
PORTREVISION=	1
d22 1
a22 1
.ifndef WITHOUT_IPV6
d29 1
a29 1
.ifndef WITHOUT_GTK
d34 1
d38 1
a38 1
	@@${REINPLACE_CMD} -e 's,gtk-config,${GTK_CONFIG},; \
d40 1
a40 1
			     ${WRKSRC}/${MAKEFILE}
@


1.11
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d42 1
a42 11
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
CFLAGS+=	-DFREEBSD_MB_SUPPORT

do-configure:
	${CP} ${FILESDIR}/wcrtomb.c ${FILESDIR}/mbrtowc.c \
		${WRKSRC}/
.endif

.include <bsd.port.post.mk>
@


1.10
log
@Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.

Discussed with:	kris
Approved by:	portmgr (implicit)
@
text
@a18 1
USE_REINPLACE=	yes
@


1.9
log
@Change MAINTAINER to my @@FreeBSD.org account

Approved by:	flz (mentor)
@
text
@d10 1
@


1.8
log
@- Update to 0.58
- Assign maintainership

PR:		80460
Submitted by:	Renato Botelho <freebsd@@galle.com.br>
@
text
@d14 1
a14 1
MAINTAINER=	freebsd@@galle.com.br
@


1.7
log
@Security update to 0.57.

Security:	http://vuxml.FreeBSD.org/a413ed94-836e-11d9-a9e7-0001020eed82.html
Approved by:	erwin (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.57
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d22 1
d38 3
a40 1
	${REINPLACE_CMD} -e 's,gtk-config,${GTK_CONFIG},' ${WRKSRC}/${MAKEFILE}
@


1.6
log
@- Security Update to 0.56
@
text
@d9 1
a9 1
PORTVERSION=	0.56
@


1.5
log
@- drop maintainership
@
text
@d9 1
a9 1
PORTVERSION=	0.55
@


1.4
log
@- Security update to 0.55
@
text
@d14 1
a14 1
MAINTAINER=	dinoex@@FreeBSD.org
@


1.3
log
@- improve supoort of gtk
Submitted by:	fjoe
@
text
@d9 1
a9 2
PORTVERSION=	0.54
PORTREVISION=	1
d27 1
a27 1
MAN1=		plink.1
@


1.2
log
@- Enable IPV6 Support per default
- new Option WITHOUT_IPV6
Submitted by:	ume
@
text
@d19 1
d36 3
@


1.1
log
@PuTTY is a client program for the SSH, Telnet and Rlogin network protocols.

These protocols are all used to run a remote session on a computer,
over a network. PuTTY implements the client end of that session:
the end at which the session is displayed, rather than the end
at which it runs.

WWW: http://www.chiark.greenend.org.uk/~sgtatham/putty/
@
text
@d10 2
a11 1
CATEGORIES=	security
d21 4
a24 2
CFLAGS+=	-DOMIT_UTMP
CFLAGS=	-DBSD_PTYS -DOMIT_UTMP
@

