FreeBSD Bugzilla – Attachment 208141 Details for
Bug 241103
security/protonvpn-cli: fixes issue with certs and issue with countries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
protonvpn-cli - wget and free servers fix
protonvpn-cli.diff (text/plain), 1.30 KB, created by
Lorenzo Salvadore
on 2019-10-06 15:06:24 UTC
(
hide
)
Description:
protonvpn-cli - wget and free servers fix
Filename:
MIME Type:
Creator:
Lorenzo Salvadore
Created:
2019-10-06 15:06:24 UTC
Size:
1.30 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 513763) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > PORTNAME= protonvpn-cli > DISTVERSIONPREFIX= v > DISTVERSION= 1.1.2 >+PORTREVISION= 1 > CATEGORIES= security net net-vpn > > MAINTAINER= phascolarctos@protonmail.ch >@@ -16,7 +17,8 @@ > > RUN_DEPENDS= bash:shells/bash \ > openvpn:security/openvpn \ >- wget:ftp/wget >+ wget:ftp/wget \ >+ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss > > USES= python > >@@ -34,7 +36,7 @@ > > 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 >+ ${REINPLACE_CMD} s,wget,wget\ --ca-certificate\ ${LOCALBASE}/share/certs/ca-root-nss.crt,g ${WRKSRC}/protonvpn-cli.sh > ${REINPLACE_CMD} s,%%LOCALBASE%%,${LOCALBASE},g ${WRKSRC}/protonvpn-cli.sh > > do-install: >Index: files/patch-protonvpn-cli.sh >=================================================================== >--- files/patch-protonvpn-cli.sh (revision 513763) >+++ files/patch-protonvpn-cli.sh (working copy) >@@ -229,10 +229,10 @@ > + then > + if [[ $1 -eq 1 ]] > + then >-+ country_id=6 >++ country_id=9 > + elif [[ $1 -eq 2 ]] > + then >-+ country_id=7 >++ country_id=6 > + fi > + fi > +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
salvadore
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 241103
: 208141