[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2023-12-07 Thread Mike Pagano
commit: 7adde97e73a3286f6580a2236b2175b07897b7e7
Author: Mike Pagano  gentoo  org>
AuthorDate: Fri Nov 24 22:35:04 2023 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Thu Dec  7 17:25:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adde97e

net-vpn/wireguard-modules: update EAPI 7 -> 8, migrate to linux-mod-r1

Bug: https://bugs.gentoo.org/908719

Signed-off-by: Mike Pagano  gentoo.org>
Closes: https://bugs.gentoo.org/908719
Closes: https://github.com/gentoo/gentoo/pull/33972
Signed-off-by: Mike Pagano  gentoo.org>

 .../wireguard-modules-1.0.20220627-r1.ebuild   | 98 ++
 1 file changed, 98 insertions(+)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627-r1.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627-r1.ebuild
new file mode 100644
index ..cb02e3c10175
--- /dev/null
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MODULES_OPTIONAL_IUSE="module"
+inherit linux-mod-r1
+
+DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography"
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
+   S="${WORKDIR}/wireguard-linux-compat-${PV}"
+   # Please don't stabilize this package. Stable users should use 
gentoo-sources 5.4 or 5.10.
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +module module-src"
+
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
+
+pkg_setup() {
+   if use module; then
+   linux-mod-r1_pkg_setup
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
+   eerror
+   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
+   eerror "you no longer need this compatibility ebuild. 
Instead, simply"
+   eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
+   eerror
+   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
+   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
+   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
+   fi
+   fi
+}
+
+src_compile() {
+   local modlist=( wireguard=net:src::module )
+   local modargs=(
+   KERNELDIR=${KV_OUT_DIR}
+   )
+   use debug && modargs+=( CONFIG_WIREGUARD_DEBUG=y )
+   use module && linux-mod-r1_src_compile
+}
+
+src_install() {
+   use module && linux-mod-r1_src_install
+   use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src 
dkms-install
+}
+
+pkg_postinst() {
+   if use module-src && ! use module; then
+   einfo
+   einfo "You have enabled the module-src USE flag without the 
module USE"
+   einfo "flag. This means that sources are installed to"
+   einfo "${ROOT}/usr/src/wireguard instead of having the"
+   einfo "kernel module compiled. You will need to compile the 
module"
+   einfo "yourself. Most likely, you don't want this USE flag, and 
should"
+   einfo "rather use USE=module"
+   einfo
+   fi
+
+   if use module; then
+   linux-mod-r1_pkg_postinst
+   local old new
+   if [[ $(uname -r) != "${KV_FULL}" ]]; then
+   ewarn
+   ewarn "You have just built WireGuard for kernel 
${KV_FULL}, yet the currently running"
+   ewarn "kernel is $(uname -r). If you intend to use this 
WireGuard module on the currently"
+   ewarn "running machine, you will first need to reboot 
it into the kernel ${KV_FULL}, for"
+   ewarn "which this module was built."
+   ewarn
+   elif [[ -f /sys/module/wireguard/version ]] && \
+old="$(< /sys/module/wireguard/version)" && \
+new="$(modinfo -F version 
"${ROOT}/lib/modules/${KV_FULL}/net/wireguard.ko" 2>/dev/null)" && \
+[[ $old != "$new" ]]; then
+   ewarn
+   ewarn "You appear to have just upgraded WireGuard from 
version v$old to v$new."
+   ewarn "However, the old version is still running on 
your system. In order to use the"
+   ewarn "new version, you will need to remove the old 
module and load the new one. As"
+ 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2023-06-30 Thread Sam James
commit: 7afa8ace127064973f33dbee00b9b104921ee9f3
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 30 13:27:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 30 13:27:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7afa8ace

net-vpn/wireguard-modules: drop blank DEPEND/RDEPEND

This makes it hard to grep for actual mistakes like DEPEND=DEPEND.

Signed-off-by: Sam James  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild
index f34efa9c6ce2..220aa7209ada 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,9 +23,6 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug +module module-src"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 MODULE_NAMES="wireguard(kernel/drivers/net:src)"
 BUILD_TARGETS="module"
 CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2022-06-27 Thread Jason A. Donenfeld
commit: 0794e6f2f7337f847fc9812271c94ec895481e84
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Jun 27 11:06:12 2022 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Jun 27 11:06:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0794e6f2

net-vpn/wireguard-modules: bump to 1.0.20220627

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20211208.ebuild => wireguard-modules-1.0.20220627.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index ef42c4299fe5..eee39d506292 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20211208.tar.xz 264500 BLAKE2B 
06261ea746e28cb738b487232e3e0ba6e5f3f6cebaf42c821a3dac0119da8586bfc06d88ae6652f941327103a9de5804a1b8785afbf4653f75f340c5db306be9
 SHA512 
c162ca7c3fc1d05908f4ccf5d9eea2706c62b1ddda4b30b74126404db20817a7592ce0961d96728587cc36da7c311ee9237dbf95477fbc111d6c7e3fa513b16f
+DIST wireguard-linux-compat-1.0.20220627.tar.xz 264016 BLAKE2B 
d75f5f36b23a17c1d62a22b8d62f3ab5b46c286f1c6b731d3c17d7efba28e5bcd6b8fccdbd8a1ee0d954e7ff81fbaa5c29b8fcc1f96d6e9d1c8351031cbfb8e3
 SHA512 
dc3d434517a348c8025274c9a139e0fe0563a8e235a8ef666263892c8d27865297ce185dbf0dfdf94178fa1516bea978d2cb817609cbfdb0f91f6491abd2e975

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild
similarity index 98%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild
index 6c4002c2e7dc..f34efa9c6ce2 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20220627.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-05-05 Thread WANG Xuerui
commit: 4dc1eb6a4df3f5dfbc372c73ce292057447d1cbb
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 09:45:25 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 09:51:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc1eb6a

net-vpn/wireguard-tools: keyword 1.0.20210914 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index c86c01c68406..b0aa478b1c90 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-02-20 Thread Arthur Zamarin
commit: 494d0305be8ae8a766de4695cb303dc3c350280c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 20 19:34:29 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 20 19:34:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494d0305

net-vpn/wireguard-tools: Stabilize 1.0.20210914 arm64, #833050

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index e139090008e7..c86c01c68406 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-02-18 Thread Arthur Zamarin
commit: f13b60a8c7d6dee5adacc1e4d025415f3a64d050
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 07:05:45 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 07:05:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13b60a8

net-vpn/wireguard-tools: Stabilize 1.0.20210914 ppc64, #833050

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index 522bb08e000c..e139090008e7 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-02-18 Thread Arthur Zamarin
commit: 07ab0b71a44f9e8404f98054b8cbbce017a2e3a0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 07:05:02 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 07:05:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ab0b71

net-vpn/wireguard-tools: Stabilize 1.0.20210914 arm, #833050

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index d58d237c0a68..522bb08e000c 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-02-18 Thread Arthur Zamarin
commit: f107137b9deb5fbade1de0b891aa34e8a390fa42
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 07:03:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 07:03:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f107137b

net-vpn/wireguard-tools: Stabilize 1.0.20210914 sparc, #833050

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index e004d43a5cf9..d58d237c0a68 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-02-18 Thread Sam James
commit: e1d0953da24f4538e6c36309468e19b19a3d4c3f
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 05:19:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 05:19:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d0953d

net-vpn/wireguard-tools: Stabilize 1.0.20210914 ppc, #833050

Signed-off-by: Sam James  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index f7ec24702c94..e004d43a5cf9 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-02-18 Thread Arthur Zamarin
commit: 9ff67e6c7e4b9a1a70dd1b02a14c4bfab79303e1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb 18 17:42:01 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb 18 17:42:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff67e6c

net-vpn/wireguard-tools: Stabilize 1.0.20210914 x86, #833050

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index c962d7b2f091..33395b3ea40f 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2022-02-18 Thread Arthur Zamarin
commit: 56017b76dfba7be2387e2dced9ebdb335aa8491f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb 18 17:42:04 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb 18 17:42:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56017b76

net-vpn/wireguard-tools: Stabilize 1.0.20210914 amd64, #833050

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index 33395b3ea40f..f7ec24702c94 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2021-12-25 Thread Sam James
commit: bc0c7f9bdc0867439820ea6f8c7d553e6fa4ba7d
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 26 00:15:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 26 00:19:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc0c7f9b

net-vpn/wireguard-modules: drop trailing full stop from DESCRIPTION

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild
index ce3824f93de5..6c4002c2e7dc 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 MODULES_OPTIONAL_USE="module"
 inherit linux-mod bash-completion-r1
 
-DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography."
+DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography"
 HOMEPAGE="https://www.wireguard.com/;
 
 if [[ ${PV} ==  ]]; then



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2021-12-08 Thread Jason A. Donenfeld
commit: c72420a2d105b680ee8da1a0a4e26de1cc294c2f
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Wed Dec  8 15:10:31 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Wed Dec  8 16:31:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72420a2

net-vpn/wireguard-modules: bump to 1.0.20211208

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20210606.ebuild => wireguard-modules-1.0.20211208.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index d5152a064258..ef42c4299fe5 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20210606.tar.xz 264952 BLAKE2B 
cc8368cf764826bbf9f76246faa8b1a366df0e2e65b14ddb52b663cc75ac5edf89e8da7646aa6b0ae952000289ba18174bcfdf0fa7ee5f6d9c81e2f5f3d6e114
 SHA512 
ef8ec9f3d87982bf24b7934d9eabe605391888955110b655baf26867c80b619f549edc5527cbc6098c1f385b977a5b5d580ccaa82129571a64133a40d072c9b6
+DIST wireguard-linux-compat-1.0.20211208.tar.xz 264500 BLAKE2B 
06261ea746e28cb738b487232e3e0ba6e5f3f6cebaf42c821a3dac0119da8586bfc06d88ae6652f941327103a9de5804a1b8785afbf4653f75f340c5db306be9
 SHA512 
c162ca7c3fc1d05908f4ccf5d9eea2706c62b1ddda4b30b74126404db20817a7592ce0961d96728587cc36da7c311ee9237dbf95477fbc111d6c7e3fa513b16f

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20210606.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20210606.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20211208.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-09-27 Thread Marek Szuba
commit: 889dbe1420b34e141dca790def95ae4a6a1d9e71
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Sep 27 21:33:31 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Sep 27 22:05:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=889dbe14

net-vpn/wireguard-tools: keyword 1.0.20210914 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
index c707cf29cb3..c962d7b2f09 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-09-13 Thread Jason A. Donenfeld
commit: a144b80848b22e7cdc0ae370f87b2b71e9b50796
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Sep 13 22:45:33 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Sep 13 22:48:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a144b808

net-vpn/wireguard-tools: bump to 1.0.20210914

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   1 +
 .../wireguard-tools-1.0.20210914.ebuild| 117 +
 2 files changed, 118 insertions(+)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index bb9f64d7e73..ecd31c84ea6 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1 +1,2 @@
 DIST wireguard-tools-1.0.20210424.tar.xz 96816 BLAKE2B 
4787624d296c22241ff366c799eb07e1e718534eab9c998df24003380ed9743f76c3b8f779c7e534404573583c9654a43527d4c96de0def78a3d88d30ca6985e
 SHA512 
b919c7ce1e8ee8660ccc1490d3dad7817f3d6f0ab79f26866e8ed10d40545a9ddca67959ff6cc84ac36a91683c1f58d274d91d47f40c0b9a7bfee4009dcbbf59
+DIST wireguard-tools-1.0.20210914.tar.xz 99744 BLAKE2B 
020f4a61597dafc6663e9ee5659f9401416692f5dc8e23afe8d59054bffd32c92814ff2e1f99d6ffe558fdfcf756afc1838e4d425847f892ad4b627a077fe614
 SHA512 
6727ea65551dbb064457449b93a943bd6534ca93bc7fa5704c2f6826266c98688ee9ea28731fda57a5245d5f63c05f3899fcca54e40c0b6251b7c4796e957445

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
new file mode 100644
index 000..c707cf29cb3
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210914.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info bash-completion-r1 systemd toolchain-funcs
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+wg-quick selinux"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND=""
+RDEPEND="${DEPEND}
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
+   selinux? ( sec-policy/selinux-wireguard )
+"
+
+wg_quick_optional_config_nob() {
+   CONFIG_CHECK="$CONFIG_CHECK ~$1"
+   declare -g ERROR_$1="CONFIG_$1: This option is required for automatic 
routing of default routes inside of wg-quick(8), though it is not required for 
general WireGuard usage."
+}
+
+pkg_setup() {
+   if use wg-quick; then
+   wg_quick_optional_config_nob IP_ADVANCED_ROUTER
+   wg_quick_optional_config_nob IP_MULTIPLE_TABLES
+   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
+   if has_version net-firewall/nftables; then
+   wg_quick_optional_config_nob NF_TABLES
+   wg_quick_optional_config_nob NF_TABLES_IPV4
+   wg_quick_optional_config_nob NF_TABLES_IPV6
+   wg_quick_optional_config_nob NFT_CT
+   wg_quick_optional_config_nob NFT_FIB
+   wg_quick_optional_config_nob NFT_FIB_IPV4
+   wg_quick_optional_config_nob NFT_FIB_IPV6
+   wg_quick_optional_config_nob NF_CONNTRACK_MARK
+   elif has_version net-firewall/iptables; then
+   wg_quick_optional_config_nob NETFILTER_XTABLES
+   wg_quick_optional_config_nob NETFILTER_XT_MARK
+   wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
+   wg_quick_optional_config_nob IP6_NF_RAW
+   wg_quick_optional_config_nob IP_NF_RAW
+   wg_quick_optional_config_nob IP6_NF_FILTER
+   wg_quick_optional_config_nob IP_NF_FILTER
+   fi
+   fi
+   get_version
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
+   CONFIG_CHECK="~WIREGUARD $CONFIG_CHECK"
+   declare -g ERROR_WIREGUARD="CONFIG_WIREGUARD: This option is 
required for using WireGuard."
+   elif kernel_is -ge 3 10 0 && kernel_is -lt 5 6 0 && ! has_version 
net-vpn/wireguard-modules; then
+   ewarn
+   ewarn "Your kernel does not appear to have upstream support for 
WireGuard"
+   

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-09-13 Thread Jason A. Donenfeld
commit: 5494c10ef4570e427c1996f583f17b94d4a450d2
Author: Jonathan Davies  protonmail  com>
AuthorDate: Sun Sep  5 18:18:50 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Sep 13 21:16:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5494c10e

net-vpn/wireguard: add selinux USE flag and dependency

Signed-off-by: Jonathan Davies  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22285
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
index ff9fcc1f9f9..f9e1606af59 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+wg-quick"
+IUSE="+wg-quick selinux"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND=""
@@ -27,6 +27,7 @@ RDEPEND="${DEPEND}
|| ( net-firewall/nftables net-firewall/iptables )
virtual/resolvconf
)
+   selinux? ( sec-policy/selinux-wireguard )
 "
 
 wg_quick_optional_config_nob() {



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2021-06-06 Thread Jason A. Donenfeld
commit: 916ca79578b922fc7291157e9d46534c8a263e0c
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sun Jun  6 09:34:49 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Sun Jun  6 09:38:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916ca795

net-vpn/wireguard-modules: bump to 1.0.20210606

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20210424.ebuild => wireguard-modules-1.0.20210606.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 3ec4715ba0b..d5152a06425 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20210424.tar.xz 264200 BLAKE2B 
e1d96786d60489e85312f2927c0c5f8d43cccef9c4929856d9e892c91351f091e6a457e4673dd0c4987a614b9c13be4a4d9d485390c3a45fdefdad5dc7131213
 SHA512 
f3485978fdd5a1cccdd8ee269c223e805bc533b79189765324a383142934b12f4f6bf476147a09703fa674da4a1eaca13fe400553b27843dbf8da133ce19207b
+DIST wireguard-linux-compat-1.0.20210606.tar.xz 264952 BLAKE2B 
cc8368cf764826bbf9f76246faa8b1a366df0e2e65b14ddb52b663cc75ac5edf89e8da7646aa6b0ae952000289ba18174bcfdf0fa7ee5f6d9c81e2f5f3d6e114
 SHA512 
ef8ec9f3d87982bf24b7934d9eabe605391888955110b655baf26867c80b619f549edc5527cbc6098c1f385b977a5b5d580ccaa82129571a64133a40d072c9b6

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20210424.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20210606.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20210424.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20210606.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-05-12 Thread Jason A. Donenfeld
commit: 129df22822bfdadbff8e54ebfae088e09a07d6c0
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Wed May 12 23:39:47 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Wed May 12 23:39:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129df228

net-vpn/wireguard-tools: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   4 -
 .../wireguard-tools-1.0.20200513.ebuild| 116 -
 .../wireguard-tools-1.0.20200827.ebuild| 116 -
 .../wireguard-tools-1.0.20210223.ebuild| 116 -
 .../wireguard-tools-1.0.20210315.ebuild| 116 -
 5 files changed, 468 deletions(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index 6ccd2380ac7..bb9f64d7e73 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1,5 +1 @@
-DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844
 SHA512 
4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c
-DIST wireguard-tools-1.0.20200827.tar.xz 94788 BLAKE2B 
d7d881a56819c028b37c11b9a44e3304a0f49250aa6ce3da894802dc2546b755f790ddd3fbc14ec1e0f653ead744434ee540c20226373122d131d7deeae94544
 SHA512 
843b70050d24f142262b672daee44cdccab508b52f42b19a32c275a17d40fd8fb66136a22ef2a4602217e821703bb36a261e474b465807308f52e6a0ee49e267
-DIST wireguard-tools-1.0.20210223.tar.xz 95444 BLAKE2B 
59606684c08893c40ac14f9d021013c741f1ea80dc5a07946ec2597d8c91f6c8e1ebbc5714d04ea6d7d9356362a9d5598a578019ead38a2e327a2162d1d1a9af
 SHA512 
98855853a3ecfce23a0a6bf4a885c85efaf2b08c9a92e0d3800fe40ae9adf05fdf4443150a71319bd9b53e314c8032694ea978db850a238813232a0c04edf692
-DIST wireguard-tools-1.0.20210315.tar.xz 96988 BLAKE2B 
d7b088a63fb386dc811f10681f6312572b360b211188630f7a76bb848ef01aac84205d62bd72edef2bac8a3e97eedccabdc2e092b8d70df8d7169d064d469831
 SHA512 
2ebc5e5a248f6b8c19cbb8bcc3c375ad339a16bf27e32346fb7cde21b9cfb1efdf877e0e5ea4a511f7cb69ff184a6731e76492e03cf490f7d49368e7f145b72e
 DIST wireguard-tools-1.0.20210424.tar.xz 96816 BLAKE2B 
4787624d296c22241ff366c799eb07e1e718534eab9c998df24003380ed9743f76c3b8f779c7e534404573583c9654a43527d4c96de0def78a3d88d30ca6985e
 SHA512 
b919c7ce1e8ee8660ccc1490d3dad7817f3d6f0ab79f26866e8ed10d40545a9ddca67959ff6cc84ac36a91683c1f58d274d91d47f40c0b9a7bfee4009dcbbf59

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
deleted file mode 100644
index d38fb67b7a6..000
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info bash-completion-r1 systemd toolchain-funcs
-
-DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
-HOMEPAGE="https://www.wireguard.com/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-else
-   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="+wg-quick"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND=""
-RDEPEND="${DEPEND}
-   wg-quick? (
-   || ( net-firewall/nftables net-firewall/iptables )
-   virtual/resolvconf
-   )
-"
-
-wg_quick_optional_config_nob() {
-   CONFIG_CHECK="$CONFIG_CHECK ~$1"
-   declare -g ERROR_$1="CONFIG_$1: This option is required for automatic 
routing of default routes inside of wg-quick(8), though it is not required for 
general WireGuard usage."
-}
-
-pkg_setup() {
-   if use wg-quick; then
-   wg_quick_optional_config_nob IP_ADVANCED_ROUTER
-   wg_quick_optional_config_nob IP_MULTIPLE_TABLES
-   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
-   if has_version net-firewall/nftables; then
-   wg_quick_optional_config_nob NF_TABLES
-   wg_quick_optional_config_nob NF_TABLES_IPV4
-   wg_quick_optional_config_nob NF_TABLES_IPV6
-   wg_quick_optional_config_nob NFT_CT
-   wg_quick_optional_config_nob NFT_FIB
-   wg_quick_optional_config_nob NFT_FIB_IPV4
-   wg_quick_optional_config_nob NFT_FIB_IPV6
-   wg_quick_optional_config_nob NF_CONNTRACK_MARK
-   elif has_version net-firewall/iptables; then
- 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-04-27 Thread Sam James
commit: dc9c7da2333faf72eee0626f74c8d62d0f6c3eaf
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 27 18:07:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 27 18:09:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9c7da2

net-vpn/wireguard-tools: Stabilize 1.0.20210424 ppc64, #785451

Signed-off-by: Sam James  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
index 39c2dd874a1..ff9fcc1f9f9 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-04-27 Thread Sam James
commit: a198d2db367f27a876ec35f42aa54a90b57c8f9c
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 27 18:06:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 27 18:09:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a198d2db

net-vpn/wireguard-tools: Stabilize 1.0.20210424 ppc, #785451

Signed-off-by: Sam James  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
index 12d285c54fa..39c2dd874a1 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-04-27 Thread Sam James
commit: 3993f181b45da22a27b0977193ab094789ccfe9b
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 27 18:01:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 27 18:01:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3993f181

net-vpn/wireguard-tools: Stabilize 1.0.20210424 x86, #785451

Signed-off-by: Sam James  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
index 2e29fff4b0d..8cedc258a78 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-04-27 Thread Sam James
commit: 3f357f268041d83a9ee76a8f3a7cf66318759969
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 27 18:00:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 27 18:00:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f357f26

net-vpn/wireguard-tools: Stabilize 1.0.20210424 amd64, #785451

Signed-off-by: Sam James  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
index 8a5cfd5623f..2e29fff4b0d 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-04-26 Thread Sergei Trofimovich
commit: 51a6744b39c0d2dbd6aaa36694724d0195e2be84
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Apr 26 20:22:19 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr 26 20:54:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51a6744b

net-vpn/wireguard-tools: stable 1.0.20210424 for sparc, bug #785451

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
index b0ff48c21a8..8a5cfd5623f 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2021-04-24 Thread Jason A. Donenfeld
commit: 02f8e79695bacc3a413353558f52fb0f3178a787
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sat Apr 24 20:52:47 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Sat Apr 24 20:52:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f8e796

net-vpn/wireguard-modules: bump to 1.0.20210424

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20210219.ebuild => wireguard-modules-1.0.20210424.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 494d5071909..3ec4715ba0b 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20210219.tar.xz 263964 BLAKE2B 
9d8c3e17e1fe37b7148e02387e53ba8c7b4e1baf591253b30d69c1cfac459ea16f7f57d640588f2c550f0a3e0c33893ff1e378d7f494f8bfbabbc8eed46d67cd
 SHA512 
1a0ef2ed96d7172f7726fb0e6699e2b49409e544c759df981951b7479f3798762761148cbc8eb5697282787aa8c4560e80690ef41711f6ab5c9d0568526762ac
+DIST wireguard-linux-compat-1.0.20210424.tar.xz 264200 BLAKE2B 
e1d96786d60489e85312f2927c0c5f8d43cccef9c4929856d9e892c91351f091e6a457e4673dd0c4987a614b9c13be4a4d9d485390c3a45fdefdad5dc7131213
 SHA512 
f3485978fdd5a1cccdd8ee269c223e805bc533b79189765324a383142934b12f4f6bf476147a09703fa674da4a1eaca13fe400553b27843dbf8da133ce19207b

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20210219.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20210424.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20210219.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20210424.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-04-24 Thread Jason A. Donenfeld
commit: 7fc198682d4319ef71ff0cb6e52dc4c9f54cde43
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sat Apr 24 20:51:14 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Sat Apr 24 20:51:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc19868

net-vpn/wireguard-tools: bump to 1.0.20210424

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   1 +
 .../wireguard-tools-1.0.20210424.ebuild| 116 +
 2 files changed, 117 insertions(+)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index f7e6fa531ef..6ccd2380ac7 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -2,3 +2,4 @@ DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da
 DIST wireguard-tools-1.0.20200827.tar.xz 94788 BLAKE2B 
d7d881a56819c028b37c11b9a44e3304a0f49250aa6ce3da894802dc2546b755f790ddd3fbc14ec1e0f653ead744434ee540c20226373122d131d7deeae94544
 SHA512 
843b70050d24f142262b672daee44cdccab508b52f42b19a32c275a17d40fd8fb66136a22ef2a4602217e821703bb36a261e474b465807308f52e6a0ee49e267
 DIST wireguard-tools-1.0.20210223.tar.xz 95444 BLAKE2B 
59606684c08893c40ac14f9d021013c741f1ea80dc5a07946ec2597d8c91f6c8e1ebbc5714d04ea6d7d9356362a9d5598a578019ead38a2e327a2162d1d1a9af
 SHA512 
98855853a3ecfce23a0a6bf4a885c85efaf2b08c9a92e0d3800fe40ae9adf05fdf4443150a71319bd9b53e314c8032694ea978db850a238813232a0c04edf692
 DIST wireguard-tools-1.0.20210315.tar.xz 96988 BLAKE2B 
d7b088a63fb386dc811f10681f6312572b360b211188630f7a76bb848ef01aac84205d62bd72edef2bac8a3e97eedccabdc2e092b8d70df8d7169d064d469831
 SHA512 
2ebc5e5a248f6b8c19cbb8bcc3c375ad339a16bf27e32346fb7cde21b9cfb1efdf877e0e5ea4a511f7cb69ff184a6731e76492e03cf490f7d49368e7f145b72e
+DIST wireguard-tools-1.0.20210424.tar.xz 96816 BLAKE2B 
4787624d296c22241ff366c799eb07e1e718534eab9c998df24003380ed9743f76c3b8f779c7e534404573583c9654a43527d4c96de0def78a3d88d30ca6985e
 SHA512 
b919c7ce1e8ee8660ccc1490d3dad7817f3d6f0ab79f26866e8ed10d40545a9ddca67959ff6cc84ac36a91683c1f58d274d91d47f40c0b9a7bfee4009dcbbf59

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
new file mode 100644
index 000..b0ff48c21a8
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info bash-completion-r1 systemd toolchain-funcs
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+wg-quick"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND=""
+RDEPEND="${DEPEND}
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
+"
+
+wg_quick_optional_config_nob() {
+   CONFIG_CHECK="$CONFIG_CHECK ~$1"
+   declare -g ERROR_$1="CONFIG_$1: This option is required for automatic 
routing of default routes inside of wg-quick(8), though it is not required for 
general WireGuard usage."
+}
+
+pkg_setup() {
+   if use wg-quick; then
+   wg_quick_optional_config_nob IP_ADVANCED_ROUTER
+   wg_quick_optional_config_nob IP_MULTIPLE_TABLES
+   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
+   if has_version net-firewall/nftables; then
+   wg_quick_optional_config_nob NF_TABLES
+   wg_quick_optional_config_nob NF_TABLES_IPV4
+   wg_quick_optional_config_nob NF_TABLES_IPV6
+   wg_quick_optional_config_nob NFT_CT
+   wg_quick_optional_config_nob NFT_FIB
+   wg_quick_optional_config_nob NFT_FIB_IPV4
+   wg_quick_optional_config_nob NFT_FIB_IPV6
+   wg_quick_optional_config_nob NF_CONNTRACK_MARK
+   elif has_version net-firewall/iptables; then
+   wg_quick_optional_config_nob NETFILTER_XTABLES
+   wg_quick_optional_config_nob NETFILTER_XT_MARK
+   wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
+   wg_quick_optional_config_nob IP6_NF_RAW
+   

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-03-15 Thread Jason A. Donenfeld
commit: 00c2bfe0bad7032452f7d87d6c29b61ebafbf210
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Mar 15 14:35:23 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Mar 15 14:35:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c2bfe0

net-vpn/wireguard-tools: bump to 20210315

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   1 +
 .../wireguard-tools-1.0.20210315.ebuild| 116 +
 2 files changed, 117 insertions(+)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index 3c2c9a12f4d..f7e6fa531ef 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1,3 +1,4 @@
 DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844
 SHA512 
4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c
 DIST wireguard-tools-1.0.20200827.tar.xz 94788 BLAKE2B 
d7d881a56819c028b37c11b9a44e3304a0f49250aa6ce3da894802dc2546b755f790ddd3fbc14ec1e0f653ead744434ee540c20226373122d131d7deeae94544
 SHA512 
843b70050d24f142262b672daee44cdccab508b52f42b19a32c275a17d40fd8fb66136a22ef2a4602217e821703bb36a261e474b465807308f52e6a0ee49e267
 DIST wireguard-tools-1.0.20210223.tar.xz 95444 BLAKE2B 
59606684c08893c40ac14f9d021013c741f1ea80dc5a07946ec2597d8c91f6c8e1ebbc5714d04ea6d7d9356362a9d5598a578019ead38a2e327a2162d1d1a9af
 SHA512 
98855853a3ecfce23a0a6bf4a885c85efaf2b08c9a92e0d3800fe40ae9adf05fdf4443150a71319bd9b53e314c8032694ea978db850a238813232a0c04edf692
+DIST wireguard-tools-1.0.20210315.tar.xz 96988 BLAKE2B 
d7b088a63fb386dc811f10681f6312572b360b211188630f7a76bb848ef01aac84205d62bd72edef2bac8a3e97eedccabdc2e092b8d70df8d7169d064d469831
 SHA512 
2ebc5e5a248f6b8c19cbb8bcc3c375ad339a16bf27e32346fb7cde21b9cfb1efdf877e0e5ea4a511f7cb69ff184a6731e76492e03cf490f7d49368e7f145b72e

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210315.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210315.ebuild
new file mode 100644
index 000..b0ff48c21a8
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210315.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info bash-completion-r1 systemd toolchain-funcs
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+wg-quick"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND=""
+RDEPEND="${DEPEND}
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
+"
+
+wg_quick_optional_config_nob() {
+   CONFIG_CHECK="$CONFIG_CHECK ~$1"
+   declare -g ERROR_$1="CONFIG_$1: This option is required for automatic 
routing of default routes inside of wg-quick(8), though it is not required for 
general WireGuard usage."
+}
+
+pkg_setup() {
+   if use wg-quick; then
+   wg_quick_optional_config_nob IP_ADVANCED_ROUTER
+   wg_quick_optional_config_nob IP_MULTIPLE_TABLES
+   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
+   if has_version net-firewall/nftables; then
+   wg_quick_optional_config_nob NF_TABLES
+   wg_quick_optional_config_nob NF_TABLES_IPV4
+   wg_quick_optional_config_nob NF_TABLES_IPV6
+   wg_quick_optional_config_nob NFT_CT
+   wg_quick_optional_config_nob NFT_FIB
+   wg_quick_optional_config_nob NFT_FIB_IPV4
+   wg_quick_optional_config_nob NFT_FIB_IPV6
+   wg_quick_optional_config_nob NF_CONNTRACK_MARK
+   elif has_version net-firewall/iptables; then
+   wg_quick_optional_config_nob NETFILTER_XTABLES
+   wg_quick_optional_config_nob NETFILTER_XT_MARK
+   wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
+   wg_quick_optional_config_nob IP6_NF_RAW
+   wg_quick_optional_config_nob IP_NF_RAW
+   wg_quick_optional_config_nob IP6_NF_FILTER

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2021-02-23 Thread Jason A. Donenfeld
commit: e3d237a7babde03bdc4bee303a4e11cd00c9048d
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Feb 23 18:33:39 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Feb 23 21:08:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d237a7

net-vpn/wireguard-tools: bump to 1.0.20210223

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   1 +
 .../wireguard-tools-1.0.20210223.ebuild| 116 +
 2 files changed, 117 insertions(+)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index c1aab6fd14c..3c2c9a12f4d 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1,2 +1,3 @@
 DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844
 SHA512 
4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c
 DIST wireguard-tools-1.0.20200827.tar.xz 94788 BLAKE2B 
d7d881a56819c028b37c11b9a44e3304a0f49250aa6ce3da894802dc2546b755f790ddd3fbc14ec1e0f653ead744434ee540c20226373122d131d7deeae94544
 SHA512 
843b70050d24f142262b672daee44cdccab508b52f42b19a32c275a17d40fd8fb66136a22ef2a4602217e821703bb36a261e474b465807308f52e6a0ee49e267
+DIST wireguard-tools-1.0.20210223.tar.xz 95444 BLAKE2B 
59606684c08893c40ac14f9d021013c741f1ea80dc5a07946ec2597d8c91f6c8e1ebbc5714d04ea6d7d9356362a9d5598a578019ead38a2e327a2162d1d1a9af
 SHA512 
98855853a3ecfce23a0a6bf4a885c85efaf2b08c9a92e0d3800fe40ae9adf05fdf4443150a71319bd9b53e314c8032694ea978db850a238813232a0c04edf692

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210223.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210223.ebuild
new file mode 100644
index 000..b0ff48c21a8
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210223.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info bash-completion-r1 systemd toolchain-funcs
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+wg-quick"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND=""
+RDEPEND="${DEPEND}
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
+"
+
+wg_quick_optional_config_nob() {
+   CONFIG_CHECK="$CONFIG_CHECK ~$1"
+   declare -g ERROR_$1="CONFIG_$1: This option is required for automatic 
routing of default routes inside of wg-quick(8), though it is not required for 
general WireGuard usage."
+}
+
+pkg_setup() {
+   if use wg-quick; then
+   wg_quick_optional_config_nob IP_ADVANCED_ROUTER
+   wg_quick_optional_config_nob IP_MULTIPLE_TABLES
+   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
+   if has_version net-firewall/nftables; then
+   wg_quick_optional_config_nob NF_TABLES
+   wg_quick_optional_config_nob NF_TABLES_IPV4
+   wg_quick_optional_config_nob NF_TABLES_IPV6
+   wg_quick_optional_config_nob NFT_CT
+   wg_quick_optional_config_nob NFT_FIB
+   wg_quick_optional_config_nob NFT_FIB_IPV4
+   wg_quick_optional_config_nob NFT_FIB_IPV6
+   wg_quick_optional_config_nob NF_CONNTRACK_MARK
+   elif has_version net-firewall/iptables; then
+   wg_quick_optional_config_nob NETFILTER_XTABLES
+   wg_quick_optional_config_nob NETFILTER_XT_MARK
+   wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
+   wg_quick_optional_config_nob IP6_NF_RAW
+   wg_quick_optional_config_nob IP_NF_RAW
+   wg_quick_optional_config_nob IP6_NF_FILTER
+   wg_quick_optional_config_nob IP_NF_FILTER
+   fi
+   fi
+   get_version
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
+   CONFIG_CHECK="~WIREGUARD $CONFIG_CHECK"
+   declare -g ERROR_WIREGUARD="CONFIG_WIREGUARD: This option is 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2021-02-19 Thread Jason A. Donenfeld
commit: dff730337e6430cb3b2f0551a648f81dc7ffe30a
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Feb 19 14:15:50 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Feb 19 14:15:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff73033

net-vpn/wireguard-modules: add note about stabilization

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-1.0.20210219.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20210219.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20210219.ebuild
index a057f7a6229..ce3824f93de 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20210219.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20210219.ebuild
@@ -15,6 +15,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
S="${WORKDIR}/wireguard-linux-compat-${PV}"
+   # Please don't stabilize this package. Stable users should use 
gentoo-sources 5.4 or 5.10.
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2021-02-19 Thread Jason A. Donenfeld
commit: 929f4686fe4c11cc10784a14ae09ae08e5fb4f50
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Feb 19 14:10:49 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Feb 19 14:11:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929f4686

net-vpn/wireguard-modules: bump to v1.0.20210219

Also drop the stable version, which is really less stable than testing,
and not something I want to maintain.

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest |  3 +-
 .../wireguard-modules-1.0.20201221.ebuild  | 99 --
 ...build => wireguard-modules-1.0.20210219.ebuild} |  0
 3 files changed, 1 insertion(+), 101 deletions(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index c3c91951da6..494d5071909 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1,2 +1 @@
-DIST wireguard-linux-compat-1.0.20201221.tar.xz 262596 BLAKE2B 
fffd0f3a5501aa5ad0e52f3210edf507b0db63230d59b3204104584cc2b1d739311262a0e0180ce5cd5d6e74c5228d01a631fdbba8be9788bda2d80df8cfcbd0
 SHA512 
1b06eeda525903661657cae4f462cf2ef464bce292b0a9ae37425d254142ed4137ca7a2296da0f11447f89a4d921c3cb7cee018a4f691131541f0ec32f99c458
-DIST wireguard-linux-compat-1.0.20210124.tar.xz 262500 BLAKE2B 
3ba5de204040abf2c2049b4223f6adcf0c24ef85bcc10702e5f8e40e751dbc6c8d217ac4d1534f407a7cf5f078bbb2e9a82862043c7979cc69a45e33d6e0cfb6
 SHA512 
4438391eb6a6a1526cbb9b7eb7b8f8b2999bf425d5fca028f1a412d93bffaa6107be133d673e68add6eeeb86201aa080228706de2af00e69c0ac88ccb127e56e
+DIST wireguard-linux-compat-1.0.20210219.tar.xz 263964 BLAKE2B 
9d8c3e17e1fe37b7148e02387e53ba8c7b4e1baf591253b30d69c1cfac459ea16f7f57d640588f2c550f0a3e0c33893ff1e378d7f494f8bfbabbc8eed46d67cd
 SHA512 
1a0ef2ed96d7172f7726fb0e6699e2b49409e544c759df981951b7479f3798762761148cbc8eb5697282787aa8c4560e80690ef41711f6ab5c9d0568526762ac

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20201221.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20201221.ebuild
deleted file mode 100644
index a3aea3fe6a5..000
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20201221.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MODULES_OPTIONAL_USE="module"
-inherit linux-mod bash-completion-r1
-
-DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography."
-HOMEPAGE="https://www.wireguard.com/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
-else
-   
SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
-   S="${WORKDIR}/wireguard-linux-compat-${PV}"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug +module module-src"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-MODULE_NAMES="wireguard(kernel/drivers/net:src)"
-BUILD_TARGETS="module"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
-
-pkg_setup() {
-   if use module; then
-   linux-mod_pkg_setup
-   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
-   eerror
-   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
-   eerror "you no longer need this compatibility ebuild. 
Instead, simply"
-   eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
-   eerror
-   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
-   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
-   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
-   fi
-   fi
-}
-
-src_compile() {
-   BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR}"
-   use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-   use module && linux-mod_src_compile
-}
-
-src_install() {
-   use module && linux-mod_src_install
-   use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src 
dkms-install
-}
-
-pkg_postinst() {
-   if use module-src && ! use module; then
-   einfo
-   einfo "You have enabled the module-src USE flag without the 
module USE"
-   einfo "flag. This means that sources are installed to"
-   einfo "${ROOT}/usr/src/wireguard instead of having the"
-   einfo "kernel module compiled. You will need to compile the 
module"
-   einfo "yourself. Most likely, you don't want this USE flag, and 
should"
-   einfo "rather use USE=module"
-   einfo
-   fi
-
-   if 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2021-01-24 Thread Jason A. Donenfeld
commit: ebbd88348ad39e3365a588e693980ad0a0f39df0
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sun Jan 24 13:48:19 2021 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Sun Jan 24 13:49:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebbd8834

net-vpn/wireguard-modules: bump to 1.0.20210124

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest |  1 +
 .../wireguard-modules-1.0.20210124.ebuild  | 99 ++
 2 files changed, 100 insertions(+)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index b1b69be60db..c3c91951da6 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1,2 @@
 DIST wireguard-linux-compat-1.0.20201221.tar.xz 262596 BLAKE2B 
fffd0f3a5501aa5ad0e52f3210edf507b0db63230d59b3204104584cc2b1d739311262a0e0180ce5cd5d6e74c5228d01a631fdbba8be9788bda2d80df8cfcbd0
 SHA512 
1b06eeda525903661657cae4f462cf2ef464bce292b0a9ae37425d254142ed4137ca7a2296da0f11447f89a4d921c3cb7cee018a4f691131541f0ec32f99c458
+DIST wireguard-linux-compat-1.0.20210124.tar.xz 262500 BLAKE2B 
3ba5de204040abf2c2049b4223f6adcf0c24ef85bcc10702e5f8e40e751dbc6c8d217ac4d1534f407a7cf5f078bbb2e9a82862043c7979cc69a45e33d6e0cfb6
 SHA512 
4438391eb6a6a1526cbb9b7eb7b8f8b2999bf425d5fca028f1a412d93bffaa6107be133d673e68add6eeeb86201aa080228706de2af00e69c0ac88ccb127e56e

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20210124.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20210124.ebuild
new file mode 100644
index 000..a057f7a6229
--- /dev/null
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20210124.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MODULES_OPTIONAL_USE="module"
+inherit linux-mod bash-completion-r1
+
+DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography."
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
+   S="${WORKDIR}/wireguard-linux-compat-${PV}"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +module module-src"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+MODULE_NAMES="wireguard(kernel/drivers/net:src)"
+BUILD_TARGETS="module"
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
+
+pkg_setup() {
+   if use module; then
+   linux-mod_pkg_setup
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
+   eerror
+   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
+   eerror "you no longer need this compatibility ebuild. 
Instead, simply"
+   eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
+   eerror
+   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
+   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
+   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
+   fi
+   fi
+}
+
+src_compile() {
+   BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR}"
+   use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
+   use module && linux-mod_src_compile
+}
+
+src_install() {
+   use module && linux-mod_src_install
+   use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src 
dkms-install
+}
+
+pkg_postinst() {
+   if use module-src && ! use module; then
+   einfo
+   einfo "You have enabled the module-src USE flag without the 
module USE"
+   einfo "flag. This means that sources are installed to"
+   einfo "${ROOT}/usr/src/wireguard instead of having the"
+   einfo "kernel module compiled. You will need to compile the 
module"
+   einfo "yourself. Most likely, you don't want this USE flag, and 
should"
+   einfo "rather use USE=module"
+   einfo
+   fi
+
+   if use module; then
+   linux-mod_pkg_postinst
+   local old new
+   if [[ $(uname -r) != "${KV_FULL}" ]]; then
+   ewarn
+   ewarn "You have just built WireGuard for kernel 
${KV_FULL}, yet the currently running"
+   ewarn "kernel is $(uname -r). If you intend to use this 
WireGuard module on the currently"
+   ewarn "running machine, you will first need to reboot 
it into the kernel ${KV_FULL}, for"
+  

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-12-28 Thread Jason A. Donenfeld
commit: afb18759f2652a16aae3ac7553e6aca576ec334b
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Dec 28 16:01:17 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Dec 28 16:01:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb18759

net-vpn/wireguard-modules: stable trivial bump

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest |  1 -
 .../wireguard-modules-1.0.20201112.ebuild  | 99 --
 .../wireguard-modules-1.0.20201221.ebuild  |  2 +-
 3 files changed, 1 insertion(+), 101 deletions(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index b07af4b2aae..b1b69be60db 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1,2 +1 @@
-DIST wireguard-linux-compat-1.0.20201112.tar.xz 262220 BLAKE2B 
2bbcce294c7d0578e820b285074bdbff2c96908ccc10294e05aa846a6f0b614930ca71536cb954233480c9e294692df1f4954b8f11db86deecdc93373b6e1d4f
 SHA512 
c3ad6611d1d8abf163e6626ceeb1329b8b4a745159021473fee134858e22f6a5d3418b39f165f2f2f0bde1891d560f773cdb4d1f4fb60d61b35aff01d59aee54
 DIST wireguard-linux-compat-1.0.20201221.tar.xz 262596 BLAKE2B 
fffd0f3a5501aa5ad0e52f3210edf507b0db63230d59b3204104584cc2b1d739311262a0e0180ce5cd5d6e74c5228d01a631fdbba8be9788bda2d80df8cfcbd0
 SHA512 
1b06eeda525903661657cae4f462cf2ef464bce292b0a9ae37425d254142ed4137ca7a2296da0f11447f89a4d921c3cb7cee018a4f691131541f0ec32f99c458

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20201112.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20201112.ebuild
deleted file mode 100644
index a3aea3fe6a5..000
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20201112.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MODULES_OPTIONAL_USE="module"
-inherit linux-mod bash-completion-r1
-
-DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography."
-HOMEPAGE="https://www.wireguard.com/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
-else
-   
SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
-   S="${WORKDIR}/wireguard-linux-compat-${PV}"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug +module module-src"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-MODULE_NAMES="wireguard(kernel/drivers/net:src)"
-BUILD_TARGETS="module"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
-
-pkg_setup() {
-   if use module; then
-   linux-mod_pkg_setup
-   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
-   eerror
-   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
-   eerror "you no longer need this compatibility ebuild. 
Instead, simply"
-   eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
-   eerror
-   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
-   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
-   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
-   fi
-   fi
-}
-
-src_compile() {
-   BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR}"
-   use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-   use module && linux-mod_src_compile
-}
-
-src_install() {
-   use module && linux-mod_src_install
-   use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src 
dkms-install
-}
-
-pkg_postinst() {
-   if use module-src && ! use module; then
-   einfo
-   einfo "You have enabled the module-src USE flag without the 
module USE"
-   einfo "flag. This means that sources are installed to"
-   einfo "${ROOT}/usr/src/wireguard instead of having the"
-   einfo "kernel module compiled. You will need to compile the 
module"
-   einfo "yourself. Most likely, you don't want this USE flag, and 
should"
-   einfo "rather use USE=module"
-   einfo
-   fi
-
-   if use module; then
-   linux-mod_pkg_postinst
-   local old new
-   if [[ $(uname -r) != "${KV_FULL}" ]]; then
-   ewarn
-   ewarn "You have just built WireGuard for kernel 
${KV_FULL}, yet the currently running"
-   ewarn "kernel is $(uname -r). If you intend to use this 
WireGuard module on the currently"
-   ewarn "running 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-12-21 Thread Jason A. Donenfeld
commit: 944735dbc52f10a3ea887f1ded93eacfe75d555e
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Dec 21 11:58:40 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Dec 21 12:00:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=944735db

net-vpn/wireguard-modules: bump to 1.0.20201221

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest |  1 +
 .../wireguard-modules-1.0.20201221.ebuild  | 99 ++
 2 files changed, 100 insertions(+)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index e908603ee4b..b07af4b2aae 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1,2 @@
 DIST wireguard-linux-compat-1.0.20201112.tar.xz 262220 BLAKE2B 
2bbcce294c7d0578e820b285074bdbff2c96908ccc10294e05aa846a6f0b614930ca71536cb954233480c9e294692df1f4954b8f11db86deecdc93373b6e1d4f
 SHA512 
c3ad6611d1d8abf163e6626ceeb1329b8b4a745159021473fee134858e22f6a5d3418b39f165f2f2f0bde1891d560f773cdb4d1f4fb60d61b35aff01d59aee54
+DIST wireguard-linux-compat-1.0.20201221.tar.xz 262596 BLAKE2B 
fffd0f3a5501aa5ad0e52f3210edf507b0db63230d59b3204104584cc2b1d739311262a0e0180ce5cd5d6e74c5228d01a631fdbba8be9788bda2d80df8cfcbd0
 SHA512 
1b06eeda525903661657cae4f462cf2ef464bce292b0a9ae37425d254142ed4137ca7a2296da0f11447f89a4d921c3cb7cee018a4f691131541f0ec32f99c458

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20201221.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20201221.ebuild
new file mode 100644
index 000..a346e8fae15
--- /dev/null
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20201221.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MODULES_OPTIONAL_USE="module"
+inherit linux-mod bash-completion-r1
+
+DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography."
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
+   S="${WORKDIR}/wireguard-linux-compat-${PV}"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +module module-src"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+MODULE_NAMES="wireguard(kernel/drivers/net:src)"
+BUILD_TARGETS="module"
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
+
+pkg_setup() {
+   if use module; then
+   linux-mod_pkg_setup
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
+   eerror
+   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
+   eerror "you no longer need this compatibility ebuild. 
Instead, simply"
+   eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
+   eerror
+   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
+   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
+   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
+   fi
+   fi
+}
+
+src_compile() {
+   BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR}"
+   use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
+   use module && linux-mod_src_compile
+}
+
+src_install() {
+   use module && linux-mod_src_install
+   use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src 
dkms-install
+}
+
+pkg_postinst() {
+   if use module-src && ! use module; then
+   einfo
+   einfo "You have enabled the module-src USE flag without the 
module USE"
+   einfo "flag. This means that sources are installed to"
+   einfo "${ROOT}/usr/src/wireguard instead of having the"
+   einfo "kernel module compiled. You will need to compile the 
module"
+   einfo "yourself. Most likely, you don't want this USE flag, and 
should"
+   einfo "rather use USE=module"
+   einfo
+   fi
+
+   if use module; then
+   linux-mod_pkg_postinst
+   local old new
+   if [[ $(uname -r) != "${KV_FULL}" ]]; then
+   ewarn
+   ewarn "You have just built WireGuard for kernel 
${KV_FULL}, yet the currently running"
+   ewarn "kernel is $(uname -r). If you intend to use this 
WireGuard module on the currently"
+   ewarn "running machine, you will first need to reboot 
it into the kernel ${KV_FULL}, for"
+  

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-11-18 Thread Jason A. Donenfeld
commit: f9e4fce109fc8806935648a17ddcf7109b52c7ef
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Wed Nov 18 19:37:28 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Wed Nov 18 19:37:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e4fce1

net-vpn/wireguard-modules: stable x86/amd64

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest |  1 -
 .../wireguard-modules-1.0.20200908.ebuild  | 99 --
 .../wireguard-modules-1.0.20201112.ebuild  |  2 +-
 3 files changed, 1 insertion(+), 101 deletions(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 8b1c9a0c59c..e908603ee4b 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1,2 +1 @@
-DIST wireguard-linux-compat-1.0.20200908.tar.xz 262708 BLAKE2B 
e1621237c6a76a6b8111eb26d2547c7335d87f8e0db29fd6d7b8c56993d0998383a2beab682c75caa0de183f17e345b0f96794a7c9e5b2cd04281d558ce0
 SHA512 
e13f243a7a72a4d4bd326af40439b7760b6ea8b452e67ddff1c844dc62bc53e2dc2c1738f98c7a45b6b24566d0ed9dc0dc3e9006fcb668f0314aac2ab9eaeb87
 DIST wireguard-linux-compat-1.0.20201112.tar.xz 262220 BLAKE2B 
2bbcce294c7d0578e820b285074bdbff2c96908ccc10294e05aa846a6f0b614930ca71536cb954233480c9e294692df1f4954b8f11db86deecdc93373b6e1d4f
 SHA512 
c3ad6611d1d8abf163e6626ceeb1329b8b4a745159021473fee134858e22f6a5d3418b39f165f2f2f0bde1891d560f773cdb4d1f4fb60d61b35aff01d59aee54

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
deleted file mode 100644
index a3aea3fe6a5..000
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MODULES_OPTIONAL_USE="module"
-inherit linux-mod bash-completion-r1
-
-DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography."
-HOMEPAGE="https://www.wireguard.com/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
-else
-   
SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
-   S="${WORKDIR}/wireguard-linux-compat-${PV}"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug +module module-src"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-MODULE_NAMES="wireguard(kernel/drivers/net:src)"
-BUILD_TARGETS="module"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
-
-pkg_setup() {
-   if use module; then
-   linux-mod_pkg_setup
-   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
-   eerror
-   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
-   eerror "you no longer need this compatibility ebuild. 
Instead, simply"
-   eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
-   eerror
-   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
-   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
-   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
-   fi
-   fi
-}
-
-src_compile() {
-   BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR}"
-   use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-   use module && linux-mod_src_compile
-}
-
-src_install() {
-   use module && linux-mod_src_install
-   use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src 
dkms-install
-}
-
-pkg_postinst() {
-   if use module-src && ! use module; then
-   einfo
-   einfo "You have enabled the module-src USE flag without the 
module USE"
-   einfo "flag. This means that sources are installed to"
-   einfo "${ROOT}/usr/src/wireguard instead of having the"
-   einfo "kernel module compiled. You will need to compile the 
module"
-   einfo "yourself. Most likely, you don't want this USE flag, and 
should"
-   einfo "rather use USE=module"
-   einfo
-   fi
-
-   if use module; then
-   linux-mod_pkg_postinst
-   local old new
-   if [[ $(uname -r) != "${KV_FULL}" ]]; then
-   ewarn
-   ewarn "You have just built WireGuard for kernel 
${KV_FULL}, yet the currently running"
-   ewarn "kernel is $(uname -r). If you intend to use this 
WireGuard module on the currently"
-   ewarn "running 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-11-12 Thread Jason A. Donenfeld
commit: 6ddb7f4c3ac48a9bf9fd1e51cd73232e6b41eabc
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Nov 12 09:07:52 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Nov 12 09:08:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddb7f4c

net-vpn/wireguard-modules: bump to 1.0.20201112

Also, some people added stable to the  package, which is nuts, so
get rid of that.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest | 1 +
 net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild| 1 -
 ...dules-1.0.20200908.ebuild => wireguard-modules-1.0.20201112.ebuild} | 3 +--
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index d929300788b..8b1c9a0c59c 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1,2 @@
 DIST wireguard-linux-compat-1.0.20200908.tar.xz 262708 BLAKE2B 
e1621237c6a76a6b8111eb26d2547c7335d87f8e0db29fd6d7b8c56993d0998383a2beab682c75caa0de183f17e345b0f96794a7c9e5b2cd04281d558ce0
 SHA512 
e13f243a7a72a4d4bd326af40439b7760b6ea8b452e67ddff1c844dc62bc53e2dc2c1738f98c7a45b6b24566d0ed9dc0dc3e9006fcb668f0314aac2ab9eaeb87
+DIST wireguard-linux-compat-1.0.20201112.tar.xz 262220 BLAKE2B 
2bbcce294c7d0578e820b285074bdbff2c96908ccc10294e05aa846a6f0b614930ca71536cb954233480c9e294692df1f4954b8f11db86deecdc93373b6e1d4f
 SHA512 
c3ad6611d1d8abf163e6626ceeb1329b8b4a745159021473fee134858e22f6a5d3418b39f165f2f2f0bde1891d560f773cdb4d1f4fb60d61b35aff01d59aee54

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
index 25d2732d235..a3aea3fe6a5 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
@@ -12,7 +12,6 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
-   KEYWORDS="amd64 x86"
 else

SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
S="${WORKDIR}/wireguard-linux-compat-${PV}"

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20201112.ebuild
similarity index 96%
copy from net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
copy to net-vpn/wireguard-modules/wireguard-modules-1.0.20201112.ebuild
index 25d2732d235..a346e8fae15 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20201112.ebuild
@@ -12,11 +12,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
-   KEYWORDS="amd64 x86"
 else

SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
S="${WORKDIR}/wireguard-linux-compat-${PV}"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-10-18 Thread Thomas Deutschmann
commit: 318ab6571a4081e1fb49995e9d1f9bfb631bed26
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct 18 15:48:09 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct 18 16:00:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318ab657

net-vpn/wireguard-modules: x86 stable (bug #744520)

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
index 86de5edd4d3..25d2732d235 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
@@ -12,11 +12,11 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
-   KEYWORDS="amd64"
+   KEYWORDS="amd64 x86"
 else

SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
S="${WORKDIR}/wireguard-linux-compat-${PV}"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-09-08 Thread Jason A. Donenfeld
commit: 497bd7282dd586f7cda301db83ec928e0c87a05d
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Sep  8 16:23:49 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Sep  8 16:25:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=497bd728

net-vpn/wireguard-modules: bump to 20200908

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...les-1.0.20200729-r1.ebuild => wireguard-modules-1.0.20200908.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 0aa3628c2d4..d929300788b 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200729.tar.xz 262464 BLAKE2B 
2ab0ccd173889941e65f588564a5815df5b47c08c1f5dfdeb8b0c4f1ec3a91ee4664d96fac390c1a30cf5067b9dd9c3b17c43dc459bdcd9f317348e1aa098d76
 SHA512 
8eb06eb7e56340e9088f53d887716777cf07cd4b3330cc41243ae7d6d63ed469d2710b84fd1a3fca0118dfb8c8c77377ba4ec4de3ffe1e7d0541ec25115525c5
+DIST wireguard-linux-compat-1.0.20200908.tar.xz 262708 BLAKE2B 
e1621237c6a76a6b8111eb26d2547c7335d87f8e0db29fd6d7b8c56993d0998383a2beab682c75caa0de183f17e345b0f96794a7c9e5b2cd04281d558ce0
 SHA512 
e13f243a7a72a4d4bd326af40439b7760b6ea8b452e67ddff1c844dc62bc53e2dc2c1738f98c7a45b6b24566d0ed9dc0dc3e9006fcb668f0314aac2ab9eaeb87

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729-r1.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200729-r1.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200908.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-09-08 Thread Jason A. Donenfeld
commit: 5955e9919b05f2c009e157f29b70b112a22d1e96
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Sep  8 16:25:21 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Sep  8 16:25:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5955e991

net-vpn/wireguard-tools: bump to 20200827

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest| 2 +-
 ...rd-tools-1.0.20200820.ebuild => wireguard-tools-1.0.20200827.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index 20a8ba1966f..c1aab6fd14c 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1,2 +1,2 @@
 DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844
 SHA512 
4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c
-DIST wireguard-tools-1.0.20200820.tar.xz 94812 BLAKE2B 
68e3db7cc337e8cf0b35d192f38d6303696c19956661a10d253241864a8b22c666b99ea62d9533bc661353c77a7df4333e336ee00235d9492347beaf58b78396
 SHA512 
d30ff3c4381e65cd0a751110e66f3ad1aa274b22962da748af6373210d3e4824d066a74655156d7a3d1fe6f96187a49408bc590a8023bc706c1824c0546b874c
+DIST wireguard-tools-1.0.20200827.tar.xz 94788 BLAKE2B 
d7d881a56819c028b37c11b9a44e3304a0f49250aa6ce3da894802dc2546b755f790ddd3fbc14ec1e0f653ead744434ee540c20226373122d131d7deeae94544
 SHA512 
843b70050d24f142262b672daee44cdccab508b52f42b19a32c275a17d40fd8fb66136a22ef2a4602217e821703bb36a261e474b465807308f52e6a0ee49e267

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200820.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200827.ebuild
similarity index 100%
rename from net-vpn/wireguard-tools/wireguard-tools-1.0.20200820.ebuild
rename to net-vpn/wireguard-tools/wireguard-tools-1.0.20200827.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-08-20 Thread Jason A. Donenfeld
commit: f7a861be8c3e6c7f6086761f4a2f21c582b2144c
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Aug 20 10:13:04 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Aug 20 10:13:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a861be

net-vpn/wireguard-tools: version bump

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   1 +
 .../wireguard-tools-1.0.20200820.ebuild| 116 +
 2 files changed, 117 insertions(+)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index b60ce915a97..20a8ba1966f 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1 +1,2 @@
 DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844
 SHA512 
4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c
+DIST wireguard-tools-1.0.20200820.tar.xz 94812 BLAKE2B 
68e3db7cc337e8cf0b35d192f38d6303696c19956661a10d253241864a8b22c666b99ea62d9533bc661353c77a7df4333e336ee00235d9492347beaf58b78396
 SHA512 
d30ff3c4381e65cd0a751110e66f3ad1aa274b22962da748af6373210d3e4824d066a74655156d7a3d1fe6f96187a49408bc590a8023bc706c1824c0546b874c

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200820.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200820.ebuild
new file mode 100644
index 000..f61364d1c25
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200820.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info bash-completion-r1 systemd toolchain-funcs
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+wg-quick"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND=""
+RDEPEND="${DEPEND}
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
+"
+
+wg_quick_optional_config_nob() {
+   CONFIG_CHECK="$CONFIG_CHECK ~$1"
+   declare -g ERROR_$1="CONFIG_$1: This option is required for automatic 
routing of default routes inside of wg-quick(8), though it is not required for 
general WireGuard usage."
+}
+
+pkg_setup() {
+   if use wg-quick; then
+   wg_quick_optional_config_nob IP_ADVANCED_ROUTER
+   wg_quick_optional_config_nob IP_MULTIPLE_TABLES
+   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
+   if has_version net-firewall/nftables; then
+   wg_quick_optional_config_nob NF_TABLES
+   wg_quick_optional_config_nob NF_TABLES_IPV4
+   wg_quick_optional_config_nob NF_TABLES_IPV6
+   wg_quick_optional_config_nob NFT_CT
+   wg_quick_optional_config_nob NFT_FIB
+   wg_quick_optional_config_nob NFT_FIB_IPV4
+   wg_quick_optional_config_nob NFT_FIB_IPV6
+   wg_quick_optional_config_nob NF_CONNTRACK_MARK
+   elif has_version net-firewall/iptables; then
+   wg_quick_optional_config_nob NETFILTER_XTABLES
+   wg_quick_optional_config_nob NETFILTER_XT_MARK
+   wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
+   wg_quick_optional_config_nob IP6_NF_RAW
+   wg_quick_optional_config_nob IP_NF_RAW
+   wg_quick_optional_config_nob IP6_NF_FILTER
+   wg_quick_optional_config_nob IP_NF_FILTER
+   fi
+   fi
+   get_version
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
+   CONFIG_CHECK="~WIREGUARD $CONFIG_CHECK"
+   declare -g ERROR_WIREGUARD="CONFIG_WIREGUARD: This option is 
required for using WireGuard."
+   elif kernel_is -ge 3 10 0 && kernel_is -lt 5 6 0 && ! has_version 
net-vpn/wireguard-modules; then
+   ewarn
+   ewarn "Your kernel does not appear to have upstream support for 
WireGuard"
+   ewarn "via CONFIG_WIREGUARD. However, the 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-08-08 Thread Mikle Kolyada
commit: dc8707ea77d1ff039909a05980087b7a53cf2f22
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Aug  7 11:08:25 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Aug  8 12:18:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8707ea

net-vpn/wireguard-modules: migrate to sys-apps/kmod

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Mikle Kolyada  gentoo.org>

 ...dules-1.0.20200729.ebuild => wireguard-modules-1.0.20200729-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729-r1.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200729-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/files/

2020-08-07 Thread Jason A. Donenfeld
commit: c4d3aa2b6474fe2a38ffc85a96709c10b00ff6a8
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Aug  7 16:12:51 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Aug  7 16:13:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d3aa2b

net-vpn/wireguard-tools: actually use checkconfig

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/files/wg-quick.init | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-vpn/wireguard-tools/files/wg-quick.init 
b/net-vpn/wireguard-tools/files/wg-quick.init
index ad687410405..78047278203 100644
--- a/net-vpn/wireguard-tools/files/wg-quick.init
+++ b/net-vpn/wireguard-tools/files/wg-quick.init
@@ -20,15 +20,18 @@ checkconfig() {
eerror "/etc/init.d/wg-quick.vpn0 start"
return 1
fi
+   return 0
 }
 
 start() {
+   checkconfig || return 1
ebegin "Starting $description for $CONF"
wg-quick up "$CONF"
eend $? "Failed to start $description for $CONF"
 }
 
 stop() {
+   checkconfig || return 1
ebegin "Stopping $description for $CONF"
wg-quick down "$CONF"
eend $? "Failed to stop $description for $CONF"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/, net-vpn/wireguard-tools/files/

2020-08-06 Thread Jason A. Donenfeld
commit: ca76f01b51e1fe77cbd85e0ff15892209b6624bc
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Aug  6 15:19:58 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Aug  6 15:20:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca76f01b

net-vpn/wireguard-tools: add init script

Closes: https://github.com/gentoo/gentoo/pull/16794
Closes: https://bugs.gentoo.org/672582
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/files/wg-quick.init| 35 ++
 .../wireguard-tools-1.0.20200513.ebuild|  1 +
 2 files changed, 36 insertions(+)

diff --git a/net-vpn/wireguard-tools/files/wg-quick.init 
b/net-vpn/wireguard-tools/files/wg-quick.init
new file mode 100644
index 000..ad687410405
--- /dev/null
+++ b/net-vpn/wireguard-tools/files/wg-quick.init
@@ -0,0 +1,35 @@
+#!/sbin/openrc-run
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="WireGuard"
+description="WireGuard via wg-quick(8)"
+
+depend() {
+   need net
+   use dns
+}
+
+CONF="${SVCNAME#*.}"
+
+checkconfig() {
+   if [ "$CONF" = "$SVCNAME" ]; then
+   eerror "You cannot call this init script directly. You must 
create a symbolic link to it with the configuration name:"
+   eerror "ln -s /etc/init.d/wg-quick 
/etc/init.d/wg-quick.vpn0"
+   eerror "And then call it instead:"
+   eerror "/etc/init.d/wg-quick.vpn0 start"
+   return 1
+   fi
+}
+
+start() {
+   ebegin "Starting $description for $CONF"
+   wg-quick up "$CONF"
+   eend $? "Failed to start $description for $CONF"
+}
+
+stop() {
+   ebegin "Stopping $description for $CONF"
+   wg-quick down "$CONF"
+   eend $? "Failed to stop $description for $CONF"
+}

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 05151edab94..17cfcbbb8f2 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -93,6 +93,7 @@ src_install() {
SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \
PREFIX="${EPREFIX}/usr" \
-C src install
+   use wg-quick && newinitd "${FILESDIR}/wg-quick.init" wg-quick
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-07-31 Thread Jason A. Donenfeld
commit: b6941460e30a5ae2ee1f4665f0874e33df1e3e0a
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Jul 31 12:11:32 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Jul 31 12:12:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6941460

net-vpn/wireguard-modules: remove  ebuild

This is less important than it used to be.

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 .../wireguard-modules-.ebuild  | 100 -
 1 file changed, 100 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-.ebuild
deleted file mode 100644
index 198636c9d9a..000
--- a/net-vpn/wireguard-modules/wireguard-modules-.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MODULES_OPTIONAL_USE="module"
-inherit linux-mod bash-completion-r1
-
-DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art 
cryptography."
-HOMEPAGE="https://www.wireguard.com/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-linux-compat;
-   KEYWORDS=""
-else
-   
SRC_URI="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${PV}.tar.xz;
-   S="${WORKDIR}/wireguard-linux-compat-${PV}"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug +module module-src"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-MODULE_NAMES="wireguard(kernel/drivers/net:src)"
-BUILD_TARGETS="module"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
-
-pkg_setup() {
-   if use module; then
-   linux-mod_pkg_setup
-   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
-   eerror
-   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
-   eerror "you no longer need this compatibility ebuild. 
Instead, simply"
-   eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
-   eerror
-   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
-   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
-   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
-   fi
-   fi
-}
-
-src_compile() {
-   BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR}"
-   use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-   use module && linux-mod_src_compile
-}
-
-src_install() {
-   use module && linux-mod_src_install
-   use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src 
dkms-install
-}
-
-pkg_postinst() {
-   if use module-src && ! use module; then
-   einfo
-   einfo "You have enabled the module-src USE flag without the 
module USE"
-   einfo "flag. This means that sources are installed to"
-   einfo "${ROOT}/usr/src/wireguard instead of having the"
-   einfo "kernel module compiled. You will need to compile the 
module"
-   einfo "yourself. Most likely, you don't want this USE flag, and 
should"
-   einfo "rather use USE=module"
-   einfo
-   fi
-
-   if use module; then
-   linux-mod_pkg_postinst
-   local old new
-   if [[ $(uname -r) != "${KV_FULL}" ]]; then
-   ewarn
-   ewarn "You have just built WireGuard for kernel 
${KV_FULL}, yet the currently running"
-   ewarn "kernel is $(uname -r). If you intend to use this 
WireGuard module on the currently"
-   ewarn "running machine, you will first need to reboot 
it into the kernel ${KV_FULL}, for"
-   ewarn "which this module was built."
-   ewarn
-   elif [[ -f /sys/module/wireguard/version ]] && \
-old="$(< /sys/module/wireguard/version)" && \
-new="$(modinfo -F version 
"${ROOT}/lib/modules/${KV_FULL}/net/wireguard.ko" 2>/dev/null)" && \
-[[ $old != "$new" ]]; then
-   ewarn
-   ewarn "You appear to have just upgraded WireGuard from 
version v$old to v$new."
-   ewarn "However, the old version is still running on 
your system. In order to use the"
-   ewarn "new version, you will need to remove the old 
module and load the new one. As"
-   ewarn "root, you can accomplish this with the following 
commands:"
-   ewarn
-   ewarn "# 

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-07-31 Thread Jason A. Donenfeld
commit: 52d7dd2ad23026449b9c123382c5018fee4ba99a
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Jul 31 12:10:18 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Jul 31 12:12:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d7dd2a

net-vpn/wireguard-modules: set maximum kernel bounds

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild | 6 +++---
 net-vpn/wireguard-modules/wireguard-modules-.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
index 85fe87ad3b4..198636c9d9a 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
@@ -24,7 +24,7 @@ SLOT="0"
 IUSE="debug +module module-src"
 
 DEPEND=""
-RDEPEND="${DEPEND} != 3.10."
+   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
+   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
fi
fi
 }

diff --git a/net-vpn/wireguard-modules/wireguard-modules-.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-.ebuild
index 85fe87ad3b4..198636c9d9a 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-.ebuild
@@ -24,7 +24,7 @@ SLOT="0"
 IUSE="debug +module module-src"
 
 DEPEND=""
-RDEPEND="${DEPEND} != 3.10."
+   elif kernel_is -lt 3 10 0 || kernel_is -ge 5 6 0; then
+   die "This version of ${PN} requires Linux >= 3.10 and < 
5.6."
fi
fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-07-31 Thread Jason A. Donenfeld
commit: 45406b9c8c459feec233bc4f7f1e4aa07352f536
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Jul 31 12:04:50 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Jul 31 12:12:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45406b9c

net-vpn/wireguard-tools: require CONFIG_WIREGUARD=y|m

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 .../wireguard-tools-1.0.20200513.ebuild| 62 +-
 1 file changed, 38 insertions(+), 24 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 07fee8d9101..05151edab94 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -27,7 +27,6 @@ RDEPEND="${DEPEND}
|| ( net-firewall/nftables net-firewall/iptables )
virtual/resolvconf
)
-   !

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-07-30 Thread Jason A. Donenfeld
commit: 11c0cf5d42363856a3b587fbbff7ade95c1a53ea
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Jul 30 15:07:43 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Jul 30 15:08:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c0cf5d

net-vpn/wireguard-modules: detect other kernels that already have wireguard

With WireGuard being added to gentoo-sources, we now generalize the
detection, so that people use the built-in WireGuard instead of the
hacky compatibility module.

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild | 6 +++---
 net-vpn/wireguard-modules/wireguard-modules-.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
index 16df945c1ab..85fe87ad3b4 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
@@ -33,13 +33,13 @@ CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
 pkg_setup() {
if use module; then
linux-mod_pkg_setup
-   if kernel_is -ge 5 6 0; then
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
eerror
-   eerror "WireGuard has been merged upstream in Linux 
5.6. Therefore,"
+   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
eerror "you no longer need this compatibility ebuild. 
Instead, simply"
eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
eerror
-   die "Use CONFIG_WIREGUARD=y for kernels >= 5.6, and do 
not use this package."
+   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
elif kernel_is -lt 3 10 0; then
die "This version of ${PN} requires Linux >= 3.10."
fi

diff --git a/net-vpn/wireguard-modules/wireguard-modules-.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-.ebuild
index 16df945c1ab..85fe87ad3b4 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-.ebuild
@@ -33,13 +33,13 @@ CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
 pkg_setup() {
if use module; then
linux-mod_pkg_setup
-   if kernel_is -ge 5 6 0; then
+   if [[ -f $KERNEL_DIR/include/uapi/linux/wireguard.h ]]; then
eerror
-   eerror "WireGuard has been merged upstream in Linux 
5.6. Therefore,"
+   eerror "WireGuard has been merged upstream into this 
kernel. Therefore,"
eerror "you no longer need this compatibility ebuild. 
Instead, simply"
eerror "enable CONFIG_WIREGUARD=y in your kernel 
configuration."
eerror
-   die "Use CONFIG_WIREGUARD=y for kernels >= 5.6, and do 
not use this package."
+   die "Use CONFIG_WIREGUARD=y for this kernel, and do not 
use this package."
elif kernel_is -lt 3 10 0; then
die "This version of ${PN} requires Linux >= 3.10."
fi



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-07-29 Thread Jason A. Donenfeld
commit: 5429b5c645d37b72f3b14ef14fb58fc2ce0cfd38
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Wed Jul 29 08:20:32 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Wed Jul 29 08:20:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5429b5c6

net-vpn/wireguard-modules: bump to 1.0.20200729

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200712.ebuild => wireguard-modules-1.0.20200729.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index f98296f5fe8..0aa3628c2d4 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200712.tar.xz 267964 BLAKE2B 
23ac43eb6bef03db8d4c19cf37cf410914de9c85359653b3708912d3b07da324f91428ba35588bf4519835c7212e9598fed12f74c88a360b0e67297c6d2a7ffe
 SHA512 
e7e9215e53a2460bc8d9f08d16c172dfd7ec48bf375b84a1a1db59915e60af1323d5ebc79324e077d48bf54af10acba1951c995bc0b1c1ef68c961dde0b5968c
+DIST wireguard-linux-compat-1.0.20200729.tar.xz 262464 BLAKE2B 
2ab0ccd173889941e65f588564a5815df5b47c08c1f5dfdeb8b0c4f1ec3a91ee4664d96fac390c1a30cf5067b9dd9c3b17c43dc459bdcd9f317348e1aa098d76
 SHA512 
8eb06eb7e56340e9088f53d887716777cf07cd4b3330cc41243ae7d6d63ed469d2710b84fd1a3fca0118dfb8c8c77377ba4ec4de3ffe1e7d0541ec25115525c5

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200712.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200712.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200729.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-07-21 Thread Jason A. Donenfeld
commit: 501a8da9c33723a26d03718598666e45516ff05a
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Jul 21 12:27:47 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Jul 21 12:27:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501a8da9

net-vpn/wireguard-tools: drop old

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   1 -
 .../wireguard-tools-1.0.20200319.ebuild| 101 -
 2 files changed, 102 deletions(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index bf04b880791..b60ce915a97 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1,2 +1 @@
-DIST wireguard-tools-1.0.20200319.tar.xz 92324 BLAKE2B 
9f514748708ef6a5b7f5b043c9054c954d17bb77de7a354b5a9a4e63cfb5f441237e98b16b288426441a7e709e1874d396cf67b04b38bb0ebbe7822bb32ada57
 SHA512 
d5bcd153f9b10f184b9a1bf9a81f33a9713ab4863ab5aa190eac60e92919756c8fecbb0d3cfb83bae20ac78fc43fdd7168f37294cdd7c5ee21f2a1b2db5fdf41
 DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844
 SHA512 
4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
deleted file mode 100644
index 07fee8d9101..000
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info bash-completion-r1 systemd toolchain-funcs
-
-DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
-HOMEPAGE="https://www.wireguard.com/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-else
-   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="+wg-quick"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND=""
-RDEPEND="${DEPEND}
-   wg-quick? (
-   || ( net-firewall/nftables net-firewall/iptables )
-   virtual/resolvconf
-   )
-   !http://192.168.4.1;
-   einfo "  \$ ping 192.168.4.1"
-   einfo
-   einfo "More info on getting started can be found at: 
https://www.wireguard.com/quickstart/;
-   einfo
-}



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-07-12 Thread Jason A. Donenfeld
commit: bf4420fccb3bd24a67994406f0f6c0425e9e86f5
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Jul 13 03:29:09 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Jul 13 03:29:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4420fc

net-vpn/wireguard-modules: bump to 1.0.20200712

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200623.ebuild => wireguard-modules-1.0.20200712.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 726c8110335..f98296f5fe8 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200623.tar.xz 263156 BLAKE2B 
2a45dea6d3a02f91f45ab4fcbbf5da4b24532afc3f775b2731e0360e949d8c689b4fd9e7351c337158bfcd33b09f6e94715b07532a3ebe9eaf40a3e4fff7142f
 SHA512 
447a88d849cf81d83412adbe5aabf5ad44f878b7f64de56672d39b656a9c8053059ea71e5a965c55bacd33651bef2d9d677caf0586b0c7ee7807c69098e1942d
+DIST wireguard-linux-compat-1.0.20200712.tar.xz 267964 BLAKE2B 
23ac43eb6bef03db8d4c19cf37cf410914de9c85359653b3708912d3b07da324f91428ba35588bf4519835c7212e9598fed12f74c88a360b0e67297c6d2a7ffe
 SHA512 
e7e9215e53a2460bc8d9f08d16c172dfd7ec48bf375b84a1a1db59915e60af1323d5ebc79324e077d48bf54af10acba1951c995bc0b1c1ef68c961dde0b5968c

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200623.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200712.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200623.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200712.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-28 Thread Thomas Deutschmann
commit: be280a6ac93655a23462e99d68f3612319a48624
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jun 28 19:44:49 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jun 28 20:55:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be280a6a

net-vpn/wireguard-tools: x86 stable (bug #729588)

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 52d8cf34523..07fee8d9101 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-28 Thread Agostino Sarubbo
commit: 5cffbd5cea7020a737541db7aa7a14048c18f635
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 28 20:36:10 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 28 20:36:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cffbd5c

net-vpn/wireguard-tools: ppc64 stable wrt bug #729588

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 58a46f01165..52d8cf34523 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-28 Thread Agostino Sarubbo
commit: dfced02c16d8de4b8cbb3222bd95b8b4987cb53d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 28 20:33:37 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 28 20:33:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfced02c

net-vpn/wireguard-tools: ppc stable wrt bug #729588

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 5355d715b3f..58a46f01165 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~s390 sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-28 Thread Agostino Sarubbo
commit: a8caaf4d156de89de710aca820bd15f6c18cab1f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 28 20:30:43 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 28 20:30:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8caaf4d

net-vpn/wireguard-tools: arm stable wrt bug #729588

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 03f8ee952c5..5355d715b3f 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-28 Thread Sergei Trofimovich
commit: d69f007771a747bed1fb200ed335565d1cc65338
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Jun 28 07:27:49 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 28 07:49:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69f0077

net-vpn/wireguard-tools: stable 1.0.20200513 for hppa, bug #729588

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index df2218e856a..03f8ee952c5 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-27 Thread Mart Raudsepp
commit: 98e161be1fc798478787910985480cfb06500d48
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sat Jun 27 01:11:43 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Jun 27 20:41:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e161be

net-vpn/wireguard-tools: arm64 stable (bug #729588)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 8acddbfe4fa..7c1140f0e84 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} ==  ]]; then
KEYWORDS="amd64 sparc"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-27 Thread Mart Raudsepp
commit: a31fa015737561e97117551c0d4681614487bcc2
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sat Jun 27 01:32:35 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Jun 27 20:41:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a31fa015

net-vpn/wireguard-tools: drop extraneous KEYWORDS lines

These are in an unused branch and confuse tools like ekeyword.

URL: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 1 -
 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 1 -
 2 files changed, 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 032aeb86f93..07fee8d9101 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS=""
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc x86"

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 7c1140f0e84..df2218e856a 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64 sparc"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-27 Thread Sergei Trofimovich
commit: 5a8c47f5e347e4b0f9485736be44fab1ab5cde55
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Jun 27 07:29:08 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun 27 09:09:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a8c47f5

net-vpn/wireguard-tools: stable 1.0.20200513 for sparc, bug #729588

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 22e9b1eb9ed..8acddbfe4fa 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64"
+   KEYWORDS="amd64 sparc"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-26 Thread Agostino Sarubbo
commit: 8460e936e118e3514651e505ea479721e4bd25f7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 26 17:41:39 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 26 17:41:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8460e936

net-vpn/wireguard-tools: amd64 stable wrt bug #729588

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index 7a83df0991b..22e9b1eb9ed 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS=""
+   KEYWORDS="amd64"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-25 Thread Jason A. Donenfeld
commit: fc1181ca18b6dd39c86af5b7c4bb686f47775099
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Jun 25 10:45:13 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Jun 25 10:45:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1181ca

net-vpn/wireguard-tools: don't keyword the -

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 33a76b323c4..032aeb86f93 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="sparc"
+   KEYWORDS=""
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc x86"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-06-23 Thread Jason A. Donenfeld
commit: e656b2527ece143e321d5c33c103cf439897ebe3
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Jun 23 22:13:12 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Jun 23 22:16:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e656b252

net-vpn/wireguard-modules: bump to 1.0.20200623

Package-Manager: Portage-2.3.102, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200611.ebuild => wireguard-modules-1.0.20200623.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 79e36410f5f..726c8110335 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200611.tar.xz 262892 BLAKE2B 
bf8441b3428a6d330fb7976695a4c70c3784550854b81cfb6e784dcd9fa1d32351652cab46d0b4dab51a5dbf9ec989cfb41a58b8632ae06571b6d57dcdb0e667
 SHA512 
b650115d64a4bd665fdc27918d3b8ee72578a2b9542eabbc9a9d99df87c6f4d26aa395b5ec6569becadcdf291662934061fec962a7949bb99679fe7b37e9fadc
+DIST wireguard-linux-compat-1.0.20200623.tar.xz 263156 BLAKE2B 
2a45dea6d3a02f91f45ab4fcbbf5da4b24532afc3f775b2731e0360e949d8c689b4fd9e7351c337158bfcd33b09f6e94715b07532a3ebe9eaf40a3e4fff7142f
 SHA512 
447a88d849cf81d83412adbe5aabf5ad44f878b7f64de56672d39b656a9c8053059ea71e5a965c55bacd33651bef2d9d677caf0586b0c7ee7807c69098e1942d

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200611.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200623.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200611.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200623.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-22 Thread Jason A. Donenfeld
commit: 396a9e64321310a0a8b203bfaa76231bcdb0c2d0
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Jun 22 22:01:23 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Jun 22 22:01:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=396a9e64

net-vpn/wireguard-tools: check for NETFILTER_XT_MATCH_ADDRTYPE

Closes: https://bugs.gentoo.org/707950
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 1 +
 net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index e42a4178572..33a76b323c4 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -55,6 +55,7 @@ pkg_setup() {
wg_quick_optional_config_nob NETFILTER_XT_MARK
wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
wg_quick_optional_config_nob IP6_NF_RAW
wg_quick_optional_config_nob IP_NF_RAW
wg_quick_optional_config_nob IP6_NF_FILTER

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
index ab890be7d84..7a83df0991b 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
@@ -55,6 +55,7 @@ pkg_setup() {
wg_quick_optional_config_nob NETFILTER_XT_MARK
wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
+   wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
wg_quick_optional_config_nob IP6_NF_RAW
wg_quick_optional_config_nob IP_NF_RAW
wg_quick_optional_config_nob IP6_NF_FILTER



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-06-19 Thread Sergei Trofimovich
commit: 98508952a275ac0613dc8624bc226f51930ccb0c
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Jun 19 14:28:52 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jun 19 15:41:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98508952

net-vpn/wireguard-tools: stable 1.0.20200319 for sparc, bug #717190

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 252d5e050c2..e42a4178572 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS=""
+   KEYWORDS="sparc"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-06-11 Thread Jason A. Donenfeld
commit: 286af32d7c61bc346fafe9339bc9bd082ce5354d
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Jun 11 08:23:17 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Jun 11 08:23:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=286af32d

net-vpn/wireguard-modules: bump to 20200611

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200520.ebuild => wireguard-modules-1.0.20200611.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index f25181e2ff6..79e36410f5f 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200520.tar.xz 261804 BLAKE2B 
553320f90915b4083f85a544502f5013d79eafa6eca589e87a7b7c3a9cdf2206762ecd9aa034e40d914fd3fe8709e44487217d0a6b73980e1e7cd6695661cb82
 SHA512 
95dd7f704282d976f4b5231e18a66accacec9bf08947ac664e3256ba552037d20e1716d851f899ddc16b7992d1f11cc1e496bf3d61346a66fac2ee71b8d82266
+DIST wireguard-linux-compat-1.0.20200611.tar.xz 262892 BLAKE2B 
bf8441b3428a6d330fb7976695a4c70c3784550854b81cfb6e784dcd9fa1d32351652cab46d0b4dab51a5dbf9ec989cfb41a58b8632ae06571b6d57dcdb0e667
 SHA512 
b650115d64a4bd665fdc27918d3b8ee72578a2b9542eabbc9a9d99df87c6f4d26aa395b5ec6569becadcdf291662934061fec962a7949bb99679fe7b37e9fadc

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200520.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200611.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200520.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200611.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-05-21 Thread Jason A. Donenfeld
commit: f771d030e75177178a171984baeec613591ce65e
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu May 21 04:47:28 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu May 21 20:29:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f771d030

net-vpn/wireguard-modules: bump to 1.0.20200520

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200506.ebuild => wireguard-modules-1.0.20200520.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 285c9024dda..f25181e2ff6 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200506.tar.xz 263228 BLAKE2B 
cc721009659a64efeab933d25bd901595fee313a0716e8e344d05e51f8458a1cde21b87418a62ad06e94614a28ce0ff26988f1375b74c567e3a827e970b79f15
 SHA512 
39a27a515919933dbed71624be3f8f3f512073b522e1e16248c9eda749dd72a3db5a02d85d29855160eb182415f489a4c02c1659ef9589507c99dbfe74ea3074
+DIST wireguard-linux-compat-1.0.20200520.tar.xz 261804 BLAKE2B 
553320f90915b4083f85a544502f5013d79eafa6eca589e87a7b7c3a9cdf2206762ecd9aa034e40d914fd3fe8709e44487217d0a6b73980e1e7cd6695661cb82
 SHA512 
95dd7f704282d976f4b5231e18a66accacec9bf08947ac664e3256ba552037d20e1716d851f899ddc16b7992d1f11cc1e496bf3d61346a66fac2ee71b8d82266

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200506.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200520.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200506.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200520.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-05-13 Thread Jason A. Donenfeld
commit: 87ef76c9a69b7ed0eef2ef4930b582b6e24fca24
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu May 14 00:31:26 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu May 14 00:31:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ef76c9

net-vpn/wireguard-tools: bump to 1.0.20200513

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest| 2 +-
 ...rd-tools-1.0.20200510.ebuild => wireguard-tools-1.0.20200513.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index 2c183d5b27e..bf04b880791 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1,2 +1,2 @@
 DIST wireguard-tools-1.0.20200319.tar.xz 92324 BLAKE2B 
9f514748708ef6a5b7f5b043c9054c954d17bb77de7a354b5a9a4e63cfb5f441237e98b16b288426441a7e709e1874d396cf67b04b38bb0ebbe7822bb32ada57
 SHA512 
d5bcd153f9b10f184b9a1bf9a81f33a9713ab4863ab5aa190eac60e92919756c8fecbb0d3cfb83bae20ac78fc43fdd7168f37294cdd7c5ee21f2a1b2db5fdf41
-DIST wireguard-tools-1.0.20200510.tar.xz 94560 BLAKE2B 
f84b824ee63dec615a4d7e50b03e03db7c8c9ecfdf16541518a7d39e0a16d1f30e7e14eb8dae9a8011e24a13dc6306e7d473073e22c649debb77400bb4b25d5c
 SHA512 
68a75340ebf5e28bcd751815a41f00c400ad891b483aab4a10af9de604adfde0157578f2c2724171e2a59e825c8369e81d0a0cf7a0111ba429319704c482526a
+DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 
34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844
 SHA512 
4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200510.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild
similarity index 100%
rename from net-vpn/wireguard-tools/wireguard-tools-1.0.20200510.ebuild
rename to net-vpn/wireguard-tools/wireguard-tools-1.0.20200513.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-05-10 Thread Jason A. Donenfeld
commit: 65857dd65788f65159a457d2a2c7be0a4750b352
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon May 11 04:31:31 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon May 11 04:31:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65857dd6

net-vpn/wireguard-tools: bump to 1.0.20200510

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   1 +
 .../wireguard-tools-1.0.20200510.ebuild| 101 +
 2 files changed, 102 insertions(+)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index e07c2e71cbc..2c183d5b27e 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1 +1,2 @@
 DIST wireguard-tools-1.0.20200319.tar.xz 92324 BLAKE2B 
9f514748708ef6a5b7f5b043c9054c954d17bb77de7a354b5a9a4e63cfb5f441237e98b16b288426441a7e709e1874d396cf67b04b38bb0ebbe7822bb32ada57
 SHA512 
d5bcd153f9b10f184b9a1bf9a81f33a9713ab4863ab5aa190eac60e92919756c8fecbb0d3cfb83bae20ac78fc43fdd7168f37294cdd7c5ee21f2a1b2db5fdf41
+DIST wireguard-tools-1.0.20200510.tar.xz 94560 BLAKE2B 
f84b824ee63dec615a4d7e50b03e03db7c8c9ecfdf16541518a7d39e0a16d1f30e7e14eb8dae9a8011e24a13dc6306e7d473073e22c649debb77400bb4b25d5c
 SHA512 
68a75340ebf5e28bcd751815a41f00c400ad891b483aab4a10af9de604adfde0157578f2c2724171e2a59e825c8369e81d0a0cf7a0111ba429319704c482526a

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200510.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200510.ebuild
new file mode 100644
index 000..ab890be7d84
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200510.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info bash-completion-r1 systemd toolchain-funcs
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
+   KEYWORDS=""
+else
+   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+wg-quick"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND=""
+RDEPEND="${DEPEND}
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
+   !http://192.168.4.1;
+   einfo "  \$ ping 192.168.4.1"
+   einfo
+   einfo "More info on getting started can be found at: 
https://www.wireguard.com/quickstart/;
+   einfo
+}



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-05-06 Thread Jason A. Donenfeld
commit: e82c2c6131dc3e9641c74bf584f930fde1a4edc9
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Wed May  6 22:16:16 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Wed May  6 22:16:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82c2c61

net-vpn/wireguard-modules: bump to 1.0.20200506

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200429.ebuild => wireguard-modules-1.0.20200506.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 9e53f4badf2..285c9024dda 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200429.tar.xz 261668 BLAKE2B 
e40f8a43c8b2a9654adbf2c2c12056573b60fd72419200e9e18d895348bd61df30aada47d78320d75135e2180adacb391557775467040920587b432dccbc4b6d
 SHA512 
b1523a7fd9199847f18bcb4b91aa9a15b58e088955cbbd128de64845cb1ff8e7d692e580b80abb38e79f93ffa8be7841a2b6ffc4bedbb88ef6647dd07f48dc5a
+DIST wireguard-linux-compat-1.0.20200506.tar.xz 263228 BLAKE2B 
cc721009659a64efeab933d25bd901595fee313a0716e8e344d05e51f8458a1cde21b87418a62ad06e94614a28ce0ff26988f1375b74c567e3a827e970b79f15
 SHA512 
39a27a515919933dbed71624be3f8f3f512073b522e1e16248c9eda749dd72a3db5a02d85d29855160eb182415f489a4c02c1659ef9589507c99dbfe74ea3074

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200429.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200506.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200429.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200506.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-04-29 Thread Jason A. Donenfeld
commit: 8a5963948d67efbf9edfa392b9697871702a7604
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Apr 30 04:41:42 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Apr 30 04:41:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a596394

net-vpn/wireguard-modules: bump to 1.0.20200429

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200426.ebuild => wireguard-modules-1.0.20200429.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 0408bc30c61..9e53f4badf2 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200426.tar.xz 261452 BLAKE2B 
6cbf411c25b916914518478ac9d6f3014a73fb728836aa37f24119cbf832de18d203b51fdf1d57b0ea9a244bfc2030df59717222eae7eae6e5bbd804786da7cf
 SHA512 
7bbf020069df0d0e7f516da0d9ea78747c597f63a3389059e32d341daf1865bc8139cb16a333ae337a0b3724995a7ac3f21b85d6df5aa4617021498f56ae4825
+DIST wireguard-linux-compat-1.0.20200429.tar.xz 261668 BLAKE2B 
e40f8a43c8b2a9654adbf2c2c12056573b60fd72419200e9e18d895348bd61df30aada47d78320d75135e2180adacb391557775467040920587b432dccbc4b6d
 SHA512 
b1523a7fd9199847f18bcb4b91aa9a15b58e088955cbbd128de64845cb1ff8e7d692e580b80abb38e79f93ffa8be7841a2b6ffc4bedbb88ef6647dd07f48dc5a

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200429.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200429.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-27 Thread Jason A. Donenfeld
commit: 0be6e3c75ecc26afba0c300afffad5e4af8a248f
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Apr 27 23:50:08 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Apr 27 23:50:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be6e3c7

net-vpn/wireguard-tools: do not mention 0/0 route

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 6d3ad039ded..252d5e050c2 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -96,10 +96,6 @@ pkg_postinst() {
einfo "  \$ chromium http://192.168.4.1;
einfo "  \$ ping 192.168.4.1"
einfo
-   einfo "If you'd like to redirect your internet traffic, you can run it 
with the"
-   einfo "\"default-route\" argument. You may not use this server for any 
abusive or illegal"
-   einfo "purposes. It is for quick testing only."
-   einfo
einfo "More info on getting started can be found at: 
https://www.wireguard.com/quickstart/;
einfo
 }



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/files/, net-vpn/wireguard-modules/

2020-04-27 Thread Jason A. Donenfeld
commit: 7e3df7e56dbf0947b6f3b293db64bbd8b236ce37
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Apr 27 23:22:57 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Apr 27 23:22:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e3df7e5

net-vpn/wireguard-modules: drop unused patch

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 ...d-modules-1.0.20200413-sch_generic-header.patch | 26 --
 .../wireguard-modules-1.0.20200426.ebuild  |  2 --
 2 files changed, 28 deletions(-)

diff --git 
a/net-vpn/wireguard-modules/files/wireguard-modules-1.0.20200413-sch_generic-header.patch
 
b/net-vpn/wireguard-modules/files/wireguard-modules-1.0.20200413-sch_generic-header.patch
deleted file mode 100644
index 8e263e9622a..000
--- 
a/net-vpn/wireguard-modules/files/wireguard-modules-1.0.20200413-sch_generic-header.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From bd388363a66d67f0e04f9c45b20a9f33dfcf79f6 Mon Sep 17 00:00:00 2001
-From: "Jason A. Donenfeld" 
-Date: Thu, 16 Apr 2020 00:27:33 -0600
-Subject: compat: include sch_generic.h header for skb_reset_tc
-
-Reported-by: King DuckZ 
-Signed-off-by: Jason A. Donenfeld 

- src/compat/compat.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/compat/compat.h b/src/compat/compat.h
-index 75bd3b7..bb996b8 100644
 a/src/compat/compat.h
-+++ b/src/compat/compat.h
-@@ -1029,6 +1029,7 @@ out:
- 
- #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 29) || (LINUX_VERSION_CODE >= 
KERNEL_VERSION(5, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 14))
- #include 
-+#include 
- static inline void skb_reset_redirect(struct sk_buff *skb)
- {
- #ifdef CONFIG_NET_SCHED
--- 
-cgit v1.2.3-4-ga26e
-

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild
index 8a425d4191e..16df945c1ab 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild
@@ -30,8 +30,6 @@ MODULE_NAMES="wireguard(kernel/drivers/net:src)"
 BUILD_TARGETS="module"
 CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
 
-PATCHES=( "${FILESDIR}/${P}-sch_generic-header.patch" )
-
 pkg_setup() {
if use module; then
linux-mod_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-04-26 Thread Jason A. Donenfeld
commit: 6fbd60e88bd4ee9ae17347a41b51d9912c2bda74
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Apr 27 01:25:33 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Apr 27 01:26:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbd60e8

net-vpn/wireguard-modules: bump to 1.0.20200426

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200413.ebuild => wireguard-modules-1.0.20200426.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 51abc0f560b..0408bc30c61 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200413.tar.xz 261480 BLAKE2B 
4a6e6571ba6e0285b08bb8b08b041cef02fdab99b516dd8717acf0f4cf86308382ed7b4f7333c5a97bd338aa973df83a7c8acd41c7022242700ec8db60f3aa64
 SHA512 
1df6802bf7bbae9292479b36a0ab54fc486ec0aa97e3c507634e4459b55f6755995ae73758ab169ed279e5d5dcf32bf3f38c18ce156d30f80be8ed77308fa8e8
+DIST wireguard-linux-compat-1.0.20200426.tar.xz 261452 BLAKE2B 
6cbf411c25b916914518478ac9d6f3014a73fb728836aa37f24119cbf832de18d203b51fdf1d57b0ea9a244bfc2030df59717222eae7eae6e5bbd804786da7cf
 SHA512 
7bbf020069df0d0e7f516da0d9ea78747c597f63a3389059e32d341daf1865bc8139cb16a333ae337a0b3724995a7ac3f21b85d6df5aa4617021498f56ae4825

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200426.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-19 Thread Sergei Trofimovich
commit: b735c71b91859c96152109c32e1c7767f34277a0
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 19 08:30:38 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 19 08:38:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b735c71b

net-vpn/wireguard-tools: remove bogus stable keywords for  version

This is just ekeyword changing everything.

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 36dd9ca9ed5..6d3ad039ded 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
+   KEYWORDS=""
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc x86"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-19 Thread Sergei Trofimovich
commit: 008bd8839ed6b49ad34a695cdbc1119ba5665036
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr 19 08:25:33 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 19 08:38:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008bd883

net-vpn/wireguard-tools: stable 1.0.20200319 for hppa, bug #717190

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 103e659e46f..36dd9ca9ed5 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} ==  ]]; then
KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 
~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/files/, net-vpn/wireguard-modules/

2020-04-16 Thread Jason A. Donenfeld
commit: dfbdfbdced1bec0ee38f278d94d479254c3cdf6a
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Apr 16 09:29:58 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Apr 16 09:30:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfbdfbdc

net-vpn/wireguard-modules: include sch_generic.h header for skb_reset_tc

Fixes: https://bugs.gentoo.org/717582
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 ...d-modules-1.0.20200413-sch_generic-header.patch | 26 ++
 .../wireguard-modules-1.0.20200413.ebuild  |  2 ++
 2 files changed, 28 insertions(+)

diff --git 
a/net-vpn/wireguard-modules/files/wireguard-modules-1.0.20200413-sch_generic-header.patch
 
b/net-vpn/wireguard-modules/files/wireguard-modules-1.0.20200413-sch_generic-header.patch
new file mode 100644
index 000..8e263e9622a
--- /dev/null
+++ 
b/net-vpn/wireguard-modules/files/wireguard-modules-1.0.20200413-sch_generic-header.patch
@@ -0,0 +1,26 @@
+From bd388363a66d67f0e04f9c45b20a9f33dfcf79f6 Mon Sep 17 00:00:00 2001
+From: "Jason A. Donenfeld" 
+Date: Thu, 16 Apr 2020 00:27:33 -0600
+Subject: compat: include sch_generic.h header for skb_reset_tc
+
+Reported-by: King DuckZ 
+Signed-off-by: Jason A. Donenfeld 
+---
+ src/compat/compat.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/compat/compat.h b/src/compat/compat.h
+index 75bd3b7..bb996b8 100644
+--- a/src/compat/compat.h
 b/src/compat/compat.h
+@@ -1029,6 +1029,7 @@ out:
+ 
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 29) || (LINUX_VERSION_CODE >= 
KERNEL_VERSION(5, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 14))
+ #include 
++#include 
+ static inline void skb_reset_redirect(struct sk_buff *skb)
+ {
+ #ifdef CONFIG_NET_SCHED
+-- 
+cgit v1.2.3-4-ga26e
+

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild
index 16df945c1ab..8a425d4191e 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild
@@ -30,6 +30,8 @@ MODULE_NAMES="wireguard(kernel/drivers/net:src)"
 BUILD_TARGETS="module"
 CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI"
 
+PATCHES=( "${FILESDIR}/${P}-sch_generic-header.patch" )
+
 pkg_setup() {
if use module; then
linux-mod_pkg_setup



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-14 Thread Agostino Sarubbo
commit: f8a84b21a93c003b31a53e234260bc5191c30237
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 14 15:52:47 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 14 15:52:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a84b21

net-vpn/wireguard-tools: ppc stable wrt bug #717190

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index a9c71d94c40..103e659e46f 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64 arm arm64 ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-14 Thread Agostino Sarubbo
commit: 216bb00778d8f2bf6acd5d443c17c5e25a62446e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 14 13:02:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 14 13:02:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216bb007

net-vpn/wireguard-tools: x86 stable wrt bug #717190

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 1e1a83eb10b..a9c71d94c40 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64 arm arm64 ppc64"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sparc x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-14 Thread Agostino Sarubbo
commit: 17a02316469053bf77ded2948fd80ab68837d326
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 14 13:01:53 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 14 13:01:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a02316

net-vpn/wireguard-tools: ppc64 stable wrt bug #717190

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 819ee2b5681..1e1a83eb10b 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64 arm arm64"
+   KEYWORDS="amd64 arm arm64 ppc64"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-14 Thread Agostino Sarubbo
commit: 63d662da6913d88ccc34417614164c5d2efa9fed
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 14 13:01:18 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 14 13:01:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d662da

net-vpn/wireguard-tools: arm stable wrt bug #717190

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 4961aa448cd..819ee2b5681 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64 arm64"
+   KEYWORDS="amd64 arm arm64"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-14 Thread Mart Raudsepp
commit: 73a10a1896750d8b27995971ea5cbff7ec67a568
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Apr 14 09:28:17 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Apr 14 10:12:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a10a18

net-vpn/wireguard-tools: arm64 stable (bug #717190)

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 07e3c172b76..4961aa448cd 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS="amd64"
+   KEYWORDS="amd64 arm64"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-04-14 Thread Jason A. Donenfeld
commit: bc52ea7ff4dde4fee73c7a02b135d481b9743fad
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Apr 14 09:26:04 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Apr 14 09:26:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc52ea7f

net-vpn/wireguard-modules: bump to 1.0.20200413

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200401.ebuild => wireguard-modules-1.0.20200413.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index d58941299bb..51abc0f560b 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200401.tar.xz 261000 BLAKE2B 
8f2d2b775707efd2611c2b956c96fcb3a14884b78716629a5f572ca179279cca698ea0dff2e7f332780d8f667d391b37553fa41b22cf71a47269b5a879202410
 SHA512 
894da609c7102eb1d076a4a7bdaa96c7d5f0d64b4b86fdf01068ac5f4af966652e7ad7f18b1295a7fc4447f53b55a9ec45f1b3f36f0f9df7fb08836dfdff89f0
+DIST wireguard-linux-compat-1.0.20200413.tar.xz 261480 BLAKE2B 
4a6e6571ba6e0285b08bb8b08b041cef02fdab99b516dd8717acf0f4cf86308382ed7b4f7333c5a97bd338aa973df83a7c8acd41c7022242700ec8db60f3aa64
 SHA512 
1df6802bf7bbae9292479b36a0ab54fc486ec0aa97e3c507634e4459b55f6755995ae73758ab169ed279e5d5dcf32bf3f38c18ce156d30f80be8ed77308fa8e8

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200401.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200401.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200413.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-14 Thread Agostino Sarubbo
commit: 2a8a4f0b0ca5f3f6e9f889b5c8fd9bf56518f184
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 14 07:58:18 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 14 07:58:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a8a4f0b

net-vpn/wireguard-tools: amd64 stable wrt bug #717190

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 63594bbb2be..07e3c172b76 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -11,10 +11,10 @@ HOMEPAGE="https://www.wireguard.com/;
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS=""
+   KEYWORDS="amd64"
 else

SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-04-02 Thread Jason A. Donenfeld
commit: 5b17f25d5467680509ca9968ffa7baf745010a4f
Author: Simeon Simeonov  pichove  org>
AuthorDate: Thu Apr  2 10:54:31 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Apr  3 03:37:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b17f25d

net-vpn/wireguard-tools: check for NF_CONNTRACK_MARK

Closes: https://bugs.gentoo.org/715892
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
index 3d39a1a08d1..63594bbb2be 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
@@ -49,6 +49,7 @@ pkg_setup() {
wg_quick_optional_config_nob NFT_FIB
wg_quick_optional_config_nob NFT_FIB_IPV4
wg_quick_optional_config_nob NFT_FIB_IPV6
+   wg_quick_optional_config_nob NF_CONNTRACK_MARK
elif has_version net-firewall/iptables; then
wg_quick_optional_config_nob NETFILTER_XTABLES
wg_quick_optional_config_nob NETFILTER_XT_MARK



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-04-01 Thread Jason A. Donenfeld
commit: bba67e4bacbd92201361a2535d0abe0483e1d3fa
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Wed Apr  1 19:10:15 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Wed Apr  1 19:10:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba67e4b

net-vpn/wireguard-modules: bump to 1.0.20200401

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-1.0.20200330.ebuild => wireguard-modules-1.0.20200401.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 91b4d513cba..d58941299bb 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-1.0.20200330.tar.xz 261424 BLAKE2B 
876bfdaf064cd253936852733b46724adf4972a7b671b2c1649a42b352e71483b1ef0746adb671709a7dd74fb4c7f6bba74a9d2ef9d64b4538b9c2c952f142f1
 SHA512 
b133f530f9e7a38b837c119fb5defa3af702cdcf2407f847a078a94a92598216074e7bbd26d27c86a998a79480ba10a99825debf20aff94de80a943892fa856b
+DIST wireguard-linux-compat-1.0.20200401.tar.xz 261000 BLAKE2B 
8f2d2b775707efd2611c2b956c96fcb3a14884b78716629a5f572ca179279cca698ea0dff2e7f332780d8f667d391b37553fa41b22cf71a47269b5a879202410
 SHA512 
894da609c7102eb1d076a4a7bdaa96c7d5f0d64b4b86fdf01068ac5f4af966652e7ad7f18b1295a7fc4447f53b55a9ec45f1b3f36f0f9df7fb08836dfdff89f0

diff --git a/net-vpn/wireguard-modules/wireguard-modules-1.0.20200330.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200401.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-1.0.20200330.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200401.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-03-30 Thread Jason A. Donenfeld
commit: 152b4551de1f4fcb0695f3f41526ac169476f17b
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Mar 31 00:21:14 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Mar 31 00:21:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152b4551

net-vpn/wireguard-modules: bump to 1.0.20200330

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20200318.ebuild => wireguard-modules-1.0.20200330.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index f06fc51d35e..91b4d513cba 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20200318.tar.xz 262048 BLAKE2B 
e470410afccbab1ef0e4621e91deac6a1febaff3f2bc5b8198376b08e9afaaafd4686ccabfaf850b65b9e652887a9a8707a29c4dbc29c54c44b1c2be23bcd844
 SHA512 
ce9843b0aa1a2ec268dc5411c11d1a09c8b07933bd5fcf52b611289c3daa87ddd89f72a601712908c088a8f31a5a17faa05b9a19c44a2144bad38f9b7de94eec
+DIST wireguard-linux-compat-1.0.20200330.tar.xz 261424 BLAKE2B 
876bfdaf064cd253936852733b46724adf4972a7b671b2c1649a42b352e71483b1ef0746adb671709a7dd74fb4c7f6bba74a9d2ef9d64b4538b9c2c952f142f1
 SHA512 
b133f530f9e7a38b837c119fb5defa3af702cdcf2407f847a078a94a92598216074e7bbd26d27c86a998a79480ba10a99825debf20aff94de80a943892fa856b

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20200318.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-1.0.20200330.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20200318.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-1.0.20200330.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-03-19 Thread Jason A. Donenfeld
commit: b2fe5dd73b97d18f9926d60d7fe6dff6653a57d4
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Mar 19 22:53:37 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Mar 19 22:53:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2fe5dd7

net-vpn/wireguard-tools: bump to 20200319

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest| 2 +-
 ...rd-tools-1.0.20200206.ebuild => wireguard-tools-1.0.20200319.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index ab902b9c8aa..e07c2e71cbc 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1 +1 @@
-DIST wireguard-tools-1.0.20200206.tar.xz 92288 BLAKE2B 
028717e09177ecd5836af32917ab62b645c027e72dbe69c1874db2a54675f957cb6cd551cf03f0a29e5c328abd9f3c33db001f680f3980a958aa1b47a673944d
 SHA512 
c1ea44afb105ce11595f761d1c44298341fc9f919a01d17b77c9f1ee2ff314a75c59277c2561278016a64abc7c6ea970e04539658bfd1998f65328bc21139512
+DIST wireguard-tools-1.0.20200319.tar.xz 92324 BLAKE2B 
9f514748708ef6a5b7f5b043c9054c954d17bb77de7a354b5a9a4e63cfb5f441237e98b16b288426441a7e709e1874d396cf67b04b38bb0ebbe7822bb32ada57
 SHA512 
d5bcd153f9b10f184b9a1bf9a81f33a9713ab4863ab5aa190eac60e92919756c8fecbb0d3cfb83bae20ac78fc43fdd7168f37294cdd7c5ee21f2a1b2db5fdf41

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200206.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
similarity index 100%
rename from net-vpn/wireguard-tools/wireguard-tools-1.0.20200206.ebuild
rename to net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-03-18 Thread Jason A. Donenfeld
commit: d95c265f275b0dc49d8080965200202133bd280c
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Mar 19 05:17:14 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Mar 19 05:17:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d95c265f

net-vpn/wireguard-modules: bump to 20200318

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20200215.ebuild => wireguard-modules-0.0.20200318.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 8b913f237ac..f06fc51d35e 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20200215.tar.xz 261344 BLAKE2B 
8df598cb1787fa39f7d85b70506842a186268a47f134fa64b507ad4915b448ad88486b410899a5d78cfe3ec2e9469cf05b7c457d61425a27ded62fad6dbbbe0f
 SHA512 
4ccb902fc322010dc7138b17c3348870e8e83e3ed65f4b49476847b544c6e9d7cbaaadc1f02ffb97453f16802f623bf6b8782122236ced23255d46d88ebe239c
+DIST wireguard-linux-compat-0.0.20200318.tar.xz 262048 BLAKE2B 
e470410afccbab1ef0e4621e91deac6a1febaff3f2bc5b8198376b08e9afaaafd4686ccabfaf850b65b9e652887a9a8707a29c4dbc29c54c44b1c2be23bcd844
 SHA512 
ce9843b0aa1a2ec268dc5411c11d1a09c8b07933bd5fcf52b611289c3daa87ddd89f72a601712908c088a8f31a5a17faa05b9a19c44a2144bad38f9b7de94eec

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20200215.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200318.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20200215.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-0.0.20200318.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-02-14 Thread Jason A. Donenfeld
commit: 46bc1cfbb4f3e46324cb1ddb8215d1a46152dd71
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Feb 14 23:02:17 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Feb 14 23:02:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46bc1cfb

net-vpn/wireguard-modules: bump to 0.0.20200215

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20200214.ebuild => wireguard-modules-0.0.20200215.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index f5884eade9e..8b913f237ac 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20200214.tar.xz 261768 BLAKE2B 
e7a2d450e4038807953ee6d05e05833129bd3b03b5b9a1d96d7a7eeb7258c3553545c143c2babeee8ed3eb3e2f6ccc3711d61fe20c7ec25e63c40a4a7565
 SHA512 
90f8e8b72484ad8f0788f75ac8d9053024f09b46f365ed0046ea287c05c59f41b9900e133693deee3e72862ed6d0ccc6f07e95c7951dec23f98915293a49
+DIST wireguard-linux-compat-0.0.20200215.tar.xz 261344 BLAKE2B 
8df598cb1787fa39f7d85b70506842a186268a47f134fa64b507ad4915b448ad88486b410899a5d78cfe3ec2e9469cf05b7c457d61425a27ded62fad6dbbbe0f
 SHA512 
4ccb902fc322010dc7138b17c3348870e8e83e3ed65f4b49476847b544c6e9d7cbaaadc1f02ffb97453f16802f623bf6b8782122236ced23255d46d88ebe239c

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20200214.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200215.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20200214.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-0.0.20200215.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-02-14 Thread Jason A. Donenfeld
commit: 6cc79406d9896fa2fa09bb235a6f85eb1a64e879
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Feb 14 13:39:24 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Fri Feb 14 13:39:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cc79406

net-vpn/wireguard-modules: bump to 0.0.20200214

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20200205.ebuild => wireguard-modules-0.0.20200214.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index d3ecd633583..f5884eade9e 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20200205.tar.xz 266280 BLAKE2B 
c1c9057757ab627d33c509e1f3543a1cd51b654a2b02074daed354b4d4814dea87b89176d527467b250a8024e91468501e68bb5056f9fec546975a55a8bac67d
 SHA512 
a3053a47b3f51a8a2a850d3490624495ff7e64a2cf2ba2038589f35d2cb120beeb59a12b5d5aca2861df8b846757b059af425a5e6004238c7efeade505b38242
+DIST wireguard-linux-compat-0.0.20200214.tar.xz 261768 BLAKE2B 
e7a2d450e4038807953ee6d05e05833129bd3b03b5b9a1d96d7a7eeb7258c3553545c143c2babeee8ed3eb3e2f6ccc3711d61fe20c7ec25e63c40a4a7565
 SHA512 
90f8e8b72484ad8f0788f75ac8d9053024f09b46f365ed0046ea287c05c59f41b9900e133693deee3e72862ed6d0ccc6f07e95c7951dec23f98915293a49

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20200205.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200214.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20200205.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-0.0.20200214.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-02-06 Thread Jason A. Donenfeld
commit: 519c6e1201e4113f431446c807d13a3775e0116e
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Feb  6 15:28:50 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Feb  6 15:29:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519c6e12

net-vpn/wireguard-tools: bump to 1.0.20200206

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest   |   2 +-
 ebuild => wireguard-tools-1.0.20200206.ebuild} |   2 +-
 .../wireguard-tools/wireguard-tools-.ebuild| 104 -
 3 files changed, 2 insertions(+), 106 deletions(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index e31bfc087d7..ab902b9c8aa 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1 +1 @@
-DIST wireguard-tools-1.0.20200121.tar.xz 92804 BLAKE2B 
206a6f3da102c4473c160f584de834704ea31e2f2dc842a8c5c28d66cf4ffe40746aca22d8efe336ab4c0433ef673a06468816b7e6cc51e80740acdb38782eaf
 SHA512 
cd22467916c59ab53440e072fee6d0b01f2f9ee06fc3b71de4e74bc3aab05caf25519e5f723d9d160c491f917b7f064ee6b491c74edb52d7d2c29a08d86e41c2
+DIST wireguard-tools-1.0.20200206.tar.xz 92288 BLAKE2B 
028717e09177ecd5836af32917ab62b645c027e72dbe69c1874db2a54675f957cb6cd551cf03f0a29e5c328abd9f3c33db001f680f3980a958aa1b47a673944d
 SHA512 
c1ea44afb105ce11595f761d1c44298341fc9f919a01d17b77c9f1ee2ff314a75c59277c2561278016a64abc7c6ea970e04539658bfd1998f65328bc21139512

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200121.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200206.ebuild
similarity index 99%
rename from net-vpn/wireguard-tools/wireguard-tools-1.0.20200121.ebuild
rename to net-vpn/wireguard-tools/wireguard-tools-1.0.20200206.ebuild
index 5600d6cff47..641da7119c1 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200121.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200206.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
 IUSE="+wg-quick"
 
 BDEPEND="virtual/pkgconfig"
-DEPEND="net-libs/libmnl"
+DEPEND=""
 RDEPEND="${DEPEND}
wg-quick? (
|| ( net-firewall/nftables net-firewall/iptables )

diff --git a/net-vpn/wireguard-tools/wireguard-tools-.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-.ebuild
deleted file mode 100644
index bd16ac3af08..000
--- a/net-vpn/wireguard-tools/wireguard-tools-.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info bash-completion-r1 systemd
-
-DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
-HOMEPAGE="https://www.wireguard.com/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools;
-   KEYWORDS=""
-else
-   
SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="+wg-quick"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="net-libs/libmnl"
-RDEPEND="${DEPEND}
-   wg-quick? (
-   || ( net-firewall/nftables net-firewall/iptables )
-   virtual/resolvconf
-   )
-   !http://192.168.4.1;
-   einfo "  \$ ping 192.168.4.1"
-   einfo
-   einfo "If you'd like to redirect your internet traffic, you can run it 
with the"
-   einfo "\"default-route\" argument. You may not use this server for any 
abusive or illegal"
-   einfo "purposes. It is for quick testing only."
-   einfo
-   einfo "More info on getting started can be found at: 
https://www.wireguard.com/quickstart/;
-   einfo
-}



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-02-05 Thread Jason A. Donenfeld
commit: 3cfcd39bd63c349a31956bada1468fee9dbb3e95
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Wed Feb  5 13:38:43 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Wed Feb  5 13:38:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cfcd39b

net-vpn/wireguard-modules: version bump to 0.0.20200205

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20200128.ebuild => wireguard-modules-0.0.20200205.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index c1bd1dd0f7e..d3ecd633583 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20200128.tar.xz 261524 BLAKE2B 
631be55dc8cb025933a8b41c41bf0be3629dab1e308a5302ebff3d74cec966dbcffe585766bbdd48eaa0e4b86cfc5aab38148af79c75a3097b33bd0fc837a074
 SHA512 
3ceae7c3b2dca366018661c4e7d37478150e77e3cc3c5171aae43c41b77a9dc75b20f16195228d69e351ca8a085ce5f7cd3988984d31637a98821f9ccfcc3700
+DIST wireguard-linux-compat-0.0.20200205.tar.xz 266280 BLAKE2B 
c1c9057757ab627d33c509e1f3543a1cd51b654a2b02074daed354b4d4814dea87b89176d527467b250a8024e91468501e68bb5056f9fec546975a55a8bac67d
 SHA512 
a3053a47b3f51a8a2a850d3490624495ff7e64a2cf2ba2038589f35d2cb120beeb59a12b5d5aca2861df8b846757b059af425a5e6004238c7efeade505b38242

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20200128.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200205.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20200128.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-0.0.20200205.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-01-28 Thread Jason A. Donenfeld
commit: 460e0fba7bb1db949c76bf86e25476a17448910d
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Jan 28 15:53:42 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Jan 28 15:54:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460e0fba

net-vpn/wireguard-modules: version bump to 0.0.20200128

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20200121.ebuild => wireguard-modules-0.0.20200128.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 566a689deb8..c1bd1dd0f7e 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20200121.tar.xz 262064 BLAKE2B 
1e8fe26f8956309990e693fd0a345b32931847f7a3a6d81fda410d390ebec8a57b143c6342adc92eaf4f672619cb98c1e610720f63ba175cd3034c9fc585b63a
 SHA512 
fde9ef09032ad2e2ce69814d42cc0abb3b353d5aa95debd39122b3eb25324c8e707dd9f298f8ee276575d932b1f1bd559b3430da6b8c0a5057911937ed85c726
+DIST wireguard-linux-compat-0.0.20200128.tar.xz 261524 BLAKE2B 
631be55dc8cb025933a8b41c41bf0be3629dab1e308a5302ebff3d74cec966dbcffe585766bbdd48eaa0e4b86cfc5aab38148af79c75a3097b33bd0fc837a074
 SHA512 
3ceae7c3b2dca366018661c4e7d37478150e77e3cc3c5171aae43c41b77a9dc75b20f16195228d69e351ca8a085ce5f7cd3988984d31637a98821f9ccfcc3700

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20200121.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200128.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20200121.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-0.0.20200128.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-01-21 Thread Jason A. Donenfeld
commit: 7e4a7623cd78f0bf5deee64c92de33e13cf1499a
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Jan 21 15:22:44 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Jan 21 15:22:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4a7623

net-vpn/wireguard-modules: bump to 0.0.20200121

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20200105.ebuild => wireguard-modules-0.0.20200121.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index bf36af5b4f0..566a689deb8 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20200105.tar.xz 261236 BLAKE2B 
679902e7bea78c42fb49ec51141b1d543e966056fa341eb058266b7810dfeca09c5eb81a4c93e695762581f01fe1212acd8d5f4846a3bed8c37451b112d2d78e
 SHA512 
a27d863e7af9ecbdad784d9ebd6b7613cb6a3a8749d2552c0ecc932c606ed08effc9600813d8cc6801748041456d6e59aab28b9ba486986c88f3d2e90a9209bd
+DIST wireguard-linux-compat-0.0.20200121.tar.xz 262064 BLAKE2B 
1e8fe26f8956309990e693fd0a345b32931847f7a3a6d81fda410d390ebec8a57b143c6342adc92eaf4f672619cb98c1e610720f63ba175cd3034c9fc585b63a
 SHA512 
fde9ef09032ad2e2ce69814d42cc0abb3b353d5aa95debd39122b3eb25324c8e707dd9f298f8ee276575d932b1f1bd559b3430da6b8c0a5057911937ed85c726

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20200105.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200121.ebuild
similarity index 100%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20200105.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-0.0.20200121.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-01-21 Thread Jason A. Donenfeld
commit: dbc0cd281c6d806311c3e549314a9273ef7d7a4c
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Tue Jan 21 14:54:02 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Tue Jan 21 14:54:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc0cd28

net-vpn/wireguard-tools: version bump to 1.0.20200121

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest| 2 +-
 ...rd-tools-1.0.20200102.ebuild => wireguard-tools-1.0.20200121.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index c08bb73250b..e31bfc087d7 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1 +1 @@
-DIST wireguard-tools-1.0.20200102.tar.xz 91496 BLAKE2B 
efe42dfc08c8eceb5831deaa57cd274599a0a92ac3489a49e8e633388bb6ebaaab0f48ad6f7338d539ec247fafca9491c7296de654e6539a8a392c428d47ca7e
 SHA512 
a4275eefc55b2a7ed3935a46a2098f9b0acdfaf0e1ed33ca42b51a186b388b53425ded5887e2cfc5be2802d6a453b8ebbf0294800ec1307a2dc21f46bd040da6
+DIST wireguard-tools-1.0.20200121.tar.xz 92804 BLAKE2B 
206a6f3da102c4473c160f584de834704ea31e2f2dc842a8c5c28d66cf4ffe40746aca22d8efe336ab4c0433ef673a06468816b7e6cc51e80740acdb38782eaf
 SHA512 
cd22467916c59ab53440e072fee6d0b01f2f9ee06fc3b71de4e74bc3aab05caf25519e5f723d9d160c491f917b7f064ee6b491c74edb52d7d2c29a08d86e41c2

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200102.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200121.ebuild
similarity index 100%
rename from net-vpn/wireguard-tools/wireguard-tools-1.0.20200102.ebuild
rename to net-vpn/wireguard-tools/wireguard-tools-1.0.20200121.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2020-01-05 Thread Jason A. Donenfeld
commit: 7632443c6ece8a6401867174891a660223bd4943
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sun Jan  5 23:10:05 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Sun Jan  5 23:10:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7632443c

net-vpn/wireguard-modules: bump to v0.0.20200105

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/Manifest  | 2 +-
 ...odules-0.0.20191226.ebuild => wireguard-modules-0.0.20200105.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-modules/Manifest 
b/net-vpn/wireguard-modules/Manifest
index 1eebb610b44..bf36af5b4f0 100644
--- a/net-vpn/wireguard-modules/Manifest
+++ b/net-vpn/wireguard-modules/Manifest
@@ -1 +1 @@
-DIST wireguard-linux-compat-0.0.20191226.tar.xz 261488 BLAKE2B 
ca2e6eda18508287fa1d3deaa07d28ec6a13732895a5fcc580a2405d6d197618f0e3e798a484ee94c3feb1f178aaacd11f3c8e3a59c00e4fc957d0f645cc9f81
 SHA512 
7eba183128555ca5fd8b171179fe8ec7b9a67c618ad000bc9c5475ff74097e0e2c220a1f1dd82393fbde6dbbba5c1114bfd725e733a5f4acfbb23248538f6afb
+DIST wireguard-linux-compat-0.0.20200105.tar.xz 261236 BLAKE2B 
679902e7bea78c42fb49ec51141b1d543e966056fa341eb058266b7810dfeca09c5eb81a4c93e695762581f01fe1212acd8d5f4846a3bed8c37451b112d2d78e
 SHA512 
a27d863e7af9ecbdad784d9ebd6b7613cb6a3a8749d2552c0ecc932c606ed08effc9600813d8cc6801748041456d6e59aab28b9ba486986c88f3d2e90a9209bd

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200105.ebuild
similarity index 98%
rename from net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
rename to net-vpn/wireguard-modules/wireguard-modules-0.0.20200105.ebuild
index 7c5072266bf..e0049debd88 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-0.0.20200105.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2020-01-02 Thread Jason A. Donenfeld
commit: ab41d97cb6c8b73e2620029a219cf77861a4cba2
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Thu Jan  2 18:54:38 2020 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Thu Jan  2 18:54:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab41d97c

net-vpn/wireguard-tools: bump to 1.0.20200102

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/Manifest| 2 +-
 ...rd-tools-1.0.20191226.ebuild => wireguard-tools-1.0.20200102.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index 85daaf6d376..c08bb73250b 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1 +1 @@
-DIST wireguard-tools-1.0.20191226.tar.xz 90720 BLAKE2B 
1becc2c963118604f518e5ea53fa3677f6b245827c67c42ab258625930a6c8bc9886dcfbc464338ba7705f681fbff7a9fd0380b18d6ec07895938dfc33bd36de
 SHA512 
e6b7fc34f9517efc830b751e054e811acdd7f210e8f68b5ad5a503ee0c081bcb1a65e64e82a0b66ddfea9ef3ea0ca3210d5620c278d1b17442e233be1734ef03
+DIST wireguard-tools-1.0.20200102.tar.xz 91496 BLAKE2B 
efe42dfc08c8eceb5831deaa57cd274599a0a92ac3489a49e8e633388bb6ebaaab0f48ad6f7338d539ec247fafca9491c7296de654e6539a8a392c428d47ca7e
 SHA512 
a4275eefc55b2a7ed3935a46a2098f9b0acdfaf0e1ed33ca42b51a186b388b53425ded5887e2cfc5be2802d6a453b8ebbf0294800ec1307a2dc21f46bd040da6

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200102.ebuild
similarity index 98%
rename from net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
rename to net-vpn/wireguard-tools/wireguard-tools-1.0.20200102.ebuild
index bd16ac3af08..5600d6cff47 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200102.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2019-12-30 Thread Jason A. Donenfeld
commit: 5de3a9337121c670602ba5c5e1e5c5aa37909e88
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Dec 30 09:31:34 2019 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Dec 30 09:32:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de3a933

net-vpn/wireguard-tools: adjust for package move

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild | 2 +-
 net-vpn/wireguard-tools/wireguard-tools-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
index d80192370cf..bd16ac3af08 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
@@ -28,7 +28,7 @@ RDEPEND="${DEPEND}
|| ( net-firewall/nftables net-firewall/iptables )
virtual/resolvconf
)
-   !<=net-vpn/wireguard-0.0.20191219
+   !

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2019-12-30 Thread Jason A. Donenfeld
commit: 17cf616c687f54469e6ede7dd4f6247c84012524
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Mon Dec 30 09:30:55 2019 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Mon Dec 30 09:32:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17cf616c

net-vpn/wireguard-modules: adjust for package move

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild | 2 +-
 net-vpn/wireguard-modules/wireguard-modules-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
index 80e3a4b43df..7c5072266bf 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
@@ -24,7 +24,7 @@ SLOT="0"
 IUSE="debug +module module-src"
 
 DEPEND=""
-RDEPEND="${DEPEND} !<=net-vpn/wireguard-0.0.20191219-r1"
+RDEPEND="${DEPEND} !

[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2019-12-28 Thread Thomas Deutschmann
commit: 752b3e0addad707cf858d728bf3b8f250eecd5d8
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Dec 28 15:30:49 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Dec 28 15:37:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752b3e0a

net-vpn/wireguard-tools: add missing trailing slash

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild | 2 +-
 net-vpn/wireguard-tools/wireguard-tools-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
index 8a3241a0355..d80192370cf 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
@@ -86,7 +86,7 @@ pkg_postinst() {
einfo "WireGuard, you may use, for testing purposes only, the insecure 
client.sh"
einfo "test example script:"
einfo
-   einfo "  \$ bzcat 
${ROOT}usr/share/doc/${PF}/contrib/ncat-client-server/client.sh.bz2 | sudo bash 
-"
+   einfo "  \$ bzcat 
${ROOT}/usr/share/doc/${PF}/contrib/ncat-client-server/client.sh.bz2 | sudo 
bash -"
einfo
einfo "This will automatically setup interface wg0, through a very 
insecure transport"
einfo "that is only suitable for demonstration purposes. You can then 
try loading the"

diff --git a/net-vpn/wireguard-tools/wireguard-tools-.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-.ebuild
index 8a3241a0355..d80192370cf 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-.ebuild
@@ -86,7 +86,7 @@ pkg_postinst() {
einfo "WireGuard, you may use, for testing purposes only, the insecure 
client.sh"
einfo "test example script:"
einfo
-   einfo "  \$ bzcat 
${ROOT}usr/share/doc/${PF}/contrib/ncat-client-server/client.sh.bz2 | sudo bash 
-"
+   einfo "  \$ bzcat 
${ROOT}/usr/share/doc/${PF}/contrib/ncat-client-server/client.sh.bz2 | sudo 
bash -"
einfo
einfo "This will automatically setup interface wg0, through a very 
insecure transport"
einfo "that is only suitable for demonstration purposes. You can then 
try loading the"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-modules/

2019-12-28 Thread Thomas Deutschmann
commit: 456962b8aa7ac8e65e66fbf53b5ae5b344f51b89
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Dec 28 15:29:41 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Dec 28 15:37:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456962b8

net-vpn/wireguard-modules: add missing trailing slash

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild | 2 +-
 net-vpn/wireguard-modules/wireguard-modules-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
index a17b7a5d487..80e3a4b43df 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-0.0.20191226.ebuild
@@ -62,7 +62,7 @@ pkg_postinst() {
einfo
einfo "You have enabled the module-src USE flag without the 
module USE"
einfo "flag. This means that sources are installed to"
-   einfo "${ROOT}usr/src/wireguard instead of having the"
+   einfo "${ROOT}/usr/src/wireguard instead of having the"
einfo "kernel module compiled. You will need to compile the 
module"
einfo "yourself. Most likely, you don't want this USE flag, and 
should"
einfo "rather use USE=module"

diff --git a/net-vpn/wireguard-modules/wireguard-modules-.ebuild 
b/net-vpn/wireguard-modules/wireguard-modules-.ebuild
index a17b7a5d487..80e3a4b43df 100644
--- a/net-vpn/wireguard-modules/wireguard-modules-.ebuild
+++ b/net-vpn/wireguard-modules/wireguard-modules-.ebuild
@@ -62,7 +62,7 @@ pkg_postinst() {
einfo
einfo "You have enabled the module-src USE flag without the 
module USE"
einfo "flag. This means that sources are installed to"
-   einfo "${ROOT}usr/src/wireguard instead of having the"
+   einfo "${ROOT}/usr/src/wireguard instead of having the"
einfo "kernel module compiled. You will need to compile the 
module"
einfo "yourself. Most likely, you don't want this USE flag, and 
should"
einfo "rather use USE=module"



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2019-12-28 Thread Jason A. Donenfeld
commit: 291988a63b9a201ff1387c5d276c2718e4ce5071
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sat Dec 28 07:54:38 2019 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Sat Dec 28 08:04:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=291988a6

net-vpn/wireguard-tools: check for IPV6_MULTIPLE_TABLES

Closes: https://bugs.gentoo.org/671898
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild | 1 +
 net-vpn/wireguard-tools/wireguard-tools-.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
index 4291be2ecbf..5c75ad1f60b 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
@@ -35,6 +35,7 @@ wg_quick_optional_config_nob() {
 pkg_setup() {
wg_quick_optional_config_nob IP_ADVANCED_ROUTER
wg_quick_optional_config_nob IP_MULTIPLE_TABLES
+   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
if has_version net-firewall/nftables; then
wg_quick_optional_config_nob NF_TABLES
wg_quick_optional_config_nob NF_TABLES_IPV4

diff --git a/net-vpn/wireguard-tools/wireguard-tools-.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-.ebuild
index 4291be2ecbf..5c75ad1f60b 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-.ebuild
@@ -35,6 +35,7 @@ wg_quick_optional_config_nob() {
 pkg_setup() {
wg_quick_optional_config_nob IP_ADVANCED_ROUTER
wg_quick_optional_config_nob IP_MULTIPLE_TABLES
+   wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
if has_version net-firewall/nftables; then
wg_quick_optional_config_nob NF_TABLES
wg_quick_optional_config_nob NF_TABLES_IPV4



[gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/

2019-12-28 Thread Jason A. Donenfeld
commit: 95513fef437a6bc42c196885f3d4a45ff6b11947
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sat Dec 28 08:03:27 2019 +
Commit: Jason A. Donenfeld  gentoo  org>
CommitDate: Sat Dec 28 08:04:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95513fef

net-vpn/wireguard-tools: make wg-quick(8) optional

Closes: https://bugs.gentoo.org/671894
Suggested-by: Aaron Jones  gmail.com>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld  gentoo.org>

 net-vpn/wireguard-tools/metadata.xml| 3 +++
 net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild | 9 +++--
 net-vpn/wireguard-tools/wireguard-tools-.ebuild | 9 +++--
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/net-vpn/wireguard-tools/metadata.xml 
b/net-vpn/wireguard-tools/metadata.xml
index 915f0022706..652da2d16d0 100644
--- a/net-vpn/wireguard-tools/metadata.xml
+++ b/net-vpn/wireguard-tools/metadata.xml
@@ -5,4 +5,7 @@
zx...@gentoo.org
Jason A. Donenfeld

+   
+   Install the wg-quick(8) helper tool. Most 
users want to use this.
+   
 

diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
index 5c75ad1f60b..8a3241a0355 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
@@ -19,11 +19,15 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
+IUSE="+wg-quick"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="net-libs/libmnl"
 RDEPEND="${DEPEND}
-   || ( net-firewall/nftables net-firewall/iptables )
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
!<=net-vpn/wireguard-0.0.20191219
 "
 
@@ -33,6 +37,7 @@ wg_quick_optional_config_nob() {
 }
 
 pkg_setup() {
+   use wg-quick || return 0
wg_quick_optional_config_nob IP_ADVANCED_ROUTER
wg_quick_optional_config_nob IP_MULTIPLE_TABLES
wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
@@ -67,7 +72,7 @@ src_install() {
emake \
WITH_BASHCOMPLETION=yes \
WITH_SYSTEMDUNITS=yes \
-   WITH_WGQUICK=yes \
+   WITH_WGQUICK=$(usex wg-quick) \
DESTDIR="${D}" \
BASHCOMPDIR="$(get_bashcompdir)" \
SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \

diff --git a/net-vpn/wireguard-tools/wireguard-tools-.ebuild 
b/net-vpn/wireguard-tools/wireguard-tools-.ebuild
index 5c75ad1f60b..8a3241a0355 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-.ebuild
@@ -19,11 +19,15 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
+IUSE="+wg-quick"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="net-libs/libmnl"
 RDEPEND="${DEPEND}
-   || ( net-firewall/nftables net-firewall/iptables )
+   wg-quick? (
+   || ( net-firewall/nftables net-firewall/iptables )
+   virtual/resolvconf
+   )
!<=net-vpn/wireguard-0.0.20191219
 "
 
@@ -33,6 +37,7 @@ wg_quick_optional_config_nob() {
 }
 
 pkg_setup() {
+   use wg-quick || return 0
wg_quick_optional_config_nob IP_ADVANCED_ROUTER
wg_quick_optional_config_nob IP_MULTIPLE_TABLES
wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
@@ -67,7 +72,7 @@ src_install() {
emake \
WITH_BASHCOMPLETION=yes \
WITH_SYSTEMDUNITS=yes \
-   WITH_WGQUICK=yes \
+   WITH_WGQUICK=$(usex wg-quick) \
DESTDIR="${D}" \
BASHCOMPDIR="$(get_bashcompdir)" \
SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \



  1   2   3   >