* Re: distro packaging, makefiles, deps, systemd, new tools
@ 2017-01-04 21:56 Anonymous Anonymous
2017-01-04 22:08 ` Jason A. Donenfeld
0 siblings, 1 reply; 7+ messages in thread
From: Anonymous Anonymous @ 2017-01-04 21:56 UTC (permalink / raw)
To: wireguard
We could move wg-quick in separate package in case hardly useful networkd support will be implemented.
As, for now it obviously reasonable to ship it inside wireguard-tools package.
Also, are bash completions for wg-quick came with WITH_BASHCOMPLETION or with WITH_WGQUICK itself?
On Wed, Jan 4, 2017, at 12:50, Jason A. Donenfeld wrote:
> When systemd-networkd gets support for WireGuard, systemd-based
> distros should not ship this. But everybody else who just wants a
> simple rough script for quickly bringing up and down VPNs can ship
> this, as it's a big help to users. It's installed according to the
> documentation for the Makefile above.
>
> - There's now an "upstream" systemd unit for wg-quick, called
> wg-quick@.service. It's pretty simple:
> https://git.zx2c4.com/WireGuard/tree/src/tools/wg-quick@.service
>
> Question: does this unit seem sane to you? Can you ship it downstream
> as is, or will you need modifications?
>
> Thanks,
> Jason
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: distro packaging, makefiles, deps, systemd, new tools
2017-01-04 21:56 distro packaging, makefiles, deps, systemd, new tools Anonymous Anonymous
@ 2017-01-04 22:08 ` Jason A. Donenfeld
0 siblings, 0 replies; 7+ messages in thread
From: Jason A. Donenfeld @ 2017-01-04 22:08 UTC (permalink / raw)
To: Anonymous Anonymous; +Cc: wireguard
On Wed, Jan 4, 2017 at 10:56 PM, Anonymous Anonymous <admin@hda.me> wrote:
> Also, are bash completions for wg-quick came with WITH_BASHCOMPLETION or with WITH_WGQUICK itself?
wg bash completion: WITH_BASHCOMPLETION
wg-quick: WITH_WGQUICK
wg-quick bash completion: WITH_BASHCOMPLETION && WITH_WGQUICK
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: distro packaging, makefiles, deps, systemd, new tools
2017-01-06 23:01 ` Jason A. Donenfeld
@ 2017-01-11 16:46 ` Dan Lüdtke
0 siblings, 0 replies; 7+ messages in thread
From: Dan Lüdtke @ 2017-01-11 16:46 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: Christian Hesse, WireGuard mailing list
> I assume youre not shipping the bash completion stuff either, right? =
Since openwrt doesn't use bash.
We are not shipping it.
FYI: The topic is discussed right now in this PR:
https://github.com/openwrt/packages/pull/3816=
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: distro packaging, makefiles, deps, systemd, new tools
2017-01-05 14:02 ` Dan Lüdtke
@ 2017-01-06 23:01 ` Jason A. Donenfeld
2017-01-11 16:46 ` Dan Lüdtke
0 siblings, 1 reply; 7+ messages in thread
From: Jason A. Donenfeld @ 2017-01-06 23:01 UTC (permalink / raw)
To: Dan Lüdtke; +Cc: Christian Hesse, WireGuard mailing list
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
On Jan 6, 2017 23:44, "Dan Lüdtke" <mail@danrl.com> wrote:
> On 4 Jan 2017, at 19:50, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
> OpenWRT should _not_ ship this.
Agreed.
Everything else looks good to me. Just had a brief look at it.
Let's see what buildbot says. Should all run smoothly!
I assume youre not shipping the bash completion stuff either, right? Since
openwrt doesn't use bash.
[-- Attachment #2: Type: text/html, Size: 933 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: distro packaging, makefiles, deps, systemd, new tools
2017-01-04 18:50 Jason A. Donenfeld
2017-01-04 21:16 ` Daniel Kahn Gillmor
@ 2017-01-05 14:02 ` Dan Lüdtke
2017-01-06 23:01 ` Jason A. Donenfeld
1 sibling, 1 reply; 7+ messages in thread
From: Dan Lüdtke @ 2017-01-05 14:02 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: Christian Hesse, WireGuard mailing list
> On 4 Jan 2017, at 19:50, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>=20
> OpenWRT should _not_ ship this. =08=0D
Agreed.
Everything else looks good to me. Just had a brief look at it.
Let's see what buildbot says. Should all run smoothly!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: distro packaging, makefiles, deps, systemd, new tools
2017-01-04 18:50 Jason A. Donenfeld
@ 2017-01-04 21:16 ` Daniel Kahn Gillmor
2017-01-05 14:02 ` Dan Lüdtke
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Kahn Gillmor @ 2017-01-04 21:16 UTC (permalink / raw)
To: Jason A. Donenfeld, Christian Hesse, Dan Lüdtke
Cc: WireGuard mailing list
[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]
On Wed 2017-01-04 13:50:14 -0500, Jason A. Donenfeld wrote:
> Hey Christian, Daniel, Dan, and other maintainers,
>
> The next snapshot is going to have some improvements to the tooling,
> and along with this comes a more complicated Makefile. I wanted to run
> the changes by y'all (downstreams).
>
> - The makefile now has a few WITH_{FEATURE}=yes|no environment flags,
> as well as auto-detection. Documentation is here:
> https://git.zx2c4.com/WireGuard/plain/src/tools/INSTALL
> And the Makefile itself is here:
> https://git.zx2c4.com/WireGuard/tree/src/tools/Makefile
>
> Question: does this propose a desirable situation for you as a downstream?
Reading through INSTALL, these parameters look reasonable to me as a
downstream.
> - The wg-config script is now called wg-quick and is quite simple and
> nice. Documentation:
> https://git.zx2c4.com/WireGuard/about/src/tools/wg-quick.8
> And source:
> https://git.zx2c4.com/WireGuard/tree/src/tools/wg-quick.bash
>
> OpenWRT should _not_ ship this. NixOS probably should not ship this.
> When systemd-networkd gets support for WireGuard, systemd-based
> distros should not ship this. But everybody else who just wants a
> simple rough script for quickly bringing up and down VPNs can ship
> this, as it's a big help to users. It's installed according to the
> documentation for the Makefile above.
this also looks good.
> - There's now an "upstream" systemd unit for wg-quick, called
> wg-quick@.service. It's pretty simple:
> https://git.zx2c4.com/WireGuard/tree/src/tools/wg-quick@.service
>
> Question: does this unit seem sane to you? Can you ship it downstream
> as is, or will you need modifications?
although i haven't tested it, a quick read through the .service file
looks reasonable to me. Thanks for thinking about system integration
stuff.
--dkg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* distro packaging, makefiles, deps, systemd, new tools
@ 2017-01-04 18:50 Jason A. Donenfeld
2017-01-04 21:16 ` Daniel Kahn Gillmor
2017-01-05 14:02 ` Dan Lüdtke
0 siblings, 2 replies; 7+ messages in thread
From: Jason A. Donenfeld @ 2017-01-04 18:50 UTC (permalink / raw)
To: Christian Hesse, Daniel Kahn Gillmor, Dan Lüdtke
Cc: WireGuard mailing list
Hey Christian, Daniel, Dan, and other maintainers,
The next snapshot is going to have some improvements to the tooling,
and along with this comes a more complicated Makefile. I wanted to run
the changes by y'all (downstreams).
- The makefile now has a few WITH_{FEATURE}=yes|no environment flags,
as well as auto-detection. Documentation is here:
https://git.zx2c4.com/WireGuard/plain/src/tools/INSTALL
And the Makefile itself is here:
https://git.zx2c4.com/WireGuard/tree/src/tools/Makefile
Question: does this propose a desirable situation for you as a downstream?
- The wg-config script is now called wg-quick and is quite simple and
nice. Documentation:
https://git.zx2c4.com/WireGuard/about/src/tools/wg-quick.8
And source:
https://git.zx2c4.com/WireGuard/tree/src/tools/wg-quick.bash
OpenWRT should _not_ ship this. NixOS probably should not ship this.
When systemd-networkd gets support for WireGuard, systemd-based
distros should not ship this. But everybody else who just wants a
simple rough script for quickly bringing up and down VPNs can ship
this, as it's a big help to users. It's installed according to the
documentation for the Makefile above.
- There's now an "upstream" systemd unit for wg-quick, called
wg-quick@.service. It's pretty simple:
https://git.zx2c4.com/WireGuard/tree/src/tools/wg-quick@.service
Question: does this unit seem sane to you? Can you ship it downstream
as is, or will you need modifications?
Thanks,
Jason
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-01-11 16:36 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-04 21:56 distro packaging, makefiles, deps, systemd, new tools Anonymous Anonymous
2017-01-04 22:08 ` Jason A. Donenfeld
-- strict thread matches above, loose matches on Subject: below --
2017-01-04 18:50 Jason A. Donenfeld
2017-01-04 21:16 ` Daniel Kahn Gillmor
2017-01-05 14:02 ` Dan Lüdtke
2017-01-06 23:01 ` Jason A. Donenfeld
2017-01-11 16:46 ` Dan Lüdtke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).