Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 442728 Details for
Bug 486406
net-misc/btsync - Automatically sync files via secure, distributed technology
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
resilio sync ebuild
resilio-sync-9999.ebuild (text/plain), 1.89 KB, created by
Vladimir Pavljuchenkov (SpiderX)
on 2016-08-07 21:33:23 UTC
(
hide
)
Description:
resilio sync ebuild
Filename:
MIME Type:
Creator:
Vladimir Pavljuchenkov (SpiderX)
Created:
2016-08-07 21:33:23 UTC
Size:
1.89 KB
patch
obsolete
># Copyright 1999-2016 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >EAPI=6 > >inherit user systemd pax-utils > >NAME="btsync" >QA_PREBUILT="usr/bin/${NAME}" > >DESCRIPTION="Resilient, fast and scalable file synchronization tool" >HOMEPAGE="https://getsync.com/" >SRC_URI="amd64? ( https://download-cdn.getsync.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz ) > x86? ( https://download-cdn.getsync.com/stable/linux-i386/BitTorrent-Sync_i386.tar.gz ) > arm? ( https://download-cdn.getsync.com/stable/linux-arm/BitTorrent-Sync_arm.tar.gz ) >" >LICENSE="BitTorrent no-source-code" >SLOT="0" >KEYWORDS="-* ~x86 ~amd64 ~arm" >IUSE="systemd pax_kernel" > >RESTRICT="mirror" >DOCS=( README LICENSE.TXT ) >S="${WORKDIR}" > >pkg_setup() { > enewgroup ${NAME} > enewuser ${NAME} -1 -1 /var/lib/${NAME} ${NAME} >} > >src_install() { > dobin ${NAME} > use pax_kernel && pax-mark m "${D}"/usr/bin/${NAME} > > keepdir /etc/${NAME} /var/lib/${NAME}/ /var/lib/${NAME}/.sync > fperms 0700 /etc/${NAME} /var/lib/${NAME} /var/lib/${NAME}/.sync > fowners -R ${NAME}:${NAME} /etc/${NAME} /var/lib/${NAME} > > use systemd || newinitd "${FILESDIR}"/${NAME}.initd ${NAME} > use systemd || newconfd "${FILESDIR}"/${NAME}.confd ${NAME} > use systemd && systemd_dounit "${FILESDIR}"/${NAME}.service >} > >pkg_preinst() { > # Generate sample config > "${D}"/usr/bin/${NAME} --dump-sample-config > \ > "${D}"/etc/${NAME}/${NAME}.conf > fowners ${NAME}:${NAME} /etc/${NAME}/${NAME}.conf > # 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/${NAME}/.sync|g" \ > -e "/pid_file/s|/var||g" \ > "${D}"/etc/${NAME}/${NAME}.conf || die "sed for pkg_preinst failed" >} > >pkg_postinst() { > elog "You may need to review /etc/${NAME}/btsync.conf" > elog "Defalt metadata path is /var/lib/${NAME}/.sync" > elog "Default web-gui URL is http://localhost:8888/" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 486406
:
359712
|
359714
|
359716
| 442728 |
442730
|
442732
|
442734
|
442736