On 16/04/17 12:06, Ryan Riley wrote:
> The i386 wireguard-tools package on the PPA for Ubuntu Xenial doesn't
> actually contain any of the binaries, just documentation.

It's not just i386 - each of the arm and ppc64 packages are also missing
binaries.

Debian's packages (and my testing backports based on those) don't have
that issue - might be time to check a diff or do a merge. :)

Looks like it's down to `make install`ing the tools during install-indep
rather than install-arch.


Working (Debian use a different flags setup, that's not the important bit):

> override_dh_auto_install-indep:
>       $(MAKE) -C src DESTDIR=../debian/wireguard-dkms 
> DKMSDIR=/usr/src/wireguard-$(DEB_VERSION)/ dkms-install
> 
> override_dh_auto_build-arch:
>       $(MAKE) -C src/tools $(WIREGUARD_ARGS)
> 
> override_dh_auto_install-arch:
>       $(MAKE) -C src/tools DESTDIR=../../debian/wireguard-tools 
> $(WIREGUARD_ARGS) install


Non-working:

> override_dh_auto_install-indep:
>       $(MAKE) -C wireguard-src/src DESTDIR=$(CURDIR)/debian/wireguard-dkms 
> DKMSDIR=/usr/src/wireguard-$(DEB_VERSION_UPSTREAM)/ dkms-install
>       $(MAKE) -C wireguard-src/src/tools 
> DESTDIR=$(CURDIR)/debian/wireguard-tools WITH_SYSTEMDUNITS=yes 
> WITH_WGQUICK=yes WITH_BASHCOMPLETION=yes install
> 
> override_dh_auto_build-arch:
>       $(MAKE) -C wireguard-src/src/tools



J

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to