Closes: https://bugs.gentoo.org/698286
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/13686
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="pax_kernel"
+IUSE=""
RESTRICT="bindist mirror"
S="${WORKDIR}"
src_install() {
dobin usr/bin/rslsync
- use pax_kernel && pax-mark m "${ED%/}"/usr/bin/rslsync
+ pax-mark m "${ED}"/usr/bin/rslsync
doman resilio-sync.1
# 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 | \
+ newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \
sed \
-e "/storage_path/s|//| |g" \
-e "/pid_file/s|//| |g" \