summaryrefslogtreecommitdiff
path: root/net-p2p/resilio-sync
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-06 11:18:16 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-06 11:18:16 +0100
commitebce8994fe3cc4ca9fbc96ca837cb4c4e98adcbd (patch)
treef2204ce5f94dc3cb13728ff93649d889944952bb /net-p2p/resilio-sync
parentfe1c8b732bd548b699d4c2ef725f67f8b8c8911c (diff)
gentoo resync : 06.05.2018
Diffstat (limited to 'net-p2p/resilio-sync')
-rw-r--r--net-p2p/resilio-sync/Manifest8
-rw-r--r--net-p2p/resilio-sync/files/resilio-sync.initd2
-rw-r--r--net-p2p/resilio-sync/resilio-sync-2.5.12.ebuild52
3 files changed, 31 insertions, 31 deletions
diff --git a/net-p2p/resilio-sync/Manifest b/net-p2p/resilio-sync/Manifest
index de2e357d2f59..245e10157002 100644
--- a/net-p2p/resilio-sync/Manifest
+++ b/net-p2p/resilio-sync/Manifest
@@ -2,10 +2,10 @@ AUX resilio-sync-user.confd 299 BLAKE2B 0e534911629f22010329ae441140649cff373d10
AUX resilio-sync-user.initd 768 BLAKE2B b4dd9bab04ac242e258b5fd8412a2292f515535caf2845f2b2795584666924725c2c34684d6a6dfe50677b2ecc86e18a7a2c801467f8d352767138aa986f4aab SHA512 a46d90b7f85fc0d5ec88bded35cef42e105cbf8df1f65032dc79bada56ac8c50d42206fea0c5fa6cb82c4ee56eaa27f2059d283501d84ba90503b3ac6a9f9ef5
AUX resilio-sync-user.service 324 BLAKE2B 5cec927346956c5219470021fdc73bf2be5486499e917453fd5fad94717e4ad6fc5467948b11b551b5f4cdc94d6ffbfbbd4a65fe21e62a4831f610437b92574c SHA512 95621e4df7de0f26da8c057432302a98927db47b4bf9484efe00cb0649020099050feba22a107b01e4c3998ff7d05edb77bdd1ba1f8899839c92984725427504
AUX resilio-sync.confd 296 BLAKE2B c7fef752df5dcd4e903ebef2bc6da2780c9f19f5f690c505b8abd493081a1bc18a9ae18bba1700df15467786b2c50ca5b12e60cf1eef70a4169d7fc7e17a7897 SHA512 5db62947a34c3c5cedec1b4902b8291bfc46c10490f355ed1612a0f37854f3927d3e4550d1a920cd567a4a69403a80b3dd4150c8bd38906123be6542cd35459f
-AUX resilio-sync.initd 470 BLAKE2B dc58640afc6ec0706aeb82da3161c2aacb144c1b422ff3d59ac01fe7360c0c44c9c52410567225cfb7139244fff3f1a4f449766a8ce03cb53fdf1d0b22a94d55 SHA512 89def45c14bc058826879384be99c49de0be9991bbc3283c43ebcc0a788a213519551219c431c55aa046fbf773a0c8ff57f998be2db89e86f2829a468b4a9e0b
+AUX resilio-sync.initd 469 BLAKE2B 60002b8baa5889b82ac489aa8c29a9e814453c22ec08f81faea33527f18666350276b9cfadbe10324170eb97dcd9a7bef8048a6559e29fea6466718780edabd0 SHA512 930bb80ea365957c8336e744445ed3c74c4af166588447fcd502879bd9aed6851366a5897d199e4695972114b5247f4028e7463bc6a1e94ac5f4ff890c3c0802
AUX resilio-sync.service 380 BLAKE2B bab5ea03b7f0db9845a29334f56839dec68fe1d8caf32015445b5b039389f87f729367748f839667b0eb933f95d4389e7c4e0481fb70fd1936b416eacc897a50 SHA512 af50f438111808426f6d80b7bfc77daf665e583540485831c7f51300e3f4768316d0cac2712d9564f1ffcccd7cfe21c48e3c72ba595776057038c230bb3cbdd8
AUX resilio-sync.tmpfile 41 BLAKE2B fb3e9001a32e45cd230f4efef60509f20f52253ad575fb2b1493bae9846ad46210eed639c7a3f9e4a4fa7c901b42a9a7756f8583c204a4bb847e6eb96a2af323 SHA512 d9d54076785ce601023980e3fe5e2eab42e5eaf3b0bdb9caefe508e0d5fda8d32faf1338c6b901deb29488401de74228023016d72d7b0ec9db362b4c2d87edd2
-DIST resilio-sync_2.5.12-1_amd64.deb 10467196 BLAKE2B e900ac4e8b3862b29674db09d469013a5d12791c090bfd6ecae8f95af6f8ff2f990b8b9cab176b301b7625d6fcee1fcbe33b497f09bca045497a6765ccbb313c SHA512 4056df3d2cbafdb881f1d2929fca13efd258fb7af2cbdc390eae4820af1f5b2b46d410daf2a1ad1233d105edc46c4d5a8e9259e4557c0695b3392884429d95f9
-DIST resilio-sync_2.5.12-1_i386.deb 10333948 BLAKE2B 7a7a6e2bf8375bf5428c27053c22de98e598de07d8709f870152a8b9e2d7254a954b3ceebad69bebf286ef29b3d44b9955f33c4f396a7831041c34b9bd585dd2 SHA512 c15276bbe8818e30cab254a7b1f1222e3a25912d99a05287441548ea3ee3de8964d23a5aed56fd547ee3369f9943129cf7d3a5bd410ce28a9fbd45e13def56b4
-EBUILD resilio-sync-2.5.12.ebuild 2254 BLAKE2B 0ea135eea705a61e3dbe009f941c35ef7ac6809f05aa8fa1c07e42b96f959fc68fd3191cf39198b33d6f0d2db203b2dee21baa6c7c5a5741fee808e526581b78 SHA512 3f77265365a3be3f59ac1f82b7921f28e6c3a868eb191ba066b77624f31dd52b3d2b78dcdff8245df4efdca0ecb5f1bb734d80d7f40d4cdc8ea0891a31846940
+DIST resilio-sync_2.5.12-1_amd64.deb 10466894 BLAKE2B d9125bfe49738db3a2cab0d66cad9fed2ae712ee613ccd104bc1d8764bd072b082f71fc0102b15d52f791b592d88ffa4f03892e7e4088e3bf4a847b6c15b4296 SHA512 bafc8dbce182253d585185e5d0a27f0a8ca18f768bba65c348752cc089e0e690c8c1848a71cb1b125c67d2c265cbbf13e98d7c99289b0bb0268d43d3e38454d3
+DIST resilio-sync_2.5.12-1_i386.deb 10334238 BLAKE2B 447baf18db1f6c47a6a2518f9ba6a27b0d9a7092cc41d63958a66be6492cab3868a0ecae9faadfa91cfc5f777e1289cb62017519a0994b93ae448042de9b32d3 SHA512 bb46498070f6aa0e3debee839f50a9292116bd5f9105fe75c65d11f9f3199e6e5b8f828b34b364e7f3cb896bf88fd37a255289c68158df7414acf809e4701b32
+EBUILD resilio-sync-2.5.12.ebuild 2349 BLAKE2B 3299319dec3fc935935c327a35a663307830a6d3ecb0caa1d9b4668385cfaf197796d9cb26b894eb784244f72ad9ff1eb4e4f92a751f33a5d18cc0ac75736d7b SHA512 8f8507ef0676b1265845201d3df6c4eb6b29b9d1a744967ab84414424c3edda4a805386898b6e9960eb56139ff7c04312f7bcc60c156242f6ba631b70f8bf628
MISC metadata.xml 889 BLAKE2B e1ace94f1fe08c07df2825107b7f73a028894f551c5fb9a6a5986ee0fcecb29204ec19a87231153cdb16de672178eec045fabf01923bf16cb6c0307a024bdeca SHA512 cafa6e1e9a127ddc8ae14b5d52502caf5a297cb397e0770c3e7ef0bd810c4b12c197061ab1429a549054ab8c9674c9ef9d29639825f4f899892d57de41a21707
diff --git a/net-p2p/resilio-sync/files/resilio-sync.initd b/net-p2p/resilio-sync/files/resilio-sync.initd
index b9f0380a773a..3e64f108e18a 100644
--- a/net-p2p/resilio-sync/files/resilio-sync.initd
+++ b/net-p2p/resilio-sync/files/resilio-sync.initd
@@ -5,7 +5,7 @@
command="/usr/bin/rslsync"
name="Resilio Sync"
description="Resilio Sync"
-command_user="${USER:-rslsync}::${GROUP:-rslsync}"
+command_user="${USER:-rslsync}:${GROUP:-rslsync}"
pidfile="/run/resilio-sync/resilio-sync.pid"
config=${CONFIG:-/etc/resilio-sync/config.json}
command_args="--config $config ${OPTS}"
diff --git a/net-p2p/resilio-sync/resilio-sync-2.5.12.ebuild b/net-p2p/resilio-sync/resilio-sync-2.5.12.ebuild
index 908b87b2209d..33a5201ff219 100644
--- a/net-p2p/resilio-sync/resilio-sync-2.5.12.ebuild
+++ b/net-p2p/resilio-sync/resilio-sync-2.5.12.ebuild
@@ -23,53 +23,53 @@ RESTRICT="mirror"
S="${WORKDIR}"
-DOC_CONTENTS="You may need to review /etc/${PN}/config.json\n
-Default metadata path is /var/lib/${PN}/.sync\n
-Default web-gui URL is http://localhost:8888/\n\n"
+DOC_CONTENTS="You may need to review /etc/${PN}/config.json\\n
+Default metadata path is /var/lib/${PN}/.sync\\n
+Default web-gui URL is http://localhost:8888/\\n\\n"
pkg_setup() {
- enewgroup ${NAME}
- enewuser ${NAME} -1 -1 /var/lib/${PN} ${NAME}
+ enewgroup "${NAME}"
+ enewuser "${NAME}" -1 -1 /var/lib/"${PN}" "${NAME}"
}
src_unpack() {
unpacker_src_unpack
- unpack usr/share/man/man1/${PN}.1.gz
+ unpack usr/share/man/man1/"${PN}".1.gz
}
src_install() {
- dobin usr/bin/${NAME}
- use pax_kernel && pax-mark m "${ED%/}"/usr/bin/${NAME}
-
- doman ${PN}.1
-
- dodir /var/log/${PN}
- keepdir /etc/${PN} /var/lib/${PN}/ /var/lib/${PN}/.sync
- fperms 0700 /etc/${PN} /var/lib/${PN} /var/lib/${PN}/.sync /var/log/${PN}
- fowners -R ${NAME}:${NAME} /etc/${PN} /var/lib/${PN} /var/log/${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- newinitd "${FILESDIR}"/${PN}-user.initd ${PN}-user
- newconfd "${FILESDIR}"/${PN}-user.confd ${PN}-user
- systemd_dounit "${FILESDIR}"/${PN}.service
- systemd_douserunit "${FILESDIR}"/${PN}-user.service
+ dobin usr/bin/"${NAME}"
+ use pax_kernel && pax-mark m "${ED%/}"/usr/bin/"${NAME}"
+
+ doman "${PN}".1
+
+ dodir /var/log/"${PN}"
+ keepdir /etc/"${PN}" /var/lib/"${PN}"/ /var/lib/"${PN}"/.sync /var/log/"${PN}"
+ fperms 0700 /etc/"${PN}" /var/lib/"${PN}" /var/lib/"${PN}"/.sync /var/log/"${PN}"
+ fowners -R "${NAME}":"${NAME}" /etc/"${PN}" /var/lib/"${PN}" /var/log/"${PN}"
+
+ newinitd "${FILESDIR}"/"${PN}".initd "${PN}"
+ newconfd "${FILESDIR}"/"${PN}".confd "${PN}"
+ newinitd "${FILESDIR}"/"${PN}"-user.initd "${PN}"-user
+ newconfd "${FILESDIR}"/"${PN}"-user.confd "${PN}"-user
+ systemd_dounit "${FILESDIR}"/"${PN}".service
+ systemd_douserunit "${FILESDIR}"/"${PN}"-user.service
newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf
readme.gentoo_create_doc
# Generate sample config
- "${ED%/}"/usr/bin/${NAME} --dump-sample-config > \
- "${ED%/}"/etc/${PN}/config.json || die "generate config failed"
- fowners ${NAME}:${NAME} /etc/${PN}/config.json
+ "${ED%/}"/usr/bin/"${NAME}" --dump-sample-config > \
+ "${ED%/}"/etc/"${PN}"/config.json || die "generate config failed"
+ fowners "${NAME}":"${NAME}" /etc/"${PN}"/config.json
# Uncomment config directives and change their values
sed -i \
-e "/storage_path/s|//| |g" \
-e "/pid_file/s|//| |g" \
-e "/storage_path/s|/home/user/.sync|/var/lib/${PN}/.sync|g" \
-e "/pid_file/s|resilio/resilio|${PN}/${PN}|g" \
- "${ED%/}"/etc/${PN}/config.json || die "sed failed for config.json"
+ "${ED%/}"/etc/"${PN}"/config.json || die "sed failed for config.json"
}
pkg_postinst() {