head	1.23;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.1;
locks; strict;
comment	@# @;


1.23
date	2013.03.22.23.30.10;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2013.03.06.12.55.10;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2013.02.19.14.35.27;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.11.17.06.01.07;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.04.18.23.56.46;	author avl;	state Exp;
branches;
next	1.18;

1.18
date	2011.07.03.11.40.47;	author swills;	state Exp;
branches;
next	1.17;

1.17
date	2011.01.27.09.36.41;	author avl;	state Exp;
branches;
next	1.16;

1.16
date	2010.12.30.03.13.01;	author avl;	state Exp;
branches;
next	1.15;

1.15
date	2010.12.05.06.02.49;	author avl;	state Exp;
branches;
next	1.14;

1.14
date	2010.09.12.13.37.21;	author avl;	state Exp;
branches;
next	1.13;

1.13
date	2010.08.05.02.51.51;	author avl;	state Exp;
branches;
next	1.12;

1.12
date	2010.07.27.01.25.18;	author wxs;	state Exp;
branches;
next	1.11;

1.11
date	2010.06.11.00.13.52;	author avl;	state Exp;
branches;
next	1.10;

1.10
date	2010.03.26.08.31.47;	author avl;	state Exp;
branches;
next	1.9;

1.9
date	2010.02.14.04.23.45;	author avl;	state Exp;
branches;
next	1.8;

1.8
date	2009.12.14.02.05.55;	author avl;	state Exp;
branches;
next	1.7;

1.7
date	2009.09.17.22.27.37;	author avl;	state Exp;
branches;
next	1.6;

1.6
date	2009.08.29.15.53.22;	author avl;	state Exp;
branches;
next	1.5;

1.5
date	2009.08.20.18.01.27;	author tabthorpe;	state Exp;
branches;
next	1.4;

1.4
date	2009.07.15.13.54.55;	author avl;	state Exp;
branches;
next	1.3;

1.3
date	2009.07.13.12.57.25;	author avl;	state Exp;
branches;
next	1.2;

1.2
date	2009.05.28.20.44.13;	author avl;	state Exp;
branches;
next	1.1;

1.1
date	2009.04.12.17.47.48;	author lwhsu;	state Exp;
branches;
next	;


desc
@@


1.23
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314960
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Alexander Logvinov <ports@@logvinov.com>
# $FreeBSD: head/security/libssh/Makefile 314960 2013-03-22 20:06:14Z makc $

PORTNAME=	libssh
PORTVERSION=	0.5.2
CATEGORIES=	security devel
MASTER_SITES=	http://www.libssh.org/files/0.5/ \
		LOCAL/avl

MAINTAINER=	fluffy@@FreeBSD.org
COMMENT=	A library implementing the SSH1 and SSH2 protocol

OPTIONS_DEFINE=	GCRYPT SSH1
GCRYPT_DESC=	Build with libgcrypt
SSH1_DESC=	Build with SSH1 support

MAKE_JOBS_SAFE=	yes
USES=		cmake
CMAKE_SOURCE_PATH=	${WRKSRC}
CONFIGURE_WRKSRC=	${CMAKE_SOURCE_PATH}/build
BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
INSTALL_WRKSRC?=	${BUILD_WRKSRC}
CMAKE_ARGS+=	-DWITH_STATIC_LIB:BOOL=ON
USE_LDCONFIG=	yes

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGCRYPT}
LIB_DEPENDS+=	gcrypt.18:${PORTSDIR}/security/libgcrypt
CMAKE_ARGS+=	-DWITH_GCRYPT:BOOL=ON
.else
USE_OPENSSL=	yes
.endif

.if ${PORT_OPTIONS:MSSH1}
CMAKE_ARGS+=	-DWITH_SSH1:BOOL=ON
PLIST_SUB+=	SSH1=""
.else
CMAKE_ARGS+=	-DWITH_SSH1:BOOL=OFF
PLIST_SUB+=	SSH1="@@comment "
.endif

