git: d1ce3e19af14 - main - net/onedrive: Update to 2.4.18

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Sun, 26 Jun 2022 00:35:11 UTC
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d1ce3e19af14f78f5be4a558106743ac31468ef0

commit d1ce3e19af14f78f5be4a558106743ac31468ef0
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2022-06-26 00:34:59 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-06-26 00:34:59 +0000

    net/onedrive: Update to 2.4.18
    
    Changelog:      https://github.com/abraunegg/onedrive/blob/v2.4.18/CHANGELOG.md
    
    PR:             264491
---
 net/onedrive/Makefile                |  2 +-
 net/onedrive/distinfo                |  6 +++---
 net/onedrive/files/patch-Makefile.in | 12 ++++++------
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile
index 0233526f0930..3eed876bead6 100644
--- a/net/onedrive/Makefile
+++ b/net/onedrive/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	onedrive
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.4.17
+DISTVERSION=	2.4.18
 CATEGORIES=	net
 
 MAINTAINER=	hiroo.ono+freebsd@gmail.com
diff --git a/net/onedrive/distinfo b/net/onedrive/distinfo
index 400b6789d645..0e3aa90e2292 100644
--- a/net/onedrive/distinfo
+++ b/net/onedrive/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653109410
-SHA256 (abraunegg-onedrive-v2.4.17_GH0.tar.gz) = ee65ad33be6d0ed65234da92a3b38be47bbd2cda7821c90513ec32a27516cece
-SIZE (abraunegg-onedrive-v2.4.17_GH0.tar.gz) = 1141979
+TIMESTAMP = 1654264483
+SHA256 (abraunegg-onedrive-v2.4.18_GH0.tar.gz) = e6dfd1644395c03bebfc5e68e3d0037644c0bcad5d732326df5cec00fbd05f3d
+SIZE (abraunegg-onedrive-v2.4.18_GH0.tar.gz) = 1147175
diff --git a/net/onedrive/files/patch-Makefile.in b/net/onedrive/files/patch-Makefile.in
index 81fee47c807e..1ce5e5a3878e 100644
--- a/net/onedrive/files/patch-Makefile.in
+++ b/net/onedrive/files/patch-Makefile.in
@@ -1,4 +1,4 @@
---- Makefile.in.orig	2021-02-19 08:37:34 UTC
+--- Makefile.in.orig	2022-06-02 08:24:26 UTC
 +++ Makefile.in
 @@ -25,6 +25,7 @@ systemdsystemunitdir = @systemdsystemunitdir@
  curl_LIBS = @curl_LIBS@
@@ -25,7 +25,7 @@
  	src/itemdb.d \
  	src/log.d \
  	src/main.d \
-@@ -102,14 +104,15 @@ onedrive: $(SOURCES)
+@@ -103,14 +105,15 @@ onedrive: $(SOURCES)
  	else \
  		echo $(version) > version ; \
  	fi
@@ -34,10 +34,10 @@
  
  install: all
 -	$(INSTALL) -D onedrive $(DESTDIR)$(bindir)/onedrive
--	$(INSTALL) -D onedrive.1 $(DESTDIR)$(mandir)/man1/onedrive.1
+-	$(INSTALL) -D -m 644 onedrive.1 $(DESTDIR)$(mandir)/man1/onedrive.1
 -	$(INSTALL) -D -m 644 contrib/logrotate/onedrive.logrotate $(DESTDIR)$(sysconfdir)/logrotate.d/onedrive
 +	$(INSTALL) -s onedrive $(DESTDIR)$(bindir)/onedrive
-+	$(INSTALL) onedrive.1 $(DESTDIR)$(mandir)/man1/onedrive.1
++	$(INSTALL) -m 644 onedrive.1 $(DESTDIR)$(mandir)/man1/onedrive.1
 +	mkdir -p $(DESTDIR)$(sysconfdir)/logrotate.d
 +	$(INSTALL) -m 644 contrib/logrotate/onedrive.logrotate $(DESTDIR)$(sysconfdir)/logrotate.d/onedrive
  	mkdir -p $(DESTDIR)$(docdir)
@@ -46,8 +46,8 @@
  ifeq ($(HAVE_SYSTEMD),yes)
  	$(INSTALL) -d -m 0755 $(DESTDIR)$(systemduserunitdir) $(DESTDIR)$(systemdsystemunitdir)
  ifeq ($(RHEL),1)
-@@ -126,9 +129,12 @@ ifeq ($(RHEL_VERSION),6)
- endif	
+@@ -127,9 +130,12 @@ ifeq ($(RHEL_VERSION),6)
+ endif
  endif
  ifeq ($(COMPLETIONS),yes)
 -	$(INSTALL) -D -m 644 contrib/completions/complete.zsh $(DESTDIR)$(ZSH_COMPLETION_DIR)/_onedrive