Search Criteria
Package Details: wg2nd 0.2.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/wg2nd.git (read-only, click to copy) |
---|---|
Package Base: | wg2nd |
Description: | A utility to convert WireGuard configurations from wg-quick(8) format into systemd-networkd compatible configurations. |
Upstream URL: | https://www.git.flu0r1ne.net/wg2nd/about/ |
Licenses: | GPL, MIT |
Submitter: | flu0r1ne |
Maintainer: | flu0r1ne |
Last Packager: | flu0r1ne |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2023-09-12 21:46 (UTC) |
Last Updated: | 2024-06-05 21:56 (UTC) |
Latest Comments
ato2 commented on 2024-11-19 07:25 (UTC)
On latest current, makepkg ==> Making package: wg2nd 0.2.1-2 (Tue Nov 19 08:23:11 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning wg2nd git repo... Cloning into bare repository '/srv/src/wg2nd'... fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. ==> ERROR: Failure while downloading wg2nd git repo Aborting...
flu0r1ne commented on 2023-11-22 06:03 (UTC)
I was unable to replicate the issue, but I removed the .git suffix from source. The source can be downloaded from both URLs on my side; therefore, I opted for the URL without the .git suffix. I hope this resolves the issue.
itoffshore commented on 2023-11-22 00:33 (UTC)
I still see the
source
error (due to.git
) inyay
:& also from
makepkg -s
(using thePKGBUILD
from the latest snapshot)removing the
.git
lets the build complete:flu0r1ne commented on 2023-11-21 02:58 (UTC)
I updated to v0.2.0 and removed the 'v' from the version number.
I'm not sure what you mean by this. I was able to perform a clean install with:
The rest of the issues are addressed on the GitHub mirror. Thanks.
itoffshore commented on 2023-11-10 23:48 (UTC) (edited on 2023-11-11 15:35 (UTC) by itoffshore)
The following
PKGBUILD
changes fix the current build error:.git
needs to be removed fromsource
pkgver
should be major / minor integers (0.1.0
) - which builds a correct pkg name ofwg2nd-0.1.0-1-x86_64.pkg.tar.zst
Improvement ideas:
I think in https://git.flu0r1ne.net/wg2nd/tree/src/main.cpp#n228 - you should be checking if
wg2nd
is being run asroot
before trying to setroot
permissions. Or perhaps better to just quit with a message if not being run asroot
(so the secure permissions are always applied to the output files).Generating keyfiles would be nice as an option (or perhaps NOT generating keyfiles as a
--nokeys
option & usingPresharedKey
/PrivateKey
embedded in thenetdev
file). This would reduce the number of configuration files & leave a singlenetdev
file to set permissions on. This--nokeys
option would also allow configuration to be created locally without incorrect key paths.netdev
the# Name: host_label
comment fromwg-meshconf
config output (that appears just under each[peer]
section) would also be useful.netdev
names are generated automatically from the detected# Name: host_label
- this would be nice to override too as users may have firewall scripts across their hosts that a expect standard interface name (e.gwg0
)ActivationPolicy = up
is probably a better default thanmanual
- & could also be made configurable via a command line option.Scope=link
set.wg2nd
works well with output from wg-meshconf - which I forked to add preshared keys:wg2nd
is very useful - thanks very much ;o)