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: Thu, 30 Jun 2016 18:41:52
Message-Id: 1467312096.7f9af705e3d66837cb0f06f6b7b14cee19f4c096.zx2c4@gentoo
1 commit: 7f9af705e3d66837cb0f06f6b7b14cee19f4c096
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 18:41:09 2016 +0000
4 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 18:41:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9af705
7
8 net-misc/wireguard: snapshot
9
10 Package-Manager: portage-2.3.0
11
12 net-misc/wireguard/Manifest | 1 +
13 ...reguard-9999.ebuild => wireguard-0.0.20160630.ebuild} | 16 ++++++++++++++--
14 net-misc/wireguard/wireguard-9999.ebuild | 16 ++++++++++++++--
15 3 files changed, 29 insertions(+), 4 deletions(-)
16
17 diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest
18 new file mode 100644
19 index 0000000..f84ac3e
20 --- /dev/null
21 +++ b/net-misc/wireguard/Manifest
22 @@ -0,0 +1 @@
23 +DIST wireguard-0.0.20160630.tar.xz 104612 SHA256 701c9be1d4bb905d10be5dc14b71f7e84e8dcf6e8a8aa77cd7be97b4c3b13218 SHA512 3916b902fa36ea2b00ceaf15d9520d42258fc67ffbb44a7f1f1ebe4ae4f3fcca55cc1f90f8c59f0c640df6ec8618114c71b49785bf70ba52458dfa7c1d2e5055 WHIRLPOOL 03b90ad83e71a915c736b68c1e8acda8d11509042e488a148a1f4540b9f45ffc99a32db43f5360ee7da6d79d11df48c49c5260acc67b2b1c3d169475edcd656c
24
25 diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-0.0.20160630.ebuild
26 similarity index 72%
27 copy from net-misc/wireguard/wireguard-9999.ebuild
28 copy to net-misc/wireguard/wireguard-0.0.20160630.ebuild
29 index 4a27f4c..637d226 100644
30 --- a/net-misc/wireguard/wireguard-9999.ebuild
31 +++ b/net-misc/wireguard/wireguard-0.0.20160630.ebuild
32 @@ -14,8 +14,9 @@ if [[ ${PV} == 9999 ]]; then
33 EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
34 KEYWORDS=""
35 else
36 - SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
37 - KEYWORDS="~amd64 ~x86"
38 + SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz"
39 + S="${WORKDIR}/experimental/${PV}"
40 + KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
41 fi
42
43 LICENSE="GPL-2"
44 @@ -53,3 +54,14 @@ src_install() {
45 linux-mod_src_install
46 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
47 }
48 +
49 +pkg_postinst() {
50 + linux-mod_pkg_postinst
51 + ewarn
52 + ewarn "This software is experimental and has not yet been released."
53 + ewarn "As such, it may contain significant issues. Please do not file"
54 + ewarn "bug reports with Gentoo, but rather direct them upstream to:"
55 + ewarn
56 + ewarn " team@×××××××××.io security@×××××××××.io"
57 + ewarn
58 +}
59
60 diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
61 index 4a27f4c..637d226 100644
62 --- a/net-misc/wireguard/wireguard-9999.ebuild
63 +++ b/net-misc/wireguard/wireguard-9999.ebuild
64 @@ -14,8 +14,9 @@ if [[ ${PV} == 9999 ]]; then
65 EGIT_REPO_URI="https://git.zx2c4.com/WireGuard"
66 KEYWORDS=""
67 else
68 - SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz"
69 - KEYWORDS="~amd64 ~x86"
70 + SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz"
71 + S="${WORKDIR}/experimental/${PV}"
72 + KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64"
73 fi
74
75 LICENSE="GPL-2"
76 @@ -53,3 +54,14 @@ src_install() {
77 linux-mod_src_install
78 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
79 }
80 +
81 +pkg_postinst() {
82 + linux-mod_pkg_postinst
83 + ewarn
84 + ewarn "This software is experimental and has not yet been released."
85 + ewarn "As such, it may contain significant issues. Please do not file"
86 + ewarn "bug reports with Gentoo, but rather direct them upstream to:"
87 + ewarn
88 + ewarn " team@×××××××××.io security@×××××××××.io"
89 + ewarn
90 +}