Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Builder Robot
eepm
Commits
0c05f623
Commit
0c05f623
authored
Oct 21, 2025
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Oct 21, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add resilio-sync (eterbug #18634)
parent
9d660d32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
0 deletions
+72
-0
resilio-sync.sh
play.d/resilio-sync.sh
+51
-0
resilio-sync.sh
repack.d/resilio-sync.sh
+21
-0
No files found.
play.d/resilio-sync.sh
0 → 100755
View file @
0c05f623
#!/bin/sh
PKGNAME
=
resilio-sync
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"is a proprietary peer-to-peer file synchronisation tool."
URL
=
"https://www.resilio.com/sync/download/"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
pkgtype
=
"
$(
epm print info
-p
)
"
debarch
=
"
$(
epm print info
--debian-arch
)
"
rpmarch
=
"
$(
epm print info
-a
)
"
# can't get latest version from their repo and changelog page, so hardcoding for now
VERSION
=
"3.1.1.1075"
# version in the repo is outdated and doesn't work with cdn
#VERSION=$(eget -O- 'http://linux-packages.resilio.com/resilio-sync/deb/dists/resilio-sync/non-free/binary-amd64/Packages' \
#| awk '/^Package: resilio-sync$/{p=1;next} p&&/^Version:/{print $2; exit}' | sed 's/-.*//')
case
"
$pkgtype
"
in
rpm
)
# https://download-cdn.resilio.com/3.1.1.1075/rpm/x86_64/0/resilio-sync-x86_64.rpm
file
=
"resilio-sync-
${
rpmarch
}
.rpm"
link_type
=
"rpm"
arch
=
"
$rpmarch
"
;;
*
)
# https://download-cdn.resilio.com/3.1.1.1075/debian/amd64/0/resilio-sync-amd64.deb
file
=
"resilio-sync-
${
debarch
}
.deb"
link_type
=
"debian"
arch
=
"
$debarch
"
;;
esac
PKGURL
=
"https://download-cdn.resilio.com/
$VERSION
/
$link_type
/
$arch
/0/
$file
"
install_pkgurl
cat
<<
EOF
Note: run
# serv resilio-sync on
to start Guardant Control Center permanently
EOF
repack.d/resilio-sync.sh
0 → 100755
View file @
0c05f623
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
cat
<<
EOF
| create_file /usr/lib/sysusers.d/resilio-sync.conf
u rslsync - "rslsync daemon" /var/lib/rslsync
EOF
cat
<<
EOF
| create_file /usr/lib/tmpfiles.d/resilio-sync.conf
# Override this file with a modified version in /etc/tmpfiles.d/
D /run/resilio 0755 rslsync rslsync -
d /var/lib/rslsync 0755 rslsync rslsync
Z /var/lib/rslsync - rslsync rslsync
z /etc/rslsync.conf 0600 rslsync rslsync
EOF
add_libs_requires
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment