From owner-svn-ports-all@freebsd.org Thu Mar 14 23:15:29 2019 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 A9A7C15331BA; Thu, 14 Mar 2019 23:15:29 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CE1472FBD; Thu, 14 Mar 2019 23:15:29 +0000 (UTC) (envelope-from cmt@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 3F94C16EE; Thu, 14 Mar 2019 23:15:29 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2ENFTOC086424; Thu, 14 Mar 2019 23:15:29 GMT (envelope-from cmt@FreeBSD.org) Received: (from cmt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2ENFSJ5086422; Thu, 14 Mar 2019 23:15:28 GMT (envelope-from cmt@FreeBSD.org) Message-Id: <201903142315.x2ENFSJ5086422@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cmt set sender to cmt@FreeBSD.org using -f From: Christoph Moench-Tegeder Date: Thu, 14 Mar 2019 23:15:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495742 - in head/sysutils/vagrant: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cmt X-SVN-Commit-Paths: in head/sysutils/vagrant: . files X-SVN-Commit-Revision: 495742 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4CE1472FBD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 14 Mar 2019 23:15:29 -0000 Author: cmt Date: Thu Mar 14 23:15:28 2019 New Revision: 495742 URL: https://svnweb.freebsd.org/changeset/ports/495742 Log: Use CA certificates from ca_root_nss for TLS validation instead of embedding a very old version of that file, and depend on ca_root_nss for that. Add dependency on curl, which has been missing for a long time. PR: 234421 Submitted by: joe@thrallingpenguin.com Reported by: corvid@openmailbox.org Approved by: joe@thrallingpenguin.com (maintainer) Deleted: head/sysutils/vagrant/files/cacert.pem Modified: head/sysutils/vagrant/Makefile head/sysutils/vagrant/files/patch-bin_vagrant head/sysutils/vagrant/pkg-plist Modified: head/sysutils/vagrant/Makefile ============================================================================== --- head/sysutils/vagrant/Makefile Thu Mar 14 22:54:03 2019 (r495741) +++ head/sysutils/vagrant/Makefile Thu Mar 14 23:15:28 2019 (r495742) @@ -4,6 +4,7 @@ PORTNAME= vagrant PORTVERSION= 2.2.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils rubygems devel MAINTAINER= joe@thrallingpenguin.com @@ -35,7 +36,9 @@ RUN_DEPENDS= rubygem-bcrypt_pbkdf>=1.0.0:security/ruby rubygem-winrm>=2.1:sysutils/rubygem-winrm \ rubygem-winrm-elevated>=1.1:sysutils/rubygem-winrm-elevated \ rubygem-winrm-fs>=1.0:sysutils/rubygem-winrm-fs \ - rubygem-ruby_dep>=0:devel/rubygem-ruby_dep + rubygem-ruby_dep>=0:devel/rubygem-ruby_dep \ + ca_root_nss>=0:security/ca_root_nss \ + curl:ftp/curl USE_GITHUB= yes GH_ACCOUNT= hashicorp @@ -71,8 +74,6 @@ do-build: ${GEMFILES} -- ${CONFIGURE_ARGS}) ${RMDIR} ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER}/build_info ${MKDIR} ${STAGEDIR}${DATADIR}/embedded/rgloader - ${INSTALL_DATA} ${FILESDIR}/cacert.pem \ - ${STAGEDIR}${DATADIR}/embedded/cacert.pem ${INSTALL_SCRIPT} ${FILESDIR}/loader.rb \ ${STAGEDIR}${DATADIR}/embedded/rgloader/loader.rb Modified: head/sysutils/vagrant/files/patch-bin_vagrant ============================================================================== --- head/sysutils/vagrant/files/patch-bin_vagrant Thu Mar 14 22:54:03 2019 (r495741) +++ head/sysutils/vagrant/files/patch-bin_vagrant Thu Mar 14 23:15:28 2019 (r495742) @@ -1,5 +1,5 @@ ---- bin/vagrant.orig 2018-11-16 19:25:33 UTC -+++ bin/vagrant +--- bin/vagrant.orig 2019-02-27 15:35:56.000000000 +0000 ++++ bin/vagrant 2019-03-11 03:50:43.415883000 +0000 @@ -5,6 +5,9 @@ # initializing which have historically resulted in stack traces. Signal.trap("INT") { abort } @@ -10,3 +10,14 @@ # Disable exception reporting by default if available if Thread.respond_to?(:report_on_exception=) Thread.report_on_exception = false +@@ -16,7 +19,9 @@ + + # These will be the options that are passed to initialize the Vagrant + # environment. +-opts = {} ++opts = { ++ :ca_cert => '@PREFIX@/share/certs/ca-root-nss.crt' ++} + + if idx = argv.index("--") + argv_extra = argv.slice(idx+1, argv.length-2) Modified: head/sysutils/vagrant/pkg-plist ============================================================================== --- head/sysutils/vagrant/pkg-plist Thu Mar 14 22:54:03 2019 (r495741) +++ head/sysutils/vagrant/pkg-plist Thu Mar 14 23:15:28 2019 (r495742) @@ -969,6 +969,5 @@ bin/vagrant %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/vagrant.gemspec %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/version.txt %%GEMS_DIR%%specifications/vagrant-%%PORTVERSION%%.gemspec -%%DATADIR%%/embedded/cacert.pem %%DATADIR%%/embedded/rgloader/loader.rb @dir %%GEMS_DIR%%extensions