summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <Marek.Szuba@cern.ch>2016-04-21 15:13:00 +0200
committerAnthony G. Basile <blueness@gentoo.org>2016-04-23 02:49:57 -0400
commit362b8e3902f4226fe8717d0e95d89096dce9830b (patch)
tree73e2cfc6a656696e4f2fc98e679caf947d1cab8e
parentNew ebuild: dev-go/goptlib. (diff)
downloadgentoo-362b8e3902f4226fe8717d0e95d89096dce9830b.tar.gz
gentoo-362b8e3902f4226fe8717d0e95d89096dce9830b.tar.bz2
gentoo-362b8e3902f4226fe8717d0e95d89096dce9830b.zip
New ebuild: dev-go/siphash.
A Go implementation of SipHash-2.4, a fast short-input PRF created by Jean-Philippe Aumasson and Daniel J. Bernstein. This is one of the dependencies of net-proxy/obfs4proxy. Relevant Gentoo bug: #580628.
-rw-r--r--dev-go/siphash/Manifest3
-rw-r--r--dev-go/siphash/metadata.xml8
-rw-r--r--dev-go/siphash/siphash-1.0.0.ebuild24
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-go/siphash/Manifest b/dev-go/siphash/Manifest
new file mode 100644
index 000000000000..7885524d72c5
--- /dev/null
+++ b/dev-go/siphash/Manifest
@@ -0,0 +1,3 @@
+DIST siphash-1.0.0.tar.gz 4462 SHA256 0a0526e1a09908e18578b6f3464833e03218f2f2a742de58132f29b6622e339b SHA512 e52dc9857974ab362f2d7b2f7389644fbc07e7bb5507a93f138b3f692c1065303846611bb51b3d9c637d851a4d20cc20af146719a553801a8f7e17ec900a736a WHIRLPOOL 64296af93b1520a32217f9e82c41ae02f15d211bd35f78b77b8246ae83e1825ce31bc1cac3ee831a1e2d5194792f391f7495c07146113975e17e9a13a120825b
+EBUILD siphash-1.0.0.ebuild 493 SHA256 5766a3148a9736643587014d002f1c6576b233061e7720ce75cebd798e8780d2 SHA512 2c68c85ba01f307c6dcbcd6905dc48cfe79ee488c298acfd27db12376eb1b509e4922773b04d7507a82416248ad82148c7490c9c02bbbfa4440afcd5916105f1 WHIRLPOOL 28112183f86f47029765758fdf61187c73e3282470f0b51c4f22d4c2b4f24fbdfed47fb0777c68e79ba311407f6e8f3eec85339d5fd0da590ffc09ba13286c29
+MISC metadata.xml 252 SHA256 a590e5133cd97a615db4f977b0e28e5c60c56cac76eb3d339109cdf379003b60 SHA512 cbda7bf9832872764ae776ce16b2966c37a2ba3a1982d9817006fd6b82d7b17146434cde428bf114062a483e9053d2acdcdd004695e6ebf428d19cdc09937c65 WHIRLPOOL b209a730a169969b9e3c4d4612368bc5b30bfa5fae275d98d83ba96fd0ad01d308a8fed4f7d67a7c9fa417c624dfeb23ce89ab58923a8a0b5b1bd68ee73f288c
diff --git a/dev-go/siphash/metadata.xml b/dev-go/siphash/metadata.xml
new file mode 100644
index 000000000000..d920e3ba3e56
--- /dev/null
+++ b/dev-go/siphash/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-go/siphash/siphash-1.0.0.ebuild b/dev-go/siphash/siphash-1.0.0.ebuild
new file mode 100644
index 000000000000..4a59f0445306
--- /dev/null
+++ b/dev-go/siphash/siphash-1.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit golang-build golang-vcs-snapshot
+
+EGO_SRC=github.com/dchest/siphash
+EGO_PN=${EGO_SRC}/...
+EGIT_COMMIT="v${PV}"
+SRC_URI="https://github.com/dchest/siphash/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+DESCRIPTION="Go implementation of SipHash-2.4"
+HOMEPAGE="https://github.com/dchest/siphash"
+
+KEYWORDS="~amd64"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""