Development discussion of WireGuard
 help / color / mirror / Atom feed
* distro packaging, makefiles, deps, systemd, new tools
@ 2017-01-04 18:50 Jason A. Donenfeld
  2017-01-04 20:14 ` [PATCH 1/1] tools: remove DESTDIR for autodetection Christian Hesse
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ 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] 12+ messages in thread
* 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; 12+ 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] 12+ messages in thread

end of thread, other threads:[~2017-01-11 16:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-04 18:50 distro packaging, makefiles, deps, systemd, new tools Jason A. Donenfeld
2017-01-04 20:14 ` [PATCH 1/1] tools: remove DESTDIR for autodetection Christian Hesse
2017-01-04 20:26   ` Jason A. Donenfeld
2017-01-04 21:02   ` Daniel Kahn Gillmor
2017-01-04 21:06     ` Jason A. Donenfeld
2017-01-04 21:18       ` Jason A. Donenfeld
2017-01-04 21:16 ` distro packaging, makefiles, deps, systemd, new tools 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
2017-01-04 21:56 Anonymous Anonymous
2017-01-04 22:08 ` Jason A. Donenfeld

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