|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= libssh2 |
4 |
PORTNAME= libssh2 |
| 5 |
PORTVERSION= 1.7.0 |
5 |
PORTVERSION= 1.8.0 |
| 6 |
PORTEPOCH= 2 |
6 |
PORTEPOCH= 2 |
| 7 |
CATEGORIES= security devel |
7 |
CATEGORIES= security devel |
| 8 |
MASTER_SITES= http://www.libssh2.org/download/ \ |
8 |
MASTER_SITES= http://www.libssh2.org/download/ \ |
|
Lines 26-43
TRACE_DESC= Enable debug packet traces
Link Here
|
| 26 |
|
26 |
|
| 27 |
TRACE_CONFIGURE_ENABLE= debug |
27 |
TRACE_CONFIGURE_ENABLE= debug |
| 28 |
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt |
28 |
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt |
| 29 |
GCRYPT_CONFIGURE_ON= --with-libgcrypt --without-openssl |
29 |
GCRYPT_CONFIGURE_ON= --with-libgcrypt |
| 30 |
GCRYPT_CONFIGURE_OFF= --without-libgcrypt --with-openssl |
30 |
GCRYPT_CONFIGURE_OFF= --with-openssl |
| 31 |
GCRYPT_CPPFLAGS= -I${LOCALBASE}/include |
31 |
GCRYPT_CPPFLAGS= -I${LOCALBASE}/include |
| 32 |
GCRYPT_LIBS= -L${LOCALBASE}/lib |
32 |
GCRYPT_LIBS= -L${LOCALBASE}/lib |
| 33 |
GCRYPT_USE_OFF= openssl=yes |
33 |
GCRYPT_USES_OFF= ssl |
| 34 |
ZLIB_CONFIGURE_WITH= libz |
34 |
ZLIB_CONFIGURE_WITH= libz |
| 35 |
|
35 |
|
| 36 |
|
|
|
| 37 |
.include <bsd.port.pre.mk> |
36 |
.include <bsd.port.pre.mk> |
| 38 |
|
37 |
|
| 39 |
post-patch: |
38 |
post-patch: |
| 40 |
@${REINPLACE_CMD} -e '/Libs:/s/@LDFLAGS@//' -e '/Libs:/s/@LIBS@//' \ |
39 |
@${REINPLACE_CMD} -e '/Libs:/s/@LIBS@//' \ |
| 41 |
${WRKSRC}/libssh2.pc.in |
40 |
${WRKSRC}/libssh2.pc.in |
| 42 |
.if ! ${PORT_OPTIONS:MGCRYPT} |
41 |
.if ! ${PORT_OPTIONS:MGCRYPT} |
| 43 |
. if ${SSL_DEFAULT} == base |
42 |
. if ${SSL_DEFAULT} == base |