summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2015-12-04 19:02:34 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2015-12-04 19:02:34 +0800
commitd28f9b8d4e00ee4e41723ea436bbf1e72333cbdc (patch)
treead51fe7a2aadbd13cc1a04fbcf90a43bf1d220ad /net-misc
parentAdd cassandra-bin (v2.1.5) (diff)
downloadpigfoot-d28f9b8d4e00ee4e41723ea436bbf1e72333cbdc.tar.gz
pigfoot-d28f9b8d4e00ee4e41723ea436bbf1e72333cbdc.tar.bz2
pigfoot-d28f9b8d4e00ee4e41723ea436bbf1e72333cbdc.zip
Add govpn (v4.2) & import eclass from github.com/Dr-Terrible/go-overlay
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/govpn/Manifest7
-rw-r--r--net-misc/govpn/govpn-4.2.ebuild49
2 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/govpn/Manifest b/net-misc/govpn/Manifest
new file mode 100644
index 0000000..07498ec
--- /dev/null
+++ b/net-misc/govpn/Manifest
@@ -0,0 +1,7 @@
+DIST github.com-agl-ed25519-278e1ec8e8a6e017cd07577924d6766039146ced.tar.gz 107323 SHA256 510c71038fc31894d8056f6114c5ea75c12572c3eb67bf4ff02c1495ab3d3705 SHA512 ea93a0919521a6aa83d5c880651bbc9706f34ed3a33c5368f7709a552b89b2e0b098c64721bbd89e84cbaeebbcd050364167a9d5cef72a5395903877ee03ae33 WHIRLPOOL d16d3e652917474394185da92f4ee106ea630f66806be6ae8bcc8acfc060352ca46190836af544e25bc3f44baf5b96b937e483d0191a8ca7f724e4570078a409
+DIST github.com-bigeagle-water-36aebfeb35da4f1f6a975726716c6fc563c5c495.tar.gz 5236 SHA256 2f7569f1881f97638baa563081d9d7325e7d0b88ed782a31688771b14b098ce6 SHA512 159948b795d0ddbf71059a4dcb98010efc059876c0a025191ca1f26d554b2667ef726e10c094fd3be43e0afd9829645efb773e5e42428217b42e2cfdf2ef2fd2 WHIRLPOOL 8ddc67c4bd9954f89c7a833b714a643a02aadb65379a31212118f36e27d84bdbcc29955d37f8197710482811fb9e87ee79bac745efe0b8159950b49b3204335e
+DIST github.com-dchest-blake2b-3c8c640cd7bea3ca78209d812b5854442ab92fed.tar.gz 45468 SHA256 84d4d6730cf44b6bf8acf34823c7210c912b1258f8e083cf3ba7e4315d8d0699 SHA512 34c154e8d8155b265bf6bdfb38aa15d31063ee85dc5892fc57ca0df8c51aad12c1df60f07e04b1343e9cf114cf1fc8e63aede14493fccc259776684972fb3751 WHIRLPOOL 78d2b50174b0539030c5a53cbe089846f690ba5adef8c8dceca4132de2b82a29dbe88ef65ebea3ce5d08a73cec55912d2461dfc38e347b30754f1a065219b030
+DIST github.com-golang-crypto-81bf7719a6b7ce9b665598222362b50122dfc13b.tar.gz 878559 SHA256 9ce475650b0af8a10191a52fcc5f92ef4660f72e28e9434745b4d42ef5768049 SHA512 20c21fade4cda8bce44caadc320eecfac006f46c22133a8e15b0f2c8afd08cbe163cbe822edb1ffdc748b1d25dadc299383ecdfe783db9182905b0b0dd1faa64 WHIRLPOOL 7be9e74ddcdb8fe470f8df4388ce88eb9cd4a7d13c23f3aa69d18870152b4ee290766eb1f5f89d7cc0350ea5bb02190bb8497a4601f6068cdd00903a1b956fc2
+DIST github.com-magical-argon2-82d59eb7dab9a6268371a8c6de2100a2c7357bc6.tar.gz 9612 SHA256 5d9efd650cf45804ed5b1033836c1eee2a76c2446f31e87d57786e4e25a92d41 SHA512 7b1c89c5cc080c710e45d83f701d5ae870c2d7bb58214db82ba6373e89dc06bf1f2b349797ed6e1b5020a3abaf17d9b54beecc1b7af0371eea2274de036e9f49 WHIRLPOOL efcd0246d1d0845053d1c48da1c44fd265a118386073d28182b13c9016c80184e154d1e5dc185ee9a87d321270f8f18ceb3a9357b85ab9f19e0bef8617994698
+DIST govpn-4.2.tar.gz 64994 SHA256 a0d337ff3876de602b0cd721d13f45bbc193677edb6accdd180338ddb6dc861d SHA512 dd3111dba0aebd8ee3a38a1abfa2bfc1f69438a55b2dca65c6783914d438351f8f3f5ec05e84ed17a63f02281f43093de86cc7ad6423ecac24412209f96f981b WHIRLPOOL c13d3337ee02c2425dc9364e0bc378f6c458311424ef53d1c7e7551915789b8f94e75ae6f85640d2b4115cbc7ce63027b865f5b8d50c7a56474657dcdb306f5a
+EBUILD govpn-4.2.ebuild 1255 SHA256 4fcebe3115fc04467926a00b1ee46a7db5cf50a06a1b4f7005c804aca6ee30d7 SHA512 daddd17fb50e08263fe6cfcf84baed22d940d7368329a92633e1444aa3654cea809f4282750cb248718af1e6a7947b850847e25d44bc8d9b0bc13cddafd8c2d9 WHIRLPOOL 3b9f5a0a542759f1f89fe6b626f5571dcb7c7d7388527c8763048b75607ec83540b9870bc05e5d7bd8c2a5cf89750e8230470b1e3e36b758164da56949b80017
diff --git a/net-misc/govpn/govpn-4.2.ebuild b/net-misc/govpn/govpn-4.2.ebuild
new file mode 100644
index 0000000..3df94b6
--- /dev/null
+++ b/net-misc/govpn/govpn-4.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+GOLANG_PKG_IMPORTPATH="github.com/stargrave"
+GOLANG_PKG_BUILDPATH="/src/${PN}/cmd/..."
+GOLANG_PKG_IS_MULTIPLE=1
+GOLANG_PKG_HAVE_TEST=1
+GOLANG_PKG_LDFLAGS="-X govpn.Version=${PV}"
+
+# Declares dependencies
+GOLANG_PKG_DEPENDENCIES=(
+ "github.com/agl/ed25519:278e1ec8e8a6e017cd07577924d6766039146ced"
+ "github.com/bigeagle/water:36aebfeb35da4f1f6a975726716c6fc563c5c495"
+ "github.com/dchest/blake2b:3c8c640cd7bea3ca78209d812b5854442ab92fed"
+ "github.com/magical/argon2:82d59eb7dab9a6268371a8c6de2100a2c7357bc6"
+ "github.com/golang/crypto:81bf7719a6b7ce9b665598222362b50122dfc13b -> golang.org/x"
+)
+
+inherit systemd golang-single
+
+DESCRIPTION="Simple secure free software VPN daemon"
+HOMEPAGE="http://www.cypherpunks.ru/govpn/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm"
+
+GOLANG_PKG_VENDOR=(
+ "${S}"
+)
+
+src_prepare() {
+ golang-single_src_prepare
+
+ sed -i \
+ -e "s@\$(dirname \$0)/storekey.sh@\$(dirname \$0)/${PN}-storekey.sh@" \
+ "${S}"/utils/newclient.sh \
+ || die
+}
+
+src_install() {
+ golang-single_src_install
+
+ newbin "${S}"/utils/newclient.sh ${PN}-newclient.sh
+ newbin "${S}"/utils/storekey.sh ${PN}-storekey.sh
+}