mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-26 13:46:21 +00:00
Quoting Jason A. Donenfeld on IRC: <zx2c4> Colin_Finck: you should never, ever use old versions <zx2c4> Notice that neither the major nor minor version numbers change <zx2c4> Use the latest versions on your LTS With that definite answer, I'd like to fix the problem described in https://lore.kernel.org/yocto/CswA.1659543156268567471.pbrp@lists.yoctoproject.org/ by importing the latest versions instead of maintaining our own fork of wireguard 1.0.20200401. Signed-off-by: Armin Kuster <akuster808@gmail.com>
26 lines
663 B
BlitzBasic
26 lines
663 B
BlitzBasic
require wireguard.inc
|
|
|
|
SRCREV = "3ba6527130c502144e7388b900138bca6260f4e8"
|
|
SRC_URI = "git://git.zx2c4.com/wireguard-tools;branch=master"
|
|
|
|
inherit bash-completion systemd pkgconfig
|
|
|
|
DEPENDS += "wireguard-module libmnl"
|
|
|
|
do_install () {
|
|
oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
|
|
SYSTEMDUNITDIR="${systemd_system_unitdir}" \
|
|
WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
|
|
WITH_BASHCOMPLETION=yes \
|
|
WITH_WGQUICK=yes \
|
|
install
|
|
}
|
|
|
|
FILES_${PN} = " \
|
|
${sysconfdir} \
|
|
${systemd_unitdir} \
|
|
${bindir} \
|
|
"
|
|
|
|
RDEPENDS_${PN} = "wireguard-module bash"
|