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: Tue, 21 Jul 2020 12:28:02 +0000 (UTC)	[thread overview]
Message-ID: <1595334467.501a8da9c33723a26d03718598666e45516ff05a.zx2c4@gentoo> (raw)
commit:     501a8da9c33723a26d03718598666e45516ff05a
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 21 12:27:47 2020 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 12:27:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501a8da9
net-vpn/wireguard-tools: drop old
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
 net-vpn/wireguard-tools/Manifest                   |   1 -
 .../wireguard-tools-1.0.20200319.ebuild            | 101 ---------------------
 2 files changed, 102 deletions(-)
diff --git a/net-vpn/wireguard-tools/Manifest b/net-vpn/wireguard-tools/Manifest
index bf04b880791..b60ce915a97 100644
--- a/net-vpn/wireguard-tools/Manifest
+++ b/net-vpn/wireguard-tools/Manifest
@@ -1,2 +1 @@
-DIST wireguard-tools-1.0.20200319.tar.xz 92324 BLAKE2B 9f514748708ef6a5b7f5b043c9054c954d17bb77de7a354b5a9a4e63cfb5f441237e98b16b288426441a7e709e1874d396cf67b04b38bb0ebbe7822bb32ada57 SHA512 d5bcd153f9b10f184b9a1bf9a81f33a9713ab4863ab5aa190eac60e92919756c8fecbb0d3cfb83bae20ac78fc43fdd7168f37294cdd7c5ee21f2a1b2db5fdf41
 DIST wireguard-tools-1.0.20200513.tar.xz 94500 BLAKE2B 34a39533018416df382d180da76d6494feec1d40208c9df427c1979817dbe138c217fe4c4f4cf5cecd3c4053e6f73f1863d1e0a9ed2cad41899dda5387c15844 SHA512 4d27b262350b6b47843a323c2e7ab8d2bdd48065c265778abdec85b3f6fc92aa9af77d76e368df9cc8e435eae1c0ce50fed52e1d78db54358c1884d34be08d2c
diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild b/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
deleted file mode 100644
index 07fee8d9101..00000000000
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20200319.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info bash-completion-r1 systemd toolchain-funcs
-
-DESCRIPTION="Required tools for WireGuard, such as wg(8) and wg-quick(8)"
-HOMEPAGE="https://www.wireguard.com/"
-
-if [[ ${PV} == 9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.zx2c4.com/wireguard-tools"
-else
-	SRC_URI="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${PV}.tar.xz"
-	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="+wg-quick"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND=""
-RDEPEND="${DEPEND}
-	wg-quick? (
-		|| ( net-firewall/nftables net-firewall/iptables )
-		virtual/resolvconf
-	)
-	!<virtual/wireguard-1
-"
-
-wg_quick_optional_config_nob() {
-	CONFIG_CHECK="$CONFIG_CHECK ~$1"
-	declare -g ERROR_$1="CONFIG_$1: This option is required for automatic routing of default routes inside of wg-quick(8), though it is not required for general WireGuard usage."
-}
-
-pkg_setup() {
-	use wg-quick || return 0
-	wg_quick_optional_config_nob IP_ADVANCED_ROUTER
-	wg_quick_optional_config_nob IP_MULTIPLE_TABLES
-	wg_quick_optional_config_nob IPV6_MULTIPLE_TABLES
-	if has_version net-firewall/nftables; then
-		wg_quick_optional_config_nob NF_TABLES
-		wg_quick_optional_config_nob NF_TABLES_IPV4
-		wg_quick_optional_config_nob NF_TABLES_IPV6
-		wg_quick_optional_config_nob NFT_CT
-		wg_quick_optional_config_nob NFT_FIB
-		wg_quick_optional_config_nob NFT_FIB_IPV4
-		wg_quick_optional_config_nob NFT_FIB_IPV6
-		wg_quick_optional_config_nob NF_CONNTRACK_MARK
-	elif has_version net-firewall/iptables; then
-		wg_quick_optional_config_nob NETFILTER_XTABLES
-		wg_quick_optional_config_nob NETFILTER_XT_MARK
-		wg_quick_optional_config_nob NETFILTER_XT_CONNMARK
-		wg_quick_optional_config_nob NETFILTER_XT_MATCH_COMMENT
-		wg_quick_optional_config_nob NETFILTER_XT_MATCH_ADDRTYPE
-		wg_quick_optional_config_nob IP6_NF_RAW
-		wg_quick_optional_config_nob IP_NF_RAW
-		wg_quick_optional_config_nob IP6_NF_FILTER
-		wg_quick_optional_config_nob IP_NF_FILTER
-	fi
-	linux-info_pkg_setup
-}
-
-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=$(usex wg-quick) \
-		DESTDIR="${D}" \
-		BASHCOMPDIR="$(get_bashcompdir)" \
-		SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \
-		PREFIX="${EPREFIX}/usr" \
-		-C src install
-}
-
-pkg_postinst() {
-	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}/contrib/ncat-client-server/client.sh.bz2 | sudo bash -"
-	einfo
-	einfo "This will automatically setup interface wg0, through a very insecure transport"
-	einfo "that is only suitable for demonstration purposes. You can then try loading the"
-	einfo "hidden website or sending pings:"
-	einfo
-	einfo "  \$ chromium http://192.168.4.1"
-	einfo "  \$ ping 192.168.4.1"
-	einfo
-	einfo "More info on getting started can be found at: https://www.wireguard.com/quickstart/"
-	einfo
-}
next             reply	other threads:[~2020-07-21 12:28 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21 12:28 Jason A. Donenfeld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-07 23:19 [gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard-tools/ Jason A. Donenfeld
2025-05-20 23:22 Jason A. Donenfeld
2022-05-05  9:51 WANG Xuerui
2022-02-20 19:34 Arthur Zamarin
2022-02-19  7:05 Arthur Zamarin
2022-02-19  7:05 Arthur Zamarin
2022-02-19  7:03 Arthur Zamarin
2022-02-19  5:20 Sam James
2022-02-18 17:42 Arthur Zamarin
2022-02-18 17:42 Arthur Zamarin
2021-09-27 22:05 Marek Szuba
2021-09-13 22:48 Jason A. Donenfeld
2021-09-13 21:16 Jason A. Donenfeld
2021-05-12 23:40 Jason A. Donenfeld
2021-04-27 18:09 Sam James
2021-04-27 18:09 Sam James
2021-04-27 18:02 Sam James
2021-04-27 18:01 Sam James
2021-04-26 20:54 Sergei Trofimovich
2021-04-24 20:51 Jason A. Donenfeld
2021-03-15 14:35 Jason A. Donenfeld
2021-02-23 21:09 Jason A. Donenfeld
2020-09-08 16:26 Jason A. Donenfeld
2020-08-20 10:13 Jason A. Donenfeld
2020-07-31 12:12 Jason A. Donenfeld
2020-06-28 20:56 Thomas Deutschmann
2020-06-28 20:37 Agostino Sarubbo
2020-06-28 20:33 Agostino Sarubbo
2020-06-28 20:30 Agostino Sarubbo
2020-06-28  7:49 Sergei Trofimovich
2020-06-27 20:41 Mart Raudsepp
2020-06-27 20:41 Mart Raudsepp
2020-06-27  9:09 Sergei Trofimovich
2020-06-26 17:43 Agostino Sarubbo
2020-06-25 10:46 Jason A. Donenfeld
2020-06-22 22:01 Jason A. Donenfeld
2020-06-19 15:41 Sergei Trofimovich
2020-05-14  0:33 Jason A. Donenfeld
2020-05-11  4:32 Jason A. Donenfeld
2020-04-27 23:50 Jason A. Donenfeld
2020-04-19  8:38 Sergei Trofimovich
2020-04-19  8:38 Sergei Trofimovich
2020-04-14 15:52 Agostino Sarubbo
2020-04-14 13:02 Agostino Sarubbo
2020-04-14 13:01 Agostino Sarubbo
2020-04-14 13:01 Agostino Sarubbo
2020-04-14 10:12 Mart Raudsepp
2020-04-14  7:58 Agostino Sarubbo
2020-04-03  3:37 Jason A. Donenfeld
2020-03-19 22:54 Jason A. Donenfeld
2020-02-06 15:29 Jason A. Donenfeld
2020-01-21 14:54 Jason A. Donenfeld
2020-01-02 18:59 Jason A. Donenfeld
2019-12-30  9:32 Jason A. Donenfeld
2019-12-28 15:37 Thomas Deutschmann
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-27 22:56 Jason A. Donenfeld
2019-12-27 15:25 Jason A. Donenfeld
2019-12-26 16:47 Jason A. Donenfeld
2019-12-26 13:08 Jason A. Donenfeld
2019-12-26 12:50 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=1595334467.501a8da9c33723a26d03718598666e45516ff05a.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