public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-12-06 18:55 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-12-06 18:55 UTC (permalink / raw
  To: gentoo-commits

commit:     5162a26ae15cd7ce4c1aa4c5b8a053e2043aec71
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  6 18:54:48 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Dec  6 18:54:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5162a26a

net-misc/wireguard: use dkms target for source-only install

Package-Manager: portage-2.3.2

 net-misc/wireguard/wireguard-9999.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 50d9d1c..97b0aa0 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -50,9 +50,7 @@ src_install() {
 	dodoc -r contrib/examples
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
 	if use kmod-src; then
-		dodir /usr/src
-		rm -r "${S}"/src/tools || die
-		mv -v "${S}"/src "${ED}"usr/src/wireguard || die
+		emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 	else
 		linux-mod_src_install
 	fi


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2017-02-23 15:31 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2017-02-23 15:31 UTC (permalink / raw
  To: gentoo-commits

commit:     472d9dc9a4d1959120185f03af61711e7aab9c07
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 15:30:39 2017 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 15:31:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472d9dc9

net-misc/wireguard: bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20170214.ebuild => wireguard-0.0.20170223.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 0bebdb3711..726997c48e 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20170214.tar.xz 131424 SHA256 1e4ee213d2a5ac672c952c59e9c64d6d7d5dc3e21c003aee30d75208237e8bf5 SHA512 1180ad4e3691c9e5134f2ba58ccec3ed156ef7600721d89bb652c41e89fc6d981e786928f38db4a5a78bacb3e8d3fd271fd85c896b008c6b9ad5162870e39beb WHIRLPOOL 01d6686a2a1a90bd8db2e309173f2411e30db44a71394e70b86bb04c236b97622b413e13cf3ea678f8684bde6b15f58f49e7abd3bb902b1765228850b92e94ea
+DIST WireGuard-0.0.20170223.tar.xz 132064 SHA256 6d2c8cd29c4f9fb404546a4749ec050739a26b4a49b5864f1dec531377c3c50d SHA512 273ef6463d447cb04b608a0379cce5c0ed4065f988b3f449995593592b42f2fc269fc249a8e3c22c28bfa682430ee20b5b7a46a96803c9c67d1b6fed7b800455 WHIRLPOOL b08e38f791bd7c60b004b3524f411801139be09f9c091c1aead9289f430594c5cd5c80bcc8da69649b9f5ba8efc83228a42e7f54ade3dc3a312fb58175e31743

diff --git a/net-misc/wireguard/wireguard-0.0.20170214.ebuild b/net-misc/wireguard/wireguard-0.0.20170223.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20170214.ebuild
rename to net-misc/wireguard/wireguard-0.0.20170223.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2017-02-14 11:01 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2017-02-14 11:01 UTC (permalink / raw
  To: gentoo-commits

commit:     d7a02e856aedba53221678ca105e05b1efeeb47b
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 11:01:38 2017 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 11:01:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a02e85

net-misc/wireguard: bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20170213.ebuild => wireguard-0.0.20170214.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index eef69afbdf..0bebdb3711 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20170213.tar.xz 130672 SHA256 256a7d41cf228f2a88e1b03b3911746dc827fe7be5b982c60080e7f81998cc6d SHA512 380766fe19b4f42a1f12b8236d3ffd44bdaf05124ab04b6a1bfa4dd817fc0ffd3030936faf3018dc872a15d7af9883b2cd3219b5dc5f5bdce95d6fa688e7648c WHIRLPOOL a123d550579d216fd2ab439f3bdd8f1118949961636268a1880628dd7214ffa27742fef88b41a530da772f246ae84a6b5d21e09aa507980a6cbcf25d1ba9a0e3
+DIST WireGuard-0.0.20170214.tar.xz 131424 SHA256 1e4ee213d2a5ac672c952c59e9c64d6d7d5dc3e21c003aee30d75208237e8bf5 SHA512 1180ad4e3691c9e5134f2ba58ccec3ed156ef7600721d89bb652c41e89fc6d981e786928f38db4a5a78bacb3e8d3fd271fd85c896b008c6b9ad5162870e39beb WHIRLPOOL 01d6686a2a1a90bd8db2e309173f2411e30db44a71394e70b86bb04c236b97622b413e13cf3ea678f8684bde6b15f58f49e7abd3bb902b1765228850b92e94ea

diff --git a/net-misc/wireguard/wireguard-0.0.20170213.ebuild b/net-misc/wireguard/wireguard-0.0.20170214.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20170213.ebuild
rename to net-misc/wireguard/wireguard-0.0.20170214.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2017-02-13 21:09 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2017-02-13 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     e4be4607b574b164711fed90d434a4dc8d25cd43
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 21:09:03 2017 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 21:09:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4be4607

net-misc/wireguard: bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20170115.ebuild => wireguard-0.0.20170213.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 0a1b2155fc..eef69afbdf 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20170115.tar.xz 129020 SHA256 7e5f9f4699a2d4ace90d0df5d81bf0f67205ee08c45b95e0acc379bedef5ffe8 SHA512 5d8bf7589f9813fe9122c322cf417850075c89f28f326cff3c36d2b661a8cce3a84bc8d5a80f4292578cecb847d704f352d5d9f9686f190b13a10903f8e433f7 WHIRLPOOL cdcd9d5ed6bed42e548093384773f62a87dfad40b33199f0151ff8becd1f06fe6017ffb82e420a76c3eea088610ed5bd542fb3d971174d43f72eb3c148da7ed7
+DIST WireGuard-0.0.20170213.tar.xz 130672 SHA256 256a7d41cf228f2a88e1b03b3911746dc827fe7be5b982c60080e7f81998cc6d SHA512 380766fe19b4f42a1f12b8236d3ffd44bdaf05124ab04b6a1bfa4dd817fc0ffd3030936faf3018dc872a15d7af9883b2cd3219b5dc5f5bdce95d6fa688e7648c WHIRLPOOL a123d550579d216fd2ab439f3bdd8f1118949961636268a1880628dd7214ffa27742fef88b41a530da772f246ae84a6b5d21e09aa507980a6cbcf25d1ba9a0e3

diff --git a/net-misc/wireguard/wireguard-0.0.20170115.ebuild b/net-misc/wireguard/wireguard-0.0.20170213.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20170115.ebuild
rename to net-misc/wireguard/wireguard-0.0.20170213.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2017-01-15 12:20 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2017-01-15 12:20 UTC (permalink / raw
  To: gentoo-commits

commit:     e655226b6e68d8a2398d5186b3090942bc19166b
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 12:19:49 2017 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 12:20:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e655226b

net-misc/wireguard: version bump and new USE flags

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                      |   2 +-
 net-misc/wireguard/metadata.xml                  |   4 +-
 net-misc/wireguard/wireguard-0.0.20170105.ebuild | 107 ----------------------
 net-misc/wireguard/wireguard-0.0.20170115.ebuild | 111 +++++++++++++++++++++++
 net-misc/wireguard/wireguard-9999.ebuild         | 102 +++++++++++----------
 5 files changed, 168 insertions(+), 158 deletions(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 3854114..0a1b215 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20170105.tar.xz 125280 SHA256 1bd990eeae6fbf599ccddde81caa92770f58623ad9705f875bcfab8254583896 SHA512 8e9cfd5d521c77766d870445e946aa934dbe933241a09776002492c8284a018c2cce615f92a873c6ee3448ef231fc91230cd973a682728db85f03cd82301150c WHIRLPOOL 19743cfee950c042fe0f190cf12af184b4bf3a24ab43338f85250ccaa806a2d3d6b757d1b666305474e699cfd15095d290c6235fb4d751b6e4080a48b19c43f1
+DIST WireGuard-0.0.20170115.tar.xz 129020 SHA256 7e5f9f4699a2d4ace90d0df5d81bf0f67205ee08c45b95e0acc379bedef5ffe8 SHA512 5d8bf7589f9813fe9122c322cf417850075c89f28f326cff3c36d2b661a8cce3a84bc8d5a80f4292578cecb847d704f352d5d9f9686f190b13a10903f8e433f7 WHIRLPOOL cdcd9d5ed6bed42e548093384773f62a87dfad40b33199f0151ff8becd1f06fe6017ffb82e420a76c3eea088610ed5bd542fb3d971174d43f72eb3c148da7ed7

diff --git a/net-misc/wireguard/metadata.xml b/net-misc/wireguard/metadata.xml
index aa8747f..d5c30b1 100644
--- a/net-misc/wireguard/metadata.xml
+++ b/net-misc/wireguard/metadata.xml
@@ -6,7 +6,9 @@
 		<name>Jason A. Donenfeld</name>
 	</maintainer>
 	<use>
-		<flag name="kmod-src">Do not compile the kernel module. Instead install the kernel module source code to /usr/src/wireguard.</flag>
+		<flag name="tools">Compile the wg(8) tool and related helpers. You probably want this enabled.</flag>
+		<flag name="module">Compile the actual WireGuard kernel module. Most certainly you want this enabled, unless you're doing something strange.</flag>
+		<flag name="module-src">Install the module source code to /usr/src, in case you like building kernel modules yourself.</flag>
 		<flag name="debug">Enable verbose debug reporting in dmesg of various WireGuard peer and device information.</flag>
 	</use>
 </pkgmetadata>

diff --git a/net-misc/wireguard/wireguard-0.0.20170105.ebuild b/net-misc/wireguard/wireguard-0.0.20170105.ebuild
deleted file mode 100644
index db54269..00000000
--- a/net-misc/wireguard/wireguard-0.0.20170105.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit linux-mod bash-completion-r1
-
-DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography."
-HOMEPAGE="https://www.wireguard.io/"
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
-	KEYWORDS=""
-else
-	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
-	S="${WORKDIR}/WireGuard-${PV}"
-	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug kmod-src"
-
-DEPEND="net-libs/libmnl"
-RDEPEND="${DEPEND}"
-
-MODULE_NAMES="wireguard(net:src)"
-BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
-BUILD_TARGETS="module"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
-WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
-WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
-
-pkg_setup() {
-	use kmod-src && return
-	linux-mod_pkg_setup
-	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
-}
-
-src_compile() {
-	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-	use kmod-src || linux-mod_src_compile
-	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
-}
-
-src_install() {
-	dodoc README.md
-	dodoc -r contrib/examples
-	emake \
-		WITH_BASHCOMPLETION=yes \
-		WITH_SYSTEMDUNITS=yes \
-		WITH_WGQUICK=yes \
-		DESTDIR="${D}" \
-		BASHCOMPDIR="$(get_bashcompdir)" \
-		PREFIX="${EPREFIX}/usr" \
-		-C src/tools install
-	if use kmod-src; then
-		emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
-	else
-		linux-mod_src_install
-	fi
-	insinto /$(get_libdir)/netifrc/net
-	newins "${FILESDIR}"/wireguard-openrc.sh wireguard.sh
-}
-
-pkg_postinst() {
-	if use kmod-src; then
-		einfo
-		einfo "You have enabled the kmod-src USE flag. This means that sources"
-		einfo "are installed to ${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."
-		einfo
-	else
-		linux-mod_pkg_postinst
-	fi
-	ewarn
-	ewarn "This software is experimental and has not yet been released."
-	ewarn "As such, it may contain significant issues. Please do not file"
-	ewarn "bug reports with Gentoo, but rather direct them upstream to:"
-	ewarn
-	ewarn "    team@wireguard.io    security@wireguard.io"
-	ewarn
-
-	einfo
-	einfo "After installing WireGuard, if you'd like to try sending some packets through"
-	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}/examples/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"
-	einfo "hidden website or sending pings:"
-	einfo
-	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.io/quickstart/"
-	einfo
-}

diff --git a/net-misc/wireguard/wireguard-0.0.20170115.ebuild b/net-misc/wireguard/wireguard-0.0.20170115.ebuild
new file mode 100644
index 00000000..950f0c9
--- /dev/null
+++ b/net-misc/wireguard/wireguard-0.0.20170115.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit linux-mod bash-completion-r1
+
+DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography."
+HOMEPAGE="https://www.wireguard.io/"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
+	KEYWORDS=""
+else
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
+	S="${WORKDIR}/WireGuard-${PV}"
+	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +module +tools module-src"
+
+DEPEND="tools? ( net-libs/libmnl )"
+RDEPEND="${DEPEND}"
+
+MODULE_NAMES="wireguard(net:src)"
+BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
+BUILD_TARGETS="module"
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
+WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
+
+pkg_setup() {
+	if use module; then
+		linux-mod_pkg_setup
+		kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
+	fi
+}
+
+src_compile() {
+	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
+	use module && linux-mod_src_compile
+	use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
+}
+
+src_install() {
+	use module && linux-mod_src_install
+	if use tools; then
+		dodoc README.md
+		dodoc -r contrib/examples
+		emake \
+			WITH_BASHCOMPLETION=yes \
+			WITH_SYSTEMDUNITS=yes \
+			WITH_WGQUICK=yes \
+			DESTDIR="${D}" \
+			BASHCOMPDIR="$(get_bashcompdir)" \
+			PREFIX="${EPREFIX}/usr" \
+			-C src/tools install
+		insinto /$(get_libdir)/netifrc/net
+		newins "${FILESDIR}"/wireguard-openrc.sh wireguard.sh
+	fi
+	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
+	use module && linux-mod_pkg_postinst
+
+	ewarn
+	ewarn "This software is experimental and has not yet been released."
+	ewarn "As such, it may contain significant issues. Please do not file"
+	ewarn "bug reports with Gentoo, but rather direct them upstream to:"
+	ewarn
+	ewarn "    team@wireguard.io    security@wireguard.io"
+	ewarn
+
+	if use tools; then
+		einfo
+		einfo "After installing WireGuard, if you'd like to try sending some packets through"
+		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}/examples/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"
+		einfo "hidden website or sending pings:"
+		einfo
+		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.io/quickstart/"
+		einfo
+	fi
+}

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index db54269..950f0c9 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -21,9 +21,9 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug kmod-src"
+IUSE="debug +module +tools module-src"
 
-DEPEND="net-libs/libmnl"
+DEPEND="tools? ( net-libs/libmnl )"
 RDEPEND="${DEPEND}"
 
 MODULE_NAMES="wireguard(net:src)"
@@ -34,48 +34,50 @@ WARNING_PADATA="If you're running a multicore system you likely should enable CO
 WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
 
 pkg_setup() {
-	use kmod-src && return
-	linux-mod_pkg_setup
-	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
+	if use module; then
+		linux-mod_pkg_setup
+		kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
+	fi
 }
 
 src_compile() {
 	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-	use kmod-src || linux-mod_src_compile
-	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
+	use module && linux-mod_src_compile
+	use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }
 
 src_install() {
-	dodoc README.md
-	dodoc -r contrib/examples
-	emake \
-		WITH_BASHCOMPLETION=yes \
-		WITH_SYSTEMDUNITS=yes \
-		WITH_WGQUICK=yes \
-		DESTDIR="${D}" \
-		BASHCOMPDIR="$(get_bashcompdir)" \
-		PREFIX="${EPREFIX}/usr" \
-		-C src/tools install
-	if use kmod-src; then
-		emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
-	else
-		linux-mod_src_install
+	use module && linux-mod_src_install
+	if use tools; then
+		dodoc README.md
+		dodoc -r contrib/examples
+		emake \
+			WITH_BASHCOMPLETION=yes \
+			WITH_SYSTEMDUNITS=yes \
+			WITH_WGQUICK=yes \
+			DESTDIR="${D}" \
+			BASHCOMPDIR="$(get_bashcompdir)" \
+			PREFIX="${EPREFIX}/usr" \
+			-C src/tools install
+		insinto /$(get_libdir)/netifrc/net
+		newins "${FILESDIR}"/wireguard-openrc.sh wireguard.sh
 	fi
-	insinto /$(get_libdir)/netifrc/net
-	newins "${FILESDIR}"/wireguard-openrc.sh wireguard.sh
+	use module-src && emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 }
 
 pkg_postinst() {
-	if use kmod-src; then
+	if use module-src && ! use module; then
 		einfo
-		einfo "You have enabled the kmod-src USE flag. This means that sources"
-		einfo "are installed to ${ROOT}usr/src/wireguard instead of having the"
+		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."
+		einfo "yourself. Most likely, you don't want this USE flag, and should"
+		einfo "rather use USE=module"
 		einfo
-	else
-		linux-mod_pkg_postinst
 	fi
+	use module && linux-mod_pkg_postinst
+
 	ewarn
 	ewarn "This software is experimental and has not yet been released."
 	ewarn "As such, it may contain significant issues. Please do not file"
@@ -84,24 +86,26 @@ pkg_postinst() {
 	ewarn "    team@wireguard.io    security@wireguard.io"
 	ewarn
 
-	einfo
-	einfo "After installing WireGuard, if you'd like to try sending some packets through"
-	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}/examples/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"
-	einfo "hidden website or sending pings:"
-	einfo
-	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.io/quickstart/"
-	einfo
+	if use tools; then
+		einfo
+		einfo "After installing WireGuard, if you'd like to try sending some packets through"
+		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}/examples/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"
+		einfo "hidden website or sending pings:"
+		einfo
+		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.io/quickstart/"
+		einfo
+	fi
 }


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2017-01-05  3:03 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2017-01-05  3:03 UTC (permalink / raw
  To: gentoo-commits

commit:     6354250c0613c15302776820df074ea676e9eada
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 03:03:01 2017 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 03:03:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6354250c

net-misc/wireguard: version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                  |  2 +-
 ...-0.0.20161230-r1.ebuild => wireguard-0.0.20170105.ebuild} | 12 +++++++++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 311f4cb..3854114 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20161230.tar.xz 126172 SHA256 69c9770daf9c8ff6632d614afc117b60774760f1224c9322c84f8da92b9ae396 SHA512 dbd6884537526ce3bf216378a8f10d16eced59ef99c69332e5d97ef72b72da866f2c5cc9e7602da1cffd4890d6ca9101b670b7fab9807db6b0dc495b6349be1c WHIRLPOOL 9defecf14c50eaa0410db59a9412bdcc851020b140e66f43ba4570faafda95df37dca06ee4d6f6190a8a94be9a778ee69bfa3f725a4c9bf358964de192eaf912
+DIST WireGuard-0.0.20170105.tar.xz 125280 SHA256 1bd990eeae6fbf599ccddde81caa92770f58623ad9705f875bcfab8254583896 SHA512 8e9cfd5d521c77766d870445e946aa934dbe933241a09776002492c8284a018c2cce615f92a873c6ee3448ef231fc91230cd973a682728db85f03cd82301150c WHIRLPOOL 19743cfee950c042fe0f190cf12af184b4bf3a24ab43338f85250ccaa806a2d3d6b757d1b666305474e699cfd15095d290c6235fb4d751b6e4080a48b19c43f1

diff --git a/net-misc/wireguard/wireguard-0.0.20161230-r1.ebuild b/net-misc/wireguard/wireguard-0.0.20170105.ebuild
similarity index 93%
rename from net-misc/wireguard/wireguard-0.0.20161230-r1.ebuild
rename to net-misc/wireguard/wireguard-0.0.20170105.ebuild
index 06402df..db54269 100644
--- a/net-misc/wireguard/wireguard-0.0.20161230-r1.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20170105.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit linux-mod
+inherit linux-mod bash-completion-r1
 
 DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography."
 HOMEPAGE="https://www.wireguard.io/"
@@ -48,8 +48,14 @@ src_compile() {
 src_install() {
 	dodoc README.md
 	dodoc -r contrib/examples
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C contrib/examples/wg-config install
+	emake \
+		WITH_BASHCOMPLETION=yes \
+		WITH_SYSTEMDUNITS=yes \
+		WITH_WGQUICK=yes \
+		DESTDIR="${D}" \
+		BASHCOMPDIR="$(get_bashcompdir)" \
+		PREFIX="${EPREFIX}/usr" \
+		-C src/tools install
 	if use kmod-src; then
 		emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 	else


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2017-01-04 19:54 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2017-01-04 19:54 UTC (permalink / raw
  To: gentoo-commits

commit:     99cbbc98972f3c40906ee84556b30c43c26643fd
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  4 19:54:18 2017 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 19:54:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99cbbc98

net-misc/wireguard: support improved tooling

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/wireguard-9999.ebuild | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 0aa291d..db54269 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
-inherit linux-mod
+inherit linux-mod bash-completion-r1
 
 DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography."
 HOMEPAGE="https://www.wireguard.io/"
@@ -48,8 +48,14 @@ src_compile() {
 src_install() {
 	dodoc README.md
 	dodoc -r contrib/examples
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
-	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C contrib/examples/wg-config install
+	emake \
+		WITH_BASHCOMPLETION=yes \
+		WITH_SYSTEMDUNITS=yes \
+		WITH_WGQUICK=yes \
+		DESTDIR="${D}" \
+		BASHCOMPDIR="$(get_bashcompdir)" \
+		PREFIX="${EPREFIX}/usr" \
+		-C src/tools install
 	if use kmod-src; then
 		emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 	else


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-12-30 17:06 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-12-30 17:06 UTC (permalink / raw
  To: gentoo-commits

commit:     bfb4740e85f87296a1ae0d8cc07de693642289fe
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 17:05:56 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 17:06:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfb4740e

net-misc/wireguard: bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161223.ebuild => wireguard-0.0.20161230.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 7ae3201..311f4cb 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20161223.tar.xz 125964 SHA256 bbd98ff6667e76ac283685db9ee7a6777529f5d311a0bf1fe9a15932aed2b972 SHA512 c66f7cd7d6831754225f8bee408301ed122936b22d19f2ec0185a6a037e5bc3f08d5a0154b8322f862b7fa840b84448562c501b3a543762f27ecfb1fbd1926d7 WHIRLPOOL 72aec29183647f1bb19169d148be9147e365eb788f9b6c0f9857cb833c922e0642cae3db8a33eb3d7fedc6b4fc7f1d7a11bd185f4a3abebf7e50213d572dc6e0
+DIST WireGuard-0.0.20161230.tar.xz 126172 SHA256 69c9770daf9c8ff6632d614afc117b60774760f1224c9322c84f8da92b9ae396 SHA512 dbd6884537526ce3bf216378a8f10d16eced59ef99c69332e5d97ef72b72da866f2c5cc9e7602da1cffd4890d6ca9101b670b7fab9807db6b0dc495b6349be1c WHIRLPOOL 9defecf14c50eaa0410db59a9412bdcc851020b140e66f43ba4570faafda95df37dca06ee4d6f6190a8a94be9a778ee69bfa3f725a4c9bf358964de192eaf912

diff --git a/net-misc/wireguard/wireguard-0.0.20161223.ebuild b/net-misc/wireguard/wireguard-0.0.20161230.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161223.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161230.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-12-23 20:17 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-12-23 20:17 UTC (permalink / raw
  To: gentoo-commits

commit:     7f722ccfa44e9c3a1d9a578aa0b33e41ed5a61ee
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 23 20:16:59 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Dec 23 20:17:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f722ccf

net-misc/wireguard: bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161218.ebuild => wireguard-0.0.20161223.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index fbb6395..7ae3201 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20161218.tar.xz 125952 SHA256 d805035d3e99768e69d8cdeb8fb5250a59b994ce127fceb71a078582c30f5597 SHA512 e4a4c32262a558f28e0c8db0d9414645a11d05e59953ce5645f8b93a276950cc6ddade96cf4ae3855974c88e496cfa76bc798418648dc663a336acfff270f68c WHIRLPOOL 59dad94abf3e5054a9b5ca2891e6778f16d45eb308176a91f01ab87e9491f71896df73f92ace36bb3226cb7a12a4283b8764fbf00287710cacfc601a6f10ecfe
+DIST WireGuard-0.0.20161223.tar.xz 125964 SHA256 bbd98ff6667e76ac283685db9ee7a6777529f5d311a0bf1fe9a15932aed2b972 SHA512 c66f7cd7d6831754225f8bee408301ed122936b22d19f2ec0185a6a037e5bc3f08d5a0154b8322f862b7fa840b84448562c501b3a543762f27ecfb1fbd1926d7 WHIRLPOOL 72aec29183647f1bb19169d148be9147e365eb788f9b6c0f9857cb833c922e0642cae3db8a33eb3d7fedc6b4fc7f1d7a11bd185f4a3abebf7e50213d572dc6e0

diff --git a/net-misc/wireguard/wireguard-0.0.20161218.ebuild b/net-misc/wireguard/wireguard-0.0.20161223.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161218.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161223.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-12-18 17:40 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-12-18 17:40 UTC (permalink / raw
  To: gentoo-commits

commit:     57f842d3cb2344a49d97c6d1b1dca425b0f24054
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 17:40:06 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 17:40:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f842d3

net-misc/wireguard: bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161216.ebuild => wireguard-0.0.20161218.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 16d9873..fbb6395 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20161216.tar.xz 125840 SHA256 9d3c1f52a9995d2bf1f5cd9d6b1922bd1f78fb3ddbd30bf3587077f79ef0977b SHA512 96187e1788f7456b62f39f07c69f20953fb0714982d21abec4e7dd0205258ca8a9535288a81a226019ef2c5ceff07c25134477fd4a2e1c4ab7ef1561181562dc WHIRLPOOL 83aa5e82efaf294dd22c7aa33ff368b8e020caab8a7920a629b7ce6e6872e9c87fba080b7fafe2306aa067fbf8f086fd5bd513571ce014498853daf14a9f7062
+DIST WireGuard-0.0.20161218.tar.xz 125952 SHA256 d805035d3e99768e69d8cdeb8fb5250a59b994ce127fceb71a078582c30f5597 SHA512 e4a4c32262a558f28e0c8db0d9414645a11d05e59953ce5645f8b93a276950cc6ddade96cf4ae3855974c88e496cfa76bc798418648dc663a336acfff270f68c WHIRLPOOL 59dad94abf3e5054a9b5ca2891e6778f16d45eb308176a91f01ab87e9491f71896df73f92ace36bb3226cb7a12a4283b8764fbf00287710cacfc601a6f10ecfe

diff --git a/net-misc/wireguard/wireguard-0.0.20161216.ebuild b/net-misc/wireguard/wireguard-0.0.20161218.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161216.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161218.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-12-16 16:16 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-12-16 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     17c92b2ec4f39b1b128ac1234f7c4db955a6c3c2
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 16 16:15:43 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Dec 16 16:15:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17c92b2e

net-misc/wireguard: version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161209.ebuild => wireguard-0.0.20161216.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 4f227fd..16d9873 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-0.0.20161209.tar.xz 124584 SHA256 caabb9bb471a262e178162c30b8b8524cc3a05e0e9daf23a921870a4106ec886 SHA512 0edd389ce8af74baa98f57167d4f2fd1a7c9cd03c7c65c65bf186111077b368d2997d76274baada14ea57b1d459034cce4eab80318a0fbcbc6a5dc7769c17d3d WHIRLPOOL 91f32c0a780f7d45e992f63d5cd459989b2b4a5ae96f856ac813343ed5b034514731540dec9ffcf0ec42b9783a75b1991c41c25b3d0a2c237aeeec35c85840ab
+DIST WireGuard-0.0.20161216.tar.xz 125840 SHA256 9d3c1f52a9995d2bf1f5cd9d6b1922bd1f78fb3ddbd30bf3587077f79ef0977b SHA512 96187e1788f7456b62f39f07c69f20953fb0714982d21abec4e7dd0205258ca8a9535288a81a226019ef2c5ceff07c25134477fd4a2e1c4ab7ef1561181562dc WHIRLPOOL 83aa5e82efaf294dd22c7aa33ff368b8e020caab8a7920a629b7ce6e6872e9c87fba080b7fafe2306aa067fbf8f086fd5bd513571ce014498853daf14a9f7062

diff --git a/net-misc/wireguard/wireguard-0.0.20161209.ebuild b/net-misc/wireguard/wireguard-0.0.20161216.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161209.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161216.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-12-09 21:00 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-12-09 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     e1ed857ea1d24af872e365325afa80d068db1fb1
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  9 20:59:17 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Dec  9 20:59:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ed857e

net-misc/wireguard: bump

Package-Manager: portage-2.3.3

 net-misc/wireguard/Manifest                                      | 2 +-
 ...reguard-0.0.20161129.ebuild => wireguard-0.0.20161209.ebuild} | 9 ++++-----
 net-misc/wireguard/wireguard-9999.ebuild                         | 5 +++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 43db401..4f227fd 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161129.tar.xz 120540 SHA256 7bdce3e56aaae91b195b8bbf7afc8d07f68632c997aa702c1ab84745c099d1b7 SHA512 e16a67b546b39b3a9b24bc914727c4368c76480198e2c5bcd1c9fe3b78c56405d5c0a2ad3c50dda80a472e1e4d2425f82289c82898faaf9fd136081534cd5062 WHIRLPOOL 97ca13ce521347c4468fc8d15dbc1c86c5f94c0c9e2845b1b2bd3bfa5810e470e3aeb4353d471a55be08e54449faf5c4416dc91a4dfda1f6358db29650cd6972
+DIST WireGuard-0.0.20161209.tar.xz 124584 SHA256 caabb9bb471a262e178162c30b8b8524cc3a05e0e9daf23a921870a4106ec886 SHA512 0edd389ce8af74baa98f57167d4f2fd1a7c9cd03c7c65c65bf186111077b368d2997d76274baada14ea57b1d459034cce4eab80318a0fbcbc6a5dc7769c17d3d WHIRLPOOL 91f32c0a780f7d45e992f63d5cd459989b2b4a5ae96f856ac813343ed5b034514731540dec9ffcf0ec42b9783a75b1991c41c25b3d0a2c237aeeec35c85840ab

diff --git a/net-misc/wireguard/wireguard-0.0.20161129.ebuild b/net-misc/wireguard/wireguard-0.0.20161209.ebuild
similarity index 92%
rename from net-misc/wireguard/wireguard-0.0.20161129.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161209.ebuild
index 50d9d1c..0aa291d 100644
--- a/net-misc/wireguard/wireguard-0.0.20161129.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20161209.ebuild
@@ -14,8 +14,8 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-${PV}.tar.xz"
-	S="${WORKDIR}/WireGuard-experimental-${PV}"
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
+	S="${WORKDIR}/WireGuard-${PV}"
 	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
 fi
 
@@ -49,10 +49,9 @@ src_install() {
 	dodoc README.md
 	dodoc -r contrib/examples
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C contrib/examples/wg-config install
 	if use kmod-src; then
-		dodir /usr/src
-		rm -r "${S}"/src/tools || die
-		mv -v "${S}"/src "${ED}"usr/src/wireguard || die
+		emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 	else
 		linux-mod_src_install
 	fi

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 97b0aa0..0aa291d 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -14,8 +14,8 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-${PV}.tar.xz"
-	S="${WORKDIR}/WireGuard-experimental-${PV}"
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
+	S="${WORKDIR}/WireGuard-${PV}"
 	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
 fi
 
@@ -49,6 +49,7 @@ src_install() {
 	dodoc README.md
 	dodoc -r contrib/examples
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C contrib/examples/wg-config install
 	if use kmod-src; then
 		emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
 	else


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-29 22:19 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-29 22:19 UTC (permalink / raw
  To: gentoo-commits

commit:     85c9c348ac9ffc5b9e4dd86295acd9b6736da712
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 22:19:16 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 22:19:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c9c348

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161116.1.ebuild => wireguard-0.0.20161129.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index a2bb65a1..43db401 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161116.1.tar.xz 119748 SHA256 730d9d919e1942cf83e59dcb8c6ee6ac6696c62ce363c4802474774a5db8238d SHA512 abfe4e973ea5f829e90c929994f359fcc814a72d8fd92274a0921d5756ecee8b1c8e3a7b0d97947ae37915f4c7437c1cdee59ff88dc53d124fbb1a6d1f22e8d8 WHIRLPOOL 8bcfa59370240f61b2818e0509962a987fa2d1ddf87c9c0f23568edc806719a9f6293157e0d23f54a965fa81bbddee0622491c38400f11a8c128906fb47a6489
+DIST WireGuard-experimental-0.0.20161129.tar.xz 120540 SHA256 7bdce3e56aaae91b195b8bbf7afc8d07f68632c997aa702c1ab84745c099d1b7 SHA512 e16a67b546b39b3a9b24bc914727c4368c76480198e2c5bcd1c9fe3b78c56405d5c0a2ad3c50dda80a472e1e4d2425f82289c82898faaf9fd136081534cd5062 WHIRLPOOL 97ca13ce521347c4468fc8d15dbc1c86c5f94c0c9e2845b1b2bd3bfa5810e470e3aeb4353d471a55be08e54449faf5c4416dc91a4dfda1f6358db29650cd6972

diff --git a/net-misc/wireguard/wireguard-0.0.20161116.1.ebuild b/net-misc/wireguard/wireguard-0.0.20161129.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161116.1.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161129.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-16 20:50 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-16 20:50 UTC (permalink / raw
  To: gentoo-commits

commit:     94924e5875c223bf17e5523d5b2b0b77e783bb42
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 20:50:01 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 20:50:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94924e58

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161116.ebuild => wireguard-0.0.20161116.1.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index ff0f8db..a2bb65a1 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161116.tar.xz 119836 SHA256 783a174c06c70987e43d1e1258df9e44a846b19b13395b34161fc7668259184d SHA512 f216a1e6605ed6f68d4900e440ee5ed966bb798a7e69c4e5661b1cb0460d982a2d2d16814e94da14556b9bbc36d29d17cb56c8f6ddebd56d67d2da15c6faec0c WHIRLPOOL b0d7abe03860be03c7edc5a608e5c1d8de84e82f252fbb838ebc5780851792f28f0a16d63e95233a5050cd3373a83a8222e67d433d5706cf5bc2c905b14cfb82
+DIST WireGuard-experimental-0.0.20161116.1.tar.xz 119748 SHA256 730d9d919e1942cf83e59dcb8c6ee6ac6696c62ce363c4802474774a5db8238d SHA512 abfe4e973ea5f829e90c929994f359fcc814a72d8fd92274a0921d5756ecee8b1c8e3a7b0d97947ae37915f4c7437c1cdee59ff88dc53d124fbb1a6d1f22e8d8 WHIRLPOOL 8bcfa59370240f61b2818e0509962a987fa2d1ddf87c9c0f23568edc806719a9f6293157e0d23f54a965fa81bbddee0622491c38400f11a8c128906fb47a6489

diff --git a/net-misc/wireguard/wireguard-0.0.20161116.ebuild b/net-misc/wireguard/wireguard-0.0.20161116.1.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161116.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161116.1.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-16 15:58 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-16 15:58 UTC (permalink / raw
  To: gentoo-commits

commit:     1305c324b3d400fc9d3760d527bce7f8a9f6410f
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 15:57:58 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 15:58:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1305c324

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161110.ebuild => wireguard-0.0.20161116.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 8043aaf..ff0f8db 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161110.tar.xz 119252 SHA256 205478709127c4797b5aa9d6448fae03c10b083404414444bad33e62a609e48f SHA512 65009af6d484fa74a0c943b7c54c15ba46e1593352eef1ef2405b9b35c38118f6b5d47710d014f5ac399e9b7c12f99d2b2c7cec7de48fca7e9e05d798f7a399c WHIRLPOOL a3bc67f1ef15ee76a959a01d2923feee05fc5cca4e05058f1a3c8752cfd1792698aae8868f894e48c9d9f0d732e2be32c792a6db70b3152e265763cd29d63eb1
+DIST WireGuard-experimental-0.0.20161116.tar.xz 119836 SHA256 783a174c06c70987e43d1e1258df9e44a846b19b13395b34161fc7668259184d SHA512 f216a1e6605ed6f68d4900e440ee5ed966bb798a7e69c4e5661b1cb0460d982a2d2d16814e94da14556b9bbc36d29d17cb56c8f6ddebd56d67d2da15c6faec0c WHIRLPOOL b0d7abe03860be03c7edc5a608e5c1d8de84e82f252fbb838ebc5780851792f28f0a16d63e95233a5050cd3373a83a8222e67d433d5706cf5bc2c905b14cfb82

diff --git a/net-misc/wireguard/wireguard-0.0.20161110.ebuild b/net-misc/wireguard/wireguard-0.0.20161116.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161110.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161116.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-10 20:37 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-10 20:37 UTC (permalink / raw
  To: gentoo-commits

commit:     4a7197792e59d579f217a3c22283bddfc7958162
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 20:36:39 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 20:36:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a719779

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161105.ebuild => wireguard-0.0.20161110.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 8364747..8043aaf 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161105.tar.xz 118864 SHA256 3e98535184a9e00e739c8f2b6cc9b20aea876157e36d72726ca7662c9b5556b5 SHA512 0bd4c986e32cc22a289e5e594fd73aa2681afca1b5a1d0b34bb92c0d10a958f5d1661795c3142f5725e4f16d0dc3222bab424928d3bb41633e849dc4cfe5f166 WHIRLPOOL cfcb7dc9db4be4848ba4aa39a8e08115b8e7038712011bba12b99992431f4a336cad1ddd447dcc2b6ac9797106cf63d1a7d10e0a51bebee241da52b4742b3361
+DIST WireGuard-experimental-0.0.20161110.tar.xz 119252 SHA256 205478709127c4797b5aa9d6448fae03c10b083404414444bad33e62a609e48f SHA512 65009af6d484fa74a0c943b7c54c15ba46e1593352eef1ef2405b9b35c38118f6b5d47710d014f5ac399e9b7c12f99d2b2c7cec7de48fca7e9e05d798f7a399c WHIRLPOOL a3bc67f1ef15ee76a959a01d2923feee05fc5cca4e05058f1a3c8752cfd1792698aae8868f894e48c9d9f0d732e2be32c792a6db70b3152e265763cd29d63eb1

diff --git a/net-misc/wireguard/wireguard-0.0.20161105.ebuild b/net-misc/wireguard/wireguard-0.0.20161110.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161105.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161110.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-07 13:42 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-07 13:42 UTC (permalink / raw
  To: gentoo-commits

commit:     70367ea5bdc56fc0ed9ce5f51d7f37459c874a79
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  7 13:41:29 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Nov  7 13:42:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70367ea5

net-misc/wireguard: do not clean&build, just build

Package-Manager: portage-2.3.2

 net-misc/wireguard/wireguard-0.0.20161105.ebuild | 1 +
 net-misc/wireguard/wireguard-9999.ebuild         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-misc/wireguard/wireguard-0.0.20161105.ebuild b/net-misc/wireguard/wireguard-0.0.20161105.ebuild
index 0bb51e8..50d9d1c 100644
--- a/net-misc/wireguard/wireguard-0.0.20161105.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20161105.ebuild
@@ -28,6 +28,7 @@ RDEPEND="${DEPEND}"
 
 MODULE_NAMES="wireguard(net:src)"
 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
+BUILD_TARGETS="module"
 CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
 WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
 WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 0bb51e8..50d9d1c 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -28,6 +28,7 @@ RDEPEND="${DEPEND}"
 
 MODULE_NAMES="wireguard(net:src)"
 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
+BUILD_TARGETS="module"
 CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
 WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
 WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-06  1:59 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-06  1:59 UTC (permalink / raw
  To: gentoo-commits

commit:     e830e84d89fedd1b39db32df46eaf46fd7d13c50
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  6 01:59:33 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 01:59:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e830e84d

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161103.ebuild => wireguard-0.0.20161105.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index bc1437e..8364747 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161103.tar.xz 119096 SHA256 e9d6a97002e0b63bb9572bf42037a7f5b67ccad421fec3afac684e4fc5e931ac SHA512 ba76fb3253a735160563cd9492655d979a15b50fe66da13e3e02903f8bbc67a6cd277681bef05022e268189c23d11950d427aa444097714534bef4e448905356 WHIRLPOOL c302a7ece0efdee609c457d0b171bd76a4f5af20c5ac1d6f06b0c46d8244a8ab8489983f5b114967c7f05dc13e846587e45977b97834613e252dbb157c5fd7d2
+DIST WireGuard-experimental-0.0.20161105.tar.xz 118864 SHA256 3e98535184a9e00e739c8f2b6cc9b20aea876157e36d72726ca7662c9b5556b5 SHA512 0bd4c986e32cc22a289e5e594fd73aa2681afca1b5a1d0b34bb92c0d10a958f5d1661795c3142f5725e4f16d0dc3222bab424928d3bb41633e849dc4cfe5f166 WHIRLPOOL cfcb7dc9db4be4848ba4aa39a8e08115b8e7038712011bba12b99992431f4a336cad1ddd447dcc2b6ac9797106cf63d1a7d10e0a51bebee241da52b4742b3361

diff --git a/net-misc/wireguard/wireguard-0.0.20161103.ebuild b/net-misc/wireguard/wireguard-0.0.20161105.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161103.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161105.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-04 16:03 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-04 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     0d827652181dc64c5aaa5862717e83588b860c8a
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 20:41:23 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 16:03:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d827652

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161102.ebuild => wireguard-0.0.20161103.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 6809917..bc1437e 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161102.tar.xz 119144 SHA256 faecddc28dc4261eaf4652e3f7953ed7c81b71acd1b7b173988caa73b38a8f53 SHA512 cb348a68ec4f654a3864e48c9b1615bc6f64ec9f43d1b9ffeb500d85cd7ef2f9700b01280e1352a607fd47c89d16f8caeddd89b82a7b023d6484778298921509 WHIRLPOOL f2e0fb9991551cbced1e7918c295323dcd724c3f4eefeebae4070e1bb6a2b77f516bf521c65bec9d0726bd43247fe79870c8051dea1986b474735b009b5cd5e3
+DIST WireGuard-experimental-0.0.20161103.tar.xz 119096 SHA256 e9d6a97002e0b63bb9572bf42037a7f5b67ccad421fec3afac684e4fc5e931ac SHA512 ba76fb3253a735160563cd9492655d979a15b50fe66da13e3e02903f8bbc67a6cd277681bef05022e268189c23d11950d427aa444097714534bef4e448905356 WHIRLPOOL c302a7ece0efdee609c457d0b171bd76a4f5af20c5ac1d6f06b0c46d8244a8ab8489983f5b114967c7f05dc13e846587e45977b97834613e252dbb157c5fd7d2

diff --git a/net-misc/wireguard/wireguard-0.0.20161102.ebuild b/net-misc/wireguard/wireguard-0.0.20161103.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161102.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161103.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-03 10:51 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-03 10:51 UTC (permalink / raw
  To: gentoo-commits

commit:     195d5882ba9e50528cba4a1c0d6deefb49343132
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 10:51:13 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 10:51:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=195d5882

net-misc/wireguard: use ${ROOT} in log message

Package-Manager: portage-2.3.2

 net-misc/wireguard/wireguard-0.0.20161102.ebuild | 2 +-
 net-misc/wireguard/wireguard-9999.ebuild         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/wireguard/wireguard-0.0.20161102.ebuild b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
index 1137093..0bb51e8 100644
--- a/net-misc/wireguard/wireguard-0.0.20161102.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
@@ -83,7 +83,7 @@ pkg_postinst() {
 	einfo "WireGuard, you may use, for testing purposes only, the insecure client.sh"
 	einfo "test example script:"
 	einfo
-	einfo "  \$ bzcat /usr/share/doc/${PF}/examples/ncat-client-server/client.sh.bz2 | sudo bash -"
+	einfo "  \$ bzcat ${ROOT}usr/share/doc/${PF}/examples/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-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 1137093..0bb51e8 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -83,7 +83,7 @@ pkg_postinst() {
 	einfo "WireGuard, you may use, for testing purposes only, the insecure client.sh"
 	einfo "test example script:"
 	einfo
-	einfo "  \$ bzcat /usr/share/doc/${PF}/examples/ncat-client-server/client.sh.bz2 | sudo bash -"
+	einfo "  \$ bzcat ${ROOT}usr/share/doc/${PF}/examples/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"


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-02 11:36 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-02 11:36 UTC (permalink / raw
  To: gentoo-commits

commit:     2b82bcd3e89990824c84d42c52e95309aea14359
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  2 11:36:11 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Nov  2 11:36:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b82bcd3

net-misc/wireguard: do not glob to find ${S}

Package-Manager: portage-2.3.2

 net-misc/wireguard/wireguard-0.0.20161102.ebuild | 4 ++--
 net-misc/wireguard/wireguard-9999.ebuild         | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/wireguard/wireguard-0.0.20161102.ebuild b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
index b6e88c4..1137093 100644
--- a/net-misc/wireguard/wireguard-0.0.20161102.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
@@ -50,8 +50,8 @@ src_install() {
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
 	if use kmod-src; then
 		dodir /usr/src
-		rm -r "${WORKDIR}"/*/src/tools || die
-		mv "${WORKDIR}"/*/src "${ED}"usr/src/wireguard || die
+		rm -r "${S}"/src/tools || die
+		mv -v "${S}"/src "${ED}"usr/src/wireguard || die
 	else
 		linux-mod_src_install
 	fi

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index b6e88c4..1137093 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -50,8 +50,8 @@ src_install() {
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
 	if use kmod-src; then
 		dodir /usr/src
-		rm -r "${WORKDIR}"/*/src/tools || die
-		mv "${WORKDIR}"/*/src "${ED}"usr/src/wireguard || die
+		rm -r "${S}"/src/tools || die
+		mv -v "${S}"/src "${ED}"usr/src/wireguard || die
 	else
 		linux-mod_src_install
 	fi


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-02 11:32 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-02 11:32 UTC (permalink / raw
  To: gentoo-commits

commit:     2eacdb091f9a5d84db6413d83e9a1a9a35f88dbf
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  2 11:31:36 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Nov  2 11:32:19 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eacdb09

net-misc/wireguard: add kmod-src option

Package-Manager: portage-2.3.2

 net-misc/wireguard/metadata.xml                  |  4 ++++
 net-misc/wireguard/wireguard-0.0.20161102.ebuild | 24 ++++++++++++++++++++----
 net-misc/wireguard/wireguard-9999.ebuild         | 24 ++++++++++++++++++++----
 3 files changed, 44 insertions(+), 8 deletions(-)

diff --git a/net-misc/wireguard/metadata.xml b/net-misc/wireguard/metadata.xml
index 915f002..aa8747f 100644
--- a/net-misc/wireguard/metadata.xml
+++ b/net-misc/wireguard/metadata.xml
@@ -5,4 +5,8 @@
 		<email>zx2c4@gentoo.org</email>
 		<name>Jason A. Donenfeld</name>
 	</maintainer>
+	<use>
+		<flag name="kmod-src">Do not compile the kernel module. Instead install the kernel module source code to /usr/src/wireguard.</flag>
+		<flag name="debug">Enable verbose debug reporting in dmesg of various WireGuard peer and device information.</flag>
+	</use>
 </pkgmetadata>

diff --git a/net-misc/wireguard/wireguard-0.0.20161102.ebuild b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
index 642325b..b6e88c4 100644
--- a/net-misc/wireguard/wireguard-0.0.20161102.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug"
+IUSE="debug kmod-src"
 
 DEPEND="net-libs/libmnl"
 RDEPEND="${DEPEND}"
@@ -33,27 +33,43 @@ WARNING_PADATA="If you're running a multicore system you likely should enable CO
 WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
 
 pkg_setup() {
+	use kmod-src && return
 	linux-mod_pkg_setup
 	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
 }
 
 src_compile() {
 	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-	linux-mod_src_compile
+	use kmod-src || linux-mod_src_compile
 	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }
 
 src_install() {
 	dodoc README.md
 	dodoc -r contrib/examples
-	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
+	if use kmod-src; then
+		dodir /usr/src
+		rm -r "${WORKDIR}"/*/src/tools || die
+		mv "${WORKDIR}"/*/src "${ED}"usr/src/wireguard || die
+	else
+		linux-mod_src_install
+	fi
 	insinto /$(get_libdir)/netifrc/net
 	newins "${FILESDIR}"/wireguard-openrc.sh wireguard.sh
 }
 
 pkg_postinst() {
-	linux-mod_pkg_postinst
+	if use kmod-src; then
+		einfo
+		einfo "You have enabled the kmod-src USE flag. This means that sources"
+		einfo "are installed to ${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."
+		einfo
+	else
+		linux-mod_pkg_postinst
+	fi
 	ewarn
 	ewarn "This software is experimental and has not yet been released."
 	ewarn "As such, it may contain significant issues. Please do not file"

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 642325b..b6e88c4 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug"
+IUSE="debug kmod-src"
 
 DEPEND="net-libs/libmnl"
 RDEPEND="${DEPEND}"
@@ -33,27 +33,43 @@ WARNING_PADATA="If you're running a multicore system you likely should enable CO
 WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
 
 pkg_setup() {
+	use kmod-src && return
 	linux-mod_pkg_setup
 	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
 }
 
 src_compile() {
 	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
-	linux-mod_src_compile
+	use kmod-src || linux-mod_src_compile
 	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }
 
 src_install() {
 	dodoc README.md
 	dodoc -r contrib/examples
-	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
+	if use kmod-src; then
+		dodir /usr/src
+		rm -r "${WORKDIR}"/*/src/tools || die
+		mv "${WORKDIR}"/*/src "${ED}"usr/src/wireguard || die
+	else
+		linux-mod_src_install
+	fi
 	insinto /$(get_libdir)/netifrc/net
 	newins "${FILESDIR}"/wireguard-openrc.sh wireguard.sh
 }
 
 pkg_postinst() {
-	linux-mod_pkg_postinst
+	if use kmod-src; then
+		einfo
+		einfo "You have enabled the kmod-src USE flag. This means that sources"
+		einfo "are installed to ${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."
+		einfo
+	else
+		linux-mod_pkg_postinst
+	fi
 	ewarn
 	ewarn "This software is experimental and has not yet been released."
 	ewarn "As such, it may contain significant issues. Please do not file"


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-11-02 10:57 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-11-02 10:57 UTC (permalink / raw
  To: gentoo-commits

commit:     0a56796e3a0bc56d47b4c8e59f2f69c1894bd89f
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  2 10:57:40 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Nov  2 10:57:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a56796e

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                          | 2 +-
 .../{wireguard-0.0.20161025.ebuild => wireguard-0.0.20161102.ebuild} | 5 -----
 net-misc/wireguard/wireguard-9999.ebuild                             | 5 -----
 3 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 310cc0e..6809917 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161025.tar.xz 119268 SHA256 433fb84d00afa566d77dcb29f87c30e17c1c9c8dc9a9a0026619addfc6553027 SHA512 b5cce8ddfc1509cbd02c118289995b0820d1ae9e3142efc7d5f2e1b49819a916d12a53ae3d7c60c4eb6ac6e0f91e39be4cdb103a6a131949a761d223fd41abac WHIRLPOOL 3a5931a55c68da372c124da61645c70bbfc77a9638db254d34dd5b2ff1bd13a2dd11f1805bd4e3435fdf3cc29837aeda11b89647d1b876e8df1fbb1115b673bd
+DIST WireGuard-experimental-0.0.20161102.tar.xz 119144 SHA256 faecddc28dc4261eaf4652e3f7953ed7c81b71acd1b7b173988caa73b38a8f53 SHA512 cb348a68ec4f654a3864e48c9b1615bc6f64ec9f43d1b9ffeb500d85cd7ef2f9700b01280e1352a607fd47c89d16f8caeddd89b82a7b023d6484778298921509 WHIRLPOOL f2e0fb9991551cbced1e7918c295323dcd724c3f4eefeebae4070e1bb6a2b77f516bf521c65bec9d0726bd43247fe79870c8051dea1986b474735b009b5cd5e3

diff --git a/net-misc/wireguard/wireguard-0.0.20161025.ebuild b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
similarity index 97%
rename from net-misc/wireguard/wireguard-0.0.20161025.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161102.ebuild
index 86294fa..642325b 100644
--- a/net-misc/wireguard/wireguard-0.0.20161025.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20161102.ebuild
@@ -37,11 +37,6 @@ pkg_setup() {
 	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
 }
 
-src_prepare() {
-	default
-	sed -i 's/install -s/install/' src/tools/Makefile
-}
-
 src_compile() {
 	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
 	linux-mod_src_compile

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 86294fa..642325b 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -37,11 +37,6 @@ pkg_setup() {
 	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
 }
 
-src_prepare() {
-	default
-	sed -i 's/install -s/install/' src/tools/Makefile
-}
-
 src_compile() {
 	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
 	linux-mod_src_compile


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-10-25 13:13 Aaron Bauman
  0 siblings, 0 replies; 41+ messages in thread
From: Aaron Bauman @ 2016-10-25 13:13 UTC (permalink / raw
  To: gentoo-commits

commit:     7241a1ec6d657655d1494e269cde0adc1483cdcd
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 13:12:44 2016 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 13:12:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7241a1ec

net-misc/wireguard: package bump and ebuild cleanup per developers request

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161014.ebuild => wireguard-0.0.20161025.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index c9ea298..310cc0e 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161014.tar.xz 118416 SHA256 687abcd64141cb9d12cc1e65396aeeab45c193e1a9d3acd306d0f2fbad33b4a1 SHA512 d3562d152eb09ac3efb1cf18605c92f6de2154c0c1d1558a304697bff01f20104bb81bfb1901af9d90105f7b99267da848a15f6ec6dd8a82add737b18a04c4d3 WHIRLPOOL 75ea152a536304b258a05d85e28fe07b1c7082d3e3584ae07d3154aef392a25528856158dba70f34769012b44e327ae61a1af6434cd59ee7c84daaea249f015e
+DIST WireGuard-experimental-0.0.20161025.tar.xz 119268 SHA256 433fb84d00afa566d77dcb29f87c30e17c1c9c8dc9a9a0026619addfc6553027 SHA512 b5cce8ddfc1509cbd02c118289995b0820d1ae9e3142efc7d5f2e1b49819a916d12a53ae3d7c60c4eb6ac6e0f91e39be4cdb103a6a131949a761d223fd41abac WHIRLPOOL 3a5931a55c68da372c124da61645c70bbfc77a9638db254d34dd5b2ff1bd13a2dd11f1805bd4e3435fdf3cc29837aeda11b89647d1b876e8df1fbb1115b673bd

diff --git a/net-misc/wireguard/wireguard-0.0.20161014.ebuild b/net-misc/wireguard/wireguard-0.0.20161025.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161014.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161025.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-10-14 16:07 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-10-14 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     fe35ab3e3bd967cd61fc8b83c74a1256138d9652
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 16:07:30 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 16:07:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe35ab3e

net-misc/wireguard: bump

Package-Manager: portage-2.3.2

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20161001.ebuild => wireguard-0.0.20161014.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 05ed241..c9ea298 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20161001.tar.xz 118276 SHA256 ac3abb7b940716ac12b96a2cb3f7666598cbefd26f19c268f627dc47cd113ac8 SHA512 ec86e78bb3a65af621106a8316cfc2b0a4c3815967c4c873dc103aeb82e013bd428f06a7e50d767436dd5a316bf0132638d5ef497a87a86aa230910e556a354b WHIRLPOOL e8a065b73d388533b067f29be41fc509fe31edbbab8ae4b18df199db0beb6cf703d435dedb8e2b4f3cd0a9194c8339bb253d16fb1a7d73bef5382a0fd68eb018
+DIST WireGuard-experimental-0.0.20161014.tar.xz 118416 SHA256 687abcd64141cb9d12cc1e65396aeeab45c193e1a9d3acd306d0f2fbad33b4a1 SHA512 d3562d152eb09ac3efb1cf18605c92f6de2154c0c1d1558a304697bff01f20104bb81bfb1901af9d90105f7b99267da848a15f6ec6dd8a82add737b18a04c4d3 WHIRLPOOL 75ea152a536304b258a05d85e28fe07b1c7082d3e3584ae07d3154aef392a25528856158dba70f34769012b44e327ae61a1af6434cd59ee7c84daaea249f015e

diff --git a/net-misc/wireguard/wireguard-0.0.20161001.ebuild b/net-misc/wireguard/wireguard-0.0.20161014.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20161001.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161014.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-09-30 23:36 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-09-30 23:36 UTC (permalink / raw
  To: gentoo-commits

commit:     9297deea7f82a49e0e69fd45ffa6d99588559a06
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 23:36:09 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 23:36:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9297deea

net-misc/wireguard: version bump

Package-Manager: portage-2.3.1

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20160808.ebuild => wireguard-0.0.20161001.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index a074eff..05ed241 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160808.tar.xz 112736 SHA256 1cf6eb537432c8282b97da1c53bab015acaea07054c513a79575fe86624f3a7d SHA512 04313ccd0e6a9d9e1eb9e1081567b9cac9fb5a1c431c9feadbcff8b8e89884f715e7a101344f5eef3df7b8b8f8d82878001e1f7f54930b194de6bb690a84723f WHIRLPOOL 65ec94a185ba1944b0f39162a9da8acdf7467e1c13fe0fb70b69ecab9ee1259c6359b5b6debf72fe8b9e1ffe88b040389433256d1aa92d7fe4a9fa6184151588
+DIST WireGuard-experimental-0.0.20161001.tar.xz 118276 SHA256 ac3abb7b940716ac12b96a2cb3f7666598cbefd26f19c268f627dc47cd113ac8 SHA512 ec86e78bb3a65af621106a8316cfc2b0a4c3815967c4c873dc103aeb82e013bd428f06a7e50d767436dd5a316bf0132638d5ef497a87a86aa230910e556a354b WHIRLPOOL e8a065b73d388533b067f29be41fc509fe31edbbab8ae4b18df199db0beb6cf703d435dedb8e2b4f3cd0a9194c8339bb253d16fb1a7d73bef5382a0fd68eb018

diff --git a/net-misc/wireguard/wireguard-0.0.20160808.ebuild b/net-misc/wireguard/wireguard-0.0.20161001.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20160808.ebuild
rename to net-misc/wireguard/wireguard-0.0.20161001.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-08-08 16:01 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-08-08 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     3a9511c839bcba8ca0498fe6454d914fe35c2e04
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  8 16:00:41 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 16:00:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9511c8

net-misc/wireguard: bump version

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20160722.ebuild => wireguard-0.0.20160808.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 40e1013..a074eff 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160722.tar.xz 109072 SHA256 0dcda97b6bb4e962f731a863df9b4291c1c453b01f4faba78be4aaa13a594242 SHA512 4faa3e9ea8eb5a0417bb8f3cf6474cc5976284f4fb143ed93b48d7cf85ce26326985e8f313d889048b2885520226f1621bcbeb350770e05f720e25ac846d5327 WHIRLPOOL 1313e9d6c1f77cbf4038aa0fc6522971b32b12231d6cd4c4c03b4bb2ed67bdf8e839212163ff012369c36e05f18ac93b7361b297d673c1cf38775f20b04ecfa3
+DIST WireGuard-experimental-0.0.20160808.tar.xz 112736 SHA256 1cf6eb537432c8282b97da1c53bab015acaea07054c513a79575fe86624f3a7d SHA512 04313ccd0e6a9d9e1eb9e1081567b9cac9fb5a1c431c9feadbcff8b8e89884f715e7a101344f5eef3df7b8b8f8d82878001e1f7f54930b194de6bb690a84723f WHIRLPOOL 65ec94a185ba1944b0f39162a9da8acdf7467e1c13fe0fb70b69ecab9ee1259c6359b5b6debf72fe8b9e1ffe88b040389433256d1aa92d7fe4a9fa6184151588

diff --git a/net-misc/wireguard/wireguard-0.0.20160722.ebuild b/net-misc/wireguard/wireguard-0.0.20160808.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20160722.ebuild
rename to net-misc/wireguard/wireguard-0.0.20160808.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-26 15:15 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-26 15:15 UTC (permalink / raw
  To: gentoo-commits

commit:     5a4a61b6aa994b37029319ebb5495e369c7aaeb5
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 15:15:26 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 15:15:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a4a61b6

net-misc/wireguard: prepend build_params instead of clobbering

Package-Manager: portage-2.3.0

 net-misc/wireguard/wireguard-0.0.20160722.ebuild | 2 +-
 net-misc/wireguard/wireguard-9999.ebuild         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/wireguard/wireguard-0.0.20160722.ebuild b/net-misc/wireguard/wireguard-0.0.20160722.ebuild
index 108e0dc..83e13fc 100644
--- a/net-misc/wireguard/wireguard-0.0.20160722.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160722.ebuild
@@ -43,7 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
-	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y"
+	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
 	linux-mod_src_compile
 	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 108e0dc..83e13fc 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -43,7 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
-	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y"
+	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
 	linux-mod_src_compile
 	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-25 23:16 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-25 23:16 UTC (permalink / raw
  To: gentoo-commits

commit:     f62442f8351e18ba60b10b275a75820fac877011
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 23:16:20 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 23:16:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62442f8

net-misc/wireguard: add debug USE flag

Package-Manager: portage-2.3.0

 net-misc/wireguard/wireguard-0.0.20160722.ebuild | 3 ++-
 net-misc/wireguard/wireguard-9999.ebuild         | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/wireguard/wireguard-0.0.20160722.ebuild b/net-misc/wireguard/wireguard-0.0.20160722.ebuild
index ecbf8d1..108e0dc 100644
--- a/net-misc/wireguard/wireguard-0.0.20160722.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160722.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE=""
+IUSE="debug"
 
 DEPEND="net-libs/libmnl"
 RDEPEND="${DEPEND}"
@@ -43,6 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
+	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y"
 	linux-mod_src_compile
 	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index ecbf8d1..108e0dc 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -21,7 +21,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE=""
+IUSE="debug"
 
 DEPEND="net-libs/libmnl"
 RDEPEND="${DEPEND}"
@@ -43,6 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
+	use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y"
 	linux-mod_src_compile
 	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-22 19:20 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-22 19:20 UTC (permalink / raw
  To: gentoo-commits

commit:     18ef717f551149928ce72034e6d00271e361c0b8
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 22 19:20:29 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 19:20:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ef717f

net-misc/wireguard: version bump

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20160721.ebuild => wireguard-0.0.20160722.ebuild}    | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 1ae6f35..40e1013 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160721.tar.xz 109004 SHA256 af4fc72a8dab1a5f966cc2a2be1f0d329932b32df64c1a5dc226f5c2e31ffa25 SHA512 c45d727d58c5d3ba45215aab13ea4fa44e356eaa5dee113634cd9362e57b70331c3758ddccd97af40008d0e54089b51d5bbd961c303313ff560aa55f093d2ec5 WHIRLPOOL db95e24d2b79a0c63af6d065126cbfcaef93faf466f7c63d605dfb1a57f168589c0bba43a0ffaee1536972be760c946efd431f2c1418f5da7e51d0a1e829b4d7
+DIST WireGuard-experimental-0.0.20160722.tar.xz 109072 SHA256 0dcda97b6bb4e962f731a863df9b4291c1c453b01f4faba78be4aaa13a594242 SHA512 4faa3e9ea8eb5a0417bb8f3cf6474cc5976284f4fb143ed93b48d7cf85ce26326985e8f313d889048b2885520226f1621bcbeb350770e05f720e25ac846d5327 WHIRLPOOL 1313e9d6c1f77cbf4038aa0fc6522971b32b12231d6cd4c4c03b4bb2ed67bdf8e839212163ff012369c36e05f18ac93b7361b297d673c1cf38775f20b04ecfa3

diff --git a/net-misc/wireguard/wireguard-0.0.20160721.ebuild b/net-misc/wireguard/wireguard-0.0.20160722.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20160721.ebuild
rename to net-misc/wireguard/wireguard-0.0.20160722.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-21  9:46 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-21  9:46 UTC (permalink / raw
  To: gentoo-commits

commit:     6104bc0a791c9c9cf30fd716e0b56d69629e557e
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 09:45:47 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 09:46:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6104bc0a

net-misc/wireguard: version bump

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                                          | 2 +-
 .../{wireguard-0.0.20160711.ebuild => wireguard-0.0.20160721.ebuild} | 5 +++--
 net-misc/wireguard/wireguard-9999.ebuild                             | 5 +++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index d9809bd..1ae6f35 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160711.tar.xz 105808 SHA256 4ab876642236abcac416f7b75cf5e9e28b8581d5b7741d36a437af08c42d8081 SHA512 7405ab5d6fd176a72813d57cd9d5fc3ff5043ee9d476d86071c287e207ed784a6991457417cc05c930e966da109662c3ee2d6c035c68488c7f623a4f7f8514ad WHIRLPOOL 3a3c7b6a80b09f5d933bbdd9a61c96d56a81927971361628a3f5541b8b3dedf45e4c5cf07559bb0d1dc65fc329b812ed57b74a88a8d37443822c567418b6a0ed
+DIST WireGuard-experimental-0.0.20160721.tar.xz 109004 SHA256 af4fc72a8dab1a5f966cc2a2be1f0d329932b32df64c1a5dc226f5c2e31ffa25 SHA512 c45d727d58c5d3ba45215aab13ea4fa44e356eaa5dee113634cd9362e57b70331c3758ddccd97af40008d0e54089b51d5bbd961c303313ff560aa55f093d2ec5 WHIRLPOOL db95e24d2b79a0c63af6d065126cbfcaef93faf466f7c63d605dfb1a57f168589c0bba43a0ffaee1536972be760c946efd431f2c1418f5da7e51d0a1e829b4d7

diff --git a/net-misc/wireguard/wireguard-0.0.20160711.ebuild b/net-misc/wireguard/wireguard-0.0.20160721.ebuild
similarity index 91%
rename from net-misc/wireguard/wireguard-0.0.20160711.ebuild
rename to net-misc/wireguard/wireguard-0.0.20160721.ebuild
index ab901cd..ecbf8d1 100644
--- a/net-misc/wireguard/wireguard-0.0.20160711.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160721.ebuild
@@ -28,8 +28,9 @@ RDEPEND="${DEPEND}"
 
 MODULE_NAMES="wireguard(net:src)"
 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA"
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
 WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
 
 pkg_setup() {
 	linux-mod_pkg_setup
@@ -43,7 +44,7 @@ src_prepare() {
 
 src_compile() {
 	linux-mod_src_compile
-	emake -C src/tools
+	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }
 
 src_install() {

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index ab901cd..ecbf8d1 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -28,8 +28,9 @@ RDEPEND="${DEPEND}"
 
 MODULE_NAMES="wireguard(net:src)"
 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
-CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA"
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA ~IP6_NF_IPTABLES"
 WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+WARNING_IP6_NF_IPTABLES="If your kernel has CONFIG_IPV6, you need CONFIG_IP6_NF_IPTABLES; otherwise WireGuard will not insert."
 
 pkg_setup() {
 	linux-mod_pkg_setup
@@ -43,7 +44,7 @@ src_prepare() {
 
 src_compile() {
 	linux-mod_src_compile
-	emake -C src/tools
+	emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-15 14:44 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-15 14:44 UTC (permalink / raw
  To: gentoo-commits

commit:     e41adc5a07da69e7ea6724f708640439506898f9
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 14:43:37 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 14:44:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e41adc5a

net-misc/wireguard: improve dependencies

Package-Manager: portage-2.3.0

 net-misc/wireguard/wireguard-0.0.20160711.ebuild | 7 ++-----
 net-misc/wireguard/wireguard-9999.ebuild         | 7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/net-misc/wireguard/wireguard-0.0.20160711.ebuild b/net-misc/wireguard/wireguard-0.0.20160711.ebuild
index f1bef43..ab901cd 100644
--- a/net-misc/wireguard/wireguard-0.0.20160711.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160711.ebuild
@@ -28,11 +28,8 @@ RDEPEND="${DEPEND}"
 
 MODULE_NAMES="wireguard(net:src)"
 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
-CONFIG_CHECK="NET_UDP_TUNNEL IPV6 NETFILTER_XT_MATCH_HASHLIMIT ~PADATA"
-ERROR_NET_UDP_TUNNEL="WireGuard requires NET_UDP_TUNNEL."
-ERROR_IPV6="WireGuard requires IPV6 support in the kernel."
-ERROR_NETFILTER_XT_MATCH_HASHLIMIT="WireGuard requires NETFILTER_XT_MATCH_HASHLIMIT."
-ERROR_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA"
+WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
 
 pkg_setup() {
 	linux-mod_pkg_setup

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index f1bef43..ab901cd 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -28,11 +28,8 @@ RDEPEND="${DEPEND}"
 
 MODULE_NAMES="wireguard(net:src)"
 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
-CONFIG_CHECK="NET_UDP_TUNNEL IPV6 NETFILTER_XT_MATCH_HASHLIMIT ~PADATA"
-ERROR_NET_UDP_TUNNEL="WireGuard requires NET_UDP_TUNNEL."
-ERROR_IPV6="WireGuard requires IPV6 support in the kernel."
-ERROR_NETFILTER_XT_MATCH_HASHLIMIT="WireGuard requires NETFILTER_XT_MATCH_HASHLIMIT."
-ERROR_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+CONFIG_CHECK="NET INET NET_UDP_TUNNEL NF_CONNTRACK NETFILTER_XT_MATCH_HASHLIMIT CRYPTO_BLKCIPHER ~PADATA"
+WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
 
 pkg_setup() {
 	linux-mod_pkg_setup


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-11 10:21 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-11 10:21 UTC (permalink / raw
  To: gentoo-commits

commit:     86532765f23d2c3728e00044408fb86619c3e9d5
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 10:21:08 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 10:21:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86532765

net-misc/wireguard: snapshot bump

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20160708.1.ebuild => wireguard-0.0.20160711.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 686140c..d9809bd 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160708.1.tar.xz 105184 SHA256 11faf795dd45ff0d13cdd204775b07e01fda596b4a9c2a1b326614c226e9725d SHA512 456089a6d170144aa9e5f8faf8e59a1acb31c340ccd150cf7d510e6792658ded3851ad94190c357fb03e9e53d9438efe75706a8b0c4da5fbf394853e4dbabe18 WHIRLPOOL e4fb2a3e4fa7a267dcf111784cb73007528335e57fda17897f74f57ac15fbff23269a52bf5df50b285770ff81292e2e94edb4a344f8df5c4c80036b6aa7b2182
+DIST WireGuard-experimental-0.0.20160711.tar.xz 105808 SHA256 4ab876642236abcac416f7b75cf5e9e28b8581d5b7741d36a437af08c42d8081 SHA512 7405ab5d6fd176a72813d57cd9d5fc3ff5043ee9d476d86071c287e207ed784a6991457417cc05c930e966da109662c3ee2d6c035c68488c7f623a4f7f8514ad WHIRLPOOL 3a3c7b6a80b09f5d933bbdd9a61c96d56a81927971361628a3f5541b8b3dedf45e4c5cf07559bb0d1dc65fc329b812ed57b74a88a8d37443822c567418b6a0ed

diff --git a/net-misc/wireguard/wireguard-0.0.20160708.1.ebuild b/net-misc/wireguard/wireguard-0.0.20160711.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20160708.1.ebuild
rename to net-misc/wireguard/wireguard-0.0.20160711.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-08 14:38 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-08 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     12ce8158df19b7ea8706d20c66bb51cf376b6e89
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 14:38:49 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 14:39:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ce8158

net-misc/wireguard: snapshot bump

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20160708.ebuild => wireguard-0.0.20160708.1.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 9f2b117..686140c 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160708.tar.xz 105352 SHA256 3eeabf36f2c8391f5f1622b727fa5bb7b6b66a0de874f621904ee5b56e50fec1 SHA512 bcbb9ede04a936ab5b60f02be8acf25c01f3ef6aee1495a671d07b7cb8f226d2f4154be149b543fd780738ce6c812526e806f49ea1a0af6dd94db2c06f33e680 WHIRLPOOL 52760bd1f3dd87e28168a8188a11d0e2a4504a97eee0df44f9292b7c0d8acf256f0f7a267697c28be018942c66813dbfa6b75de91af1a2cbc58e69e0d6eee18b
+DIST WireGuard-experimental-0.0.20160708.1.tar.xz 105184 SHA256 11faf795dd45ff0d13cdd204775b07e01fda596b4a9c2a1b326614c226e9725d SHA512 456089a6d170144aa9e5f8faf8e59a1acb31c340ccd150cf7d510e6792658ded3851ad94190c357fb03e9e53d9438efe75706a8b0c4da5fbf394853e4dbabe18 WHIRLPOOL e4fb2a3e4fa7a267dcf111784cb73007528335e57fda17897f74f57ac15fbff23269a52bf5df50b285770ff81292e2e94edb4a344f8df5c4c80036b6aa7b2182

diff --git a/net-misc/wireguard/wireguard-0.0.20160708.ebuild b/net-misc/wireguard/wireguard-0.0.20160708.1.ebuild
similarity index 100%
rename from net-misc/wireguard/wireguard-0.0.20160708.ebuild
rename to net-misc/wireguard/wireguard-0.0.20160708.1.ebuild


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-08 11:45 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-08 11:45 UTC (permalink / raw
  To: gentoo-commits

commit:     0de9d67cd669435f7e1626d9b5a793958c4b97ec
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 11:44:30 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 11:45:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0de9d67c

net-misc/wireguard: add client.sh instructions

Package-Manager: portage-2.3.0

 net-misc/wireguard/wireguard-0.0.20160708.ebuild | 22 +++++++++++++++++++++-
 net-misc/wireguard/wireguard-9999.ebuild         | 22 +++++++++++++++++++++-
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/net-misc/wireguard/wireguard-0.0.20160708.ebuild b/net-misc/wireguard/wireguard-0.0.20160708.ebuild
index 671d4bb..f1bef43 100644
--- a/net-misc/wireguard/wireguard-0.0.20160708.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160708.ebuild
@@ -51,7 +51,6 @@ src_compile() {
 
 src_install() {
 	dodoc README.md
-	docompress -x /usr/share/doc/${PF}/examples
 	dodoc -r contrib/examples
 	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
@@ -66,4 +65,25 @@ pkg_postinst() {
 	ewarn
 	ewarn "    team@wireguard.io    security@wireguard.io"
 	ewarn
+
+	einfo
+	einfo "After installing WireGuard, if you'd like to try sending some packets through"
+	einfo "WireGuard, you may use, for testing purposes only, the insecure client.sh"
+	einfo "test example script:"
+	einfo
+	einfo "  \$ bzcat /usr/share/doc/${PF}/examples/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"
+	einfo "hidden website or sending pings:"
+	einfo
+	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.io/quickstart/"
+	einfo
 }

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 671d4bb..f1bef43 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -51,7 +51,6 @@ src_compile() {
 
 src_install() {
 	dodoc README.md
-	docompress -x /usr/share/doc/${PF}/examples
 	dodoc -r contrib/examples
 	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
@@ -66,4 +65,25 @@ pkg_postinst() {
 	ewarn
 	ewarn "    team@wireguard.io    security@wireguard.io"
 	ewarn
+
+	einfo
+	einfo "After installing WireGuard, if you'd like to try sending some packets through"
+	einfo "WireGuard, you may use, for testing purposes only, the insecure client.sh"
+	einfo "test example script:"
+	einfo
+	einfo "  \$ bzcat /usr/share/doc/${PF}/examples/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"
+	einfo "hidden website or sending pings:"
+	einfo
+	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.io/quickstart/"
+	einfo
 }


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-08 11:35 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-08 11:35 UTC (permalink / raw
  To: gentoo-commits

commit:     76d304ed77de7b5be4da8e5fe20fd6211cf16633
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 11:35:34 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 11:35:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d304ed

net-misc/wireguard: snapshot bump

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                                             | 2 +-
 .../{wireguard-0.0.20160630.ebuild => wireguard-0.0.20160708.ebuild}    | 2 ++
 net-misc/wireguard/wireguard-9999.ebuild                                | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index 0d95678..9f2b117 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST WireGuard-experimental-0.0.20160630.tar.xz 104524 SHA256 2c9613a8c29c0703fcd56fa83f0d2fbab61ff56dee03dd298b6ceff56eeee84b SHA512 26a06efad8ace4e8826a54ce1a5934a87d6e15294236e2a5566edcfc5a13583099936ba3f6540a7cd375630f3a9f518e24c2c374b759fe3f274358e328975ebc WHIRLPOOL 1d0bd3e01a9793c5b6b4406d481e29199aabc47e382fa683ff8ea748d63bbabb5450a5db8f7057fed7ef1c0a8e16905dbbc89b4f5da83e486258727323867931
+DIST WireGuard-experimental-0.0.20160708.tar.xz 105352 SHA256 3eeabf36f2c8391f5f1622b727fa5bb7b6b66a0de874f621904ee5b56e50fec1 SHA512 bcbb9ede04a936ab5b60f02be8acf25c01f3ef6aee1495a671d07b7cb8f226d2f4154be149b543fd780738ce6c812526e806f49ea1a0af6dd94db2c06f33e680 WHIRLPOOL 52760bd1f3dd87e28168a8188a11d0e2a4504a97eee0df44f9292b7c0d8acf256f0f7a267697c28be018942c66813dbfa6b75de91af1a2cbc58e69e0d6eee18b

diff --git a/net-misc/wireguard/wireguard-0.0.20160630.ebuild b/net-misc/wireguard/wireguard-0.0.20160708.ebuild
similarity index 96%
rename from net-misc/wireguard/wireguard-0.0.20160630.ebuild
rename to net-misc/wireguard/wireguard-0.0.20160708.ebuild
index bf0d3a6..671d4bb 100644
--- a/net-misc/wireguard/wireguard-0.0.20160630.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160708.ebuild
@@ -51,6 +51,8 @@ src_compile() {
 
 src_install() {
 	dodoc README.md
+	docompress -x /usr/share/doc/${PF}/examples
+	dodoc -r contrib/examples
 	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
 }

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index bf0d3a6..671d4bb 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -51,6 +51,8 @@ src_compile() {
 
 src_install() {
 	dodoc README.md
+	docompress -x /usr/share/doc/${PF}/examples
+	dodoc -r contrib/examples
 	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
 }


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-07-01  2:48 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-07-01  2:48 UTC (permalink / raw
  To: gentoo-commits

commit:     f6b0a395221701849bdadbfd0b6a7d5ecc0ac641
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 02:47:23 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 02:47:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b0a395

net-misc/wireguard: src change

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                      | 2 +-
 net-misc/wireguard/wireguard-0.0.20160630.ebuild | 4 ++--
 net-misc/wireguard/wireguard-9999.ebuild         | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
index f84ac3e..0d95678 100644
--- a/net-misc/wireguard/Manifest
+++ b/net-misc/wireguard/Manifest
@@ -1 +1 @@
-DIST wireguard-0.0.20160630.tar.xz 104612 SHA256 701c9be1d4bb905d10be5dc14b71f7e84e8dcf6e8a8aa77cd7be97b4c3b13218 SHA512 3916b902fa36ea2b00ceaf15d9520d42258fc67ffbb44a7f1f1ebe4ae4f3fcca55cc1f90f8c59f0c640df6ec8618114c71b49785bf70ba52458dfa7c1d2e5055 WHIRLPOOL 03b90ad83e71a915c736b68c1e8acda8d11509042e488a148a1f4540b9f45ffc99a32db43f5360ee7da6d79d11df48c49c5260acc67b2b1c3d169475edcd656c
+DIST WireGuard-experimental-0.0.20160630.tar.xz 104524 SHA256 2c9613a8c29c0703fcd56fa83f0d2fbab61ff56dee03dd298b6ceff56eeee84b SHA512 26a06efad8ace4e8826a54ce1a5934a87d6e15294236e2a5566edcfc5a13583099936ba3f6540a7cd375630f3a9f518e24c2c374b759fe3f274358e328975ebc WHIRLPOOL 1d0bd3e01a9793c5b6b4406d481e29199aabc47e382fa683ff8ea748d63bbabb5450a5db8f7057fed7ef1c0a8e16905dbbc89b4f5da83e486258727323867931

diff --git a/net-misc/wireguard/wireguard-0.0.20160630.ebuild b/net-misc/wireguard/wireguard-0.0.20160630.ebuild
index 637d226..bf0d3a6 100644
--- a/net-misc/wireguard/wireguard-0.0.20160630.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160630.ebuild
@@ -14,8 +14,8 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz"
-	S="${WORKDIR}/experimental/${PV}"
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-${PV}.tar.xz"
+	S="${WORKDIR}/WireGuard-experimental-${PV}"
 	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
 fi
 

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 637d226..bf0d3a6 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -14,8 +14,8 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz"
-	S="${WORKDIR}/experimental/${PV}"
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-${PV}.tar.xz"
+	S="${WORKDIR}/WireGuard-experimental-${PV}"
 	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
 fi
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-06-30 18:41 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-06-30 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     7f9af705e3d66837cb0f06f6b7b14cee19f4c096
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 18:41:09 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 18:41:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9af705

net-misc/wireguard: snapshot

Package-Manager: portage-2.3.0

 net-misc/wireguard/Manifest                              |  1 +
 ...reguard-9999.ebuild => wireguard-0.0.20160630.ebuild} | 16 ++++++++++++++--
 net-misc/wireguard/wireguard-9999.ebuild                 | 16 ++++++++++++++--
 3 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
new file mode 100644
index 0000000..f84ac3e
--- /dev/null
+++ b/net-misc/wireguard/Manifest
@@ -0,0 +1 @@
+DIST wireguard-0.0.20160630.tar.xz 104612 SHA256 701c9be1d4bb905d10be5dc14b71f7e84e8dcf6e8a8aa77cd7be97b4c3b13218 SHA512 3916b902fa36ea2b00ceaf15d9520d42258fc67ffbb44a7f1f1ebe4ae4f3fcca55cc1f90f8c59f0c640df6ec8618114c71b49785bf70ba52458dfa7c1d2e5055 WHIRLPOOL 03b90ad83e71a915c736b68c1e8acda8d11509042e488a148a1f4540b9f45ffc99a32db43f5360ee7da6d79d11df48c49c5260acc67b2b1c3d169475edcd656c

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-0.0.20160630.ebuild
similarity index 72%
copy from net-misc/wireguard/wireguard-9999.ebuild
copy to net-misc/wireguard/wireguard-0.0.20160630.ebuild
index 4a27f4c..637d226 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-0.0.20160630.ebuild
@@ -14,8 +14,9 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
-	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz"
+	S="${WORKDIR}/experimental/${PV}"
+	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
 fi
 
 LICENSE="GPL-2"
@@ -53,3 +54,14 @@ src_install() {
 	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
 }
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	ewarn
+	ewarn "This software is experimental and has not yet been released."
+	ewarn "As such, it may contain significant issues. Please do not file"
+	ewarn "bug reports with Gentoo, but rather direct them upstream to:"
+	ewarn
+	ewarn "    team@wireguard.io    security@wireguard.io"
+	ewarn
+}

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 4a27f4c..637d226 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -14,8 +14,9 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
 	KEYWORDS=""
 else
-	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
-	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz"
+	S="${WORKDIR}/experimental/${PV}"
+	KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
 fi
 
 LICENSE="GPL-2"
@@ -53,3 +54,14 @@ src_install() {
 	linux-mod_src_install
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
 }
+
+pkg_postinst() {
+	linux-mod_pkg_postinst
+	ewarn
+	ewarn "This software is experimental and has not yet been released."
+	ewarn "As such, it may contain significant issues. Please do not file"
+	ewarn "bug reports with Gentoo, but rather direct them upstream to:"
+	ewarn
+	ewarn "    team@wireguard.io    security@wireguard.io"
+	ewarn
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-06-30  2:19 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-06-30  2:19 UTC (permalink / raw
  To: gentoo-commits

commit:     06ad6b5ec463e780e68f0e7bffcf4f327742b168
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 02:18:50 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 02:19:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ad6b5e

net-misc/wireguard: do not strip binaries on install

 net-misc/wireguard/wireguard-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index bfc0a9c..4a27f4c 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -38,6 +38,11 @@ pkg_setup() {
 	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
 }
 
+src_prepare() {
+	default
+	sed -i 's/install -s/install/' src/tools/Makefile
+}
+
 src_compile() {
 	linux-mod_src_compile
 	emake -C src/tools


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-06-29 14:59 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-06-29 14:59 UTC (permalink / raw
  To: gentoo-commits

commit:     b238a50baf7b929563cd25af1d5bed68e5f5be1c
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 14:59:34 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 14:59:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b238a50b

net-misc/wireguard: fix little details

 net-misc/wireguard/wireguard-9999.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 675c751..bfc0a9c 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit linux-mod linux-info
+inherit linux-mod
 
 DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography."
 HOMEPAGE="https://www.wireguard.io/"
@@ -39,8 +39,8 @@ pkg_setup() {
 }
 
 src_compile() {
-	 linux-mod_src_compile
-	 emake -C src/tools
+	linux-mod_src_compile
+	emake -C src/tools
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
@ 2016-06-29  2:43 Jason Donenfeld
  0 siblings, 0 replies; 41+ messages in thread
From: Jason Donenfeld @ 2016-06-29  2:43 UTC (permalink / raw
  To: gentoo-commits

commit:     4c7d6484b9c99e26ff95316fbb3369cc32c82d55
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 02:43:39 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 02:43:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c7d6484

net-misc/wireguard: new ebuild

Package-Manager: portage-2.3.0

 net-misc/wireguard/metadata.xml          |  8 +++++
 net-misc/wireguard/wireguard-9999.ebuild | 50 ++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/net-misc/wireguard/metadata.xml b/net-misc/wireguard/metadata.xml
new file mode 100644
index 0000000..915f002
--- /dev/null
+++ b/net-misc/wireguard/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zx2c4@gentoo.org</email>
+		<name>Jason A. Donenfeld</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
new file mode 100644
index 0000000..675c751
--- /dev/null
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit linux-mod linux-info
+
+DESCRIPTION="Simple yet fast and modern VPN that utilizes state-of-the-art cryptography."
+HOMEPAGE="https://www.wireguard.io/"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
+	KEYWORDS=""
+else
+	SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="net-libs/libmnl"
+RDEPEND="${DEPEND}"
+
+MODULE_NAMES="wireguard(net:src)"
+BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
+CONFIG_CHECK="NET_UDP_TUNNEL IPV6 NETFILTER_XT_MATCH_HASHLIMIT ~PADATA"
+ERROR_NET_UDP_TUNNEL="WireGuard requires NET_UDP_TUNNEL."
+ERROR_IPV6="WireGuard requires IPV6 support in the kernel."
+ERROR_NETFILTER_XT_MATCH_HASHLIMIT="WireGuard requires NETFILTER_XT_MATCH_HASHLIMIT."
+ERROR_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto."
+
+pkg_setup() {
+	linux-mod_pkg_setup
+	kernel_is -lt 4 1 0 && die "This version of ${PN} requires Linux >= 4.1"
+}
+
+src_compile() {
+	 linux-mod_src_compile
+	 emake -C src/tools
+}
+
+src_install() {
+	dodoc README.md
+	linux-mod_src_install
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2017-02-23 15:31 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-06 18:55 [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/ Jason Donenfeld
  -- strict thread matches above, loose matches on Subject: below --
2017-02-23 15:31 Jason Donenfeld
2017-02-14 11:01 Jason Donenfeld
2017-02-13 21:09 Jason Donenfeld
2017-01-15 12:20 Jason Donenfeld
2017-01-05  3:03 Jason Donenfeld
2017-01-04 19:54 Jason Donenfeld
2016-12-30 17:06 Jason Donenfeld
2016-12-23 20:17 Jason Donenfeld
2016-12-18 17:40 Jason Donenfeld
2016-12-16 16:16 Jason Donenfeld
2016-12-09 21:00 Jason Donenfeld
2016-11-29 22:19 Jason Donenfeld
2016-11-16 20:50 Jason Donenfeld
2016-11-16 15:58 Jason Donenfeld
2016-11-10 20:37 Jason Donenfeld
2016-11-07 13:42 Jason Donenfeld
2016-11-06  1:59 Jason Donenfeld
2016-11-04 16:03 Jason Donenfeld
2016-11-03 10:51 Jason Donenfeld
2016-11-02 11:36 Jason Donenfeld
2016-11-02 11:32 Jason Donenfeld
2016-11-02 10:57 Jason Donenfeld
2016-10-25 13:13 Aaron Bauman
2016-10-14 16:07 Jason Donenfeld
2016-09-30 23:36 Jason Donenfeld
2016-08-08 16:01 Jason Donenfeld
2016-07-26 15:15 Jason Donenfeld
2016-07-25 23:16 Jason Donenfeld
2016-07-22 19:20 Jason Donenfeld
2016-07-21  9:46 Jason Donenfeld
2016-07-15 14:44 Jason Donenfeld
2016-07-11 10:21 Jason Donenfeld
2016-07-08 14:38 Jason Donenfeld
2016-07-08 11:45 Jason Donenfeld
2016-07-08 11:35 Jason Donenfeld
2016-07-01  2:48 Jason Donenfeld
2016-06-30 18:41 Jason Donenfeld
2016-06-30  2:19 Jason Donenfeld
2016-06-29 14:59 Jason Donenfeld
2016-06-29  2:43 Jason Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox