Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153925680
D7675.id19925.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D7675.id19925.diff
View Options
Index: sysutils/Makefile
===================================================================
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -392,6 +392,7 @@
SUBDIR += graid5
SUBDIR += graveman
SUBDIR += graylog
+ SUBDIR += grive2
SUBDIR += grok
SUBDIR += grub2
SUBDIR += grub2-bhyve
Index: sysutils/grive2/Makefile
===================================================================
--- sysutils/grive2/Makefile
+++ sysutils/grive2/Makefile
@@ -1,40 +1,31 @@
-# Created by: Key-Teck SIN <ktsin@acm.org>
+# Created by: Carlos J Puga Medina <cpm@FreeBSD.org>
# $FreeBSD$
-PORTNAME= grive
-PORTVERSION= 0.3.0
-PORTREVISION= 3
-CATEGORIES= net
+PORTNAME= grive2
+PORTVERSION= 0.5.0
+DISTVERSIONPREFIX= v
+CATEGORIES= sysutils
-MAINTAINER= ktsin@acm.org
+MAINTAINER= cpm@FreeBSD.org
COMMENT= Open source client for Google Drive
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_powerpc64= Does not build
-
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libcurl.so:ftp/curl \
libexpat.so:textproc/expat2 \
libgcrypt.so:security/libgcrypt \
- libjson-c.so:devel/json-c \
+ libgpg-error.so:security/libgpg-error \
libyajl.so:devel/yajl
USE_GITHUB= yes
-GH_ACCOUNT= Grive
-GH_TAGNAME= 27817e8
+GH_ACCOUNT= vitalif
+GH_PROJECT= grive2
-USES= cmake
-CXXFLAGS+= -I${LOCALBASE}/include
+USES= cmake pkgconfig localbase
-PLIST_FILES= bin/grive man/man1/grive.1.gz
+PLIST_FILES= bin/grive \
+ man/man1/grive.1.gz
-post-patch:
- @${REINPLACE_CMD} -e '/FIND_LIBRARY/s,json,&-c,' \
- ${WRKSRC}/cmake/Modules/FindJSONC.cmake
-# Do not build Qt4-based frontend: it's buggy and quite useless anyway
- @${REINPLACE_CMD} -e '/ bgrive/d' ${WRKSRC}/CMakeLists.txt
-# Allow to build with GCC 4.2
- @${REINPLACE_CMD} -e 's,log::,gr::&,g' ${WRKSRC}/grive/src/main.cc
-
.include <bsd.port.mk>
Index: sysutils/grive2/distinfo
===================================================================
--- sysutils/grive2/distinfo
+++ sysutils/grive2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Grive-grive-0.3.0-27817e8_GH0.tar.gz) = 901bdbb340b07b5fbc759892e6805ad98b60cbed05bf041ab10286c8f35302da
-SIZE (Grive-grive-0.3.0-27817e8_GH0.tar.gz) = 162467
+TIMESTAMP = 1472387091
+SHA256 (vitalif-grive2-v0.5.0_GH0.tar.gz) = 24641ef4802eb93bb55e7069bca55c4fb8aa17fd88833b9c89a1b2ee7d266567
+SIZE (vitalif-grive2-v0.5.0_GH0.tar.gz) = 162886
Index: sysutils/grive2/files/patch-grive_CMakeLists.txt
===================================================================
--- sysutils/grive2/files/patch-grive_CMakeLists.txt
+++ sysutils/grive2/files/patch-grive_CMakeLists.txt
@@ -1,6 +1,6 @@
---- grive/CMakeLists.txt.orig 2012-07-07 23:43:18.000000000 +0800
-+++ grive/CMakeLists.txt 2013-04-21 23:34:38.000000000 +0800
-@@ -27,4 +27,4 @@
+--- grive/CMakeLists.txt.orig 2016-01-14 20:51:31 UTC
++++ grive/CMakeLists.txt
+@@ -26,4 +26,4 @@ set_target_properties( grive_executable
)
install(TARGETS grive_executable RUNTIME DESTINATION bin)
Index: sysutils/grive2/files/patch-libgrive_src_util_File.cc
===================================================================
--- sysutils/grive2/files/patch-libgrive_src_util_File.cc
+++ sysutils/grive2/files/patch-libgrive_src_util_File.cc
@@ -0,0 +1,10 @@
+--- libgrive/src/util/File.cc.orig 2016-08-28 12:56:18 UTC
++++ libgrive/src/util/File.cc
+@@ -32,6 +32,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <fcntl.h>
++#include <unistd.h>
+
+ #ifdef WIN32
+ #include <io.h>
Index: sysutils/grive2/pkg-descr
===================================================================
--- sysutils/grive2/pkg-descr
+++ sysutils/grive2/pkg-descr
@@ -1,4 +1,4 @@
-Grive is an independent implementation of Google Drive client. It uses
-the Google Document List API to talk to Google's servers.
+Grive2 is the fork of original "Grive" Google Drive client with the
+support for the new Drive REST API and partial sync.
-WWW: http://www.lbreda.com/grive/
+WWW: https://github.com/vitalif/grive2/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 8:38 PM (9 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32092804
Default Alt Text
D7675.id19925.diff (3 KB)
Attached To
Mode
D7675: [NEW PORT] net/grive2: Open source client for Google Drive
Attached
Detach File
Event Timeline
Log In to Comment