summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-07-09 14:34:19 -0700
committerZac Medico <zmedico@gentoo.org>2017-07-09 14:35:10 -0700
commit59df3912110953ad55f5a959a4a8ace9e4c2da58 (patch)
tree70e2bdf4558f5d5fb2ee8e101a70e858b28ec336 /sys-fs
parentsys-libs/compiler-rt: Warn when not using clang (diff)
downloadgentoo-59df3912110953ad55f5a959a4a8ace9e4c2da58.tar.gz
gentoo-59df3912110953ad55f5a959a4a8ace9e4c2da58.tar.bz2
gentoo-59df3912110953ad55f5a959a4a8ace9e4c2da58.zip
sys-fs/etcd-fs: version bump to 0_p20170517
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/etcd-fs/Manifest1
-rw-r--r--sys-fs/etcd-fs/etcd-fs-0_p20170517.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-fs/etcd-fs/Manifest b/sys-fs/etcd-fs/Manifest
index 943ae9b72239..e620d8c387eb 100644
--- a/sys-fs/etcd-fs/Manifest
+++ b/sys-fs/etcd-fs/Manifest
@@ -1 +1,2 @@
DIST etcd-fs-0_p20140620.zip 12608 SHA256 9882517f171242babf0067d4b6a0de61e9559a12c1d57068e0c2082557a64bf9 SHA512 9f0066ed635bf33812c2ab71d320d42e45684312243bff2e17c0d58eee25723ef980c59d6a7ca751ceacd69e75af7edc691d5595ab06d5de1bdfe244656367e9 WHIRLPOOL 620a2f916c3734b82be5ab6a3a8f3f849d86832f9127d05df00f176b04eabc47be12e131e2017313738a614ebcf8dfee7e7226a3dc6ed5a0c33836dc6a68166b
+DIST etcd-fs-0_p20170517.tar.gz 8575 SHA256 97437987941342c12b42cafbfca0ca949aa52023ba627ccb82dbc3dedcb37402 SHA512 1695eeb70895d316db68fca45b0cdcef6f4bb00b39a443bd85a7d457a1437476562d269226f7cc872fbec22555c4f4b94d48617688294400685e1719224fa92f WHIRLPOOL 77aba7ea8f70c411bd8db9b2a2769d64c0396f7f9d59b0fe4ca1dbf5bb7609c924f7500ea5fa76a1d410949033e1fc104024c32d022cdbf4af1e95be2fd4f5b1
diff --git a/sys-fs/etcd-fs/etcd-fs-0_p20170517.ebuild b/sys-fs/etcd-fs/etcd-fs-0_p20170517.ebuild
new file mode 100644
index 000000000000..20ec3917e7ec
--- /dev/null
+++ b/sys-fs/etcd-fs/etcd-fs-0_p20170517.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit golang-base
+
+KEYWORDS="~amd64"
+EGO_PN="github.com/xetorthio/${PN}"
+DESCRIPTION="Use etcd as a FUSE filesystem"
+HOMEPAGE="https://${EGO_PN}"
+EGIT_COMMIT="1eeace3bc20b15e4347c631a1cf7b45f3852518a"
+SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+RESTRICT="test"
+DEPEND="
+ dev-db/go-etcd:=
+ dev-libs/go-fuse:="
+RDEPEND=""
+S=${WORKDIR}/${PN}-${EGIT_COMMIT}
+
+src_compile() {
+ CGO_CFLAGS=${CFLAGS} GOPATH=${S} \
+ go build \
+ -x -ldflags="-v -linkmode=external -extldflags '${LDFLAGS}'" \
+ etcdfs.go || die
+}
+
+src_install() {
+ dobin etcdfs
+ dodoc README.md
+}