net-vpn/wireguard: revbump to 0.0.20191219-r1 for split tools package
authorJason A. Donenfeld <zx2c4@gentoo.org>
Thu, 26 Dec 2019 12:39:21 +0000 (13:39 +0100)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Thu, 26 Dec 2019 12:50:15 +0000 (13:50 +0100)
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
net-vpn/wireguard/wireguard-0.0.20191219-r1.ebuild [moved from net-vpn/wireguard/wireguard-0.0.20191219.ebuild with 91% similarity]
net-vpn/wireguard/wireguard-9999.ebuild

similarity index 91%
rename from net-vpn/wireguard/wireguard-0.0.20191219.ebuild
rename to net-vpn/wireguard/wireguard-0.0.20191219-r1.ebuild
index e405c52079decb90299ce1d637a4ee9f310640fb..917e43d3e7401a41040d6f46f1f8f9b50a1d4763 100644 (file)
@@ -23,8 +23,10 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug +module +tools module-src"
 
-DEPEND="tools? ( net-libs/libmnl || ( net-firewall/nftables net-firewall/iptables ) )"
-RDEPEND="${DEPEND}"
+DEPEND=""
+RDEPEND="${DEPEND}
+       tools? ( net-vpn/wireguard-tools )
+"
 
 MODULE_NAMES="wireguard(kernel/drivers/net:src)"
 BUILD_TARGETS="module"
@@ -55,23 +57,10 @@ src_compile() {
        BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
        use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
        use module && linux-mod_src_compile
-       use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools CC="$(tc-getCC)" LD="$(tc-getLD)"
 }
 
 src_install() {
        use module && linux-mod_src_install
-       if use tools; then
-               dodoc README.md
-               dodoc -r contrib/examples
-               emake \
-                       WITH_BASHCOMPLETION=yes \
-                       WITH_SYSTEMDUNITS=yes \
-                       WITH_WGQUICK=yes \
-                       DESTDIR="${D}" \
-                       BASHCOMPDIR="$(get_bashcompdir)" \
-                       PREFIX="${EPREFIX}/usr" \
-                       -C src/tools install
-       fi
        use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 }
 
index e405c52079decb90299ce1d637a4ee9f310640fb..917e43d3e7401a41040d6f46f1f8f9b50a1d4763 100644 (file)
@@ -23,8 +23,10 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug +module +tools module-src"
 
-DEPEND="tools? ( net-libs/libmnl || ( net-firewall/nftables net-firewall/iptables ) )"
-RDEPEND="${DEPEND}"
+DEPEND=""
+RDEPEND="${DEPEND}
+       tools? ( net-vpn/wireguard-tools )
+"
 
 MODULE_NAMES="wireguard(kernel/drivers/net:src)"
 BUILD_TARGETS="module"
@@ -55,23 +57,10 @@ src_compile() {
        BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
        use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
        use module && linux-mod_src_compile
-       use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools CC="$(tc-getCC)" LD="$(tc-getLD)"
 }
 
 src_install() {
        use module && linux-mod_src_install
-       if use tools; then
-               dodoc README.md
-               dodoc -r contrib/examples
-               emake \
-                       WITH_BASHCOMPLETION=yes \
-                       WITH_SYSTEMDUNITS=yes \
-                       WITH_WGQUICK=yes \
-                       DESTDIR="${D}" \
-                       BASHCOMPDIR="$(get_bashcompdir)" \
-                       PREFIX="${EPREFIX}/usr" \
-                       -C src/tools install
-       fi
        use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 }