Gentoo Archives: gentoo-commits

From: Jason Donenfeld <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wireguard/
Date: Fri, 08 Jul 2016 11:45:23
Message-Id: 1467978331.0de9d67cd669435f7e1626d9b5a793958c4b97ec.zx2c4@gentoo
1 commit: 0de9d67cd669435f7e1626d9b5a793958c4b97ec
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 8 11:44:30 2016 +0000
4 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 8 11:45:31 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0de9d67c
7
8 net-misc/wireguard: add client.sh instructions
9
10 Package-Manager: portage-2.3.0
11
12 net-misc/wireguard/wireguard-0.0.20160708.ebuild | 22 +++++++++++++++++++++-
13 net-misc/wireguard/wireguard-9999.ebuild | 22 +++++++++++++++++++++-
14 2 files changed, 42 insertions(+), 2 deletions(-)
15
16 diff --git a/net-misc/wireguard/wireguard-0.0.20160708.ebuild b/net-misc/wireguard/wireguard-0.0.20160708.ebuild
17 index 671d4bb..f1bef43 100644
18 --- a/net-misc/wireguard/wireguard-0.0.20160708.ebuild
19 +++ b/net-misc/wireguard/wireguard-0.0.20160708.ebuild
20 @@ -51,7 +51,6 @@ src_compile() {
21
22 src_install() {
23 dodoc README.md
24 - docompress -x /usr/share/doc/${PF}/examples
25 dodoc -r contrib/examples
26 linux-mod_src_install
27 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
28 @@ -66,4 +65,25 @@ pkg_postinst() {
29 ewarn
30 ewarn " team@×××××××××.io security@×××××××××.io"
31 ewarn
32 +
33 + einfo
34 + einfo "After installing WireGuard, if you'd like to try sending some packets through"
35 + einfo "WireGuard, you may use, for testing purposes only, the insecure client.sh"
36 + einfo "test example script:"
37 + einfo
38 + einfo " \$ bzcat /usr/share/doc/${PF}/examples/ncat-client-server/client.sh.bz2 | sudo bash -"
39 + einfo
40 + einfo "This will automatically setup interface wg0, through a very insecure transport"
41 + einfo "that is only suitable for demonstration purposes. You can then try loading the"
42 + einfo "hidden website or sending pings:"
43 + einfo
44 + einfo " \$ chromium http://192.168.4.1"
45 + einfo " \$ ping 192.168.4.1"
46 + einfo
47 + einfo "If you'd like to redirect your internet traffic, you can run it with the"
48 + einfo "\"default-route\" argument. You may not use this server for any abusive or illegal"
49 + einfo "purposes. It is for quick testing only."
50 + einfo
51 + einfo "More info on getting started can be found at: https://www.wireguard.io/quickstart/"
52 + einfo
53 }
54
55 diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
56 index 671d4bb..f1bef43 100644
57 --- a/net-misc/wireguard/wireguard-9999.ebuild
58 +++ b/net-misc/wireguard/wireguard-9999.ebuild
59 @@ -51,7 +51,6 @@ src_compile() {
60
61 src_install() {
62 dodoc README.md
63 - docompress -x /usr/share/doc/${PF}/examples
64 dodoc -r contrib/examples
65 linux-mod_src_install
66 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
67 @@ -66,4 +65,25 @@ pkg_postinst() {
68 ewarn
69 ewarn " team@×××××××××.io security@×××××××××.io"
70 ewarn
71 +
72 + einfo
73 + einfo "After installing WireGuard, if you'd like to try sending some packets through"
74 + einfo "WireGuard, you may use, for testing purposes only, the insecure client.sh"
75 + einfo "test example script:"
76 + einfo
77 + einfo " \$ bzcat /usr/share/doc/${PF}/examples/ncat-client-server/client.sh.bz2 | sudo bash -"
78 + einfo
79 + einfo "This will automatically setup interface wg0, through a very insecure transport"
80 + einfo "that is only suitable for demonstration purposes. You can then try loading the"
81 + einfo "hidden website or sending pings:"
82 + einfo
83 + einfo " \$ chromium http://192.168.4.1"
84 + einfo " \$ ping 192.168.4.1"
85 + einfo
86 + einfo "If you'd like to redirect your internet traffic, you can run it with the"
87 + einfo "\"default-route\" argument. You may not use this server for any abusive or illegal"
88 + einfo "purposes. It is for quick testing only."
89 + einfo
90 + einfo "More info on getting started can be found at: https://www.wireguard.io/quickstart/"
91 + einfo
92 }