Diff resilio-sync-2.7.3.1381 with a resilio-sync-9999
| /usr/portage/net-p2p/resilio-sync/resilio-sync-9999.ebuild 2024-12-25 14:59:52.663270180 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker |
|
| 6 |
inherit pax-utils readme.gentoo-r1 systemd tmpfiles |
|
| 7 | 7 | |
| 8 | 8 |
QA_PREBUILT="usr/bin/rslsync" |
| 9 |
BASE_URI="https://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb"
|
|
| 9 |
BASE_URI="https://download-cdn.resilio.com/stable/linux-@arch@/${PN}_@arch@.tar.gz"
|
|
| 10 | 10 | |
| 11 | 11 |
DESCRIPTION="Resilient, fast and scalable file synchronization tool" |
| 12 | 12 |
HOMEPAGE="https://www.resilio.com" |
| 13 |
SRC_URI="amd64? ( ${BASE_URI/@arch@/amd64} )
|
|
| 14 |
arm? ( ${BASE_URI/@arch@/armhf} )
|
|
| 15 |
arm64? ( ${BASE_URI/@arch@/arm64} )
|
|
| 16 |
x86? ( ${BASE_URI/@arch@/i386} )"
|
|
| 13 |
SRC_URI="amd64? ( ${BASE_URI//@arch@/x64} )
|
|
| 14 |
arm? ( ${BASE_URI//@arch@/armhf} )
|
|
| 15 |
arm64? ( ${BASE_URI//@arch@/arm64} )
|
|
| 16 |
x86? ( ${BASE_URI//@arch@/i386} )"
|
|
| 17 | 17 |
S="${WORKDIR}"
|
| 18 | 18 | |
| 19 | 19 |
LICENSE="all-rights-reserved" |
| ... | ... | |
| 31 | 31 |
Default metadata path is /var/lib/resilio-sync/.sync\\n |
| 32 | 32 |
Default web-gui URL is http://localhost:8888/\\n\\n" |
| 33 | 33 | |
| 34 |
src_unpack() {
|
|
| 35 |
unpacker_src_unpack |
|
| 36 | ||
| 37 |
unpack usr/share/man/man1/resilio-sync.1.gz |
|
| 38 |
} |
|
| 39 | ||
| 40 | 34 |
src_install() {
|
| 41 |
dobin usr/bin/rslsync |
|
| 35 |
dobin rslsync |
|
| 42 | 36 |
pax-mark m "${ED}"/usr/bin/rslsync
|
| 43 | 37 | |
| 44 |
doman resilio-sync.1 |
|
| 45 | ||
| 46 | 38 |
newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync
|
| 47 | 39 |
newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync
|
| 48 | 40 |
newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user
|