public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/resilio-sync/
Date: Fri, 15 Mar 2019 22:42:33 +0000 (UTC)	[thread overview]
Message-ID: <1552689737.6edfbc0131d0532ef84dc6751e778ed2dd1480b3.monsieurp@gentoo> (raw)

commit:     6edfbc0131d0532ef84dc6751e778ed2dd1480b3
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Fri Mar 15 17:27:06 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 22:42:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edfbc01

net-p2p/resilio-sync: version bump to 2.6.3, EAPI 7.

1. Version bump to 2.6.3
2. Moved to EAPI 7
3. Upstream changed URL

Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 net-p2p/resilio-sync/Manifest                  |  2 +
 net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild | 74 ++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/net-p2p/resilio-sync/Manifest b/net-p2p/resilio-sync/Manifest
index a85e4ac47e2..815fa8be8b5 100644
--- a/net-p2p/resilio-sync/Manifest
+++ b/net-p2p/resilio-sync/Manifest
@@ -1,2 +1,4 @@
 DIST resilio-sync_2.6.1-1_amd64.deb 11576892 BLAKE2B 710bd96b91be84bc7210d8efe0d8954a33be878fc948694e7a1c62e7b53b5ac94133a16b89c4872e18798bc03f3508c7c130d4d56a3480c35d30edff5589ef3a SHA512 a37d73a621a740f57b4f2824cc2a3178f365ccc8180a0e814480dde8d1b74b9d54da4e07bd18c89cc6a93c12b526f8a43e08165d3c2f0fdc913e1f38e46eb183
 DIST resilio-sync_2.6.1-1_i386.deb 11465194 BLAKE2B b56e01f79c5beec6a5ebd09724bebd1ce8c6d44eac694cd7fb89dc44823ccba22531b14e241fdd985ae63e6e0f177021becb593923eac8ac0183629e533ac72d SHA512 84676c3fe5fcee484bcd58c6496aba0d2e3c86c339adb90b8b3cef28ae46d7b6f28c5fd0371a2cfe612ab8b3658eca2b9b2f6cfc9caa70aaff95946942a5c749
+DIST resilio-sync_2.6.3-1_amd64.deb 12109918 BLAKE2B e89ca0eedadd29d1d0519f0e894f6cbb865b39600df6b516a85411da45e58751caf1c0988d13c821b134ac2318f6487cdad82a75b7357686bde1865b88779f3e SHA512 4531936a5ddd23cfcf2354ea9c7f285e08d1afdd0922d1254baec2900f1c4bfdbbe5d57a5f9cf079b8b3fee69cc9f0a1557218657c1386f800d6e19cc6de31a3
+DIST resilio-sync_2.6.3-1_i386.deb 12062106 BLAKE2B f070844fc513ce052e1cb480f4b521216da485ffc00fb0b7e512d877ae6d0bb39452015bc24f931850542490e69d3b210c5a4dd8635a43f16901791144134880 SHA512 18e01ae12c198e7e921a8fd74e934365f027607940ada7378adb239b5c8a25b94e47ac4290c738acac54c53beff25e1ba35f4e079ce8145852f385212bd8794b

diff --git a/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild b/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild
new file mode 100644
index 00000000000..95ea559330a
--- /dev/null
+++ b/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker user
+
+QA_PREBUILT="usr/bin/rslsync"
+BASE_URI="http://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb"
+
+DESCRIPTION="Resilient, fast and scalable file synchronization tool"
+HOMEPAGE="https://resilio.com/"
+SRC_URI="amd64? ( ${BASE_URI/@arch@/amd64} )
+	x86? ( ${BASE_URI/@arch@/i386} )"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pax_kernel"
+RESTRICT="bindist mirror"
+
+S="${WORKDIR}"
+
+DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n
+Default metadata path is /var/lib/resilio-sync/.sync\\n
+Default web-gui URL is http://localhost:8888/\\n\\n"
+
+pkg_setup() {
+	enewgroup rslsync
+	enewuser rslsync -1 -1 /var/lib/resilio-sync rslsync
+}
+
+src_unpack() {
+	unpacker_src_unpack
+
+	unpack usr/share/man/man1/resilio-sync.1.gz
+}
+
+src_install() {
+	dobin usr/bin/rslsync
+	use pax_kernel && pax-mark m "${ED%/}"/usr/bin/rslsync
+
+	doman resilio-sync.1
+
+	newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync
+	newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync
+	newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user
+	newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user
+	systemd_dounit "${FILESDIR}"/resilio-sync.service
+	systemd_douserunit "${FILESDIR}"/resilio-sync-user.service
+	newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf
+
+	readme.gentoo_create_doc
+
+	# Generate sample config, uncomment config directives and change values
+	insopts -orslsync -grslsync -m0644
+	insinto /etc/resilio-sync
+	newins - config.json < <("${ED%/}"/usr/bin/rslsync --dump-sample-config | \
+		sed \
+			-e "/storage_path/s|//| |g" \
+			-e "/pid_file/s|//| |g" \
+			-e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \
+			-e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \
+			|| die "sed failed for config.json" )
+
+	diropts -orslsync -grslsync -m0700
+	keepdir /etc/resilio-sync /var/lib/resilio-sync/ \
+		/var/lib/resilio-sync/.sync /var/log/resilio-sync
+}
+
+pkg_postinst() {
+	tmpfiles_process resilio-sync.conf
+	readme.gentoo_print_elog
+}


             reply	other threads:[~2019-03-15 22:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-15 22:42 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-15 22:42 [gentoo-commits] repo/gentoo:master commit in: net-p2p/resilio-sync/ Patrice Clement
2019-06-17 12:22 Michał Górny
2019-12-08 10:08 Joonas Niilola
2021-05-09 23:04 Andreas Sturmlechner
2021-07-11 21:23 Conrad Kostecki
2021-07-11 21:23 Conrad Kostecki
2021-11-19 17:45 Sam James
2022-01-15 11:33 Joonas Niilola
2022-09-05 12:37 Joonas Niilola
2022-09-05 12:37 Joonas Niilola
2022-09-05 12:37 Joonas Niilola
2022-09-05 12:37 Joonas Niilola
2024-01-23 20:26 Andreas K. Hüttel
2024-08-01 16:23 Andreas Sturmlechner
2024-08-10  6:58 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1552689737.6edfbc0131d0532ef84dc6751e778ed2dd1480b3.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox