pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/grive2 grive2: update to 0.5.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73cd7df8c1ed
branches:  trunk
changeset: 450369:73cd7df8c1ed
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 15 08:42:22 2021 +0000

description:
grive2: update to 0.5.1.

grive2 (0.5.1+git20160731) unstable; urgency=medium

  * Newer dev version

grive2 (0.5+git20160114) unstable; urgency=medium

  * Newer release, with support for faster sync and rename detection

diffstat:

 net/grive2/Makefile                              |  12 ++++++------
 net/grive2/PLIST                                 |   6 +++++-
 net/grive2/distinfo                              |  13 +++++++------
 net/grive2/patches/patch-libgrive_src_util_OS.cc |  14 +++++++-------
 net/grive2/patches/patch-libgrive_src_util_OS.hh |  17 +++++++++++++++++
 5 files changed, 42 insertions(+), 20 deletions(-)

diffs (114 lines):

diff -r 20691867823e -r 73cd7df8c1ed net/grive2/Makefile
--- a/net/grive2/Makefile       Thu Apr 15 08:28:11 2021 +0000
+++ b/net/grive2/Makefile       Thu Apr 15 08:42:22 2021 +0000
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.24 2021/01/01 08:24:53 ryoon Exp $
+# $NetBSD: Makefile,v 1.25 2021/04/15 08:42:22 wiz Exp $
 
-DISTNAME=      grive2-0.4.1
-PKGREVISION=   19
+DISTNAME=      grive2-0.5.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=vitalif/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/vitalif/Grive2
 COMMENT=       Independent open source implementation of Google Drive client
 LICENSE=       gnu-gpl-v2
 
-GITHUB_TAG=    v${PKGVERSION_NOREV}
-
 USE_CMAKE=     yes
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=    pkg-config bash:run
 USE_LANGUAGES= c c++
 
 SUBST_CLASSES+=                manpath
@@ -22,6 +20,8 @@
 SUBST_FILES.manpath=   grive/CMakeLists.txt
 SUBST_SED.manpath=     -e 's,DESTINATION share/man,DESTINATION ${PKGMANDIR},g'
 
+REPLACE_BASH+= systemd/grive-sync.sh
+
 .include "../../security/libgcrypt/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
diff -r 20691867823e -r 73cd7df8c1ed net/grive2/PLIST
--- a/net/grive2/PLIST  Thu Apr 15 08:28:11 2021 +0000
+++ b/net/grive2/PLIST  Thu Apr 15 08:42:22 2021 +0000
@@ -1,3 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2015/06/16 16:15:37 abs Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/04/15 08:42:22 wiz Exp $
 bin/grive
+lib/grive/grive-sync.sh
+lib/systemd/user/grive-changes@.service
+lib/systemd/user/grive-timer@.service
+lib/systemd/user/grive-timer@.timer
 man/man1/grive.1
diff -r 20691867823e -r 73cd7df8c1ed net/grive2/distinfo
--- a/net/grive2/distinfo       Thu Apr 15 08:28:11 2021 +0000
+++ b/net/grive2/distinfo       Thu Apr 15 08:42:22 2021 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.3 2015/11/09 14:52:34 abs Exp $
+$NetBSD: distinfo,v 1.4 2021/04/15 08:42:22 wiz Exp $
 
-SHA1 (grive2-0.4.1.tar.gz) = f20da164b63f0acb1d15620d44f5596feed3344b
-RMD160 (grive2-0.4.1.tar.gz) = 46ecbfa294e5e804c8837e3ba2667a13a54a57a8
-SHA512 (grive2-0.4.1.tar.gz) = 55523f09afaad3e249fad6a085bcbb19d785f200bbe4ef45d48e6f6a44a41d13f0b8e77de348def819bf5409f1a995147fbb058191cda991aef023c76f2dbcf0
-Size (grive2-0.4.1.tar.gz) = 158861 bytes
+SHA1 (grive2-0.5.1.tar.gz) = 581915a653fdbd0076c69a4c4aa06eab2fa041cf
+RMD160 (grive2-0.5.1.tar.gz) = 71b0929a252d2a18b8b7b822696a30eedc34d422
+SHA512 (grive2-0.5.1.tar.gz) = 609837fc93ad78d143dcb4d1f558743d413c887fec2e9aaac81edd58549b812db859aab5ce7f664f06564779cff4bae32d43529e47fcc36640f1a9b52c5b5888
+Size (grive2-0.5.1.tar.gz) = 169929 bytes
 SHA1 (patch-libgrive_CMakeLists.txt) = fa81eae7f6c70478c757c897fab3fb1d297b25b0
-SHA1 (patch-libgrive_src_util_OS.cc) = ac5a59b717af6029134eb299b36a5862df193c38
+SHA1 (patch-libgrive_src_util_OS.cc) = 1f8b250000f96ab21e3a75fbaca3ec934cb4b344
+SHA1 (patch-libgrive_src_util_OS.hh) = 113c3661afa302014b3084eaec0c352651b2392c
diff -r 20691867823e -r 73cd7df8c1ed net/grive2/patches/patch-libgrive_src_util_OS.cc
--- a/net/grive2/patches/patch-libgrive_src_util_OS.cc  Thu Apr 15 08:28:11 2021 +0000
+++ b/net/grive2/patches/patch-libgrive_src_util_OS.cc  Thu Apr 15 08:42:22 2021 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-libgrive_src_util_OS.cc,v 1.1.1.1 2015/06/16 16:15:37 abs Exp $
+$NetBSD: patch-libgrive_src_util_OS.cc,v 1.2 2021/04/15 08:42:23 wiz Exp $
 
 Add __NetBSD__ to the 64bit Apple ctimespec stat case
 
---- libgrive/src/util/OS.cc.orig       2015-05-31 19:35:15.000000000 +0000
+--- libgrive/src/util/OS.cc.orig       2019-11-12 22:05:31.000000000 +0000
 +++ libgrive/src/util/OS.cc
-@@ -57,7 +57,7 @@ DateTime FileCTime( const std::string& f
-               ) ;
-       }
+@@ -59,7 +59,7 @@ void Stat( const std::string& filename, 
        
+       if ( t )
+       {
 -#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 ) ;
+               *t = DateTime( s.st_ctimespec.tv_sec, s.st_ctimespec.tv_nsec ) ;
  #else
-       return DateTime( s.st_ctim.tv_sec, s.st_ctim.tv_nsec);
+               *t = DateTime( s.st_ctim.tv_sec, s.st_ctim.tv_nsec);
diff -r 20691867823e -r 73cd7df8c1ed net/grive2/patches/patch-libgrive_src_util_OS.hh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/grive2/patches/patch-libgrive_src_util_OS.hh  Thu Apr 15 08:42:22 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-libgrive_src_util_OS.hh,v 1.1 2021/04/15 08:42:23 wiz Exp $
+
+off64_t is not universally available.
+
+--- libgrive/src/util/OS.hh.orig       2019-11-12 22:05:31.000000000 +0000
++++ libgrive/src/util/OS.hh
+@@ -31,6 +31,10 @@ class Path ;
+ 
+ enum FileType { FT_FILE = 1, FT_DIR = 2, FT_UNKNOWN = 3 } ;
+ 
++#ifndef off64_t
++#define off64_t off_t
++#endif
++
+ namespace os
+ {
+       struct Error : virtual Exception {} ;



Home | Main Index | Thread Index | Old Index