post-patch:
	@@${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
	@@${REINPLACE_CMD} -e '/add_subdirectory.*s)/d' \
		-e 's|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \
		${PATCH_WRKSRC}/CMakeLists.txt
	@@${REINPLACE_CMD} -e 's|ssh_static|ssh|' \
		${PATCH_WRKSRC}/src/CMakeLists.txt

.include <bsd.port.mk>
@


1.22
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313460
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/libssh/Makefile 313460 2013-03-05 17:07:43Z miwi $
d18 1
a18 1
USE_CMAKE=	yes
@


1.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312560
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 2
a2 6
# New ports collection makefile for:	libssh
# Date created:				12 April 2009
# Whom:					Alexander Logvinov <ports@@logvinov.com>
#
# $FreeBSD: head/security/libssh/Makefile 312560 2013-02-19 13:12:37Z fluffy $
#
d13 3
a15 2
OPTIONS=	GCRYPT	"Build with libgcrypt"		off \
		SSH1	"Build with SSH1 support"	off
d31 1
a31 1
.if defined(WITH_GCRYPT)
d38 1
a38 1
.if defined(WITH_SSH1)
@


1.20
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/libssh/Makefile 300897 2012-07-14 14:29:18Z beat $
d14 1
a14 1
MAINTAINER=	avl@@FreeBSD.org
@


1.19
log
@- Update to 0.5.2
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@- Chase the libgcrypt shared lib version
@
text
@d9 1
a9 2
PORTVERSION=	0.4.8
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.libssh.org/files/0.4/ \
a49 1
	@@${MKDIR} ${BUILD_WRKSRC}
d52 1
d55 1
a55 1
		${PATCH_WRKSRC}/libssh/CMakeLists.txt
@


1.17
log
@- Update to 0.4.8
- Remove BSD license, this library is distributed under LGPL21 license

Feature safe:	yes
@
text
@d10 1
d36 1
a36 1
LIB_DEPENDS+=	gcrypt.17:${PORTSDIR}/security/libgcrypt
@


1.16
log
@- Update to 0.4.7
- The libssh library is distributed under LGPL21 license
@
text
@d9 1
a9 1
PORTVERSION=	0.4.7
d29 2
a30 4
LICENSE=	LGPL21 BSD
LICENSE_COMB=	multi
LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING
LICENSE_FILE_BSD=	${WRKSRC}/BSD
@


1.15
log
@- Install a static version of the library [1]
- Fix slow response in Remmina SSH [2]
- Remove MD5 checksum from distinfo

PR:		ports/151653 [1]
Submitted by:	Ronald F.Guilmette <rfg AT tristatelogic.com> [1]
Obtained from:	libssh git [2]
@
text
@d9 1
a9 2
PORTVERSION=	0.4.6
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.libssh.org/files/ \
d29 1
a29 1
LICENSE=	GPLv2 BSD
d31 1
a31 1
LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
@


1.14
log
@- Update to 0.4.6
@
text
@d10 1
d27 1
d57 2
@


1.13
log
@- Update to 0.4.5
- Add license information
@
text
@d9 1
a9 1
PORTVERSION=	0.4.5
@


1.12
log
@Chase security/libgcrypt shlib bump.

PR:		ports/148755
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d9 1
a9 2
PORTVERSION=	0.4.4
PORTREVISION=	1
d28 5
@


1.11
log
@- Update to 0.4.4
@
text
@d10 1
d32 1
a32 1
LIB_DEPENDS+=	gcrypt.16:${PORTSDIR}/security/libgcrypt
@


1.10
log
@- Update to 0.4.2
- Add option for SSH1 support
@
text
@d9 1
a9 1
PORTVERSION=	0.4.2
@


1.9
log
@- Update to 0.4.1
@
text
@d9 1
a9 1
PORTVERSION=	0.4.1
d17 2
a18 1
OPTIONS=	GCRYPT	"Build with libgcrypt"	off
d37 8
@


1.8
log
@- Update to 0.4.0

Thanks to:	fluffy@@
@
text
@d9 1
a9 1
PORTVERSION=	0.4.0
@


1.7
log
@- Update to 0.3.4

Approved by:	tabthorpe, glarkin (mentors, implicit)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.3.4
d11 2
a12 1
MASTER_SITES=	http://www.libssh.org/files/
d17 2
d24 9
a32 1
INSTALL_WRKSRC=		${CONFIGURE_WRKSRC}
d34 1
a34 1
USE_LDCONFIG=	yes
d37 4
a40 2
	@@${MKDIR} ${WRKSRC}/build
	@@${RM} ${WRKSRC}/cmake/Modules/UseDoxygen.cmake
@


1.6
log
@- Update to 0.3.3

Approved by:	tabthorpe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.3
@


1.5
log
@- Update to 0.3.2

PR:		ports/137549
Submitted by:	Sylvio Cesar <scjamorim bsd.com.br>
Approved by:	maintainer implicit
@
text
@d9 1
a9 1
PORTVERSION=	0.3.2
@


1.4
log
@- Update to 0.3.1

Approved by:	tabthorpe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.1
@


1.3
log
@- Update to 0.3.0

Approved by:	tabthorpe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.0
@


1.2
log
@Change MAINTAINER on my ports to my FreeBSD email address

Approved by:	tabthorpe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.2
d11 1
a11 2
MASTER_SITES=	http://0xbadc0de.be/libssh/
EXTRACT_SUFX=	.tgz
d17 5
a21 1
GNU_CONFIGURE=	yes
d25 4
@


1.1
log
@Add libssh 0.2, a library implementing the SSH1 and SSH2 protocol.

PR:		ports/133657
Submitted by:	Alexander Logvinov <ports at logvinov.com>
@
text
@d14 1
a14 1
MAINTAINER=	ports@@logvinov.com
@

