From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-882729-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1F345138262 for <garchives@archives.gentoo.org>; Sat, 21 May 2016 18:16:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD73121C03E; Sat, 21 May 2016 18:16:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B80F21C03E for <gentoo-commits@lists.gentoo.org>; Sat, 21 May 2016 18:16:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1FA96340D46 for <gentoo-commits@lists.gentoo.org>; Sat, 21 May 2016 18:16:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4411332 for <gentoo-commits@lists.gentoo.org>; Sat, 21 May 2016 18:16:33 +0000 (UTC) From: "Dirkjan Ochtman" <djc@gentoo.org> 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" <djc@gentoo.org> Message-ID: <1463854536.d2e453506e7d7bd5a3fa7c6bd68081edd8f93524.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/syncthing-0.12.25.ebuild X-VCS-Directories: net-p2p/syncthing/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: d2e453506e7d7bd5a3fa7c6bd68081edd8f93524 X-VCS-Branch: master Date: Sat, 21 May 2016 18:16:33 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ec697006-799f-4ef7-aa6b-7a900d51ccaa X-Archives-Hash: fd2f4d47bfcd8c7b2ec34f3a2afae380 commit: d2e453506e7d7bd5a3fa7c6bd68081edd8f93524 Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> AuthorDate: Sat May 21 18:15:23 2016 +0000 Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> CommitDate: Sat May 21 18:15:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e45350 net-p2p/syncthing: version bump to 0.12.25 (see bug 583676) Package-Manager: portage-2.2.28 net-p2p/syncthing/Manifest | 1 + net-p2p/syncthing/syncthing-0.12.25.ebuild | 54 ++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest index 23562e8..479790f 100644 --- a/net-p2p/syncthing/Manifest +++ b/net-p2p/syncthing/Manifest @@ -1,2 +1,3 @@ DIST syncthing-0.12.23.tar.gz 4469246 SHA256 e683c784fa423b598920b5c8f29ac6427dfe19000975b85a45f0f03fe2f0e3ff SHA512 f61c2fa6a513e2804f249433eddb3ee7e134a0c144902b56e4be90277f7e74dd163921cbc02b8c0ae284401b15f48f200f3bd75b61528789ea323574bde5e911 WHIRLPOOL bfcac1e2ebf86a6f006254ff740a5b8a093b34fbaf9ff04068ed7b246afc6cc19b6a0438dce43c7acb787a2041a8cca3282317a26372f011eff719815b07d900 DIST syncthing-0.12.24.tar.gz 4469779 SHA256 9faf913b27feb4c532d1febd6e4fc89e60c0b1cfd9aebef4a42851e220227044 SHA512 684c9f863c0427813c32b63aec8cc4d9a1c575dc4b2fb4b989e35b9e1e2b05222edd9935fdf8331b074f9962d4b03d82e67c008e01bf9ce42c01bf68229d46f3 WHIRLPOOL 79680c01eafae7fd853e39dfc9908f61be33627f86e2cf81c7b69dca8b079fa987ef591f1d6f2222b6b3dacdfd8763788706c226c263d7bf0c8919d923565c9b +DIST syncthing-0.12.25.tar.gz 4469275 SHA256 0374721434d0cb8bdd9464f63ff9705fe0ca14ab1e20d916780cb6347c91e72d SHA512 5bdb03ae5f76faddd54304994e04683f2a950419c8b4902553ea83d623976039bc05195f77fe59e2ef19615e91da308adc93b05061265e485a9dc941f2b750d4 WHIRLPOOL e6a10d1142dca73174bd9514526ad8f8357c930aa02fb2a2940adbd690fd209bcad15c3397daabd77052c5962d320665362a86fcafca3d19513ca6d06adcfd37 diff --git a/net-p2p/syncthing/syncthing-0.12.25.ebuild b/net-p2p/syncthing/syncthing-0.12.25.ebuild new file mode 100644 index 0000000..4aef0ac --- /dev/null +++ b/net-p2p/syncthing/syncthing-0.12.25.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +EGO_PN="github.com/syncthing/syncthing" +EGIT_COMMIT=v${PV} + +inherit golang-vcs-snapshot systemd user + +DESCRIPTION="Open Source Continuous File Synchronization" +HOMEPAGE="https://syncthing.net" +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm" +IUSE="" + +DEPEND="" +RDEPEND="" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} +} + +src_compile() { + export GOPATH="${S}:$(get_golibdir_gopath)" + cd src/${EGO_PN} + go run build.go -version "v${PV}" -no-upgrade || die "build failed" +} + +src_test() { + cd src/${EGO_PN} + go run build.go test || die "test failed" +} + +src_install() { + cd src/${EGO_PN} + doman man/*.[157] + dobin bin/* + dodoc README.md AUTHORS CONTRIBUTING.md + systemd_dounit "${S}"/src/${EGO_PN}/etc/linux-systemd/system/${PN}@.service \ + "${S}"/src/${EGO_PN}/etc/linux-systemd/system/${PN}-resume.service + systemd_douserunit "${S}"/src/${EGO_PN}/etc/linux-systemd/user/${PN}.service + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN}.initd" ${PN} + keepdir /var/{lib,log}/${PN} + fowners ${PN}:${PN} /var/{lib,log}/${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" ${PN} +}