ports/82280: Update port: security/libssh2 to 0.10
KATO Tsuguru
tkato432 at yahoo.com
Wed Jun 15 17:10:20 UTC 2005
>Number: 82280
>Category: ports
>Synopsis: Update port: security/libssh2 to 0.10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 15 17:10:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 0.10
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/security/libssh2/Makefile security/libssh2/Makefile
--- /usr/ports/security/libssh2/Makefile Sat Apr 23 20:32:20 2005
+++ security/libssh2/Makefile Mon Jun 6 20:11:38 2005
@@ -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 @@
MAINTAINER= ports at 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 @@
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 at .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>
diff -urN /usr/ports/security/libssh2/distinfo security/libssh2/distinfo
--- /usr/ports/security/libssh2/distinfo Sat Apr 23 05:09:20 2005
+++ security/libssh2/distinfo Mon Jun 6 18:36:42 2005
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list