1
0
Fork 0

net-p2p/bittorrent-sync: added new ebuild by pigfoot

Package-Manager: portage-2.2.26
This commit is contained in:
Horea Christian 2016-01-13 19:09:48 +01:00
parent df84a54e99
commit 68eddf5aa5
No known key found for this signature in database
GPG Key ID: 0D5087BE29AA1C79
6 changed files with 65 additions and 99 deletions

View File

@ -0,0 +1,6 @@
*bittorrent-sync-1.4.110 (13 Jan 2016)
13 Jan 2016; <chymera@gentoo.org> +bittorrent-sync-1.4.110.ebuild,
-bittorrent-sync-1.1.82.ebuild, -bittorrent-sync-1.3.105.ebuild,
-bittorrent-sync-1.3.94-r1.ebuild:
net-p2p/bittorrent-sync: added new ebuild by pigfoot

View File

@ -1,6 +1,2 @@
DIST btsync_i386-1.1.82.tar.gz 1375007 SHA256 1b163881631d008ea5472b1f03a49e96f2a107b9565c5d8ae48124042e3a4def SHA512 2f7f24989412945f1da18d88760e955fa55ca8e97a75e2e72e48a001e6a3d9253a7c0856e5b8dfc5bef9dcd8c405f76f1aed6f05fdb0ae7f2bdffe0c6f90a1a8 WHIRLPOOL daf2af288b1e55bd3700bfba600eab9b975ad3701cf41b921554bcc5760096c8afba90ef70a3e4972d73eaf92fd82815f0d19d36de55547529f0eba175b094bd
DIST btsync_i386-1.3.105.tar.gz 3442149 SHA256 4a0c79bc9cc26091971c8bc886e389d5666cb6af2f44925cd859b759d75344a0 SHA512 3dff61669ad2953e0cd5bf5915e1858c5e2840d317d226069868c7b252d8e55ff5ea0ef8162509ef2d8f8c757fa3c3ad86f34aea010ce20636d8079b04b84b87 WHIRLPOOL 418bee6a968a0d93dbf1e342360018f7083f1a0208ef120882dfdbcd8acdc4a5ef174e21ab4809a85b985a04f24b369b597bb33a02e941fb4194f0dbb36330b3
DIST btsync_i386-1.3.94.tar.gz 2157170 SHA256 d39dbaf08c66f2dcdcf9c22c9a95727ba7da2030b092c5be1922f548190fb482 SHA512 d1abf01d7c5191590a50cb3445cae95cb0bcda8a1705dde3452eae588fa00995b8c766abb5a203dc5e6a073293f7db437a851c153f1f43cfe03c249772e66f02 WHIRLPOOL e1859c305f131b90e2a9a2d61f951a8a644ad3ca9b6039bc0d20ae53c8a5bb9784e4cc635727c1e25fb73ff79af2068d1397a7f34c25f4f59e407581f9d69f4c
DIST btsync_x64-1.1.82.tar.gz 1457129 SHA256 3cefbef2af6323dfdb7ccfaad32f7d0c8ed5cb4ebbab58936a479f0c30804bbb SHA512 513048820cdfa02bf90bb731479baf84f7e43947cd3794d3d867f785ed7750b50518b5ed1f5447d78d563eaf25079669293d4da66624c0c8cc501213e1ec8808 WHIRLPOOL 7eab7873aefb8ef704082d782c2df4b3193ce9a0073e725180e3d1c4daa721d1a5110de698cfe07882351ed96ca4a87e84cc3b0ed2e8959d04aed0491a0d08cb
DIST btsync_x64-1.3.105.tar.gz 3615069 SHA256 83dc9687bb4ec0dbc0b4e4304e18f42007064b58d29148b11c5fdca0dbffe033 SHA512 29f3a36e7ff9ec281e3da71b48dd6182193e31b883aebef7783ee54dae9342987b3066d77187f0b5e7c278f20b2a91a5d28719fe497a99665180fd18304f8985 WHIRLPOOL edf8a5077c66c24516132bfe3fd9a3198e0025793841ad390695357c7a412c8b51bfd52bbfac8cd537b771c196156d3cff5586c80f0778c7c20a11fc4ea4f2ee
DIST btsync_x64-1.3.94.tar.gz 2328717 SHA256 3e1681379206fd5b857a3bb89367e7496e42a69bdceb12097a93f04236076af5 SHA512 9a44abf4386247fd18462780528d7e62a84599fc6f1439f7a453ad0e4795e2db161a7d18057fa1cf228513123e8df4e87fa7978b436381d1c72ef0a95238e37f WHIRLPOOL 586007436a55591442bf9de4eeb99ac2c0b915e7dfe3f616c66eca3bafe4cad17571aaa4b7a50e326c072b7261784ee83b4099f97a2209156552efd8325afced
DIST btsync_i386-1.4.110.tar.gz 3986220 SHA256 5d307dd9a39e2f6688976eb9e2ba8a67dad98ae7f3df59c6550c45d3bae25831 SHA512 c08990d0707376f7eb117170ea72c0de162eb0c7aacf98b752fc915c92b8f7774ee3d5a51e3857ad1ddcc18427b20c7fdb1720de057705c2812c7b030162ae09 WHIRLPOOL 95c9bcc3a8b4b23c1fc86d6512ab32a86ca13c4a561891894a6186cd766a364f449df8bcb7d419c5e1750086e9d6b41180ab76ee3055cd42416c2d0f607d1ecc
DIST btsync_x64-1.4.110.tar.gz 4138116 SHA256 edba53cf27a2e64646d5216938fc3a2292e7b1201c864387703ffb7d3b362ead SHA512 c3893f6ee70ebdb0ce61559c17ef6af269ca15cd3ccb79768cfbd0b5cd42bfbc5b41cf4506ddd36ff7bbb62c1307b04b621987c4cbfc7c6ab91b8ca465327129 WHIRLPOOL f40628d97248fd692bfced71f08c687a90ef03018697aa4acbd23a5e1cca7d8cafebb475c0edd62ced89325084e380d241321d0e538008bc411028c2b9f018f0

View File

@ -1,31 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Automatically sync files via secure, distributed technology."
HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html"
SRC_URI="
amd64? ( http://syncapp.bittorrent.com/${PV}/btsync_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/btsync_i386-${PV}.tar.gz )"
LICENSE="bittorrent-sync"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
RESTRICT="mirror bindist"
S="${WORKDIR}"
QA_PREBUILT="opt/bin/btsync"
src_install() {
exeinto /opt/bin
doexe btsync
newconfd "${FILESDIR}/btsync.confd" btsync
newinitd "${FILESDIR}/btsync.initd" btsync
}

View File

@ -1,31 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Automatically sync files via secure, distributed technology."
HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html"
SRC_URI="
amd64? ( http://syncapp.bittorrent.com/${PV}/btsync_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/btsync_i386-${PV}.tar.gz )"
LICENSE="bittorrent-sync"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
RESTRICT="mirror bindist"
S="${WORKDIR}"
QA_PREBUILT="opt/bin/btsync"
src_install() {
exeinto /opt/bin
doexe btsync
newconfd "${FILESDIR}/btsync.confd" btsync
newinitd "${FILESDIR}/btsync.initd" btsync
}

View File

@ -1,31 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Automatically sync files via secure, distributed technology."
HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html"
SRC_URI="
amd64? ( http://syncapp.bittorrent.com/${PV}/btsync_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/btsync_i386-${PV}.tar.gz )"
LICENSE="bittorrent-sync"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
RESTRICT="mirror bindist"
S="${WORKDIR}"
QA_PREBUILT="opt/bin/btsync"
src_install() {
exeinto /opt/bin
doexe btsync
newconfd "${FILESDIR}/btsync.confd" btsync
newinitd "${FILESDIR}/btsync.initd" btsync
}

View File

@ -0,0 +1,57 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit user systemd
NAME="btsync"
DESCRIPTION="Fast, unlimited and secure file-syncing. Free from the cloud."
HOMEPAGE="http://www.getsync.com/"
SRC_URI="
amd64? ( http://syncapp.bittorrent.com/${PV}/btsync_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/btsync_i386-${PV}.tar.gz )"
RESTRICT="mirror strip"
LICENSE="BitTorrent"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
pkg_setup() {
local btsyncuser="btsync"
enewgroup ${btsyncuser}
enewuser btsync -1 -1 /var/lib/${NAME} ${btsyncuser}
}
src_install() {
# Install the executable
exeinto "/opt/${NAME}"
doexe "${S}/${NAME}"
# Install a default configuration file
insinto "/etc/${NAME}"
newins "${FILESDIR}/btsync.conf" "${NAME}.conf"
# Install the OpenRC init file
doinitd "${FILESDIR}/init.d/${NAME}"
# Install the systemd unit file
systemd_dounit "${FILESDIR}/systemd/${NAME}.service"
for x in {/var/lib,/run}/${NAME}; do
keepdir "${x}"
fowners btsync:btsync "${x}"
done
}
pkg_postinst() {
elog "In order for shared files between local users to be as easy as possible,"
elog "please set up ACLs on your system."
elog ""
elog "You will also need to configure btsync by editing /etc/btsync/config"
elog ""
elog "After checking your config, start the service and point your browser to"
elog "http://localhost:8888 , the default username and password is admin/admin."
}