From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EFD5858973 for ; Sun, 7 Feb 2016 18:11:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C94221C09A; Sun, 7 Feb 2016 18:11:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F21C621C09A for ; Sun, 7 Feb 2016 18:11:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E41B034095A for ; Sun, 7 Feb 2016 18:11:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 713468F4 for ; Sun, 7 Feb 2016 18:11:33 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1454868671.964575f8faa45a7feed074617d26461c5bb7e015.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/syncthing/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/syncthing/Manifest net-p2p/syncthing/metadata.xml net-p2p/syncthing/syncthing-0.12.17.ebuild X-VCS-Directories: net-p2p/syncthing/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: 964575f8faa45a7feed074617d26461c5bb7e015 X-VCS-Branch: master Date: Sun, 7 Feb 2016 18:11:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7c3fbeed-276b-44dc-a919-b2134a44633a X-Archives-Hash: 6778a440fecb56af5a4ecbbd1c7b97fc commit: 964575f8faa45a7feed074617d26461c5bb7e015 Author: Dirkjan Ochtman gentoo org> AuthorDate: Sun Feb 7 18:09:55 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Sun Feb 7 18:11:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964575f8 net-p2p/syncthing: initial version in the portage tree Package-Manager: portage-2.2.26 net-p2p/syncthing/Manifest | 1 + net-p2p/syncthing/metadata.xml | 11 ++++++++ net-p2p/syncthing/syncthing-0.12.17.ebuild | 40 ++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest new file mode 100644 index 0000000..2e98805 --- /dev/null +++ b/net-p2p/syncthing/Manifest @@ -0,0 +1 @@ +DIST syncthing-0.12.17.tar.gz 4046320 SHA256 e9ac76e28423ac9d01c29b560ea6c4c61e881dd706676eb07d66aa5993310c60 SHA512 9c0e3bc0e23d2ec8ef9c888dc66cdc1aeac07bbffd03d4eae00539215cf0798db83da2b607b6570880bc941a8eac0b07c9b0257ad16546ebf63056a37807186b WHIRLPOOL 055a799cf5d544c11167fa11c1304a3a2978557578052a1392efa19ad363182a310401e3024317a7101859fa83647e79e6cc3559c12e79371a1135a22708d810 diff --git a/net-p2p/syncthing/metadata.xml b/net-p2p/syncthing/metadata.xml new file mode 100644 index 0000000..eee05c3 --- /dev/null +++ b/net-p2p/syncthing/metadata.xml @@ -0,0 +1,11 @@ + + + + + djc@gentoo.org + Dirkjan Ochtman + + + syncthing/syncthing + + diff --git a/net-p2p/syncthing/syncthing-0.12.17.ebuild b/net-p2p/syncthing/syncthing-0.12.17.ebuild new file mode 100644 index 0000000..605263a --- /dev/null +++ b/net-p2p/syncthing/syncthing-0.12.17.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +EGO_PN="github.com/syncthing/syncthing" +EGIT_COMMIT=v${PV} + +inherit golang-vcs-snapshot + +DESCRIPTION="Syncthing is an open, trustworthy and decentralized cloud storage system" +HOMEPAGE="http://syncthing.net" +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + export GOPATH="${S}:$(get_golibdir_gopath)" + cd src/${EGO_PN} + go run build.go || die "build failed" +} + +#go test: -race is only supported on amd64 platforms +#src_test() { +# cd src/${EGO_PN} +# go run build.go test || die "test failed" +#} + +src_install() { + cd src/${EGO_PN} + dobin bin/* + dodoc README.md AUTHORS CONTRIBUTING.md +}