Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme link to download package results in 404 #7

Open
c33s opened this issue Jul 2, 2020 · 4 comments
Open

readme link to download package results in 404 #7

c33s opened this issue Jul 2, 2020 · 4 comments

Comments

@c33s
Copy link

c33s commented Jul 2, 2020

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

@mmangione
Copy link

@mmangione
Copy link

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
Copy link

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...

@bill-mcgonigle
Copy link

bill-mcgonigle commented Sep 24, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants