- Update to 0.10

PR:		ports/82280
Submitted by:	Ports Fury
This commit is contained in:
Michael Johnson 2005-06-16 02:24:17 +00:00
parent 2d927fa3f5
commit 1295f99ab3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137512
2 changed files with 9 additions and 8 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= libssh2
PORTVERSION= 0.8
PORTREVISION= 1
PORTVERSION= 0.10
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -15,9 +14,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= a library implementing the SSH2 protocol
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
PLIST_FILES= include/libssh2.h \
@ -26,10 +26,11 @@ PLIST_FILES= include/libssh2.h \
lib/libssh2.so.0
post-patch:
@${REINPLACE_CMD} -e 's:-lcrypto:-lcrypto -lm:g' ${WRKSRC}/configure
@${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:
${MV} ${PREFIX}/lib/libssh2.so ${PREFIX}/lib/libssh2.so.0
cd ${PREFIX}/lib; ${LN} -s libssh2.so.0 libssh2.so
${LN} -s libssh2.so.0 ${PREFIX}/lib/libssh2.so
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
MD5 (libssh2-0.8.tar.gz) = 439b88328e56b3c1771d308f0550b5c9
SIZE (libssh2-0.8.tar.gz) = 123100
MD5 (libssh2-0.10.tar.gz) = 5b13a3bc21010c4a331fd8cb7b776c35
SIZE (libssh2-0.10.tar.gz) = 130130