Update grive2 to 0.5.1
Remove me as maintainer
This commit is contained in:
parent
9881863a19
commit
0989cfe3f4
@ -1,27 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2019/07/12 20:49:43 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2020/10/09 19:40:13 rsadowski Exp $
|
||||
|
||||
COMMENT = third-party client for Google Drive
|
||||
|
||||
VERSION = 0.5.0
|
||||
DISTNAME = grive2-${VERSION}
|
||||
REVISION = 2
|
||||
GH_ACCOUNT = vitalif
|
||||
GH_PROJECT = grive2
|
||||
GH_COMMIT = 548ea362f319cd1f7fcbad0344fde8449fa14255
|
||||
|
||||
DISTNAME = grive2-0.5.1
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
||||
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
|
||||
|
||||
HOMEPAGE = http://yourcmc.ru/wiki/Grive2
|
||||
|
||||
GH_ACCOUNT = vitalif
|
||||
GH_PROJECT = grive2
|
||||
GH_COMMIT = ae06eccb38b2fe250c9ddeac3e3973f80b8a0aa9
|
||||
HOMEPAGE = http://yourcmc.ru/wiki/Grive2
|
||||
|
||||
# GPLv2 only
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += boost_filesystem-mt boost_program_options-mt boost_regex-mt
|
||||
WANTLIB += boost_system-mt boost_unit_test_framework-mt c curl
|
||||
WANTLIB += expat gcrypt gpg-error iberty m pthread yajl z ${COMPILER_LIBCXX}
|
||||
WANTLIB += ${COMPILER_LIBCXX} boost_filesystem-mt boost_program_options-mt
|
||||
WANTLIB += boost_regex-mt boost_system-mt c curl gcrypt gpg-error
|
||||
WANTLIB += iberty m yajl
|
||||
|
||||
MODULES = devel/cmake
|
||||
|
||||
@ -29,7 +25,6 @@ COMPILER = base-clang ports-gcc
|
||||
|
||||
CXXFLAGS += -I${LOCALBASE}/include
|
||||
|
||||
|
||||
LIB_DEPENDS = devel/boost \
|
||||
devel/libyajl \
|
||||
net/curl \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (grive2-0.5.0-ae06eccb.tar.gz) = oEWgC62rbFEVn9gwnghNQmr0AN69NXXlIgstcph7Zck=
|
||||
SIZE (grive2-0.5.0-ae06eccb.tar.gz) = 162870
|
||||
SHA256 (grive2-0.5.1-548ea362.tar.gz) = wJIn9bDA483dfmpHEYa3sRNtOMb6DGC3hYgpiNzUd0A=
|
||||
SIZE (grive2-0.5.1-548ea362.tar.gz) = 169931
|
||||
|
20
sysutils/grive2/patches/patch-CMakeLists_txt
Normal file
20
sysutils/grive2/patches/patch-CMakeLists_txt
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.1 2020/10/09 19:40:13 rsadowski Exp $
|
||||
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -1,5 +1,7 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
+project(grive2)
|
||||
+
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# Grive version. remember to update it for every new release!
|
||||
@@ -12,4 +14,4 @@ add_definitions( -D_FILE_OFFSET_BITS=64 -std=c++0x )
|
||||
add_subdirectory( systemd )
|
||||
add_subdirectory( libgrive )
|
||||
add_subdirectory( grive )
|
||||
-
|
||||
\ No newline at end of file
|
||||
+
|
@ -1,9 +1,13 @@
|
||||
$OpenBSD: patch-grive_CMakeLists_txt,v 1.1.1.1 2015/11/30 11:56:15 sthen Exp $
|
||||
--- grive/CMakeLists.txt.orig Sun Oct 11 17:59:25 2015
|
||||
+++ grive/CMakeLists.txt Wed Nov 4 09:30:32 2015
|
||||
@@ -26,4 +26,4 @@ set_target_properties( grive_executable
|
||||
$OpenBSD: patch-grive_CMakeLists_txt,v 1.2 2020/10/09 19:40:13 rsadowski Exp $
|
||||
Index: grive/CMakeLists.txt
|
||||
--- grive/CMakeLists.txt.orig
|
||||
+++ grive/CMakeLists.txt
|
||||
@@ -25,7 +25,7 @@ set_target_properties( grive_executable
|
||||
)
|
||||
|
||||
install(TARGETS grive_executable RUNTIME DESTINATION bin)
|
||||
-install(FILES doc/grive.1 DESTINATION share/man/man1 )
|
||||
-
|
||||
+install(FILES doc/grive.1 DESTINATION man/man1 )
|
||||
if ( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
|
||||
install(FILES doc/grive.1 DESTINATION man/man1 )
|
||||
else ( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
|
||||
|
@ -1,11 +1,12 @@
|
||||
$OpenBSD: patch-libgrive_CMakeLists_txt,v 1.1.1.1 2015/11/30 11:56:15 sthen Exp $
|
||||
--- libgrive/CMakeLists.txt.orig Sun Oct 11 17:59:25 2015
|
||||
+++ libgrive/CMakeLists.txt Wed Nov 4 09:30:32 2015
|
||||
@@ -7,7 +7,6 @@ find_package(CURL REQUIRED)
|
||||
find_package(EXPAT REQUIRED)
|
||||
$OpenBSD: patch-libgrive_CMakeLists_txt,v 1.2 2020/10/09 19:40:13 rsadowski Exp $
|
||||
Index: libgrive/CMakeLists.txt
|
||||
--- libgrive/CMakeLists.txt.orig
|
||||
+++ libgrive/CMakeLists.txt
|
||||
@@ -6,7 +6,6 @@ find_package(LibGcrypt REQUIRED)
|
||||
find_package(CURL REQUIRED)
|
||||
find_package(Boost 1.40.0 COMPONENTS program_options filesystem unit_test_framework regex system REQUIRED)
|
||||
find_package(BFD)
|
||||
-find_package(CppUnit)
|
||||
find_package(Iberty)
|
||||
find_package(ZLIB)
|
||||
|
||||
find_package(PkgConfig)
|
||||
|
@ -1,11 +1,12 @@
|
||||
$OpenBSD: patch-libgrive_src_util_File_cc,v 1.1.1.1 2015/11/30 11:56:15 sthen Exp $
|
||||
--- libgrive/src/util/File.cc.orig Sun Oct 11 17:59:25 2015
|
||||
+++ libgrive/src/util/File.cc Wed Nov 4 09:30:36 2015
|
||||
$OpenBSD: patch-libgrive_src_util_File_cc,v 1.2 2020/10/09 19:40:13 rsadowski Exp $
|
||||
Index: libgrive/src/util/File.cc
|
||||
--- libgrive/src/util/File.cc.orig
|
||||
+++ 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>
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#include <unistd.h>
|
||||
|
14
sysutils/grive2/patches/patch-libgrive_src_util_OS_hh
Normal file
14
sysutils/grive2/patches/patch-libgrive_src_util_OS_hh
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-libgrive_src_util_OS_hh,v 1.1 2020/10/09 19:40:13 rsadowski Exp $
|
||||
|
||||
Index: libgrive/src/util/OS.hh
|
||||
--- libgrive/src/util/OS.hh.orig
|
||||
+++ libgrive/src/util/OS.hh
|
||||
@@ -31,6 +31,8 @@ class Path ;
|
||||
|
||||
enum FileType { FT_FILE = 1, FT_DIR = 2, FT_UNKNOWN = 3 } ;
|
||||
|
||||
+#define off64_t off_t
|
||||
+
|
||||
namespace os
|
||||
{
|
||||
struct Error : virtual Exception {} ;
|
@ -1,3 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/11/30 11:56:15 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2020/10/09 19:40:13 rsadowski Exp $
|
||||
@bin bin/grive
|
||||
lib/grive/
|
||||
lib/grive/grive-sync.sh
|
||||
lib/systemd/
|
||||
lib/systemd/user/
|
||||
lib/systemd/user/grive-changes@.service
|
||||
lib/systemd/user/grive-timer@.service
|
||||
lib/systemd/user/grive-timer@.timer
|
||||
@man man/man1/grive.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user