summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2022-08-21 18:22:04 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-09-05 15:37:13 +0300
commitcc585acdb8e0354a76f8b09d5ff76d38dd183475 (patch)
treec314d44fa7d27dcc6faf8ebb15f2718c106cdc2a /net-p2p
parentnet-p2p/resilio-sync: drop old ebuilds (diff)
downloadgentoo-cc585acdb8e0354a76f8b09d5ff76d38dd183475.tar.gz
gentoo-cc585acdb8e0354a76f8b09d5ff76d38dd183475.tar.bz2
gentoo-cc585acdb8e0354a76f8b09d5ff76d38dd183475.zip
net-p2p/resilio-sync: version bump to 2.7.3.1381, arm, live ebuild
Closes: https://bugs.gentoo.org/733726 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/resilio-sync/Manifest8
-rw-r--r--net-p2p/resilio-sync/resilio-sync-2.7.3.1381.ebuild74
-rw-r--r--net-p2p/resilio-sync/resilio-sync-9999.ebuild66
3 files changed, 148 insertions, 0 deletions
diff --git a/net-p2p/resilio-sync/Manifest b/net-p2p/resilio-sync/Manifest
index 52a086630e2e..f1a19b67caf4 100644
--- a/net-p2p/resilio-sync/Manifest
+++ b/net-p2p/resilio-sync/Manifest
@@ -1,2 +1,10 @@
DIST resilio-sync_2.7.2.1375-1_amd64.deb 11845750 BLAKE2B 894b975327f18ef4c5fe124466d9b1b50de72d08c106fe9f61a634e42b98042c2f5b40ed6c1afc2550fea3506e6cdef7d58eb041604624b26a5a877d62d941e5 SHA512 563643aab506f521c320e5b2ddc08d7d6893ea0908ecedeb11237495c47fb0585a781f83d0daacaf7de2084d9312784b947ad2e626995a05cdd03ffaae413665
DIST resilio-sync_2.7.2.1375-1_i386.deb 11921570 BLAKE2B 8595bfa5ca1c366fdeb93a4126b5634ef65ffab1883a6b9a5f557d172b18a6f1966f891ff79407e576eaa3315b8d67b7fe11c7b8a760a5ab0272e1bcb4224552 SHA512 114af90ea5e89c6f3698cfd9eb8f5dd8bd5316ab5fd0873238a78a29e4c33d0e96a19f61687d47f46d708b79a2f1877166075e7c3e11b4e4fe4f517cc26d2231
+DIST resilio-sync_2.7.3.1381-1_amd64.deb 11891248 BLAKE2B a5b3f7ba0b364cac706660bc2ab105f042fd367679c894c0e84a10c299c7ace99f051057a1e1679de43d9a219dd58f76b817d708f87776a18caf9d1808a6f4c0 SHA512 0417e8b0d9f6b20105145dd93d602b5682484f72d600f865241dc3016bb007b2adabe7ce288d18a95a63e31c32c12069909580a5afa93665cef5eb9b22cecd2e
+DIST resilio-sync_2.7.3.1381-1_arm64.deb 11239146 BLAKE2B fee89f4f2b8a20043981c5dc4662e2df5cac983020847897c7b0797119723a1266fbdfaf34ffea28bfe1d01786994376ad30ad475f9808372f93601cb6af8d89 SHA512 5c421ddb6ee853395e6e43d3ffd9c483c2038be7f3b0c7db797b86e403e249e3bd2143f7e476d1e547ce529369f175c27d19f3f84057ee0d1478306c9e14c509
+DIST resilio-sync_2.7.3.1381-1_armhf.deb 10985236 BLAKE2B 8b24181ac10b1d671c8e6412910ace20932e1e4386a5493b0c9030fb26b8d145c43da7d1e4b281d5d80da003469ab4197573d123dd5e9256eec27be139e62cef SHA512 cb725ff8051a84b0511204f81d9e34ab14f48dc9c274620efbd81c8c1cdbf641e26373f397e185c0afc1ec02ba8925e179a7953f5f8df780f1659b5952eeb4cb
+DIST resilio-sync_2.7.3.1381-1_i386.deb 11968124 BLAKE2B 251a70fe03e4916e6fccbcb49c36e0b3b0508c469c69244ccc00e5db7448d701d08a44ae545c677f2db1a34ff0ffe1908b6efd137c792981f885fc0be4d80c69 SHA512 e28b6098dacdf707ce5e9c15ededf10eaee614e331f0515ec200bd17211e1826c4bc4fb0cc7692abbf90fb9d1bb78765b4a13ae106fbf4e6bd3b72282e709b78
+DIST resilio-sync_arm64.tar.gz 13108308 BLAKE2B d6b9038041cada6017a925ccbc38094c6e876f6aa009ac5a6cd134d883458764c1549c5fab38f53a0bc16593fe51dcd816fa91c75a0a7ef7ecb9ac3a378107b3 SHA512 0b0ee23a8709272f8e3d346377891a88aac57d68ce3161777383c8d16b6456017920f8f10baa37bd524eaefb4e20e6d9646b084bedfb3124f33b5da8e4085388
+DIST resilio-sync_armhf.tar.gz 12124154 BLAKE2B 19b5ede578e51e851320d1fe202c73987c1d5a833a9ac6134a34c1302c133140ea708e5fa9500099f47378fbc8ac877ff08ab88c16040f38584e4cfdc2778927 SHA512 f0666b237f5f1a82299818df2dc24461456d61ea7ed51768ee5318ddcd5bcb2c49bf011c34d20f156b689bc29f43ec7895c368517b2fef4d4fb4ca10601fdf53
+DIST resilio-sync_i386.tar.gz 13675137 BLAKE2B c0d0e738acab7b8117edcaf027f6fd1223154f1cc998ff585946cc0ed7c2981356b4ab6b4914a2939fa8a423dae5b7fe5677f32c3f7835fbdc8f931717219836 SHA512 24159f581c47e94d2f8a664450a1a33d76f5cade44e9d5b0ad15246c6c5cdcf91f267f8dac20382e0618ebe0f9df5b30befe5eab600c395e7893da1d359b5982
+DIST resilio-sync_x64.tar.gz 13563546 BLAKE2B ae1f7a0a4fb4605c310464871628a36531986913429d86955a9b10fb0bb7ad58f29c7a6d400479b8fd154052282ed3bc7e37060c7d32f36486e316bd5ae77e2b SHA512 cfbf522761e6c9f0c77dfbb38b5a17f23360b147138cad9932400cd41fef6a14874cd1b58d737430ff5a9ae3a5e9d09f210b745bc5d2219d583c0def9f29dffc
diff --git a/net-p2p/resilio-sync/resilio-sync-2.7.3.1381.ebuild b/net-p2p/resilio-sync/resilio-sync-2.7.3.1381.ebuild
new file mode 100644
index 000000000000..2350cf287fd5
--- /dev/null
+++ b/net-p2p/resilio-sync/resilio-sync-2.7.3.1381.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker
+
+QA_PREBUILT="usr/bin/rslsync"
+BASE_URI="https://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb"
+
+DESCRIPTION="Resilient, fast and scalable file synchronization tool"
+HOMEPAGE="https://www.resilio.com"
+SRC_URI="amd64? ( ${BASE_URI/@arch@/amd64} )
+ arm? ( ${BASE_URI/@arch@/armhf} )
+ arm64? ( ${BASE_URI/@arch@/arm64} )
+ x86? ( ${BASE_URI/@arch@/i386} )"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="bindist mirror"
+
+RDEPEND="acct-group/rslsync
+ acct-user/rslsync"
+
+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"
+
+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 -o rslsync -g rslsync -m 0644
+ 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 -o rslsync -g rslsync -m 0700
+ 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-9999.ebuild b/net-p2p/resilio-sync/resilio-sync-9999.ebuild
new file mode 100644
index 000000000000..ec75a022b718
--- /dev/null
+++ b/net-p2p/resilio-sync/resilio-sync-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils readme.gentoo-r1 systemd tmpfiles
+
+QA_PREBUILT="usr/bin/rslsync"
+BASE_URI="https://download-cdn.resilio.com/stable/linux-@arch@/${PN}_@arch@.tar.gz"
+
+DESCRIPTION="Resilient, fast and scalable file synchronization tool"
+HOMEPAGE="https://www.resilio.com"
+SRC_URI="amd64? ( ${BASE_URI//@arch@/x64} )
+ arm? ( ${BASE_URI//@arch@/armhf} )
+ arm64? ( ${BASE_URI//@arch@/arm64} )
+ x86? ( ${BASE_URI//@arch@/i386} )"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="bindist mirror"
+
+RDEPEND="acct-group/rslsync
+ acct-user/rslsync"
+
+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"
+
+src_install() {
+ dobin rslsync
+ pax-mark m "${ED}"/usr/bin/rslsync
+
+ 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 -o rslsync -g rslsync -m 0644
+ 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 -o rslsync -g rslsync -m 0700
+ 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
+}