mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Support libgcrypt, and update to 1.2.1, a bugfix release.
PR: ports/138473 Submitted by: Peter Wullinger Feature safe: yes
This commit is contained in:
parent
16ac92e6df
commit
c8f53ebab5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242527
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libssh2
|
||||
PORTVERSION= 1.2
|
||||
PORTVERSION= 1.2.1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= security devel
|
||||
MASTER_SITES= http://www.libssh2.org/download/ \
|
||||
@ -18,14 +18,16 @@ COMMENT= A library implementing the SSH2 protocol
|
||||
USE_OPENSSL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
OPTIONS= GCRYPT "Use libgcrypt instead of OpenSSL" off
|
||||
|
||||
PLIST_FILES= include/libssh2.h \
|
||||
include/libssh2_publickey.h \
|
||||
include/libssh2_sftp.h \
|
||||
lib/libssh2.so \
|
||||
lib/libssh2.so.1 \
|
||||
lib/libssh2.la \
|
||||
lib/libssh2.a
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_GCRYPT)
|
||||
LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt
|
||||
CONFIGURE_ARGS+= --with-libgcrypt -with-libgcrypt-prefix=${LOCALBASE} --without-openssl
|
||||
CFLAGS+=-I${LOCALBASE}/include
|
||||
LDFLAGS+=-L${LOCALBASE}/lib
|
||||
.endif
|
||||
|
||||
MAN3= libssh2_banner_set.3 \
|
||||
libssh2_base64_decode.3 \
|
||||
@ -125,5 +127,7 @@ 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
|
||||
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (libssh2-1.2.tar.gz) = 751f4b5b5d8091f84cfe25fa52226cf9
|
||||
SHA256 (libssh2-1.2.tar.gz) = 3176fc0c31de6be74e531680319cbf595637667c0645223d5d66caec54937bb8
|
||||
SIZE (libssh2-1.2.tar.gz) = 532299
|
||||
MD5 (libssh2-1.2.1.tar.gz) = 4ee0197947a3b8a4472328c346e1a0e4
|
||||
SHA256 (libssh2-1.2.1.tar.gz) = d225403bbd8c0c2ecc5dc8e3f0e81525818965f285ad4b8b4c2f1d54f3f9c854
|
||||
SIZE (libssh2-1.2.1.tar.gz) = 533302
|
||||
|
9
security/libssh2/pkg-plist
Normal file
9
security/libssh2/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
include/libssh2.h
|
||||
include/libssh2_publickey.h
|
||||
include/libssh2_sftp.h
|
||||
lib/libssh2.so
|
||||
lib/libssh2.so.1
|
||||
lib/libssh2.la
|
||||
lib/libssh2.a
|
||||
libdata/pkgconfig/libssh2.pc
|
||||
@dirrmtry libdata/pkgconfig
|
Loading…
Reference in New Issue
Block a user