From 7f0ccc917c7abe6223784c703d86cd14755691fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Jul 2021 22:39:47 +0100 Subject: gentoo resync : 03.07.2021 --- net-p2p/resilio-sync/Manifest | 2 +- net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild | 78 +++++++++++++++++++++++ net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild | 74 --------------------- 3 files changed, 79 insertions(+), 75 deletions(-) create mode 100644 net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild delete mode 100644 net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild (limited to 'net-p2p/resilio-sync') diff --git a/net-p2p/resilio-sync/Manifest b/net-p2p/resilio-sync/Manifest index 15f8290c59c2..a963a4371fd4 100644 --- a/net-p2p/resilio-sync/Manifest +++ b/net-p2p/resilio-sync/Manifest @@ -7,5 +7,5 @@ AUX resilio-sync.service 382 BLAKE2B f61c181137d41aeb59c721688a2b208c16d985c0b74 AUX resilio-sync.tmpfile 41 BLAKE2B fb3e9001a32e45cd230f4efef60509f20f52253ad575fb2b1493bae9846ad46210eed639c7a3f9e4a4fa7c901b42a9a7756f8583c204a4bb847e6eb96a2af323 SHA512 d9d54076785ce601023980e3fe5e2eab42e5eaf3b0bdb9caefe508e0d5fda8d32faf1338c6b901deb29488401de74228023016d72d7b0ec9db362b4c2d87edd2 DIST resilio-sync_2.6.3-1_amd64.deb 12111264 BLAKE2B e4b4d3d0bda910db5f10131d9072c47d7daccd6ff37267546385fb2657c84d9b12e9ae637df8380175f175c3e3a304fc3424ab93aa71b69d9890320d3464cf58 SHA512 92097e155fe74c07a89034db75e889fb3679fbd6cc497a361e4cf403bd1ffb5c2bc9f2a327d65d20b03067e5b7b898635a2dbeff7d4d9937b5e5ffe4daf4ba9d DIST resilio-sync_2.6.3-1_i386.deb 12062034 BLAKE2B 9c92e118ee8977a7e26948a21c61e1ff7c0692a2a76ff11e1b6ea8ef0edb08032d33453963b8c400c8945ed67cc561ce8334391fc4d8edc2e4bf37ff3c8acaff SHA512 4254de420b2b2263779befbfd93bddb8fa5352fbcce80e2a21efb463f0f3008a282fd07eb6602d4785ca6f0e770980b6da66c8d33911ae68938aee5e09e08e44 -EBUILD resilio-sync-2.6.3.ebuild 2176 BLAKE2B 524b14c925436148b242fedaa6418662604111bf645940ac7c9d2ae437e66f638ac1e901d71a9ac723541c76f3147ec04687b25a2858138538b8656e6f1f88ed SHA512 cf548d4ce32aacd87da8fa89b93bc022f8412cfbfd0950f4124b36775516e962307e80645e7de8e2c28462d8dc1522a6ed98450adae95b400d49c1790250d708 +EBUILD resilio-sync-2.6.3-r1.ebuild 2244 BLAKE2B d53ad353fe9b604203fe4b0d40c3e56f201028ee425582471cd71c36bac4016fb6460ecb15121ff3096b04651c931b177f235282f1533c77b5bf79d8715267da SHA512 2b2bddd85584a76a2c237302130e0718ff3b755985c7064b40bc581c46a0dd9f036fece88d5fbb34ebc5f9b41e4756760e0600023f1bbc41749370d5f19cf08a MISC metadata.xml 843 BLAKE2B 6bb3347a7fb109eb23583318e491f25cc2aa877d2bf8cd1bd2fee46af6e67ef6e1be7115a788c1fee51a46631818c1b6d6899d8c2016b0d3a1ea14804392f71f SHA512 02f9c77c0fc104eaafb9640b8df6eb96ecefb5159ba1177a61b7cf81016201dc2b110b43613581349b39f5d924cc5c8c2bf9afff87b861149c39ab7abde8d54f diff --git a/net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild b/net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild new file mode 100644 index 000000000000..747808bdcbe1 --- /dev/null +++ b/net-p2p/resilio-sync/resilio-sync-2.6.3-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 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} )" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist mirror" + +RDEPEND=" + || ( + sys-libs/glibc[crypt(+)] + sys-libs/libxcrypt[compat] + )" + +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 + 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 +} diff --git a/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild b/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild deleted file mode 100644 index 0b54d78848dc..000000000000 --- a/net-p2p/resilio-sync/resilio-sync-2.6.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# 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="" -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 - 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 -} -- cgit v1.2.3