From owner-svn-ports-all@freebsd.org Fri Sep 9 22:22:44 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84587BD4395; Fri, 9 Sep 2016 22:22:44 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5381FC20; Fri, 9 Sep 2016 22:22:44 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u89MMhDC000685; Fri, 9 Sep 2016 22:22:43 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u89MMhBi000683; Fri, 9 Sep 2016 22:22:43 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609092222.u89MMhBi000683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 9 Sep 2016 22:22:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421640 - in head/comms/libimobiledevice: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 22:22:44 -0000 Author: marino Date: Fri Sep 9 22:22:43 2016 New Revision: 421640 URL: https://svnweb.freebsd.org/changeset/ports/421640 Log: comms/libimobiledevice: Handle missing SSLv3 case Approved by: SSL blanket Added: head/comms/libimobiledevice/files/patch-src_idevice.c (contents, props changed) Modified: head/comms/libimobiledevice/Makefile Modified: head/comms/libimobiledevice/Makefile ============================================================================== --- head/comms/libimobiledevice/Makefile Fri Sep 9 22:07:48 2016 (r421639) +++ head/comms/libimobiledevice/Makefile Fri Sep 9 22:22:43 2016 (r421640) @@ -13,8 +13,7 @@ LICENSE?= LGPL21 SLAVE_PORT?= no -USES+= cpe libtool pathfix pkgconfig tar:bzip2 -USE_OPENSSL= yes +USES+= cpe libtool pathfix pkgconfig ssl tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS+=openssl_CFLAGS="-I${OPENSSLINC}" \ openssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" Added: head/comms/libimobiledevice/files/patch-src_idevice.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/libimobiledevice/files/patch-src_idevice.c Fri Sep 9 22:22:43 2016 (r421640) @@ -0,0 +1,11 @@ +--- src/idevice.c.orig 2015-01-28 01:10:32 UTC ++++ src/idevice.c +@@ -678,7 +678,7 @@ LIBIMOBILEDEVICE_API idevice_error_t ide + } + BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE); + +- SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method()); ++ SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv23_method()); + if (ssl_ctx == NULL) { + debug_info("ERROR: Could not create SSL context."); + BIO_free(ssl_bio);