public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jason Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
Date: Fri,  8 Jul 2016 11:45:19 +0000 (UTC)	[thread overview]
Message-ID: <1467978331.0de9d67cd669435f7e1626d9b5a793958c4b97ec.zx2c4@gentoo> (raw)

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
 }


             reply	other threads:[~2016-07-08 11:45 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-08 11:45 Jason Donenfeld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-23 15:31 [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/ 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-12-06 18:55 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: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

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=1467978331.0de9d67cd669435f7e1626d9b5a793958c4b97ec.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