You are not logged in.
Can anyone make an unofficial AUR Package of WeVPN for Arch Linux users while waiting until WeVPN release official Arch Linux Version in the future?
Here's a download link.
https://cloudfront.wevpn.com/assets/rel … -Linux.deb
Last edited by ABOhiccups (2021-11-01 22:11:43)
Offline
The downloadlink need a login. Plz post a direct link.
You can self build a PKGBUILD isn’t so hard if a source exists for compiling a binary
Offline
I'm sorry, but a PKGBUILD using a discord link as a source would be very questionable at best.
If you'd like someone to consider this, I suggest going to their website and finding the download link for the program's source, or a pre-compiled binary for linux if the program is closed-source. People might be a lot more willing to help if you at least try to do the bare minimum.
Offline
Not seeing a download link on https://wevpn.com/wevpn-linux Perhaps it is behind a subscriber only login?
Offline
Sorry about that! I copied the wrong link! Here's the real link to download Debian/Ubuntu Version of WeVPN.
https://cloudfront.wevpn.com/assets/rel … -Linux.deb
Offline
For what it's worth, they already have logic for Arch support:
if [ -f "/etc/debian_version" ]; then
# Debian/Ubuntu logic
which systemctl &>/dev/null
if [ $? -eq 0 ]; then
install_systemd
else
# Assuming sysv
install_init
install_update_rcd
fi
elif [ -f "/etc/os-release" ]; then
source /etc/os-release
if [ $ID = "arch" ]; then
# Arch Linux
install_systemd
fi
else
printf "Error: Distribution not verified \nContact WeVPN customer support for details. \n"
exit 1
fi
Also, the package has no dependencies?
Does this work for you? Just repackaging the .deb into an arch package.
(Not installing nor running that on my own PC, sorry.)
pkgname=wevpn-bin
pkgver=0.3.0
pkgrel=1
pkgdesc="WeVPN Linux Application"
arch=('x86_64')
url="https://wevpn.com/wevpn-linux"
license=('unknown')
source=("https://cloudfront.wevpn.com/assets/releases/WeVPN-Linux.deb")
sha256sums=('2e897ee7c09010aa3ebe160066b1d8c90a833f3d50d20a33bbe2a99191cdfc7f')
prepare() {
tar xf data.tar.xz
}
package() {
mv etc/ "${pkgdir}"
mv usr/ "${pkgdir}"
}
If it doesn't run, run it in terminal, and post what errors it's giving.
Last edited by Ammako (2021-11-02 00:59:09)
Offline
@Ammako
error: failed to commit transaction (conflicting files)
wevpn-bin: /usr/sbin exists in filesystem (owned by filesystem)
Edit:
I think prepare can be skipped and package reduced to
bsdtar xf data.tar.xz -C "$pkgdir" -s '/sbin/bin/' --no-same-owner
Last edited by loqs (2021-11-02 01:21:37)
Offline
It complains about libGL.so.1, on headless VM. So clearly the control lied and there *are* dependencies. Fun. Also needs FUSE because this is an appimage, explicitly asks for fuse2 though.
Unfortunately this will not run as-is, I think the program is incompatible with glib 2.70 as with https://bbs.archlinux.org/viewtopic.php?id=269838
Would need extra steps to fix the AppImage, shouldn't be too difficult but I don't have time anymore tonight. Maybe someone else might be willing to do it in the meantime, otherwise that has to wait until tomorrow.
Edit: your way is much more elegant than the original PKGBUILD I made this from lol.
pkgname=wevpn-bin
pkgver=0.3.0
pkgrel=1
pkgdesc="WeVPN Linux Application"
arch=('x86_64')
url="https://wevpn.com/wevpn-linux"
license=('unknown')
depends=('fuse2')
options=('!emptydirs' '!strip')
source=("https://cloudfront.wevpn.com/assets/releases/WeVPN-Linux.deb")
sha256sums=('2e897ee7c09010aa3ebe160066b1d8c90a833f3d50d20a33bbe2a99191cdfc7f')
package() {
bsdtar xf data.tar.xz -C "$pkgdir" -s '/sbin/bin/' --no-same-owner
}
Last edited by Ammako (2021-11-02 01:50:20)
Offline
wevpn: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_module_open_full
Offline
If you have access to a Ubuntu or Mint or Debian VM, you could install the WeVPN app in the VM and then do "apt-cache depends package_name_here". Which will give you just the depends and recommends. If you want to find out much more (in addition) you could do "apt show package_name_here". Or without installation, you could do "dpkg -I path/to/deb_file/WeVPN-Linux.deb".
Last edited by Twiki (2021-11-20 17:19:20)
Bidi-bidi-bidi-bidi.
Offline
did anyone manage to package it ?
If you have access to a Ubuntu or Mint or Debian VM, you could install the WeVPN app in the VM and then do "apt-cache depends package_name_here". Which will give you just the depends and recommends. If you want to find out much more (in addition) you could do "apt show package_name_here". Or without installation, you could do "dpkg -I path/to/deb_file/WeVPN-Linux.deb".
$ sudo dpkg-deb -I WeVPN-Linux.deb
new Debian package, version 2.0.
size 63765824 bytes: control archive=1476 bytes.
222 bytes, 9 lines control
1176 bytes, 56 lines * postinst #!/bin/bash
482 bytes, 21 lines * postrm #!/bin/bash
2012 bytes, 100 lines * prerm #!/bin/bash
Package: wevpn
Version: 0.3.0
Section: utils
Vendor: WeVPN
Priority: Free WeVPN
Architecture: amd64
Maintainer: WeVPN Developers <[url]https://www.wevpn.com[/url]>
Homepage: [url]https://www.wevpn.com[/url]
Description: WeVPN Linux Application
Last edited by aliess (2021-11-23 16:01:22)
Offline
did anyone manage to package it ?
Twiki wrote:If you have access to a Ubuntu or Mint or Debian VM, you could install the WeVPN app in the VM and then do "apt-cache depends package_name_here". Which will give you just the depends and recommends. If you want to find out much more (in addition) you could do "apt show package_name_here". Or without installation, you could do "dpkg -I path/to/deb_file/WeVPN-Linux.deb".
$ sudo dpkg-deb -I WeVPN-Linux.deb new Debian package, version 2.0. size 63765824 bytes: control archive=1476 bytes. 222 bytes, 9 lines control 1176 bytes, 56 lines * postinst #!/bin/bash 482 bytes, 21 lines * postrm #!/bin/bash 2012 bytes, 100 lines * prerm #!/bin/bash Package: wevpn Version: 0.3.0 Section: utils Vendor: WeVPN Priority: Free WeVPN Architecture: amd64 Maintainer: WeVPN Developers <[url]https://www.wevpn.com[/url]> Homepage: [url]https://www.wevpn.com[/url] Description: WeVPN Linux Application
dpkg, not dpkg-deb. Then there will be a line starting with “Depends:”.
Bidi-bidi-bidi-bidi.
Offline
@Twiki how will that information help? See post #8.
Offline
@Twiki how will that information help? See post #8.
First step is to get all dependencies (if any, because apparently it’s an appimage). Then the link in the very same post #8 which you refer to, there is a solution to patch a different version of glib into the appimage.
These problems is why I always up a VPN from the command line.
Bidi-bidi-bidi-bidi.
Offline
aliess wrote:did anyone manage to package it ?
Twiki wrote:If you have access to a Ubuntu or Mint or Debian VM, you could install the WeVPN app in the VM and then do "apt-cache depends package_name_here". Which will give you just the depends and recommends. If you want to find out much more (in addition) you could do "apt show package_name_here". Or without installation, you could do "dpkg -I path/to/deb_file/WeVPN-Linux.deb".
$ sudo dpkg-deb -I WeVPN-Linux.deb new Debian package, version 2.0. size 63765824 bytes: control archive=1476 bytes. 222 bytes, 9 lines control 1176 bytes, 56 lines * postinst #!/bin/bash 482 bytes, 21 lines * postrm #!/bin/bash 2012 bytes, 100 lines * prerm #!/bin/bash Package: wevpn Version: 0.3.0 Section: utils Vendor: WeVPN Priority: Free WeVPN Architecture: amd64 Maintainer: WeVPN Developers <[url]https://www.wevpn.com[/url]> Homepage: [url]https://www.wevpn.com[/url] Description: WeVPN Linux Application
dpkg, not dpkg-deb. Then there will be a line starting with “Depends:”.
I tried it with dpkg also and got the same output, maybe there's no dependencies ?
Offline
I tried it with dpkg also and got the same output, maybe there's no dependencies ?
That’s why I opened with:
“First step is to get all dependencies (if any, because apparently it’s an appimage).“
”One app = one file
….. Every AppImage is a regular file, and every AppImage contains exactly one app with all its dependencies. Once the AppImage is made executable, a user can just run it, either by double clicking it in their desktop environment’s file manager, by running it from the console etc.”
Source: https://docs.appimage.org/introduction/concepts.html
I can’t be sure. Because the OP (ABOhiccups) links to a .deb file. The helpful member (Ammako) writes: “ Would need extra steps to fix the AppImage, shouldn't be too difficult …..”. And I haven’t looked into the .deb file.
Last edited by Twiki (2021-11-24 08:55:31)
Bidi-bidi-bidi-bidi.
Offline
First step is to get all dependencies (if any, because apparently it’s an appimage)
control
Package: wevpn
Version: 0.3.0
Section: utils
Vendor: WeVPN
Priority: Free WeVPN
Architecture: amd64
Maintainer: WeVPN Developers <https://www.wevpn.com>
Homepage: https://www.wevpn.com
Description: WeVPN Linux Application
It complains about libGL.so.1, on headless VM. So clearly the control lied and there *are* dependencies. Fun. Also needs FUSE because this is an appimage, explicitly asks for fuse2 though.
Last edited by loqs (2021-11-24 15:24:13)
Offline