"Jason A. Donenfeld" on Sat, 2016/12/03 23:21: > I like the general idea here of including dkim in WireGuard now, 'dkim' is mail security... We have dkms. ;) > since > basically all distros use it and ship the exact same logic. By putting > it in WireGuard itself, I can provide maintenance over the > interworkings, which will be helpful for downstream. > > Another thing I can do is handle the installation myself. `make dkim` > will then copy all the paths and create the dkim.conf file, etc. First > question: is there a standard destination path to which files should > be copied. For Arch Linux we install dkms sources to /usr/src/$pkgname-$pkgver, so for wireguard we have: /usr/src/wireguard-0.0.20161129/ So directory content looks something like this: /usr/src/wireguard-0.0.20161129/ /usr/src/wireguard-0.0.20161129/Kbuild /usr/src/wireguard-0.0.20161129/Kconfig /usr/src/wireguard-0.0.20161129/Makefile /usr/src/wireguard-0.0.20161129/dkms.conf /usr/src/wireguard-0.0.20161129/*.c /usr/src/wireguard-0.0.20161129/*.h /usr/src/wireguard-0.0.20161129/crypto/ /usr/src/wireguard-0.0.20161129/crypto/*.S /usr/src/wireguard-0.0.20161129/crypto/*.c /usr/src/wireguard-0.0.20161129/crypto/*.h /usr/src/wireguard-0.0.20161129/selftest/ /usr/src/wireguard-0.0.20161129/selftest/*.h > Second question: what environment variable name do you > think would be appropriate for representing the destination address > (override)? To have something like this would be great: make DESTDIR="$pkgdir/" DKMSDIR="/usr/src/$pkgname-$pkgver" dkms -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}