Package Details: vpn-slice 0.16.1-1

Git Clone URL: https://aur.archlinux.org/vpn-slice.git (read-only, click to copy)
Package Base: vpn-slice
Description: vpnc-script replacement for easy and secure split-tunnel VPN setup
Upstream URL: https://github.com/dlenski/vpn-slice
Licenses: GPL3
Submitter: akobel
Maintainer: akobel
Last Packager: akobel
Votes: 6
Popularity: 0.71
First Submitted: 2018-09-06 14:42 (UTC)
Last Updated: 2022-01-29 11:17 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

TecMunky commented on 2020-05-29 05:42 (UTC) (edited on 2020-05-29 05:46 (UTC) by TecMunky)

@akobel: I do indeed know how to use git - thanks for the info.

I use pacaur. regarding the find command - it finds vpn-slice 0.11 in the pacaur cache, and vpn-slice 0.14.1 in the pacman cache.

I have not yet tried to makepkg the 0.13 build. I need to know if I should uninstall vpn-slice before I do that. Also, would I need to prohibit updates to vpn-slice until I know the upstream package has been fixed?

N.B. I use pamac to see what packages need to be updated, then switch to a TTY and use pacaur or pacman to implement updates (unless there are only a few and I know there will be no side effects).

akobel commented on 2020-05-28 07:54 (UTC)

Ugh. I just realise you might very well know how to use git. That makes life easier:

git clone https://aur.archlinux.org/vpn-slice.git
cd vpn-slice
git log --oneline
# shows that 11e5775 was the commit with the update to 0.13
git checkout 11e5775
makepkg -i

akobel commented on 2020-05-28 07:49 (UTC)

@TecMunky: Concerning downgrading, here's a summary. Indeed, that seems one of the less-lit places documentation-wise, at least I couldn't find a step-by-step walk-through within two minutes of searching. Not sure if that's bad or good given that AUR packages are really not supposed to be used without knowledge about reading and checking PKGBUILDs, and that typically comes with the necessary knowledge to dig out the previous version. No offense: we've all been there (or at least, I was, for sure).

First of all, check whether your package manager (I assume you use one?) keeps a cache. E.g., pikaur has its cache under ~/.cache/pikaur/pkg by default.

find ~/.cache /var/cache -type f -name 'vpn-slice-0.1*' 2>&-

If so, sudo pacman -U <path_to_cache_file>.

Otherwise, create some empty directory, download https://aur.archlinux.org/cgit/aur.git/plain/.SRCINFO?h=vpn-slice&id=11e577503398ae72190a35f548db93b15fef8438 there and name it PKGBUILD, enter the directory and run makepkg -i. E.g., do:

cd $(mktemp -d);
curl -o PKGBUILD 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=vpn-slice&id=11e577503398ae72190a35f548db93b15fef8438';
makepkg -i;
rm -rf $(pwd -P) && cd

To got to 0.11-2, replace the URI by https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=vpn-slice&id=be6d237c6e1642956f8a2944ac3d8d1d61b1bb61 (and mind the quotes). To find those links, you can browse this page: "View Changes" in the top right box "Package Actions", then click on some commit and then "PKGBUILD" to see, well, the PKGBUILD instructions. Download the plain text (which I gave in the links above) to PKGBUILD or adjust manually to your needs, so that makepkg knows what to do.

Afterwards, run your next couple of upgrades with --ignore vpn-slice or add IgnorePkg = vpn-slice to /etc/pacman.conf until a fix is ready or you have more time to investigate.

HTH.

TecMunky commented on 2020-05-28 00:26 (UTC) (edited on 2020-05-28 00:27 (UTC) by TecMunky)

@akobel - I don't really have the time to troubleshoot this right now, so I am living with having to use IPs for awhile. I don't know how to downgrade an AUR package - I googled it, but didn't find anything useful. If I had more time I could probably figure it out. I was hoping that bringing up the issue would lead to it getting corrected with another release.

If anyone out there knows how to fix this, please let me know.

If anyone can point me to a good write-up how to downgrade an AUR package, that could be useful too.

akobel commented on 2020-05-27 13:54 (UTC)

@TecMunky: Sorry to hear, but that'd better go upstream. Check if 0.14.1 improved the situation, or revert back to 0.13 for the time being... I solely maintain the Arch build, not the software itself; and unless it's a missing dependency or a build problem (or anything else Arch-specific that should be patched here rather than upstream), the Github issue tracker is the place to discuss any problem.

N.B.: My use case is pretty much gone, and so is my everyday "test" setup - no need or opportunity for VPN these days. I more or less react on pings here, but there's not a whole lot more I will/can do than a makepkg and sudo vpn-splice --self-test.

If there is an actual user who is interested to take over or co-maintain, let me know.

TecMunky commented on 2020-05-27 13:29 (UTC) (edited on 2020-05-28 00:21 (UTC) by TecMunky)

This latest update broke my ability to use computer names on the remote network. I now need to specify a computers IP address to access it.

ogasser commented on 2020-05-27 06:44 (UTC)

python-dnspython needs to be added as a dependency. Without python-dnspython I get the following error in the journal:

May 27 08:37:21 x network[6829]: pkg_resources.DistributionNotFound: The 'dnspython' distribution was not found and is required by vpn-slice
May 27 08:37:21 x network[6820]: Script 'vpn-slice x' returned error 1

akobel commented on 2020-01-11 12:57 (UTC)

@Drew: Hm... On my system,

pacman -Qi vpn-slice Name : vpn-slice Version : 0.11-2 [...]

pacman -Ql vpn-slice
vpn-slice /usr/ vpn-slice /usr/bin/ vpn-slice /usr/bin/vpn-slice [...]

which looks exactly like the one you posted, except for a python-setuptools header? Are you sure that the python-setuptools build-time dependency was satisfied on your system?

Drew commented on 2020-01-07 18:25 (UTC) (edited on 2020-01-07 18:29 (UTC) by Drew)

All this does is install the python distribution. If you want to use the vpn-slice command you need an executable on your PATH that looks like this:

#!/usr/bin/python
from vpn_slice.main import main

if __name__ == '__main__':
    main()

I would have included this in the AUR package.

ritze commented on 2019-12-11 06:00 (UTC)

@akobel It works. Thanks a lot!