Package Details: riseup-vpn-git 0.24.8.r21.g473595df-1

Git Clone URL: https://aur.archlinux.org/riseup-vpn-git.git (read-only, click to copy)
Package Base: riseup-vpn-git
Description: RiseupVPN is a branded build of Bitmask VPN. Bitmask VPN is a minimal rewrite of the Bitmask VPN Client, written in golang, that for now lacks client authentication, and is preconfigured to use a single provider.
Upstream URL: https://0xacab.org/leap/bitmask-vpn
Licenses: GPL3
Conflicts: riseup-vpn
Submitter: rany
Maintainer: kalikaneko (noktakito, peanut2)
Last Packager: peanut2
Votes: 6
Popularity: 0.007019
First Submitted: 2020-11-02 17:15 (UTC)
Last Updated: 2024-10-01 15:36 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

ldm commented on 2024-07-30 12:34 (UTC)

@SamWhited
tnx, it works for me

SamWhited commented on 2024-07-26 15:23 (UTC)

For anyone else running into the "No such file or directory" while building, it's because the build directory doesn't exist and the files are failing to copy over properly. Creating it once should fix the problem. The following patch to the makefile seems to work:

diff --git a/Makefile b/Makefile
index ff8ff858130a..54d57540ce89 100644
--- a/Makefile
+++ b/Makefile
@@ -367,6 +367,7 @@ tgz:

 gen_pkg_deb:
 ifeq (${PLATFORM}, linux)
+   @mkdir -p build/${PROVIDER}/debian
    @cp -r ${TEMPLATES}/debian build/${PROVIDER}
    @VERSION=${VERSION} VENDOR_PATH=${VENDOR_PATH} ${SCRIPTS}/generate-debian build/${PROVIDER}/debian/data.json
 ifeq (${VENDOR_PATH}, providers)
@@ -382,6 +383,7 @@ endif

 gen_pkg_snap:
 ifeq (${PLATFORM}, linux)
+   @mkdir -p build/${PROVIDER}
    @cp -r ${TEMPLATES}/snap build/${PROVIDER}
    @VERSION=${VERSION} VENDOR_PATH=${VENDOR_PATH} ${SCRIPTS}/generate-snap build/${PROVIDER}/snap/data.json
    @cp pkg/pickle/helpers/se.leap.bitmask.snap.policy build/${PROVIDER}/snap/local/pre/

peanut2 commented on 2024-04-03 13:09 (UTC)

I updated the package and used sed to replace /usr/sbin/bitmask-root with /usr/bin/bitmask-root in the policy and the code. Built it and it didn't ask me to enter a password.

noktakito commented on 2024-03-30 09:50 (UTC)

Should be fixed. Please retry and create an issue. /usr/sbin should be linked do /usr/bin so writing to /usr/bin should be fine

if the bitmask-root cannot be placed in /usr/sbin/ then the policy file needs to be patched in the arch package to adjust the path to bitmask-root

if it is placed in /usr/bin/ then something like the following during prepare() should be sufficient:

 sed '21 s/sbin/bin/' pkg/pickle/helpers/se.leap.bitmask.policy

SamWhited commented on 2024-03-26 13:48 (UTC)

Oops, not sure why I didn't get it; I've dropped you an email too, hopefully it works this time. Thanks!

peanut2 commented on 2024-03-26 12:54 (UTC)

@SamWhited I wrote you an email and asekd for more debug information a few days ago in general: please create an issue (https://0xacab.org/leap/bitmask-vpn/-/issues) or write me an email: peanut2@systemli.org.

SamWhited commented on 2024-03-26 11:14 (UTC)

I'm not getting the sbin issue that the previous person mentioned, but I'm still getting an error when preparing the package:

Traceback (most recent call last):
  File "/home/sam/.cache/yay/riseup-vpn-git/src/bitmask-vpn/branding/scripts/generate-snap", line 38, in <module>
    writeOutput(data, outputf)
  File "/home/sam/.cache/yay/riseup-vpn-git/src/bitmask-vpn/branding/scripts/generate-snap", line 19, in writeOutput
    with open(outfile, 'w') as outf:
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'build/riseup/snap/data.json'
make: *** [Makefile:386: gen_pkg_snap] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in prepare().
    Aborting...

peanut2 commented on 2024-03-26 11:14 (UTC)

Should be fixed. Please retry and create an issue. /usr/sbin should be linked do /usr/bin so writing to /usr/bin should be fine

OGMe commented on 2024-03-26 02:19 (UTC)

Ok guys update:

I cloned the git then changed sbin to bin in the PKGBUILD file then cd to riseup-up-git the make package gave no errors at all during build or the install so I think all the maintainer has to do is change sbin to bin in his PKGBUILD file. For now if anyone wants to install this just do this.

$ git clone https://aur.archlinux.org/riseup-vpn-git.git $ cd riseup-vpn-git $ makepkg -si before you cd into the riseup-vpn-directory change the sbin at the bottom of the file with your favorite editor in teminal or non terminal editor and change sbin to bin in the path. Have a good night everyone.

OGMe commented on 2024-03-25 21:25 (UTC)

Ok guys I get file error after the build. It comes when it actually tries to install the package. It comes right after the check for conflicting files. It has to to with sbin. here my final output at the end after the build proccess.

:: Proceed with installation? [Y/n] Y (2/2) checking keys in keyring [######################] 100% (2/2) checking package integrity [######################] 100% (2/2) loading package files [######################] 100% (2/2) checking for file conflicts [######################] 100% error: failed to commit transaction (conflicting files) riseup-vpn-git: /usr/sbin exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded. -> error installing: [/var/cache/private/yay/riseup-vpn-git/riseup-vpn-git-0.24.03.rc.1.r9.gf95d699-1-x86_64.pkg.tar.zst /var/cache/private/yay/riseup-vpn-git/riseup-vpn-git-debug-0.24.03.rc.1.r9.gf95d699-1-x86_64.pkg.tar.zst] - exit status 1 I also ran into this link but have not tried it yet as I am busy. https://unix.stackexchange.com/questions/250499/install-package-to-sbin from Stack Exchange for unix Linux.