1
0
Fork 0

btsync instead of bittorrent_sync

This commit is contained in:
Horea Christian 2013-09-28 01:18:49 +02:00
parent 90d829c795
commit 4362376272
5 changed files with 48 additions and 33 deletions

1
metadata/layout.conf Normal file
View File

@ -0,0 +1 @@
masters = gentoo

View File

@ -1,3 +0,0 @@
DIST btsync_i386-1.1.70.tar.gz 1367784 SHA256 25161852b8eaddf50ae385771f79bac47818467bc5cabc539a64d985e8af4dc6 SHA512 ac18a91a2d9549388541c2c7dabcae1e8b04534115d3c7e5d93b3fe984c801ebdeed931d63d59e7e7e767587fe42d2bb80e6833127b4cf475d30130314f5c864 WHIRLPOOL a5b12b32a521b7f730b8e9cd1505ac4b7ccd56f0d5f91a1988192b32a539a48380d040d6485327153051708c4d5919d517202d90aaf3c8033bdb730b72981314
DIST btsync_x64-1.1.70.tar.gz 1449204 SHA256 7197ac1a23ff593b1cc6ef124cb2555376aac4637f368483ed2e0d5230b3dec2 SHA512 768f960935cacd1ccc655e9182ada0ddf61d4b8fd0dc8a5386182a46014e6bd11f1743a78884f17b9d3b04d6668bb98c56bce8019c902a216ed26d65a60492c7 WHIRLPOOL 6261713d643ef0eb9816837975a0d0af534819cf978de8370b088c93bd86770f3053c0976e27aee32fc00b0ecf1a9a01cf083e95c1325dcd632896a6e6b5bf2c
EBUILD bittorrent-sync-1.1.70.ebuild 701 SHA256 95aaf86f88fab35b03133f17599c4e0b618285608d985be6377a8ed6429f0255 SHA512 773205459a387f31117921a4ef0bd3b2fd4411f5f0299f0c3126776bddf40c10df4ecdbbc02a808f7ae648c798ba196a2650bbdbebacb198720d10d931603dff WHIRLPOOL 44cbb9165621d60800887f41025f42dcc1443b6e4645094608ccea5d204b952e26809b3427c65f8a3d8ea6945d0a1325850287e133e11b5c5dad4d8e1480b2d5

View File

@ -1,30 +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}"
S="${WORKDIR}"
QA_PREBUILT="opt/bin/btsync"
src_install() {
exeinto /opt/bin
doexe btsync
newconfd "${FILESDIR}/btsync.confd" btsync
newinitd "${FILESDIR}/btsync.initd" btsync
}

5
net-p2p/btsync/Manifest Normal file
View File

@ -0,0 +1,5 @@
DIST btsync_arm-1.1.70.tar.gz 1279220 SHA256 d79b3cf1881fcab95614693569c950d07dd93ffb70cefd901963dec54b75a05b SHA512 321079de894170eafdd8f923f2e1bfd0909904d350b678707f67566ed0afd1ef8af333270b791d6a429774d7e454da4ef064b417be36b338de2e53599e699bd3 WHIRLPOOL f6499199eae078bc7609aa190a61800866dffbc40fcf08f1ae65456ab6ebf36123e5542b3bbff39f0e61d7ae7161d97684ebed3f091145a90e6eb0b789d3db41
DIST btsync_i386-1.1.70.tar.gz 1367784 SHA256 25161852b8eaddf50ae385771f79bac47818467bc5cabc539a64d985e8af4dc6 SHA512 ac18a91a2d9549388541c2c7dabcae1e8b04534115d3c7e5d93b3fe984c801ebdeed931d63d59e7e7e767587fe42d2bb80e6833127b4cf475d30130314f5c864 WHIRLPOOL a5b12b32a521b7f730b8e9cd1505ac4b7ccd56f0d5f91a1988192b32a539a48380d040d6485327153051708c4d5919d517202d90aaf3c8033bdb730b72981314
DIST btsync_powerpc-1.1.70.tar.gz 1451029 SHA256 7d68783020627a019363c20d776aaf017bde023886989cac4bd96528fdae9faf SHA512 7f0e22d1cf10e7ebbae78e43cbd84d4d4de2b20478a6605534ee4c04ade68b2bbdea33049a9861cfd53badc4e7e7b2ff24e35c3156d3cf62a8828300094ba5ba WHIRLPOOL ab33985672e29c69c7aaa9729c93dd35a78152fde6b64adaba8a04f93f3ef4006defe240d127e33f6f348a7b825a3ce2e642228f43beb64ecd2fb811f300bdf3
DIST btsync_x64-1.1.70.tar.gz 1449204 SHA256 7197ac1a23ff593b1cc6ef124cb2555376aac4637f368483ed2e0d5230b3dec2 SHA512 768f960935cacd1ccc655e9182ada0ddf61d4b8fd0dc8a5386182a46014e6bd11f1743a78884f17b9d3b04d6668bb98c56bce8019c902a216ed26d65a60492c7 WHIRLPOOL 6261713d643ef0eb9816837975a0d0af534819cf978de8370b088c93bd86770f3053c0976e27aee32fc00b0ecf1a9a01cf083e95c1325dcd632896a6e6b5bf2c
EBUILD btsync-1.1.70.ebuild 975 SHA256 8338a00fec137dc05c9f9df5d888de5a0c16ec0d1e8cb52ca116ff0bf8dd82cf SHA512 6c910b6643d1aedfc380d25c2fa940bec1a1abcbf26bab472331d578b06fe007205e985a1d627daf94b5c5f735e9fff944e70775ca7f0a00631ae1c63c74c7c4 WHIRLPOOL 5a007b0256526188dc7bb99d7165aacba9eeecbeaab7622158b12221856ef4a648872c38575a686a8998784261866d8124dd22d7a66f3c2de3b18d4061290346

View File

@ -0,0 +1,42 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit pax-utils
DESCRIPTION="Sync stuff via BitTorrent"
HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html"
SRC_URI="amd64? ( http://syncapp.bittorrent.com/${PV}/${PN}_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/${PN}_i386-${PV}.tar.gz )
ppc? ( http://syncapp.bittorrent.com/${PV}/${PN}_powerpc-${PV}.tar.gz )
arm? ( http://syncapp.bittorrent.com/${PV}/${PN}_arm-${PV}.tar.gz )"
RESTRICT="mirror"
LICENSE="BitTorrent"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~ppc"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}"
QA_PREBUILT="usr/bin/btsync"
src_install() {
dodoc LICENSE.TXT
newinitd "${FILESDIR}/btsync_initd" btsync
newconfd "${FILESDIR}/btsync_confd" btsync
insinto /etc
doins "${FILESDIR}/btsync.conf"
mkdir -p "${D}/usr/bin"
cp btsync "${D}/usr/bin/btsync"
pax-mark m "${D}/usr/bin/btsync"
}