From 0b5d332a8907a777b7969fb617a30cff86417b4d Mon Sep 17 00:00:00 2001 From: Manu Date: Mon, 15 Feb 2021 11:54:21 +0800 Subject: [PATCH 1/4] Add short note on pointing setup.py to openssl on macOS --- docs/installation.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/installation.rst b/docs/installation.rst index 0abe400d7..ddbe33e85 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -260,6 +260,8 @@ macFUSE, which is available via `github brew install --cask osxfuse +Since Homebrew won't link the installed ``openssl`` formula, set the ``BORG_OPENSSL_PREFIX`` environment variable to ``/usr/local/Cellar/openssl`` before running ``pip install``. + For OS X Catalina and later, be aware that you must authorize full disk access. It is no longer sufficient to run borg backups as root. If you have not yet granted full disk access, and you run Borg backup from cron, you will see From 2729529ee2887fb2eca427a9678de1dee02b62e7 Mon Sep 17 00:00:00 2001 From: Manu Date: Mon, 15 Feb 2021 17:15:46 +0800 Subject: [PATCH 2/4] Add note on macFUSE dependency. --- docs/installation.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index ddbe33e85..d4acd0dda 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -260,7 +260,11 @@ macFUSE, which is available via `github brew install --cask osxfuse -Since Homebrew won't link the installed ``openssl`` formula, set the ``BORG_OPENSSL_PREFIX`` environment variable to ``/usr/local/Cellar/openssl`` before running ``pip install``. +When installing Borg via ``pip``, be sure to use ``pip install borgbackup[llfuse]``, +since macFUSE only supports FUSE API v2. + +Since Homebrew won't link the installed ``openssl`` formula, point pkg-config to the +correct path: ``PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig" pip install ...`` For OS X Catalina and later, be aware that you must authorize full disk access. It is no longer sufficient to run borg backups as root. If you have not yet From 9d54507e22630195760965fd73ee95b6af7c0825 Mon Sep 17 00:00:00 2001 From: Manu Date: Wed, 17 Feb 2021 22:06:46 +0800 Subject: [PATCH 3/4] Wording update, combine paras. --- docs/installation.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index d4acd0dda..115a47cef 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -260,11 +260,11 @@ macFUSE, which is available via `github brew install --cask osxfuse -When installing Borg via ``pip``, be sure to use ``pip install borgbackup[llfuse]``, -since macFUSE only supports FUSE API v2. +When installing Borg via ``pip``, be sure to install the ``llfuse`` extra, +since macFUSE only supports FUSE API v2. Also, since Homebrew won't link +the installed ``openssl`` formula, point pkg-config to the correct path:: -Since Homebrew won't link the installed ``openssl`` formula, point pkg-config to the -correct path: ``PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig" pip install ...`` + PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig" pip install borgbackup[llfuse] For OS X Catalina and later, be aware that you must authorize full disk access. It is no longer sufficient to run borg backups as root. If you have not yet From 2ad2c90d6bf2add00722520c9777242b845bbb22 Mon Sep 17 00:00:00 2001 From: Manu Date: Thu, 18 Feb 2021 21:36:14 +0800 Subject: [PATCH 4/4] Use macFUSE instead of osxfuse --- docs/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 115a47cef..233ff98d0 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -50,7 +50,7 @@ Fedora/RHEL `Fedora official repository`_ ``dnf install borgbac FreeBSD `FreeBSD ports`_ ``cd /usr/ports/archivers/py-borgbackup && make install clean`` macOS `Homebrew`_ | ``brew install borgbackup`` (official formula, **no** FUSE support) | **or** - | ``brew install --cask osxfuse`` (`private Tap`_, FUSE support) + | ``brew install --cask macfuse`` (`private Tap`_, FUSE support) | ``brew install borgbackup/tap/borgbackup-fuse`` Mageia `cauldron`_ ``urpmi borgbackup`` NetBSD `pkgsrc`_ ``pkg_add py-borgbackup`` @@ -258,7 +258,7 @@ For FUSE support to mount the backup archives, you need at least version 3.0 of macFUSE, which is available via `github `__, or Homebrew:: - brew install --cask osxfuse + brew install --cask macfuse When installing Borg via ``pip``, be sure to install the ``llfuse`` extra, since macFUSE only supports FUSE API v2. Also, since Homebrew won't link