commit: 7f9af705e3d66837cb0f06f6b7b14cee19f4c096 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> AuthorDate: Thu Jun 30 18:41:09 2016 +0000 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org> CommitDate: Thu Jun 30 18:41:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9af705
net-misc/wireguard: snapshot Package-Manager: portage-2.3.0 net-misc/wireguard/Manifest | 1 + ...reguard-9999.ebuild => wireguard-0.0.20160630.ebuild} | 16 ++++++++++++++-- net-misc/wireguard/wireguard-9999.ebuild | 16 ++++++++++++++-- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/net-misc/wireguard/Manifest b/net-misc/wireguard/Manifest new file mode 100644 index 0000000..f84ac3e --- /dev/null +++ b/net-misc/wireguard/Manifest @@ -0,0 +1 @@ +DIST wireguard-0.0.20160630.tar.xz 104612 SHA256 701c9be1d4bb905d10be5dc14b71f7e84e8dcf6e8a8aa77cd7be97b4c3b13218 SHA512 3916b902fa36ea2b00ceaf15d9520d42258fc67ffbb44a7f1f1ebe4ae4f3fcca55cc1f90f8c59f0c640df6ec8618114c71b49785bf70ba52458dfa7c1d2e5055 WHIRLPOOL 03b90ad83e71a915c736b68c1e8acda8d11509042e488a148a1f4540b9f45ffc99a32db43f5360ee7da6d79d11df48c49c5260acc67b2b1c3d169475edcd656c diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-0.0.20160630.ebuild similarity index 72% copy from net-misc/wireguard/wireguard-9999.ebuild copy to net-misc/wireguard/wireguard-0.0.20160630.ebuild index 4a27f4c..637d226 100644 --- a/net-misc/wireguard/wireguard-9999.ebuild +++ b/net-misc/wireguard/wireguard-0.0.20160630.ebuild @@ -14,8 +14,9 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.zx2c4.com/WireGuard" KEYWORDS="" else - SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz" - KEYWORDS="~amd64 ~x86" + SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz" + S="${WORKDIR}/experimental/${PV}" + KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64" fi LICENSE="GPL-2" @@ -53,3 +54,14 @@ src_install() { linux-mod_src_install emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install } + +pkg_postinst() { + linux-mod_pkg_postinst + ewarn + ewarn "This software is experimental and has not yet been released." + ewarn "As such, it may contain significant issues. Please do not file" + ewarn "bug reports with Gentoo, but rather direct them upstream to:" + ewarn + ewarn " t...@wireguard.io secur...@wireguard.io" + ewarn +} diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild index 4a27f4c..637d226 100644 --- a/net-misc/wireguard/wireguard-9999.ebuild +++ b/net-misc/wireguard/wireguard-9999.ebuild @@ -14,8 +14,9 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://git.zx2c4.com/WireGuard" KEYWORDS="" else - SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz" - KEYWORDS="~amd64 ~x86" + SRC_URI="https://git.zx2c4.com/WireGuard/snapshot/experimental/${PV}.tar.xz -> ${P}.tar.xz" + S="${WORKDIR}/experimental/${PV}" + KEYWORDS="~amd64 ~x86 ~mips ~arm ~arm64" fi LICENSE="GPL-2" @@ -53,3 +54,14 @@ src_install() { linux-mod_src_install emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install } + +pkg_postinst() { + linux-mod_pkg_postinst + ewarn + ewarn "This software is experimental and has not yet been released." + ewarn "As such, it may contain significant issues. Please do not file" + ewarn "bug reports with Gentoo, but rather direct them upstream to:" + ewarn + ewarn " t...@wireguard.io secur...@wireguard.io" + ewarn +}