public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/
Date: Thu, 26 Dec 2019 12:50:28 +0000 (UTC)	[thread overview]
Message-ID: <1577364615.c93c44fc621a2bf6690257c6556bec1fa7ec7e02.zx2c4@gentoo> (raw)

commit:     c93c44fc621a2bf6690257c6556bec1fa7ec7e02
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 12:36:58 2019 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 12:50:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c93c44fc

net-vpn/wireguard-tools: add split tools repo at 1.0.20191226

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-vpn/wireguard-tools/Manifest                   |  1 +
 net-vpn/wireguard-tools/metadata.xml               |  8 ++++
 .../wireguard-tools-1.0.20191226.ebuild            | 44 ++++++++++++++++++++++
 .../wireguard-tools/wireguard-tools-9999.ebuild    | 44 ++++++++++++++++++++++
 4 files changed, 97 insertions(+)

diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
new file mode 100644
index 00000000000..f9796e68468
--- /dev/null
+++ b/net-vpn/wireguard-tools/Manifest
@@ -0,0 +1 @@
+DIST wireguard-tools-1.0.20191226.tar.xz 90720 BLAKE2B 303185e7ebf43f98825eaaa8c991be34c9f20a0dbe969306333f9979bfc9cd49b480b9d356560d031cba5f75f663d6cf4c4f6c788fd2b0e3b25b3c7090a1a5b9 SHA512 d0479a6e4c484af13dc90aeca6e7a649e3e83923952d32e0f0a1b1eca42a4bb4c292a1e2bbb4fe49035cebf425352be1e0561cf5ee052ab46596bcc54d6911c8

diff --git a/net-vpn/wireguard-tools/metadata.xml b/net-vpn/wireguard-tools/metadata.xml
new file mode 100644
index 00000000000..915f0022706
--- /dev/null
+++ b/net-vpn/wireguard-tools/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-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
new file mode 100644
index 00000000000..db33e8d6af8
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20191226.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools"
+	KEYWORDS=""
+else
+	SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="net-libs/libmnl"
+RDEPEND="${DEPEND}
+	|| ( net-firewall/nftables net-firewall/iptables )
+	!<=net-vpn/wireguard-0.0.20191219
+"
+
+src_compile() {
+	emake RUNSTATEDIR="${EPREFIX}/run" -C src CC="$(tc-getCC)" LD="$(tc-getLD)"
+}
+
+src_install() {
+	dodoc README.md
+	dodoc -r contrib
+	emake \
+		WITH_BASHCOMPLETION=yes \
+		WITH_SYSTEMDUNITS=yes \
+		WITH_WGQUICK=yes \
+		DESTDIR="${D}" \
+		BASHCOMPDIR="$(get_bashcompdir)" \
+		PREFIX="${EPREFIX}/usr" \
+		-C src install
+}

diff --git a/net-vpn/wireguard-tools/wireguard-tools-9999.ebuild b/net-vpn/wireguard-tools/wireguard-tools-9999.ebuild
new file mode 100644
index 00000000000..db33e8d6af8
--- /dev/null
+++ b/net-vpn/wireguard-tools/wireguard-tools-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
+HOMEPAGE="https://www.wireguard.com/"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools"
+	KEYWORDS=""
+else
+	SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="net-libs/libmnl"
+RDEPEND="${DEPEND}
+	|| ( net-firewall/nftables net-firewall/iptables )
+	!<=net-vpn/wireguard-0.0.20191219
+"
+
+src_compile() {
+	emake RUNSTATEDIR="${EPREFIX}/run" -C src CC="$(tc-getCC)" LD="$(tc-getLD)"
+}
+
+src_install() {
+	dodoc README.md
+	dodoc -r contrib
+	emake \
+		WITH_BASHCOMPLETION=yes \
+		WITH_SYSTEMDUNITS=yes \
+		WITH_WGQUICK=yes \
+		DESTDIR="${D}" \
+		BASHCOMPDIR="$(get_bashcompdir)" \
+		PREFIX="${EPREFIX}/usr" \
+		-C src install
+}


             reply	other threads:[~2019-12-26 12:50 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-26 12:50 Jason A. Donenfeld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-12-26 13:08 [gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/ Jason A. Donenfeld
2019-12-26 16:47 Jason A. Donenfeld
2019-12-27 15:25 Jason A. Donenfeld
2019-12-27 22:56 Jason A. Donenfeld
2019-12-28  8:04 Jason A. Donenfeld
2019-12-28  8:04 Jason A. Donenfeld
2019-12-28  8:04 Jason A. Donenfeld
2019-12-28 15:37 Thomas Deutschmann
2019-12-30  9:32 Jason A. Donenfeld
2020-01-02 18:59 Jason A. Donenfeld
2020-01-21 14:54 Jason A. Donenfeld
2020-02-06 15:29 Jason A. Donenfeld
2020-03-19 22:54 Jason A. Donenfeld
2020-04-03  3:37 Jason A. Donenfeld
2020-04-14  7:58 Agostino Sarubbo
2020-04-14 10:12 Mart Raudsepp
2020-04-14 13:01 Agostino Sarubbo
2020-04-14 13:01 Agostino Sarubbo
2020-04-14 13:02 Agostino Sarubbo
2020-04-14 15:52 Agostino Sarubbo
2020-04-19  8:38 Sergei Trofimovich
2020-04-19  8:38 Sergei Trofimovich
2020-04-27 23:50 Jason A. Donenfeld
2020-05-11  4:32 Jason A. Donenfeld
2020-05-14  0:33 Jason A. Donenfeld
2020-06-19 15:41 Sergei Trofimovich
2020-06-22 22:01 Jason A. Donenfeld
2020-06-25 10:46 Jason A. Donenfeld
2020-06-26 17:43 Agostino Sarubbo
2020-06-27  9:09 Sergei Trofimovich
2020-06-27 20:41 Mart Raudsepp
2020-06-27 20:41 Mart Raudsepp
2020-06-28  7:49 Sergei Trofimovich
2020-06-28 20:30 Agostino Sarubbo
2020-06-28 20:33 Agostino Sarubbo
2020-06-28 20:37 Agostino Sarubbo
2020-06-28 20:56 Thomas Deutschmann
2020-07-21 12:28 Jason A. Donenfeld
2020-07-31 12:12 Jason A. Donenfeld
2020-08-20 10:13 Jason A. Donenfeld
2020-09-08 16:26 Jason A. Donenfeld
2021-02-23 21:09 Jason A. Donenfeld
2021-03-15 14:35 Jason A. Donenfeld
2021-04-24 20:51 Jason A. Donenfeld
2021-04-26 20:54 Sergei Trofimovich
2021-04-27 18:01 Sam James
2021-04-27 18:02 Sam James
2021-04-27 18:09 Sam James
2021-04-27 18:09 Sam James
2021-05-12 23:40 Jason A. Donenfeld
2021-09-13 21:16 Jason A. Donenfeld
2021-09-13 22:48 Jason A. Donenfeld
2021-09-27 22:05 Marek Szuba
2022-02-18 17:42 Arthur Zamarin
2022-02-18 17:42 Arthur Zamarin
2022-02-19  5:20 Sam James
2022-02-19  7:03 Arthur Zamarin
2022-02-19  7:05 Arthur Zamarin
2022-02-19  7:05 Arthur Zamarin
2022-02-20 19:34 Arthur Zamarin
2022-05-05  9:51 WANG Xuerui
2025-05-20 23:22 Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1577364615.c93c44fc621a2bf6690257c6556bec1fa7ec7e02.zx2c4@gentoo \
    --to=zx2c4@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox