diff options
author | wiz <wiz@pkgsrc.org> | 2021-04-15 10:45:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-04-15 10:45:33 +0000 |
commit | 9bdb31e362106814b530fc395230c044cb5eae71 (patch) | |
tree | dbc83003286389e848a5c980bd1551a339e2f138 /net | |
parent | 940f6d3780d154bf44dd4f1af16907809acbfb92 (diff) | |
download | pkgsrc-9bdb31e362106814b530fc395230c044cb5eae71.tar.gz |
grive: remove, deprecated since 2017/2018
Use net/grive2 instead.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/grive/DESCR | 9 | ||||
-rw-r--r-- | net/grive/Makefile | 44 | ||||
-rw-r--r-- | net/grive/PLIST | 3 | ||||
-rw-r--r-- | net/grive/distinfo | 9 | ||||
-rw-r--r-- | net/grive/patches/patch-cmake_Modules_FindJSONC.cmake | 17 | ||||
-rw-r--r-- | net/grive/patches/patch-libgrive_src_protocol_Json.cc | 122 | ||||
-rw-r--r-- | net/grive/patches/patch-libgrive_src_util_OS.cc | 15 |
8 files changed, 1 insertions, 221 deletions
diff --git a/net/Makefile b/net/Makefile index a972fc0411d..ecca92a4541 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1396 2021/04/01 14:19:16 taca Exp $ +# $NetBSD: Makefile,v 1.1397 2021/04/15 10:45:33 wiz Exp $ # COMMENT= Networking tools @@ -207,7 +207,6 @@ SUBDIR+= gofish SUBDIR+= gopher SUBDIR+= grilo SUBDIR+= grilo-plugins -SUBDIR+= grive SUBDIR+= grive2 SUBDIR+= grpc SUBDIR+= gsnmp diff --git a/net/grive/DESCR b/net/grive/DESCR deleted file mode 100644 index 4d2a2af44e6..00000000000 --- a/net/grive/DESCR +++ /dev/null @@ -1,9 +0,0 @@ -The purpose of this project is to provide an independent open -source implementation of Google Drive client for GNU/Linux. It -uses the Google Document List API to talk to the servers in Google. -The code is written in standard C++. - -Currently as of version 0.2.0, grive can do two-side synchronization -between the Google Drive and local directory. It can download and -upload changed files. New directories in Google Drive and local -directory will also be downloaded/uploaded. diff --git a/net/grive/Makefile b/net/grive/Makefile deleted file mode 100644 index e7ba7b99998..00000000000 --- a/net/grive/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# $NetBSD: Makefile,v 1.26 2021/01/01 08:24:53 ryoon Exp $ - -DISTNAME= ${GHNAME}-${GHDATE}-${GHCOMMIT} -PKGNAME= ${GHNAME}-0.3.0.${GHDATE} -PKGREVISION= 22 -CATEGORIES= net -MASTER_SITES= https://github.com/${GHACCOUNT}/${GHNAME}/archive/${GHCOMMIT}/ - -MAINTAINER= pkgsrc-users@NetBSD.org -#HOMEPAGE= http://www.lbreda.com/grive/start -COMMENT= Independent open source implementation of Google Drive client -LICENSE= gnu-gpl-v2 - -GHACCOUNT= Grive -GHNAME= grive -GHDATE= 20130502 -GHCOMMIT= 27817e835fe115ebbda5410ec904aa49a2ad01f1 - -WRKSRC= ${WRKDIR}/grive-${GHCOMMIT} -USE_CMAKE= yes -USE_LANGUAGES= c c++11 - -SUBST_CLASSES+= disableqt -SUBST_MESSAGE.disableqt= Disable QT frontend -SUBST_STAGE.disableqt= pre-configure -SUBST_FILES.disableqt= CMakeLists.txt -SUBST_SED.disableqt= -e '/ bgrive/d' - -SUBST_CLASSES+= manpath -SUBST_MESSAGE.manpath= Fix manpath -SUBST_STAGE.manpath= pre-configure -SUBST_FILES.manpath= bgrive/CMakeLists.txt grive/CMakeLists.txt -SUBST_SED.manpath= -e 's,DESTINATION share/man,DESTINATION ${PKGMANDIR},g' - -.include "../../security/libgcrypt/buildlink3.mk" -.include "../../textproc/json-c/buildlink3.mk" -.include "../../textproc/expat/buildlink3.mk" -.include "../../devel/boost-libs/buildlink3.mk" -.include "../../devel/cppunit/buildlink3.mk" -.include "../../devel/libiberty/buildlink3.mk" -.include "../../devel/yajl/buildlink3.mk" -.include "../../devel/zlib/buildlink3.mk" -.include "../../www/curl/buildlink3.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/net/grive/PLIST b/net/grive/PLIST deleted file mode 100644 index 4495b74f6f2..00000000000 --- a/net/grive/PLIST +++ /dev/null @@ -1,3 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2014/06/06 14:57:00 abs Exp $ -bin/grive -man/man1/grive.1 diff --git a/net/grive/distinfo b/net/grive/distinfo deleted file mode 100644 index de0d21ddb1e..00000000000 --- a/net/grive/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -$NetBSD: distinfo,v 1.4 2020/09/14 18:20:57 joerg Exp $ - -SHA1 (grive-20130502-27817e835fe115ebbda5410ec904aa49a2ad01f1.tar.gz) = e3059b0ce32ea05d7b5457948317b39358dbb239 -RMD160 (grive-20130502-27817e835fe115ebbda5410ec904aa49a2ad01f1.tar.gz) = f2a8c3e67f24c01b45ba831f2b3b8c2b5e39fe5c -SHA512 (grive-20130502-27817e835fe115ebbda5410ec904aa49a2ad01f1.tar.gz) = bd96a02366af47c5fde8e044066616c72a33607818d5e9cf4bea5fe70c0d63f83a2b726ce9a763cb907c78b2a563d7b2296b25e55743288dacef98adea3de729 -Size (grive-20130502-27817e835fe115ebbda5410ec904aa49a2ad01f1.tar.gz) = 162471 bytes -SHA1 (patch-cmake_Modules_FindJSONC.cmake) = 3038261ef82ad501ffeae18abbba562cc73ae435 -SHA1 (patch-libgrive_src_protocol_Json.cc) = 8a37a880493c369aae5ebfbb3e397514c49b7149 -SHA1 (patch-libgrive_src_util_OS.cc) = 79cdfe8f89e28901b44c1e8dc5f054a9ca03f061 diff --git a/net/grive/patches/patch-cmake_Modules_FindJSONC.cmake b/net/grive/patches/patch-cmake_Modules_FindJSONC.cmake deleted file mode 100644 index 6a5f24d4697..00000000000 --- a/net/grive/patches/patch-cmake_Modules_FindJSONC.cmake +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-cmake_Modules_FindJSONC.cmake,v 1.1.1.1 2014/06/06 14:57:00 abs Exp $ - -Update for json-c 0.11 and later - ---- cmake/Modules/FindJSONC.cmake.orig 2013-05-02 16:40:04.000000000 +0000 -+++ cmake/Modules/FindJSONC.cmake -@@ -6,8 +6,8 @@ - # JSONC_INCLUDE_DIR - The JSON-C include directory. - # JSONC_LIBRARY - The JSON-C library to link against. - --FIND_PATH(JSONC_INCLUDE_DIR json/json.h) --FIND_LIBRARY(JSONC_LIBRARY NAMES json) -+FIND_PATH(JSONC_INCLUDE_DIR NAMES json-c/json.h json/json.h) -+FIND_LIBRARY(JSONC_LIBRARY NAMES json-c json) - - IF (JSONC_INCLUDE_DIR AND JSONC_LIBRARY) - SET(JSONC_FOUND TRUE) diff --git a/net/grive/patches/patch-libgrive_src_protocol_Json.cc b/net/grive/patches/patch-libgrive_src_protocol_Json.cc deleted file mode 100644 index 6bc044e0ab4..00000000000 --- a/net/grive/patches/patch-libgrive_src_protocol_Json.cc +++ /dev/null @@ -1,122 +0,0 @@ -$NetBSD: patch-libgrive_src_protocol_Json.cc,v 1.3 2020/09/14 18:20:57 joerg Exp $ - -Update for json-c 0.14 and later -On NetBSD/ARM, int32_t is not long, so add template specialisation for that. - ---- libgrive/src/protocol/Json.cc.orig 2013-05-02 16:40:04.000000000 +0000 -+++ libgrive/src/protocol/Json.cc -@@ -29,8 +29,8 @@ - #pragma warning(push) - #pragma warning(disable: 4005) - #endif --#include <json/json_tokener.h> --#include <json/linkhash.h> -+#include <json-c/json_tokener.h> -+#include <json-c/linkhash.h> - #ifdef _MSC_VER - #pragma warning(pop) - #endif -@@ -107,6 +107,20 @@ Json::Json( const boost::int32_t& l ) : - ) ; - } - -+#ifdef __arm__ -+template <> -+Json::Json( const long& l ) : -+ m_json( ::json_object_new_int( l ) ) -+{ -+ if ( m_json == 0 ) -+ BOOST_THROW_EXCEPTION( -+ Error() -+ << JsonCApi_( "json_object_new_int" ) -+ << ValueErr( l ) -+ ) ; -+} -+#endif -+ - template <> - Json::Json( const boost::int64_t& l ) : - m_json( ::json_object_new_int64( l ) ) -@@ -131,6 +145,20 @@ Json::Json( const boost::uint32_t& l ) : - ) ; - } - -+#ifdef __arm__ -+template <> -+Json::Json( const unsigned long& l ) : -+ m_json( ::json_object_new_int( static_cast<int>(l) ) ) -+{ -+ if ( m_json == 0 ) -+ BOOST_THROW_EXCEPTION( -+ Error() -+ << JsonCApi_( "json_object_new_int" ) -+ << ValueErr( l ) -+ ) ; -+} -+#endif -+ - template <> - Json::Json( const boost::uint64_t& l ) : - m_json( ::json_object_new_int64( l ) ) -@@ -254,7 +282,7 @@ Json Json::operator[]( const std::size_t - bool Json::Has( const std::string& key ) const - { - assert( m_json != 0 ) ; -- return ::json_object_object_get_ex( m_json, key.c_str(), 0 ) == TRUE ; -+ return ::json_object_object_get_ex( m_json, key.c_str(), 0 ); - } - - bool Json::Get( const std::string& key, Json& json ) const -@@ -294,14 +322,14 @@ void Json::Add( const Json& json ) - bool Json::Bool() const - { - assert( m_json != 0 ) ; -- return ::json_object_get_boolean( m_json ) == TRUE ; -+ return ::json_object_get_boolean( m_json ); - } - - template <> - bool Json::Is<bool>() const - { - assert( m_json != 0 ) ; -- return ::json_object_is_type( m_json, json_type_boolean ) == TRUE ; -+ return ::json_object_is_type( m_json, json_type_boolean ); - } - - template <> -@@ -320,7 +348,7 @@ template <> - bool Json::Is<std::string>() const - { - assert( m_json != 0 ) ; -- return ::json_object_is_type( m_json, json_type_string ) == TRUE ; -+ return ::json_object_is_type( m_json, json_type_string ); - } - - template <> -@@ -339,7 +367,7 @@ template <> - bool Json::Is<int>() const - { - assert( m_json != 0 ) ; -- return ::json_object_is_type( m_json, json_type_int ) == TRUE ; -+ return ::json_object_is_type( m_json, json_type_int ); - } - - template <> -@@ -402,7 +430,7 @@ template <> - bool Json::Is<Json::Object>() const - { - assert( m_json != 0 ) ; -- return ::json_object_is_type( m_json, json_type_object ) == TRUE ; -+ return ::json_object_is_type( m_json, json_type_object ); - } - - template <> -@@ -426,7 +454,7 @@ template <> - bool Json::Is<Json::Array>() const - { - assert( m_json != 0 ) ; -- return ::json_object_is_type( m_json, json_type_array ) == TRUE ; -+ return ::json_object_is_type( m_json, json_type_array ); - } - - template <> diff --git a/net/grive/patches/patch-libgrive_src_util_OS.cc b/net/grive/patches/patch-libgrive_src_util_OS.cc deleted file mode 100644 index 235161d6ee3..00000000000 --- a/net/grive/patches/patch-libgrive_src_util_OS.cc +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-libgrive_src_util_OS.cc,v 1.1.1.1 2014/06/06 14:57:00 abs Exp $ - -Add __NetBSD__ to the 64bit Apple ctimespec stat case - ---- libgrive/src/util/OS.cc.orig 2013-05-02 16:40:04.000000000 +0000 -+++ libgrive/src/util/OS.cc -@@ -57,7 +57,7 @@ DateTime FileCTime( const std::string& f - ) ; - } - --#if defined __APPLE__ && defined __DARWIN_64_BIT_INO_T -+#if defined __NetBSD__ || ( defined __APPLE__ && defined __DARWIN_64_BIT_INO_T ) - return DateTime( s.st_ctimespec.tv_sec, s.st_ctimespec.tv_nsec ) ; - #else - return DateTime( s.st_ctim.tv_sec, s.st_ctim.tv_nsec); |