freebsd-ports/security/libssh2/Makefile
Cheng-Lung Sung 4ff3f1b6ad - Updating libssh2 to 0.14. Changes:
- Plug leaks in EVP cipher init/shutdown. (Selcuk Gueney)
  - Allow socket_fd == 0 in libssh2_session_startup(). (puudeli)
  - Swap ordering of packet_add/packet-inspection to avoid inspect after
  - free. (Selcuk)
  - Swap KEX_INIT ordering, send our KEX_INIT first.
  - Add check for oportunistic KEX_INIT packets.  Burn bad guess if necessary.
  - Fix OpenSSL detection using pkg-config. (Dan Casey)

PR:		ports/100127
Submitted by:	maintainer (David Thiel)
2006-07-12 04:32:41 +00:00

36 lines
889 B
Makefile

# New ports collection makefile for: libssh2
# Date created: 2005-04-07
# Whom: Alexander Leidinger <netchild@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= libssh2
PORTVERSION= 0.14
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lx@redundancy.redundancy.org
COMMENT= A library implementing the SSH2 protocol
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
PLIST_FILES= include/libssh2.h \
include/libssh2_publickey.h \
include/libssh2_sftp.h \
lib/libssh2.so \
lib/libssh2.so.0
post-patch:
@${REINPLACE_CMD} -e '/ssh2_sample\.o/d' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|SHLIB_SUFFIX_NAME@ |SHLIB_SUFFIX_NAME@.0 |g' \
${WRKSRC}/src/Makefile.in
post-install:
${LN} -s libssh2.so.0 ${PREFIX}/lib/libssh2.so
.include <bsd.port.mk>