pfSense-pkg-wireguard icon indicating copy to clipboard operation
pfSense-pkg-wireguard copied to clipboard

readme link to download package results in 404

Open c33s opened this issue 4 years ago • 4 comments

https://github.com/Ashus/pfSense-pkg-wireguard/releases/download/v1.0.1/pfSense-pkg-wireguard-1.0.1-freebsd11-amd64.txz

c33s avatar Jul 02 '20 01:07 c33s

https://github.com/Ashus/pfSense-pkg-wireguard/releases/download/v1.0.1/pfSense-pkg-wireguard-1.0.1-freebsd11-amd64.txz

Can confirm. This is not a tag in the repo.

mmangione avatar Jul 30 '20 09:07 mmangione

For now, you can simply use the following:

pkg add https://github.com /Ascrod/pfSense-pkg-wireguard/releases/download/v1.0.0/pfSense-pkg-wireguard-1.0.0.txz

mmangione avatar Jul 30 '20 10:07 mmangione

For now, you can simply use the following:

pkg add https://github.com /Ascrod/pfSense-pkg-wireguard/releases/download/v1.0.0/pfSense-pkg-wireguard-1.0.0.txz

Not that this actually works to get wireguard online on the system though...

mmangione avatar Jul 31 '20 21:07 mmangione

The wireguard package links in the README get a bit tricky because the packages get updated, the old links go away, and the FreeBSD http repository doesn't do directory indexes. I'm no expert in anything BSD, but this worked for me:

  1. visit: https://svnweb.freebsd.org/ports/head/net/wireguard-go/distinfo?view=log . Note the version #.
  2. do the same for: https://svnweb.freebsd.org/ports/head/net/wireguard/distinfo?view=log
  3. install the packages using the current version numbers like:
[2.4.5-RELEASE][admin@pfsense]/root: pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/wireguard-go-0.0.20200320.txz
Fetching wireguard-go-0.0.20200320.txz: 100%  883 KiB 301.5kB/s    00:03    
Installing wireguard-go-0.0.20200320...
Extracting wireguard-go-0.0.20200320: 100%
[2.4.5-RELEASE][admin@pfsense]/root: pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/wireguard-1.0.20200827.txz
Fetching wireguard-1.0.20200827.txz: 100%   54 KiB  55.1kB/s    00:01    
Installing wireguard-1.0.20200827...
Extracting wireguard-1.0.20200827: 100%

Somebody could write a script to scrape the right versions from svnweb and do the correct pkg add's. Maybe there's a smarter way to do this!

bill-mcgonigle avatar Sep 24 '20 15:09 bill-mcgonigle