Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136665718
D7377.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
7 KB
Referenced Files
None
Subscribers
None
D7377.diff
View Options
Index: head/net/dropbox-api-command/Makefile
===================================================================
--- head/net/dropbox-api-command/Makefile
+++ head/net/dropbox-api-command/Makefile
@@ -2,44 +2,31 @@
# $FreeBSD$
PORTNAME= dropbox-api-command
-PORTVERSION= 1.13
+PORTVERSION= 2.09
PORTEPOCH= 1
-CATEGORIES= net
+CATEGORIES= net perl5
-MAINTAINER= changlp@cs.nctu.edu.tw
+MAINTAINER= woodsb02@FreeBSD.org
COMMENT= Dropbox API wrapper command
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= p5-DateTime-Format-Strptime>=0:devel/p5-DateTime-Format-Strptime \
+MY_DEPENDS= p5-DateTime-Format-Strptime>=0:devel/p5-DateTime-Format-Strptime \
p5-Encode-Locale>=0:converters/p5-Encode-Locale \
p5-JSON>=0:converters/p5-JSON \
- p5-WebService-Dropbox>=1.17:net/p5-WebService-Dropbox \
- p5-Path-Class>=0.26:devel/p5-Path-Class
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+ p5-Path-Class>=0.26:devel/p5-Path-Class \
+ p5-WebService-Dropbox>=2.05:net/p5-WebService-Dropbox
+BUILD_DEPENDS= ${MY_DEPENDS}
+RUN_DEPENDS= ${MY_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= s-aska
NO_ARCH= yes
-USES= perl5
-USE_PERL5= configure
-
-# There is documentation contained in an otherwise empty library
-# (App::dropboxapi). In post-patch copy it over to the main
-# dropbox-api script so the perl build process makes a dropbox-api.1,
-# and override do-install to only copy the useful parts, i.e., not the
-# empty library.
-
-PLIST_FILES= bin/dropbox-api bin/upload-to-dropbox man/man1/dropbox-api.1.gz
-
-post-patch:
- ${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/upload-to-dropbox
- ${TAIL} +3 ${WRKSRC}/lib/App/dropboxapi.pm >> ${WRKSRC}/dropbox-api
-
-do-install:
- ${INSTALL_MAN} ${WRKSRC}/blib/man1/dropbox-api.1 ${STAGEDIR}${PREFIX}/man/man1/
- ${INSTALL_SCRIPT} ${WRKSRC}/blib/script/dropbox-api ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/upload-to-dropbox ${STAGEDIR}${PREFIX}/bin/
+USES= perl5 shebangfix
+USE_PERL5= modbuildtiny
+bash_CMD= ${SH}
+SHEBANG_FILES= script/upload-to-dropbox
.include <bsd.port.mk>
Index: head/net/dropbox-api-command/distinfo
===================================================================
--- head/net/dropbox-api-command/distinfo
+++ head/net/dropbox-api-command/distinfo
@@ -1,2 +1,3 @@
-SHA256 (s-aska-dropbox-api-command-1.13_GH0.tar.gz) = 8ffb0efc200a381cb834bfab7a77f35c4d47f749ed31c95da839171023d04df8
-SIZE (s-aska-dropbox-api-command-1.13_GH0.tar.gz) = 11326
+TIMESTAMP = 1468846405
+SHA256 (s-aska-dropbox-api-command-2.09_GH0.tar.gz) = 2d733294af7a318a4fa972509205c4840559c5e0aeb5133d587f703c12f21007
+SIZE (s-aska-dropbox-api-command-2.09_GH0.tar.gz) = 15292
Index: head/net/dropbox-api-command/pkg-descr
===================================================================
--- head/net/dropbox-api-command/pkg-descr
+++ head/net/dropbox-api-command/pkg-descr
@@ -1,5 +1,15 @@
-Dropbox's API commands from the shell.
+dropbox-api is a command line interface to access Dropbox API.
-Including sub-commands like sync, find, etc.
+It includes the following commands:
+- ls
+- find
+- du
+- sync
+- cp
+- mv
+- rm
+- mkdir
+- get
+- put
-WWW: https://github.com/s-aska/dropbox-api-command
+WWW: https://metacpan.org/pod/App::dropboxapi
Index: head/net/dropbox-api-command/pkg-plist
===================================================================
--- head/net/dropbox-api-command/pkg-plist
+++ head/net/dropbox-api-command/pkg-plist
@@ -0,0 +1,6 @@
+bin/dropbox-api
+bin/upload-to-dropbox
+%%SITE_PERL%%/App/dropboxapi.pm
+%%PERL5_MAN1%%/dropbox-api.1.gz
+%%PERL5_MAN1%%/upload-to-dropbox.1.gz
+%%PERL5_MAN3%%/App::dropboxapi.3.gz
Index: head/net/p5-WebService-Dropbox/Makefile
===================================================================
--- head/net/p5-WebService-Dropbox/Makefile
+++ head/net/p5-WebService-Dropbox/Makefile
@@ -2,42 +2,39 @@
# $FreeBSD$
PORTNAME= WebService-Dropbox
-PORTVERSION= 1.18
-PORTREVISION= 1
+PORTVERSION= 2.05
CATEGORIES= net perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:ASKADNA
PKGNAMEPREFIX= p5-
-MAINTAINER= changlp@cs.nctu.edu.tw
+MAINTAINER= woodsb02@FreeBSD.org
COMMENT= Perl interface to Dropbox API
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= p5-JSON>=2.53:converters/p5-JSON \
- p5-Net-OAuth>=0.28:net/p5-Net-OAuth \
- p5-URI>=1.60:net/p5-URI
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-OPTIONS_DEFINE= LWP
-LWP_DESC= Use LWP instead of Furl
+MY_DEPENDS= p5-HTTP-Message>=6.06:www/p5-HTTP-Message \
+ p5-JSON>=2.59:converters/p5-JSON \
+ p5-LWP-Protocol-https>=6.04:www/p5-LWP-Protocol-https \
+ p5-Net-OAuth>=0.28:net/p5-Net-OAuth \
+ p5-URI>=1.60:net/p5-URI \
+ p5-libwww>=6.05:www/p5-libwww
+BUILD_DEPENDS= ${MY_DEPENDS}
+RUN_DEPENDS= ${MY_DEPENDS}
+
+OPTIONS_DEFINE= FURL
+OPTIONS_DEFAULT=FURL
+FURL_DESC= Support the (faster) Furl HTTP client library
USES= perl5
-USE_PERL5= configure
-
-.include <bsd.port.options.mk>
+USE_PERL5= modbuildtiny
+NO_ARCH= yes
-.if ${PORT_OPTIONS:MLWP}
-BUILD_DEPENDS+= p5-LWP-Protocol-https>=6.03:www/p5-LWP-Protocol-https \
- p5-libwww>=6.04:www/p5-libwww
-RUN_DEPENDS+= p5-LWP-Protocol-https>=6.03:www/p5-LWP-Protocol-https \
- p5-libwww>=6.04:www/p5-libwww
-.else
-BUILD_DEPENDS+= p5-Furl>=1.01:www/p5-Furl \
- p5-IO-Socket-SSL>=1.77:security/p5-IO-Socket-SSL
-RUN_DEPENDS+= p5-Furl>=1.01:www/p5-Furl \
- p5-IO-Socket-SSL>=1.77:security/p5-IO-Socket-SSL
-.endif
+FURL_BUILD_DEPENDS= p5-Furl>=2.19:www/p5-Furl \
+ p5-IO-Socket-SSL>=1.954:security/p5-IO-Socket-SSL \
+ p5-JSON-XS>=3.02:converters/p5-JSON-XS
+FURL_RUN_DEPENDS= ${FURL_BUILD_DEPENDS}
.include <bsd.port.mk>
Index: head/net/p5-WebService-Dropbox/distinfo
===================================================================
--- head/net/p5-WebService-Dropbox/distinfo
+++ head/net/p5-WebService-Dropbox/distinfo
@@ -1,2 +1,3 @@
-SHA256 (WebService-Dropbox-1.18.tar.gz) = 0ebeadd23afa7da5266be08eef99e7618bb35f4151898bb0fbacf40edcba7033
-SIZE (WebService-Dropbox-1.18.tar.gz) = 69669
+TIMESTAMP = 1468267938
+SHA256 (WebService-Dropbox-2.05.tar.gz) = 2383ab9030e238bc3bfdf3765c817819cb2efc0f261a3d8f1473d06e529a8afc
+SIZE (WebService-Dropbox-2.05.tar.gz) = 92109
Index: head/net/p5-WebService-Dropbox/pkg-descr
===================================================================
--- head/net/p5-WebService-Dropbox/pkg-descr
+++ head/net/p5-WebService-Dropbox/pkg-descr
@@ -1,3 +1,8 @@
WebService::Dropbox is Perl interface to Dropbox API
-WWW: http://search.cpan.org/dist/WebService-Dropbox/
+It includes the following features:
+- Supports Dropbox v2 REST API
+- Supports Furl (Fast!!!)
+- Streaming IO (Low Memory)
+
+WWW: https://metacpan.org/pod/WebService::Dropbox
Index: head/net/p5-WebService-Dropbox/pkg-plist
===================================================================
--- head/net/p5-WebService-Dropbox/pkg-plist
+++ head/net/p5-WebService-Dropbox/pkg-plist
@@ -1,2 +1,16 @@
%%SITE_PERL%%/WebService/Dropbox.pm
+%%SITE_PERL%%/WebService/Dropbox/Auth.pm
+%%SITE_PERL%%/WebService/Dropbox/Files.pm
+%%SITE_PERL%%/WebService/Dropbox/Files/CopyReference.pm
+%%SITE_PERL%%/WebService/Dropbox/Files/ListFolder.pm
+%%SITE_PERL%%/WebService/Dropbox/Files/UploadSession.pm
+%%SITE_PERL%%/WebService/Dropbox/TokenFromOAuth1.pm
+%%SITE_PERL%%/WebService/Dropbox/Users.pm
%%PERL5_MAN3%%/WebService::Dropbox.3.gz
+%%PERL5_MAN3%%/WebService::Dropbox::Auth.3.gz
+%%PERL5_MAN3%%/WebService::Dropbox::Files.3.gz
+%%PERL5_MAN3%%/WebService::Dropbox::Files::CopyReference.3.gz
+%%PERL5_MAN3%%/WebService::Dropbox::Files::ListFolder.3.gz
+%%PERL5_MAN3%%/WebService::Dropbox::Files::UploadSession.3.gz
+%%PERL5_MAN3%%/WebService::Dropbox::TokenFromOAuth1.3.gz
+%%PERL5_MAN3%%/WebService::Dropbox::Users.3.gz
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 19, 7:44 PM (1 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25669369
Default Alt Text
D7377.diff (7 KB)
Attached To
Mode
D7377: net/p5-WebService-Dropbox and net/dropbox-api-command: Update to 2.05 and 2.09 respectively
Attached
Detach File
Event Timeline
Log In to Comment