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 41FE859CA6 for ; Wed, 23 Mar 2016 20:03:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88B20E0866; Wed, 23 Mar 2016 20:03:12 +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 1A8EAE0866 for ; Wed, 23 Mar 2016 20:03:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CABC233BE05 for ; Wed, 23 Mar 2016 20:03:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6DC5851 for ; Wed, 23 Mar 2016 20:03:08 +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: <1458763363.c5389bae36f1c6e93460edd32e9634ce258cd160.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.21.ebuild X-VCS-Directories: net-p2p/syncthing/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: c5389bae36f1c6e93460edd32e9634ce258cd160 X-VCS-Branch: master Date: Wed, 23 Mar 2016 20:03:08 +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: 98623eec-ff5e-4615-819b-485d24e0f884 X-Archives-Hash: ffb3415dcec792e15b079fcde07405a7 commit: c5389bae36f1c6e93460edd32e9634ce258cd160 Author: Louis Sautier gmail com> AuthorDate: Wed Mar 23 09:10:53 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Wed Mar 23 20:02:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5389bae net-p2p/syncthing: bump to 0.12.21 Removed a useless die for doman. Package-Manager: portage-2.2.28 net-p2p/syncthing/Manifest | 1 + net-p2p/syncthing/syncthing-0.12.21.ebuild | 54 ++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest index f8712fb..700cbe3 100644 --- a/net-p2p/syncthing/Manifest +++ b/net-p2p/syncthing/Manifest @@ -1,2 +1,3 @@ DIST syncthing-0.12.19.tar.gz 4047476 SHA256 5a7035029974fe0fb496d9f8af880a50bcc8499ff5eef7ee4ef48f08df37820e SHA512 89d2b34c5bb9772bcaad84caa03794cdcfeade8fef0b8abaeea6a1cccdc09167a690aa8b1dfadac81d9ac0e8a07c9be112af7f2e56f12f589b906c518c49a686 WHIRLPOOL c0589a5e6a4f090dee9f79bb199c901b3f0e75cf0f92c12851a9713cdf7e813c8a5564ce475000529d2a5edafb9861d1b820858cb6fa3bb5bf082ff5586da9b3 DIST syncthing-0.12.20.tar.gz 4047350 SHA256 89dc46ebbe8b114467abe0171fd03a76408a9cf4fe44308db2b6d60eee233006 SHA512 1df45f4f778b1f2784f0787695bf5f94796747bc103d032b07e4cdb1108211a5debcfb5a10c0284bee43f896e011e29264e49216216570efe563822efce4907c WHIRLPOOL 8614a87d4b03737dc69e966933314925efa4f2ccd9966af4d44930244a87d2819397c059cec2af2544161c9ab0df41ce7e578d156c4ca0cb911975e10a230aad +DIST syncthing-0.12.21.tar.gz 4047353 SHA256 f236ea51a072942987bb7c4c0f95b456c960d659b8f86660b61aa56f72066bdb SHA512 29954c0c13d7471cbd593d6e1ab80d5210179c99dfcf338693f2e4d22eb265894e77b149f59a307025182e904a34b4b52820a406c3b3d5ae4d1863c6d5d2ff3a WHIRLPOOL ba965d650a502025b7d2d99cdd5d45d2f34948bf45468cf6c5c0bcb52a5d3bdadc72fa6aecee83ce96766f6e368cbf8b773975cd0ce137d28055545fda3ac5f5 diff --git a/net-p2p/syncthing/syncthing-0.12.21.ebuild b/net-p2p/syncthing/syncthing-0.12.21.ebuild new file mode 100644 index 0000000..761b96c --- /dev/null +++ b/net-p2p/syncthing/syncthing-0.12.21.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] || die + 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} +}