From owner-svn-ports-all@freebsd.org Sun Jun 3 18:17:31 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8DDFFE88D8; Sun, 3 Jun 2018 18:17:31 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4982734A0; Sun, 3 Jun 2018 18:17:29 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 875BE22201; Sun, 3 Jun 2018 18:17:29 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w53IHTTW038207; Sun, 3 Jun 2018 18:17:29 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w53IHTEm038206; Sun, 3 Jun 2018 18:17:29 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201806031817.w53IHTEm038206@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 3 Jun 2018 18:17:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471508 - head/www/aria2 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/www/aria2 X-SVN-Commit-Revision: 471508 X-SVN-Commit-Repository: ports 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.26 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: Sun, 03 Jun 2018 18:17:31 -0000 Author: sunpoet Date: Sun Jun 3 18:17:29 2018 New Revision: 471508 URL: https://svnweb.freebsd.org/changeset/ports/471508 Log: Add CARES option PR: 228712 Submtited by: Modified: head/www/aria2/Makefile Modified: head/www/aria2/Makefile ============================================================================== --- head/www/aria2/Makefile Sun Jun 3 18:17:23 2018 (r471507) +++ head/www/aria2/Makefile Sun Jun 3 18:17:29 2018 (r471508) @@ -13,7 +13,7 @@ COMMENT= Yet another download tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= CA_BUNDLE DOCS NLS SQLITE SSH2 +OPTIONS_DEFINE= CA_BUNDLE CARES DOCS NLS SQLITE SSH2 OPTIONS_DEFAULT=SQLITE OPTIONS_SUB= yes CA_BUNDLE_DESC= Use CA bundle from Mozilla Project @@ -24,7 +24,7 @@ CONFIGURE_ARGS= --disable-epoll --enable-bittorrent -- --enable-threads=posix --enable-websocket \ --with-disk-cache=${ARIA2_DISK_CACHE} \ --with-libxml2 --with-libz --with-openssl \ - --without-appletls --without-gnutls --without-libcares \ + --without-appletls --without-gnutls \ --without-libexpat --without-libgcrypt --without-libgmp \ --without-libnettle --without-libuv CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} \ @@ -43,6 +43,8 @@ PORTDOCS= * CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss +CARES_CONFIGURE_WITH= libares +CARES_LIB_DEPENDS= libcares.so:dns/c-ares NLS_CONFIGURE_OFF= --disable-nls --without-libintl-prefix NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} NLS_LDFLAGS= -lintl