Package Details: protonvpn-cli-ng 2.2.11-1

Git Clone URL: https://aur.archlinux.org/protonvpn-cli-ng.git (read-only, click to copy)
Package Base: protonvpn-cli-ng
Description: A Linux CLI for ProtonVPN.
Upstream URL: https://github.com/ProtonVPN/linux-cli-community
Keywords: ProtonMail ProtonVPN VPN
Licenses: GPLv3
Conflicts: protonvpn-cli
Submitter: exprez135
Maintainer: exprez135
Last Packager: exprez135
Votes: 57
Popularity: 0.85
First Submitted: 2019-11-21 06:46
Last Updated: 2021-07-12 20:01

Pinned Comments

exprez135 commented on 2021-06-29 20:22

Updates:

The new official Linux CLI client is now available. Source code and AUR protonvpn-cli. Please upgrade to this client if possible.

As for this community version, I think it should be maintained here for a while longer as there have still been git changes over the last week. The latest version is 2.2.11. This package is now marked as conflicting with the official protonvpn-cli package.

exprez135 commented on 2021-03-27 16:22

Note: if upstream changes and the checksum needs to be updated, please try clean building to prevent caches from interfering.

Latest Comments

1 2 3 4 Next › Last »

Koppajin commented on 2021-10-21 07:22

How can I get rid of the annoying upgrade message? "ProtonVPN now offers an official Linux app which includes a graphical user interface. Visit https://protonvpn.com/support/official-linux-client to upgrade." EDIT: Oh, it's only there if you use Network Manager. Guess I'm changing back to Connman. :)

The "new" protonvpn-cli doesn't work for me but this one has always worked. Is this package going to keep working in the future?

christoph.gysin commented on 2021-07-12 15:43

Could you make this provide/conflict with protonvpn-cli, so it automatically gets removed when installing protonvpn-cli?

miss_barfin commented on 2021-07-12 06:54

@exprez135 you should upgrade to 2.2.11 the pip repo and other places have updated it to 2.2.11, which is the recommended way of installing it in github page, just because it's a tag doesn't mean it shouldn't be updated

miss_barfin commented on 2021-07-12 06:50

you should make it like this, this way the Description says that this is made by community, it updates to latest 2.2.11, and when you're going to update you will need to only change the pkgver version and not anything else,the code is way cleaner like this

# Maintainer: Nate Ijams ~ exprez135 <exprezdev at pm dot me>
# Contributor: Barfin 

pkgname=protonvpn-cli-ng
pkgver=2.2.11
pkgrel=1
pkgdesc="A Linux CLI for ProtonVPN By the community."
arch=("any")
url="https://github.com/ProtonVPN/linux-cli-community"
license=("GPLv3")
depends=("openvpn" "python" "dialog" "python-pythondialog" "python-setuptools" "python-docopt" "python-requests" "python-jinja")
replaces=("protonvpn-cli")
source=("https://github.com/ProtonVPN/linux-cli-community/archive/v${pkgver}.tar.gz")
sha256sums=('2fc643762e9156928b706c31a7826427a7ca12c7ae4cdfb656746cd2de3af66b')

_protonvpn_src_dir="linux-cli-community-${pkgver}"

package() {
    # Define paths
    _protonvpn_src_dir="${srcdir}/${_protonvpn_src_dir}"

    # Install protonvpn-cli-ng package
    cd "${_protonvpn_src_dir}"
    python setup.py install --optimize=1 --root="$pkgdir" 

    install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

}

exprez135 commented on 2021-06-29 20:22

Updates:

The new official Linux CLI client is now available. Source code and AUR protonvpn-cli. Please upgrade to this client if possible.

As for this community version, I think it should be maintained here for a while longer as there have still been git changes over the last week. The latest version is 2.2.11. This package is now marked as conflicting with the official protonvpn-cli package.

rEnr3n commented on 2021-03-28 08:27

diff -u a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD  2021-03-28 08:01:59.994307426 +0000
+++ b/PKGBUILD  2021-03-28 08:06:33.285398550 +0000
@@ -9,7 +9,7 @@
 license=("GPLv3")
 depends=("openvpn" "python" "dialog" "python-pythondialog" "python-setuptools" "python-docopt" "python-requests" "python-jinja")
 replaces=("protonvpn-cli")
-source=("https://github.com/ProtonVPN/linux-cli-community/archive/v2.2.6.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
 sha256sums=('eb7e334ea55f510fdcda44541714ee4c03b7d00a23228ee5e18d37863b243d72')

 _protonvpn_src_dir="linux-cli-community-2.2.6"

This should help with cache issue and other conflicting packages.

exprez135 commented on 2021-03-27 16:22

Note: if upstream changes and the checksum needs to be updated, please try clean building to prevent caches from interfering.

Dwa30v commented on 2021-03-27 09:48

Thanks, @exprez13. It failed via pamac. Updating via bmenu worked just fine. So, all good.

exaile commented on 2021-03-27 09:09

@Dwa30v did you clean build? i also installed and it worked fine

Dwa30v commented on 2021-03-27 08:58

I see the package was updated yesterday. However, I still get the error:

==> Validating source files with sha256sums...
    v2.2.6.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build protonvpn-cli-ng