svn commit: r445123 - in head/net-mgmt/ccnet-client: . files
Richard Gallamore
ultima at FreeBSD.org
Thu Jul 6 02:21:24 UTC 2017
Author: ultima
Date: Thu Jul 6 02:21:23 2017
New Revision: 445123
URL: https://svnweb.freebsd.org/changeset/ports/445123
Log:
* Add patch to fix build for libressl
* Removed --enable-ldap, not a valid configure arg
PR: 219605
Submitted by: Jens K. Loewe <mozilla at tuxproject.de>
Reviewed by: lifanov (mentor)
Approved by: lifanov (mentor)
Differential Revision: https://reviews.freebsd.org/D11453
Added:
head/net-mgmt/ccnet-client/files/patch-lib_rsa.c (contents, props changed)
Modified:
head/net-mgmt/ccnet-client/Makefile
Modified: head/net-mgmt/ccnet-client/Makefile
==============================================================================
--- head/net-mgmt/ccnet-client/Makefile Thu Jul 6 01:53:11 2017 (r445122)
+++ head/net-mgmt/ccnet-client/Makefile Thu Jul 6 02:21:23 2017 (r445123)
@@ -3,6 +3,7 @@
PORTNAME= ccnet-client
PORTVERSION= ${SEAFILE_CLIENT_VER}
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net-mgmt devel
MAINTAINER= ultima at FreeBSD.org
@@ -21,19 +22,17 @@ LIB_DEPENDS= libsearpc.so:devel/libsearpc \
CONFLICTS= ccnet-server-[0-9]*
-USE_GITHUB= yes
-GH_ACCOUNT= haiwen
-GH_PROJECT= ccnet
-
USES= autoreconf gettext libtool localbase pathfix pkgconfig \
python:-2.7 ssl
USE_GNOME= glib20
USE_LDCONFIG= yes
USE_OPENLDAP= yes
+USE_GITHUB= yes
+GH_ACCOUNT= haiwen
+GH_PROJECT= ccnet
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-ldap
INSTALL_TARGET= install-strip
.include "${.CURDIR}/../seafile-client/Makefile.include"
Added: head/net-mgmt/ccnet-client/files/patch-lib_rsa.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/ccnet-client/files/patch-lib_rsa.c Thu Jul 6 02:21:23 2017 (r445123)
@@ -0,0 +1,11 @@
+--- lib/rsa.c.orig 2017-07-02 22:29:20 UTC
++++ lib/rsa.c
+@@ -13,7 +13,7 @@
+
+ /* Forward compatibility functions if libssl < 1.1.0. */
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
+
+ int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
+ {
More information about the svn-ports-head
mailing list