Hello, I would like to ansk any of you who have the time and are interested to add/help me add this package to Portage.
BtSync provides p2p (cloudless) sync between folders. It is free, FOSS, lightweight, and does a really popular task.
I have already tried my hand at writing an ebuild for it
But I cannot test the init.d script (not running udev) and I believe the btsync.service systemd script I dreamt up is not really working. Directly launching the app also seems to not be working.
Please Help! :)
Created attachment 359712 [details]
Created attachment 359714 [details]
Created attachment 359716 [details]
Ok, so apparently I figured this out - here is an up-to-date ebuild for btsync which should work with both udev and systemd.
It would be great if you can help me get this into portage.
also, why net-misc/btsync and not net-p2p/btsync ? some overlays and funtoo have btsync (ebuilds which in contrast to mine are either outdated or do not work with systemd) - and it's in net-p2p.
Hi, I just finished writing an ebuild with full SystemD support for Btsync. You may find the files here https://github.com/TheChymera/chymeric/tree/master/net-p2p/btsync
Also, here's a walkthrough and documentation on how it all works: http://tutorials.chymera.eu/blog/2013/10/16/btsync/
This is amazing! I don't use systemd, so that's probably the reason why your ebuild doesn't work for me. I fetched it from somewhere else and it works like a charm. Very sad that this didn'T make it into portage so far!
Matrux, would you mind telling me where you got it from? I could use the init file your other source provides and then this ebuild would also work with sysvinit & RC
Sure, that must have been this:
I use it since some weeks and it just works.
There is a new version up: 1.2.91. Too bad this is still not in portage.
Two new version bumps: 1.3.67 and 1.3.77. I succesfully managed to copy the 1.2.91.ebuild to version 1.3.67, but this doesn't work anymore for the newer versions. Unfortunately I don't have any clue about writing ebuilds, so I guess I am stuck at 1.3.67...
There's an ebuild for 1.4.75 in the "abnorm" overlay:
Created attachment 442728 [details]
resilio sync ebuild
My version of ebuild:
1. Binary is installed into /usr/bin.
There is no need in /opt since upstream provides just binary with the possibility to configure path of resources, required for runtime.
2. Ebuild wrote through usage of ebuild's standard functions.
3. There are openrc init-script and systemd service.
4. Support for PAX kernels.
Created attachment 442730 [details]
Created attachment 442732 [details]
Created attachment 442734 [details]
Created attachment 442736 [details]
The bug has been closed via the following commit(s):
Author: Vladimir Pavljuchenkov (SpiderX) <firstname.lastname@example.org>
AuthorDate: 2017-07-19 18:35:22 +0000
Commit: Patrice Clement <email@example.com>
CommitDate: 2018-01-25 22:46:40 +0000
net-p2p/resilio-sync-bin: new package.
Resilio Sync is a proprietary peer-to-peer multiplatform file synchronization
tool It can sync files between devices on a local network, or between remote
devices over the Internet via a modified version of the BitTorrent protocol.
Base for ebuild from https://github.com/SpiderX/portage-overlay/tree/master/net-p2p/resilio-sync.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
net-p2p/resilio-sync/Manifest | 2 +
net-p2p/resilio-sync/files/resilio-sync-user.confd | 12 ++++
net-p2p/resilio-sync/files/resilio-sync-user.initd | 27 ++++++++
.../resilio-sync/files/resilio-sync-user.service | 13 ++++
net-p2p/resilio-sync/files/resilio-sync.confd | 12 ++++
net-p2p/resilio-sync/files/resilio-sync.initd | 18 +++++
net-p2p/resilio-sync/files/resilio-sync.service | 17 +++++
net-p2p/resilio-sync/files/resilio-sync.tmpfile | 1 +
net-p2p/resilio-sync/metadata.xml | 24 +++++++
net-p2p/resilio-sync/resilio-sync-2.5.12.ebuild | 78 ++++++++++++++++++++++
10 files changed, 204 insertions(+)