aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2016-09-23 20:29:58 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2016-09-23 20:29:58 +0000
commit3c6b82070ced94d50f42aebaa60c035b9e6301f0 (patch)
treec754b5838b94ed9494a06cc0d19146f69ed7648a /net
parentfc7a7a544daca997f91f23e51a5d0b3c1d1f387e (diff)
downloadports-3c6b82070ced94d50f42aebaa60c035b9e6301f0.tar.gz
ports-3c6b82070ced94d50f42aebaa60c035b9e6301f0.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/rclone/Makefile98
-rw-r--r--net/rclone/distinfo49
-rw-r--r--net/rclone/pkg-descr4
4 files changed, 152 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index baa347b4a45a..320c491665b1 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1067,6 +1067,7 @@
SUBDIR += radsecproxy
SUBDIR += radvd
SUBDIR += raggle
+ SUBDIR += rclone
SUBDIR += rdapper
SUBDIR += rdesktop
SUBDIR += rdist6
diff --git a/net/rclone/Makefile b/net/rclone/Makefile
new file mode 100644
index 000000000000..951069184a30
--- /dev/null
+++ b/net/rclone/Makefile
@@ -0,0 +1,98 @@
+# $FreeBSD$
+
+PORTNAME= rclone
+PORTVERSION= 1.33
+DISTVERSIONPREFIX= v
+CATEGORIES= net
+
+MAINTAINER= wg@FreeBSD.org
+COMMENT= Sync files to and from various cloud services
+
+LICENSE= MIT
+
+USES= go
+USE_GITHUB= yes
+GH_TUPLE+= \
+ ncw:rclone:${DISTVERSIONFULL} \
+ ncw:go-acd:56da839:goacd \
+ ncw:swift:b964f2c:swift \
+ aws:aws-sdk-go:87a2cff:awssdkgo \
+ mreiferson:go-httpclient:31f0106:gohttpclient \
+ google:go-querystring:9235644:goquerystring \
+ GoogleCloudPlatform:google-cloud-go:80a7732:gcloudgolang \
+ google:google-api-go-client:0caa379:googleapigoclient \
+ golang:oauth2:3c3a985:oauth2 \
+ golang:net:6d3beae:net \
+ golang:text:a7c0236:text \
+ skratchdot:open-golang:75fb7ed:opengolang \
+ stacktic:dropbox:58f839b:dropbox \
+ tsenart:tb:19f4c3d:tb \
+ VividCortex:ewma:c595cd8:ewma \
+ golang:crypto:8e06e8d:crypto \
+ pkg:errors:a887431:errors \
+ bazil:fuse:371fbbd:fuse \
+ spf13:cobra:9c28e4b:cobra \
+ spf13:pflag:c7e63cf:pflag \
+ rfjakob:eme:601d0e2:eme \
+ ogier:pflag:45c278a:opflag \
+ Unknwon:goconfig:5aa4f8c:goconfig \
+ cpuguy83:go-md2man:a65d4d2:gomd2man
+
+PLIST_FILES= bin/rclone
+
+STRIP= # stripping can break go binaries
+
+post-extract:
+ @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
+.for src in amazonclouddrive b2 cmd crypt dircache docs drive dropbox fs fstest googlecloudstorage graphics hubic local oauthutil onedrive pacer rest s3 swift yandex CONTRIBUTING.md COPYING README.md appveyor.yml rclone.go
+ @${MV} ${WRKSRC}/${src} \
+ ${WRKSRC}/src/github.com/ncw/${PORTNAME}
+.endfor
+ @${MKDIR} ${WRKSRC}/src/bazil.org
+ @${MKDIR} ${WRKSRC}/src/github.com/Unknwon
+ @${MKDIR} ${WRKSRC}/src/github.com/cpuguy83
+ @${MKDIR} ${WRKSRC}/src/github.com/ogier
+ @${MKDIR} ${WRKSRC}/src/github.com/rfjakob
+ @${MKDIR} ${WRKSRC}/src/github.com/spf13
+ @${MKDIR} ${WRKSRC}/src/github.com/stacktic
+ @${MKDIR} ${WRKSRC}/src/github.com/tsenart
+ @${MKDIR} ${WRKSRC}/src/github.com/VividCortex
+ @${MKDIR} ${WRKSRC}/src/github.com/aws
+ @${MKDIR} ${WRKSRC}/src/github.com/mreiferson
+ @${MKDIR} ${WRKSRC}/src/github.com/skratchdot
+ @${MKDIR} ${WRKSRC}/src/github.com/google
+ @${MKDIR} ${WRKSRC}/src/github.com/pkg
+ @${MKDIR} ${WRKSRC}/src/golang.org/x
+ @${MKDIR} ${WRKSRC}/src/cloud.google.com
+ @${MKDIR} ${WRKSRC}/src/google.golang.org
+ @${MV} ${WRKSRC_fuse} ${WRKSRC}/src/bazil.org/fuse
+ @${MV} ${WRKSRC_swift} ${WRKSRC}/src/github.com/ncw/swift
+ @${MV} ${WRKSRC_goacd} ${WRKSRC}/src/github.com/ncw/go-acd
+ @${MV} ${WRKSRC_goconfig} ${WRKSRC}/src/github.com/Unknwon/goconfig
+ @${MV} ${WRKSRC_gomd2man} ${WRKSRC}/src/github.com/cpuguy83/go-md2man
+ @${MV} ${WRKSRC_opflag} ${WRKSRC}/src/github.com/ogier/pflag
+ @${MV} ${WRKSRC_eme} ${WRKSRC}/src/github.com/rfjakob/eme
+ @${MV} ${WRKSRC_cobra} ${WRKSRC}/src/github.com/spf13/cobra
+ @${MV} ${WRKSRC_pflag} ${WRKSRC}/src/github.com/spf13/pflag
+ @${MV} ${WRKSRC_dropbox} ${WRKSRC}/src/github.com/stacktic/dropbox
+ @${MV} ${WRKSRC_tb} ${WRKSRC}/src/github.com/tsenart/tb
+ @${MV} ${WRKSRC_ewma} ${WRKSRC}/src/github.com/VividCortex/ewma
+ @${MV} ${WRKSRC_awssdkgo} ${WRKSRC}/src/github.com/aws/aws-sdk-go
+ @${MV} ${WRKSRC_gohttpclient} ${WRKSRC}/src/github.com/mreiferson/go-httpclient
+ @${MV} ${WRKSRC_opengolang} ${WRKSRC}/src/github.com/skratchdot/open-golang
+ @${MV} ${WRKSRC_goquerystring} ${WRKSRC}/src/github.com/google/go-querystring
+ @${MV} ${WRKSRC_errors} ${WRKSRC}/src/github.com/pkg/errors
+ @${MV} ${WRKSRC_oauth2} ${WRKSRC}/src/golang.org/x/oauth2
+ @${MV} ${WRKSRC_googleapigoclient} ${WRKSRC}/src/google.golang.org/api
+ @${MV} ${WRKSRC_gcloudgolang} ${WRKSRC}/src/cloud.google.com/go
+ @${MV} ${WRKSRC_net} ${WRKSRC}/src/golang.org/x/net
+ @${MV} ${WRKSRC_text} ${WRKSRC}/src/golang.org/x/text
+ @${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto
+
+do-build:
+ @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; ${SETENV} GOPATH=${WRKSRC} go build .
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net/rclone/distinfo b/net/rclone/distinfo
new file mode 100644
index 000000000000..ba0da5bf89e2
--- /dev/null
+++ b/net/rclone/distinfo
@@ -0,0 +1,49 @@
+TIMESTAMP = 1474661586
+SHA256 (ncw-rclone-v1.33_GH0.tar.gz) = c1f947b9fa624bb70da151327d3b7e4652746ae56a2e66772a0808f2061efde3
+SIZE (ncw-rclone-v1.33_GH0.tar.gz) = 11684240
+SHA256 (google-google-api-go-client-0caa379_GH0.tar.gz) = dca32796b5cc6d1a73053db2bfd841389234948b918ec36cbf23d614b8ae2e65
+SIZE (google-google-api-go-client-0caa379_GH0.tar.gz) = 3677588
+SHA256 (ncw-go-acd-56da839_GH0.tar.gz) = 190c93a65d4b9469d27ed631536ee498a3893b85b8e7bc643b1aa6bdd68bff2b
+SIZE (ncw-go-acd-56da839_GH0.tar.gz) = 11323
+SHA256 (ncw-swift-b964f2c_GH0.tar.gz) = 6f125f8231823c6df35c1537950c19a4feef3135aeaea2b7f506c3ea7b27ed44
+SIZE (ncw-swift-b964f2c_GH0.tar.gz) = 44019
+SHA256 (aws-aws-sdk-go-87a2cff_GH0.tar.gz) = 6f5c0e02e5fb4d55e2458769612cc0239771427f489f8a709564c571a893dd35
+SIZE (aws-aws-sdk-go-87a2cff_GH0.tar.gz) = 4129402
+SHA256 (mreiferson-go-httpclient-31f0106_GH0.tar.gz) = 5137f75bcd6a21c621be932e1bc840d9d7228677450380e952c700488761989a
+SIZE (mreiferson-go-httpclient-31f0106_GH0.tar.gz) = 4908
+SHA256 (google-go-querystring-9235644_GH0.tar.gz) = c3e4fc74ce12cb764b43d15c4b3ba08cb4cca9f76946350ffb11c8174d178abb
+SIZE (google-go-querystring-9235644_GH0.tar.gz) = 7467
+SHA256 (GoogleCloudPlatform-google-cloud-go-80a7732_GH0.tar.gz) = a3dfe1c3aebe647937dccd97bc07d2f7b72edf5937114e5ad60672ae8ca14d8a
+SIZE (GoogleCloudPlatform-google-cloud-go-80a7732_GH0.tar.gz) = 743130
+SHA256 (golang-oauth2-3c3a985_GH0.tar.gz) = 3275fee04123bb93e41aa2ceab52f313436a6ce3075c350c3f83ada8bde7dfc7
+SIZE (golang-oauth2-3c3a985_GH0.tar.gz) = 36947
+SHA256 (golang-net-6d3beae_GH0.tar.gz) = 12e5ccde22fc2615b54a2e8ed4a7d18ba98084b243db476ef6d696aa3d043df1
+SIZE (golang-net-6d3beae_GH0.tar.gz) = 732163
+SHA256 (golang-text-a7c0236_GH0.tar.gz) = 6977650993d485ada523c25b8e38fc4028e0485ccdd380779d0ab2ddbe6c06ff
+SIZE (golang-text-a7c0236_GH0.tar.gz) = 4114047
+SHA256 (skratchdot-open-golang-75fb7ed_GH0.tar.gz) = 96759603b7ac614f579d6bd5f67f7c17148594f87c424825df774300c796dd5f
+SIZE (skratchdot-open-golang-75fb7ed_GH0.tar.gz) = 7019
+SHA256 (stacktic-dropbox-58f839b_GH0.tar.gz) = 974a14caee344d8ee14e985451416ebf9525a514b6a5749d534fcc0400ee37a1
+SIZE (stacktic-dropbox-58f839b_GH0.tar.gz) = 24210
+SHA256 (tsenart-tb-19f4c3d_GH0.tar.gz) = 307c038d55839f0b50be768aba7442d3fb4b15ac9fc1555108f1a53b2bab1e04
+SIZE (tsenart-tb-19f4c3d_GH0.tar.gz) = 6604
+SHA256 (VividCortex-ewma-c595cd8_GH0.tar.gz) = ce28c20b7f924c4a6da773d030e347f63a11708e791edf7e9ffd131f275e972d
+SIZE (VividCortex-ewma-c595cd8_GH0.tar.gz) = 5910
+SHA256 (golang-crypto-8e06e8d_GH0.tar.gz) = d1cc45e7c02cd5525632fa8d2c29e31fb0521065925e9dc1e3bd1bafe6c325c0
+SIZE (golang-crypto-8e06e8d_GH0.tar.gz) = 1051645
+SHA256 (pkg-errors-a887431_GH0.tar.gz) = 3f7d700a06dcb432516f5c81f6aab12a13853e4dd3227ba92b01df83b2c14a13
+SIZE (pkg-errors-a887431_GH0.tar.gz) = 9017
+SHA256 (bazil-fuse-371fbbd_GH0.tar.gz) = 799b6ef7f8458941ea4cfdc210764f3b3e7e90cdd19d7709889397f5fdc04864
+SIZE (bazil-fuse-371fbbd_GH0.tar.gz) = 187723
+SHA256 (spf13-cobra-9c28e4b_GH0.tar.gz) = 8ddb381bb7ebb9caffe69bbc8a2df14c87ec182ec9321b36206d47ac4b212908
+SIZE (spf13-cobra-9c28e4b_GH0.tar.gz) = 71612
+SHA256 (spf13-pflag-c7e63cf_GH0.tar.gz) = 3ee307503bbd0c8fb9d508ee1cf62d0fb2b6751cfc0fa1ceadbe860f29092a33
+SIZE (spf13-pflag-c7e63cf_GH0.tar.gz) = 32111
+SHA256 (rfjakob-eme-601d0e2_GH0.tar.gz) = d7edc66ff590dcdebde87cf1496b3e821cef1405cf1f19a8b614dc50afbcf2f6
+SIZE (rfjakob-eme-601d0e2_GH0.tar.gz) = 11843
+SHA256 (ogier-pflag-45c278a_GH0.tar.gz) = 4069c7cdac6c83cbf896a2a68c23846dcb41c8498c3e20b00cf8b35de35ea82b
+SIZE (ogier-pflag-45c278a_GH0.tar.gz) = 15814
+SHA256 (Unknwon-goconfig-5aa4f8c_GH0.tar.gz) = 609fa25016d1b2d3b3835bc198239c827e951df0767a9995de3bc8026f8a7732
+SIZE (Unknwon-goconfig-5aa4f8c_GH0.tar.gz) = 15415
+SHA256 (cpuguy83-go-md2man-a65d4d2_GH0.tar.gz) = aa57abcc9cc5b034a91479922764bffdcd602d29c8b8ce5512f4dc6bbaab54b9
+SIZE (cpuguy83-go-md2man-a65d4d2_GH0.tar.gz) = 40242
diff --git a/net/rclone/pkg-descr b/net/rclone/pkg-descr
new file mode 100644
index 000000000000..38919d39e56e
--- /dev/null
+++ b/net/rclone/pkg-descr
@@ -0,0 +1,4 @@
+Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and
+Google Cloud Storage
+
+WWW: http://www.rclone.org/