From nobody Fri Jan 17 12:37:26 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YZK4l1kGbz5kwTr; Fri, 17 Jan 2025 12:37:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZK4k3s3Jz3fVJ; Fri, 17 Jan 2025 12:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737117446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vBWxCbBsqu42Fx4QiLLHr62LNQQXvo2AfdJ5JNyxVCc=; b=QqCzAbM4ytukTO1CaTlHuLNc32MTidna78hUFJmVtFwHzX2au+b49HJaXh8nfu4nvQagTT 7RrVILqz79eOyo6q68gdzLOYuEyr3Al8OI4VaKtUqB31+Y6FAa6jFuDXK+YG8O7zWbs7do jMMjKidz9R2UnEhgry5MW93YoKYcjgyrzD8DKD/kSsMVUmS4h8qjPrO897Se/HyApRcjNa RTfAT6RswLi71XVAkM4XBmNJM4SLVhpb4t+E9p0URCzsXyTlaXcwtzUEHmKHlqxkzQ2mT7 TbJTjuEEkdf3A7Kt13l8fkQWMq2iq2g6pwsfEMOTWgIAKsWA+PW0zkjfz0aciQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737117446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vBWxCbBsqu42Fx4QiLLHr62LNQQXvo2AfdJ5JNyxVCc=; b=NrgVkAl66VaLwUJYr+Kd2yA7sfLYs/hNWcQGZKS4cGYXhnckrxKZwBXnlO7Bx8CIJuxGYB zMETC9I/Tz7RJHrU+yps8McxOLincma+eL23qTyf65DTJmMfIpmffCUvJeAJuayDC1RXLv ljTXRCuzFcyv5TRmWqnrPkDIEz3l2IerCCWN1dEAbwEDqDYSsZTO0rhNmAUlzJJQSQi505 Mv8xbcG5qFPCHkOeaN/Ml80buoT7IMkSj9rLsYyS1qx3xhwszBXjuD4D7PntDyL30mtOBC iOXgDGXfnu6/9nfrlMokCa9yviBmdmf8x4DlLXbeiFzatXLdbHecAnOMnAUqbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737117446; a=rsa-sha256; cv=none; b=iMRnQg2bhdb/eIwI6lZ34TbI1RVp6lE8sgM6+3rDl3K0jAuWL/C07s5kXBJe+S40GJHFwz Ow+lsoRBF+QwvcCNzZOpVxXUjgizeylwyC+8peE/ThyDCi/HkjQ+eJCSY37s6osFNYBFja aPzNfpQn7OaghQFdKdthw4lhDT9U22wgCEGt7pl1iIS5oOw8Euwy/5xt1knR9duo+06EgG byzFKUxTx/tV/mrS1NsTIAJgowbTtPGGIZ9btj+yogsCQaB0w8slpLgLKjEK8ZfYT89Lvt 3+qrPL0YP0vRorp/4VxDIl3JYhSfGsi/kdKVctZJBM+TS9/XEofxYHhczcTorg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YZK4k3RMFz344; Fri, 17 Jan 2025 12:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50HCbQhG072908; Fri, 17 Jan 2025 12:37:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50HCbQUD072905; Fri, 17 Jan 2025 12:37:26 GMT (envelope-from git) Date: Fri, 17 Jan 2025 12:37:26 GMT Message-Id: <202501171237.50HCbQUD072905@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 835ff72a5483 - main - net/onedrive: update to 2.5.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 835ff72a5483dfe8e9ccf356d88d92529241addc Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=835ff72a5483dfe8e9ccf356d88d92529241addc commit 835ff72a5483dfe8e9ccf356d88d92529241addc Author: Robert Clausecker AuthorDate: 2025-01-10 16:28:03 +0000 Commit: Robert Clausecker CommitDate: 2025-01-17 12:34:01 +0000 net/onedrive: update to 2.5.2 Changelog: https://github.com/abraunegg/onedrive/blob/v2.5.2/changelog.md --- UPDATING | 13 +++++++++++++ net/onedrive/Makefile | 3 +-- net/onedrive/distinfo | 6 +++--- net/onedrive/files/patch-Makefile.in | 24 ++++++++++++------------ net/onedrive/files/patch-src_monitor.d | 13 ++++++++----- net/onedrive/pkg-descr | 26 +++++++------------------- net/onedrive/pkg-message | 11 ----------- 7 files changed, 44 insertions(+), 52 deletions(-) diff --git a/UPDATING b/UPDATING index 2b402c345e24..8576c308d025 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,19 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20250111: + AFFECTS: users of net/onedrive + AUTHOR: hiroo.ono+freebsd@gmail.com + + The version 2.5.x introduces significant changes regarding how the + integrity and validation of your data is determined and is not backwards + compatible with v2.4.x. + OneDrive Business Shared Folder Sync has been 100% re-written in v2.5.0. + If you are using this feature, please read the new documentation + carefully. + The application function --download-only no longer automatically deletes + local files. Please read the new documentation regarding this feature. + 20250109: AFFECTS: users of www/kiwix-tools and devel/libkiwix AUTHOR: olce@FreeBSD.org diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile index d04c237a0897..397f3ce36303 100644 --- a/net/onedrive/Makefile +++ b/net/onedrive/Makefile @@ -1,7 +1,6 @@ PORTNAME= onedrive DISTVERSIONPREFIX= v -DISTVERSION= 2.4.25 -PORTREVISION= 1 +DISTVERSION= 2.5.2 CATEGORIES= net MAINTAINER= hiroo.ono+freebsd@gmail.com diff --git a/net/onedrive/distinfo b/net/onedrive/distinfo index 26ed013574ca..8865b66f264b 100644 --- a/net/onedrive/distinfo +++ b/net/onedrive/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687482118 -SHA256 (abraunegg-onedrive-v2.4.25_GH0.tar.gz) = e7d782ea7d1973b6b578899a84c4f90ba69302263b4be30d80a363ba8ba27eb3 -SIZE (abraunegg-onedrive-v2.4.25_GH0.tar.gz) = 1243977 +TIMESTAMP = 1727676524 +SHA256 (abraunegg-onedrive-v2.5.2_GH0.tar.gz) = 2abad70160853a25b6784025ef7e7636fcb077b5623c8fe521df9e3aa8089a89 +SIZE (abraunegg-onedrive-v2.5.2_GH0.tar.gz) = 4129032 diff --git a/net/onedrive/files/patch-Makefile.in b/net/onedrive/files/patch-Makefile.in index 6051b8bce38f..13e2c77d40c4 100644 --- a/net/onedrive/files/patch-Makefile.in +++ b/net/onedrive/files/patch-Makefile.in @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2022-09-26 19:30:30 UTC +--- Makefile.in.orig 2024-09-16 01:14:46 UTC +++ Makefile.in -@@ -25,6 +25,7 @@ systemdsystemunitdir = @systemdsystemunitdir@ +@@ -25,6 +25,7 @@ notify_LIBS = @notify_LIBS@ curl_LIBS = @curl_LIBS@ sqlite_LIBS = @sqlite_LIBS@ notify_LIBS = @notify_LIBS@ @@ -8,15 +8,15 @@ COMPLETIONS = @COMPLETIONS@ BASH_COMPLETION_DIR = @BASH_COMPLETION_DIR@ ZSH_COMPLETION_DIR = @ZSH_COMPLETION_DIR@ -@@ -67,6 +68,7 @@ endif - - SOURCES = \ - src/config.d \ +@@ -84,6 +85,7 @@ SOURCES = \ + src/sqlite.d \ + src/clientSideFiltering.d \ + src/monitor.d \ + src/freebsd_inotify.d \ - src/itemdb.d \ - src/log.d \ - src/main.d \ -@@ -103,14 +105,15 @@ onedrive: $(SOURCES) + src/arsd/cgi.d + + ifeq ($(NOTIFICATIONS),yes) +@@ -107,14 +109,15 @@ onedrive: $(SOURCES) else \ echo $(version) > version ; \ fi @@ -37,7 +37,7 @@ ifeq ($(HAVE_SYSTEMD),yes) $(INSTALL) -d -m 0755 $(DESTDIR)$(systemduserunitdir) $(DESTDIR)$(systemdsystemunitdir) ifeq ($(RHEL),1) -@@ -127,9 +130,12 @@ ifeq ($(RHEL_VERSION),6) +@@ -131,9 +134,12 @@ ifeq ($(COMPLETIONS),yes) endif endif ifeq ($(COMPLETIONS),yes) @@ -52,4 +52,4 @@ + $(INSTALL) -m 0644 contrib/completions/complete.fish $(DESTDIR)$(FISH_COMPLETION_DIR)/onedrive.fish endif - + uninstall: diff --git a/net/onedrive/files/patch-src_monitor.d b/net/onedrive/files/patch-src_monitor.d index 715a0f6c0b6a..93b394f2326c 100644 --- a/net/onedrive/files/patch-src_monitor.d +++ b/net/onedrive/files/patch-src_monitor.d @@ -1,9 +1,12 @@ ---- src/monitor.d.orig 2019-04-24 07:47:09 UTC +--- src/monitor.d.orig 2024-09-18 07:16:29 UTC +++ src/monitor.d -@@ -1,4 +1,5 @@ +@@ -4,7 +4,8 @@ import core.stdc.stdlib; + // What does this module require to function? + import core.stdc.errno; + import core.stdc.stdlib; -import core.sys.linux.sys.inotify; +// import core.sys.linux.sys.inotify; +import freebsd_inotify; - import core.stdc.errno; - import core.sys.posix.poll, core.sys.posix.unistd; - import std.exception, std.file, std.path, std.regex, std.stdio, std.string; + import core.sys.posix.poll; + import core.sys.posix.unistd; + import core.sys.posix.sys.select; diff --git a/net/onedrive/pkg-descr b/net/onedrive/pkg-descr index 8acb7dcd362c..69bc6b6efd8e 100644 --- a/net/onedrive/pkg-descr +++ b/net/onedrive/pkg-descr @@ -1,19 +1,7 @@ -A free Microsoft OneDrive Client which supports OneDrive Personal, OneDrive -for Business, OneDrive for Office365 and Sharepoint. -This Powerful and highly configurable client can run on all major Linux -distributions, as a Docker container and on FreeBSD. -This client is a 'fork' of skilion client which was abandoned in 2018. - -Features: - * State caching - * Real-Time file monitoring with Inotify - * File upload / download validation to ensure data integrity - * Resumable uploads - * Support OneDrive for Business (part of Office 365) - * Sharepoint / Office365 Shared libraries (refer to docs/Office365.md - to configure) - -What's missing: - * While local changes are uploaded right away, remote changes are delayed - until next sync when using --monitor - * No GUI +A free Microsoft OneDrive Client that seemlessly supports OneDrive Personal, +OneDrive for Business, OneDrive for Office365 and Sharepoint Libraries. +This robust and highly customisable client is compatible with all major +Linux distributions and FreeBSD, and can also be deployed as a container +using Docker or Podman. It offers both one-way and two-way synchronisation +capabilities while ensuring a secure connection to Microsoft OneDrive +services. diff --git a/net/onedrive/pkg-message b/net/onedrive/pkg-message deleted file mode 100644 index f29d4b2c442c..000000000000 --- a/net/onedrive/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ -[ -{ - type: upgrade - maximum_version: "2.4.3" - message: <