head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.34 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.32 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.30 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.28 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.26 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.24 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.22 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.20 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.18 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.16 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.14 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.12 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.10 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.8 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.6 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.4 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.2 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.5.0.2 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.4.0.20 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.18 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.16 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.14 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.12 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.10 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.6 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.8 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.4 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.2 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.3.0.10 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.8 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.6 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.4 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.2 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.1.0.6 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.2 pkgsrc-2017Q2-base:1.1; locks; strict; comment @// @; 1.6 date 2022.01.22.18.32.47; author pho; state Exp; branches; next 1.5; commitid JkqP32UgiyzKYEpD; 1.5 date 2021.12.01.04.45.52; author pho; state Exp; branches; next 1.4; commitid 4eyDgMgR7jlH4UiD; 1.4 date 2019.04.10.12.33.02; author gdt; state Exp; branches; next 1.3; commitid Lj6ORKCy0pKjHNiB; 1.3 date 2018.03.21.22.38.57; author gdt; state Exp; branches; next 1.2; commitid dQo6MzGJ6f71rnvA; 1.2 date 2017.11.11.03.18.16; author gdt; state Exp; branches; next 1.1; commitid LQQ0mUlbQIwQbzeA; 1.1 date 2017.06.19.18.41.39; author maya; state Exp; branches; next ; commitid ACLtPQB68hr7X0Wz; desc @@ 1.6 log @Conditionalise workarounds for old NetBSD librefuse @ text @$NetBSD: patch-encfs_main.cpp,v 1.5 2021/12/01 04:45:52 pho Exp $ Work around older FUSE API on NetBSD. Already fixed in HEAD. --- encfs/main.cpp.orig 2018-04-27 08:52:22.000000000 +0000 +++ encfs/main.cpp @@@@ -619,7 +619,9 @@@@ void *encfs_init(fuse_conn_info *conn) { auto *ctx = (EncFS_Context *)fuse_get_context()->private_data; // set fuse connection options +#if !defined(__NetBSD__) || FUSE_H_ >= 20211204 /* XXX FUSE API too old */ conn->async_read = 1u; +#endif #ifdef __CYGWIN__ // WinFsp needs this to partially handle read-only FS @ 1.5 log @Update to encfs-1.9.5 v1.9.5 / 2018-04-27 =================== * Correct a int/off_t buffer overflow in getSize() * Correct a possible write crash * Correct encfsctl cat and add reverse cat * Add -c & -u cmdline options * Add --noattrcache & --nodatacache cmdline options * Ignore .encfs6.xml file in reverse mode * Do not count usage on root path (to avoid resetting the --idle option) * Use stderr instead of stdout for error messages * Add the ability to disable data encryption (absolutely discouraged) * Add Cygwin support @ text @d1 1 a1 1 $NetBSD: patch-encfs_main.cpp,v 1.4 2019/04/10 12:33:02 gdt Exp $ d3 1 a3 5 Work around older FUSE API on NetBSD. \todo Determine how to qualify this by version. \todo Enhance API in NetBSD. \todo File with encfs upstream. d11 1 a11 1 +#ifndef __NetBSD__ /* XXX FUSE API too old */ @ 1.4 log @filesystems/fuse-encfs: Fix man page location, and pkglint cleanup encfs has open-coded per-OS man page locations, and doesn't have the equivalent of autoconf's --mandir. Mostly remediate the cmake-inspired open coding by using PKGMANDIR. Add patch comment. Add comment about making TEST_TARGET work. @ text @d1 1 a1 1 $NetBSD: patch-encfs_main.cpp,v 1.3 2018/03/21 22:38:57 gdt Exp $ d9 1 a9 1 --- encfs/main.cpp.orig 2018-01-28 21:07:41.000000000 +0000 d11 1 a11 1 @@@@ -530,7 +530,9 @@@@ void *encfs_init(fuse_conn_info *conn) { d19 2 a20 2 // if an idle timeout is specified, then setup a thread to monitor the // filesystem. @ 1.3 log @encfs: Update to 1.9.4 Upstream changes: v1.9.4 / 2018-01-28 =================== * Fix packaging error leading to wrong version output * Fix shared lib compilation (cmake -DBUILD_SHARED_LIBS=ON ..) v1.9.3 / 2018-01-28 =================== * Fix compilation with "-std=c++11" * Fix a gid permission issue with allow_other * Fix operations on symlinks * Fix a race in idle unmount * Add `--reversewrite` cli option * Add PID to syslog logging * Deep code sanity check * Modernize coding style * Make codebase warnings & clang-tidy clean * Bump FUSE_USE_VERSION to 29 * Ensure compatibility with LibreSSL * Switch to vendored lib tinyxml2 & easylogging * Reorganize man page and add missing options * Add gtest and micro benchmarks @ text @d1 7 a7 1 $NetBSD: patch-encfs_main.cpp,v 1.2 2017/11/11 03:18:16 gdt Exp $ @ 1.2 log @Update to 1.9.2: - fix a use-after-free bug that was introduced in v1.9-rc1 (#214) - cast booleans to int before writing the XML config (#343) - support reading the config file from pipes (#253) - add "-t" option to set syslog tag - allow read/write in standard reverse mode (#301) - reject empty passwords - support building with openssl 1.1 @ text @d1 1 a1 1 $NetBSD: patch-encfs_main.cpp,v 1.1 2017/06/19 18:41:39 maya Exp $ d3 1 a3 1 --- encfs/main.cpp.orig 2017-07-25 18:26:45.000000000 +0000 d5 2 a6 3 @@@@ -488,8 +488,10 @@@@ static void *idleMonitor(void *); void *encfs_init(fuse_conn_info *conn) { EncFS_Context *ctx = (EncFS_Context *)fuse_get_context()->private_data; d8 1 d10 1 a10 2 // set fuse connection options conn->async_read = true; @ 1.1 log @fuse-encfs: update to 1.9.1 A decade of changes, please refer to the following link for changes: https://github.com/vgough/encfs/blob/bf2cee54f53fc53910476fcd497782f3fd062923/ChangeLog @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- encfs/main.cpp.orig 2016-09-18 20:16:04.000000000 +0000 d14 2 a15 2 if (ctx->args->isDaemon) { // Switch to using syslog. @