From owner-svn-ports-all@freebsd.org Sun Oct 6 15:09:20 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D11A912CE9D for ; Sun, 6 Oct 2019 15:09:20 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46mRpl69r1z4TTp for ; Sun, 6 Oct 2019 15:09:19 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Sun, 06 Oct 2019 15:09:11 +0000 To: "svn-ports-all@freebsd.org" From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: svn commit: r513655 - in head/security: . protonvpn-cli protonvpn-cli/files Message-ID: <-6B5Q-1RI3C69syLUWE8cLtOqgINxUVAkGk6WNkP2CQzt4LRbyakx0sfEpVRx3WVp33_QTtn63IMYJAodjodMyJu5CkdVgblK2HIi4vD34U=@protonmail.ch> In-Reply-To: References: Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: 46mRpl69r1z4TTp X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.81 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[phascolarctos@protonmail.ch]; R_DKIM_ALLOW(-0.20)[protonmail.ch:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.71)[ip: (-9.67), ipnet: 185.70.40.0/24(-4.90), asn: 19905(-3.91), country: US(-0.05)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[protonmail.ch:+]; DMARC_POLICY_ALLOW(-0.50)[protonmail.ch,quarantine]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[22.40.70.185.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19905, ipnet:185.70.40.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[protonmail.ch.dwl.dnswl.org : 127.0.5.0] 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: Sun, 06 Oct 2019 15:09:20 -0000 > > > New port: security/protonvpn-cli > > > +PLIST_FILES=3D bin/protonvpn-cli \ > > > > > > - bin/pvpn \\ > > > > > > > > > - etc/openvpn/update-resolv-conf > > > > > > > > > - > > > > > > +post-patch: > > > > > > - ${REINPLACE_CMD} s,\$$python,${PYTHON_CMD},g ${WRKSRC}/protonvpn-= cli.sh > > > - ${REINPLACE_CMD} s,wget,wget\ --no-check-certificate,g ${WRKSRC}/= protonvpn-cli.sh > > > > This at least sounds like a bad idea, and would at the very least need = a comment > > of explanation > > I agree that --no-check-certificate sounds like a bad idea, however I was= unable to get the port working > without it. According to my researches on the web installing ca_root_nss = should have fixed the problem > but it did not: maybe I should have specified some argument so that wget = actually uses ca_root_nss? > > If someone can suggest a better solution that --no-check-certificate, I w= ould be glad to try it. I will also try > to found one myself. I found a solution using --ca-certificate. Please see the patch at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241103 Lorenzo Salvadore.