From owner-svn-ports-all@freebsd.org Wed Feb 22 19:02:52 2017 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 B9495CE936D; Wed, 22 Feb 2017 19:02:52 +0000 (UTC) (envelope-from rezny@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 6FD077B3; Wed, 22 Feb 2017 19:02:52 +0000 (UTC) (envelope-from rezny@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1MJ2pul021895; Wed, 22 Feb 2017 19:02:51 GMT (envelope-from rezny@FreeBSD.org) Received: (from rezny@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1MJ2pks021893; Wed, 22 Feb 2017 19:02:51 GMT (envelope-from rezny@FreeBSD.org) Message-Id: <201702221902.v1MJ2pks021893@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rezny set sender to rezny@FreeBSD.org using -f From: Matthew Rezny Date: Wed, 22 Feb 2017 19:02:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434630 - in head/www/lynx: . 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: Wed, 22 Feb 2017 19:02:52 -0000 Author: rezny Date: Wed Feb 22 19:02:51 2017 New Revision: 434630 URL: https://svnweb.freebsd.org/changeset/ports/434630 Log: Fix building with libressl-devel and add missing dependency on libidn. PR: 216785 Approved by: jharris@widomaker.com (maintainer), swills (mentor) Differential Revision: https://reviews.freebsd.org/D9672 Added: head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c (contents, props changed) Modified: head/www/lynx/Makefile Modified: head/www/lynx/Makefile ============================================================================== --- head/www/lynx/Makefile Wed Feb 22 18:56:44 2017 (r434629) +++ head/www/lynx/Makefile Wed Feb 22 19:02:51 2017 (r434630) @@ -3,7 +3,7 @@ PORTNAME= lynx PORTVERSION= 2.8.8.2 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/ \ @@ -15,6 +15,8 @@ COMMENT= Non-graphical, text-based World LICENSE= GPLv2 +LIB_DEPENDS= libidn.so:dns/libidn + CONFLICTS= lynx-2.8.[8-9]d* USES= cpe ncurses shebangfix tar:bzip2 @@ -59,7 +61,7 @@ SSL_USES= ssl post-install-DOCS-on: # Fix some stage symlinks .for doc in COPYHEADER COPYING COPYHEADER.asc COPYING.asc - (cd ${STAGEDIR}${L_HELP} && ln -sf ../doc/lynx/${doc} .) + (cd ${STAGEDIR}${L_HELP} && ${LN} -sf ../doc/lynx/${doc} .) .endfor .include Added: head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/lynx/files/patch-WWW_Library_Implementation_HTTP.c Wed Feb 22 19:02:51 2017 (r434630) @@ -0,0 +1,11 @@ +--- WWW/Library/Implementation/HTTP.c.orig 2017-02-09 21:20:27 UTC ++++ WWW/Library/Implementation/HTTP.c +@@ -721,7 +722,7 @@ static int HTLoadHTTP(const char *arg, + #elif SSLEAY_VERSION_NUMBER >= 0x0900 + #ifndef USE_NSS_COMPAT_INCL + if (!try_tls) { +- handle->options |= SSL_OP_NO_TLSv1; ++ SSL_set_options(handle, SSL_OP_NO_TLSv1); + #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) + } else { + int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);