aboutsummaryrefslogtreecommitdiff
path: root/net/onedrive
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-15 07:01:41 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-15 07:01:41 +0000
commit2f7bfde8cc334ee6f6b4f5780a55ee3f9206fc27 (patch)
treeb485f66e3fe896cb0a307a34a0ec41179db901b4 /net/onedrive
parent426d5e72a4a99df306efb1a6ec3cac60ac6bb6ae (diff)
downloadports-2f7bfde8cc334ee6f6b4f5780a55ee3f9206fc27.tar.gz
ports-2f7bfde8cc334ee6f6b4f5780a55ee3f9206fc27.zip
net/onedrive: Update to 2.4.5
PR: 248661 Submitted by: Hiroo Ono <hiroo.ono+freebsd@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=544914
Diffstat (limited to 'net/onedrive')
-rw-r--r--net/onedrive/Makefile4
-rw-r--r--net/onedrive/distinfo6
-rw-r--r--net/onedrive/files/patch-Makefile.in13
-rw-r--r--net/onedrive/pkg-plist1
4 files changed, 14 insertions, 10 deletions
diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile
index 0ace88a66f80..5c6a85e9a990 100644
--- a/net/onedrive/Makefile
+++ b/net/onedrive/Makefile
@@ -2,7 +2,7 @@
PORTNAME= onedrive
DISTVERSIONPREFIX= v
-DISTVERSION= 2.4.3
+DISTVERSION= 2.4.5
CATEGORIES= net
MAINTAINER= hiroo.ono+freebsd@gmail.com
@@ -32,7 +32,7 @@ NOTIFY_USES= gnome
NOTIFY_USE= GNOME=glib20,gdkpixbuf2
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
-COMPLETION_DESC= Install completion for BASH and ZSH
+COMPLETION_DESC= Install completion for BASH, FISH and ZSH
COMPLETION_CONFIGURE_ENABLE= completions
ONEDRIVE_LOGDIR= /var/log/${PORTNAME}
diff --git a/net/onedrive/distinfo b/net/onedrive/distinfo
index 3290110153ef..ea658f0ce6c7 100644
--- a/net/onedrive/distinfo
+++ b/net/onedrive/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594652822
-SHA256 (abraunegg-onedrive-v2.4.3_GH0.tar.gz) = 4236f436b3658e360164d945a8bc5c9620539c1339ef9182e3d060d2e3b90b9b
-SIZE (abraunegg-onedrive-v2.4.3_GH0.tar.gz) = 959963
+TIMESTAMP = 1597439319
+SHA256 (abraunegg-onedrive-v2.4.5_GH0.tar.gz) = 1f1f5e1f2f37376b6d96bda2426552a94a8b195f545b4fb7f3668c4fe2e8f6a0
+SIZE (abraunegg-onedrive-v2.4.5_GH0.tar.gz) = 965217
diff --git a/net/onedrive/files/patch-Makefile.in b/net/onedrive/files/patch-Makefile.in
index 5f1612d59c24..d892c735ca82 100644
--- a/net/onedrive/files/patch-Makefile.in
+++ b/net/onedrive/files/patch-Makefile.in
@@ -1,4 +1,4 @@
---- Makefile.in.orig 2020-07-13 17:07:56 UTC
+--- Makefile.in.orig 2020-08-10 21:41:08 UTC
+++ Makefile.in
@@ -25,6 +25,7 @@ systemdsystemunitdir = @systemdsystemunitdir@
curl_LIBS = @curl_LIBS@
@@ -8,7 +8,7 @@
COMPLETIONS = @COMPLETIONS@
BASH_COMPLETION_DIR = @BASH_COMPLETION_DIR@
ZSH_COMPLETION_DIR = @ZSH_COMPLETION_DIR@
-@@ -54,7 +55,7 @@ endif
+@@ -55,7 +56,7 @@ endif
system_unit_files = contrib/systemd/onedrive@.service
user_unit_files = contrib/systemd/onedrive.service
@@ -17,7 +17,7 @@
ifneq ("$(wildcard /etc/redhat-release)","")
RHEL = $(shell cat /etc/redhat-release | grep -E "(Red Hat Enterprise Linux Server|CentOS)" | wc -l)
-@@ -66,6 +67,7 @@ endif
+@@ -67,6 +68,7 @@ endif
SOURCES = \
src/config.d \
@@ -25,7 +25,7 @@
src/itemdb.d \
src/log.d \
src/main.d \
-@@ -101,14 +103,15 @@ onedrive: $(SOURCES)
+@@ -102,14 +104,15 @@ onedrive: $(SOURCES)
else \
echo $(version) > version ; \
fi
@@ -46,16 +46,19 @@
ifeq ($(HAVE_SYSTEMD),yes)
$(INSTALL) -d -m 0755 $(DESTDIR)$(systemduserunitdir) $(DESTDIR)$(systemdsystemunitdir)
ifeq ($(RHEL),1)
-@@ -125,8 +128,10 @@ ifeq ($(RHEL_VERSION),6)
+@@ -126,9 +129,12 @@ ifeq ($(RHEL_VERSION),6)
endif
endif
ifeq ($(COMPLETIONS),yes)
- $(INSTALL) -D -m 644 contrib/completions/complete.zsh $(DESTDIR)$(ZSH_COMPLETION_DIR)/_onedrive
- $(INSTALL) -D -m 644 contrib/completions/complete.bash $(DESTDIR)$(BASH_COMPLETION_DIR)/onedrive
+- $(INSTALL) -D -m 644 contrib/completions/complete.fish $(DESTDIR)$(FISH_COMPLETION_DIR)/onedrive.fish
+ mkdir -p $(DESTDIR)$(ZSH_COMPLETION_DIR)
+ $(INSTALL) -m 644 contrib/completions/complete.zsh $(DESTDIR)$(ZSH_COMPLETION_DIR)/_onedrive
+ mkdir -p $(DESTDIR)$(BASH_COMPLETION_DIR)
+ $(INSTALL) -m 644 contrib/completions/complete.bash $(DESTDIR)$(BASH_COMPLETION_DIR)/onedrive
++ mkdir -p $(DESTDIR)$(FISH_COMPLETION_DIR)
++ $(INSTALL) -m 644 contrib/completions/complete.fish $(DESTDIR)$(FISH_COMPLETION_DIR)/onedrive.fish
endif
diff --git a/net/onedrive/pkg-plist b/net/onedrive/pkg-plist
index 754c7cd89bff..e68274c5627e 100644
--- a/net/onedrive/pkg-plist
+++ b/net/onedrive/pkg-plist
@@ -3,6 +3,7 @@ etc/logrotate.d/onedrive
man/man1/onedrive.1.gz
%%COMPLETION%%etc/bash_completion.d/onedrive
%%COMPLETION%%share/zsh/site-functions/_onedrive
+%%COMPLETION%%share/fish/completions/onedrive.fish
%%DOCSDIR%%/CHANGELOG.md
%%DOCSDIR%%/Office365.md
%%DOCSDIR%%/README.md