head 1.38; access; symbols pkgsrc-2023Q4:1.38.0.4 pkgsrc-2023Q4-base:1.38 pkgsrc-2023Q3:1.38.0.2 pkgsrc-2023Q3-base:1.38 pkgsrc-2023Q2:1.37.0.28 pkgsrc-2023Q2-base:1.37 pkgsrc-2023Q1:1.37.0.26 pkgsrc-2023Q1-base:1.37 pkgsrc-2022Q4:1.37.0.24 pkgsrc-2022Q4-base:1.37 pkgsrc-2022Q3:1.37.0.22 pkgsrc-2022Q3-base:1.37 pkgsrc-2022Q2:1.37.0.20 pkgsrc-2022Q2-base:1.37 pkgsrc-2022Q1:1.37.0.18 pkgsrc-2022Q1-base:1.37 pkgsrc-2021Q4:1.37.0.16 pkgsrc-2021Q4-base:1.37 pkgsrc-2021Q3:1.37.0.14 pkgsrc-2021Q3-base:1.37 pkgsrc-2021Q2:1.37.0.12 pkgsrc-2021Q2-base:1.37 pkgsrc-2021Q1:1.37.0.10 pkgsrc-2021Q1-base:1.37 pkgsrc-2020Q4:1.37.0.8 pkgsrc-2020Q4-base:1.37 pkgsrc-2020Q3:1.37.0.6 pkgsrc-2020Q3-base:1.37 pkgsrc-2020Q2:1.37.0.4 pkgsrc-2020Q2-base:1.37 pkgsrc-2020Q1:1.37.0.2 pkgsrc-2020Q1-base:1.37 pkgsrc-2019Q4:1.36.0.4 pkgsrc-2019Q4-base:1.36 pkgsrc-2019Q3:1.35.0.6 pkgsrc-2019Q3-base:1.35 pkgsrc-2019Q2:1.35.0.4 pkgsrc-2019Q2-base:1.35 pkgsrc-2019Q1:1.35.0.2 pkgsrc-2019Q1-base:1.35 pkgsrc-2018Q4:1.34.0.26 pkgsrc-2018Q4-base:1.34 pkgsrc-2018Q3:1.34.0.24 pkgsrc-2018Q3-base:1.34 pkgsrc-2018Q2:1.34.0.22 pkgsrc-2018Q2-base:1.34 pkgsrc-2018Q1:1.34.0.20 pkgsrc-2018Q1-base:1.34 pkgsrc-2017Q4:1.34.0.18 pkgsrc-2017Q4-base:1.34 pkgsrc-2017Q3:1.34.0.16 pkgsrc-2017Q3-base:1.34 pkgsrc-2017Q2:1.34.0.12 pkgsrc-2017Q2-base:1.34 pkgsrc-2017Q1:1.34.0.10 pkgsrc-2017Q1-base:1.34 pkgsrc-2016Q4:1.34.0.8 pkgsrc-2016Q4-base:1.34 pkgsrc-2016Q3:1.34.0.6 pkgsrc-2016Q3-base:1.34 pkgsrc-2016Q2:1.34.0.4 pkgsrc-2016Q2-base:1.34 pkgsrc-2016Q1:1.34.0.2 pkgsrc-2016Q1-base:1.34 pkgsrc-2015Q4:1.33.0.26 pkgsrc-2015Q4-base:1.33 pkgsrc-2015Q3:1.33.0.24 pkgsrc-2015Q3-base:1.33 pkgsrc-2015Q2:1.33.0.22 pkgsrc-2015Q2-base:1.33 pkgsrc-2015Q1:1.33.0.20 pkgsrc-2015Q1-base:1.33 pkgsrc-2014Q4:1.33.0.18 pkgsrc-2014Q4-base:1.33 pkgsrc-2014Q3:1.33.0.16 pkgsrc-2014Q3-base:1.33 pkgsrc-2014Q2:1.33.0.14 pkgsrc-2014Q2-base:1.33 pkgsrc-2014Q1:1.33.0.12 pkgsrc-2014Q1-base:1.33 pkgsrc-2013Q4:1.33.0.10 pkgsrc-2013Q4-base:1.33 pkgsrc-2013Q3:1.33.0.8 pkgsrc-2013Q3-base:1.33 pkgsrc-2013Q2:1.33.0.6 pkgsrc-2013Q2-base:1.33 pkgsrc-2013Q1:1.33.0.4 pkgsrc-2013Q1-base:1.33 pkgsrc-2012Q4:1.33.0.2 pkgsrc-2012Q4-base:1.33 pkgsrc-2012Q3:1.32.0.6 pkgsrc-2012Q3-base:1.32 pkgsrc-2012Q2:1.32.0.4 pkgsrc-2012Q2-base:1.32 pkgsrc-2012Q1:1.32.0.2 pkgsrc-2012Q1-base:1.32 pkgsrc-2011Q4:1.30.0.2 pkgsrc-2011Q4-base:1.30 pkgsrc-2011Q3:1.25.0.2 pkgsrc-2011Q3-base:1.25 pkgsrc-2011Q2:1.20.0.2 pkgsrc-2011Q2-base:1.20 pkgsrc-2011Q1:1.15.0.6 pkgsrc-2011Q1-base:1.15 pkgsrc-2010Q4:1.15.0.4 pkgsrc-2010Q4-base:1.15 pkgsrc-2010Q3:1.15.0.2 pkgsrc-2010Q3-base:1.15 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.38 date 2023.08.31.19.13.47; author vins; state Exp; branches; next 1.37; commitid M3e2CASD3u3QmYCE; 1.37 date 2020.03.22.13.04.11; author tnn; state Exp; branches; next 1.36; commitid UCarpHnBGRheJo1C; 1.36 date 2019.11.03.19.26.22; author rillig; state Exp; branches; next 1.35; commitid L30VdcWzqP9klrJB; 1.35 date 2019.02.25.00.52.07; author manu; state Exp; branches; next 1.34; commitid lStx5CJeGXwRd5dB; 1.34 date 2016.03.01.20.16.33; author joerg; state Exp; branches; next 1.33; commitid yT6DOswO85h1LYWy; 1.33 date 2012.10.03.16.08.33; author asau; state Exp; branches; next 1.32; 1.32 date 2012.02.06.05.46.25; author manu; state Exp; branches; next 1.31; 1.31 date 2012.01.09.05.31.26; author manu; state Exp; branches; next 1.30; 1.30 date 2011.12.17.05.47.50; author manu; state Exp; branches; next 1.29; 1.29 date 2011.11.28.08.33.16; author manu; state Exp; branches; next 1.28; 1.28 date 2011.11.17.15.27.22; author manu; state Exp; branches; next 1.27; 1.27 date 2011.10.30.05.26.40; author manu; state Exp; branches; next 1.26; 1.26 date 2011.10.25.08.36.36; author manu; state Exp; branches; next 1.25; 1.25 date 2011.09.09.16.51.18; author manu; state Exp; branches; next 1.24; 1.24 date 2011.08.10.04.58.48; author manu; state Exp; branches; next 1.23; 1.23 date 2011.08.09.07.22.52; author manu; state Exp; branches; next 1.22; 1.22 date 2011.08.03.04.17.07; author manu; state Exp; branches; next 1.21; 1.21 date 2011.07.19.07.51.08; author manu; state Exp; branches; next 1.20; 1.20 date 2011.06.28.16.25.14; author manu; state Exp; branches; next 1.19; 1.19 date 2011.06.06.16.20.32; author manu; state Exp; branches; next 1.18; 1.18 date 2011.06.01.16.04.32; author manu; state Exp; branches; next 1.17; 1.17 date 2011.05.09.09.55.13; author manu; state Exp; branches; next 1.16; 1.16 date 2011.04.26.07.54.12; author manu; state Exp; branches; next 1.15; 1.15 date 2010.10.11.06.11.43; author manu; state Exp; branches; next 1.14; 1.14 date 2010.10.04.04.11.00; author manu; state Exp; branches; next 1.13; 1.13 date 2010.10.03.05.54.04; author manu; state Exp; branches; next 1.12; 1.12 date 2010.09.29.08.08.57; author manu; state Exp; branches; next 1.11; 1.11 date 2010.09.23.16.16.29; author manu; state Exp; branches; next 1.10; 1.10 date 2010.09.15.03.44.17; author manu; state Exp; branches; next 1.9; 1.9 date 2010.09.09.09.36.56; author manu; state Exp; branches; next 1.8; 1.8 date 2010.09.07.04.33.53; author manu; state Exp; branches; next 1.7; 1.7 date 2010.09.06.12.44.42; author wiz; state Exp; branches; next 1.6; 1.6 date 2010.09.06.12.12.40; author wiz; state Exp; branches; next 1.5; 1.5 date 2010.09.06.10.18.10; author wiz; state Exp; branches; next 1.4; 1.4 date 2010.09.06.04.34.52; author manu; state Exp; branches; next 1.3; 1.3 date 2010.09.05.09.24.19; author manu; state Exp; branches; next 1.2; 1.2 date 2010.08.26.14.18.08; author manu; state Exp; branches; next 1.1; 1.1 date 2010.08.25.07.34.11; author manu; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.08.25.07.34.11; author manu; state Exp; branches; next ; desc @@ 1.38 log @perfuse: mark as not RELRO safe. @ text @# $NetBSD: Makefile,v 1.37 2020/03/22 13:04:11 tnn Exp $ # DISTNAME= perfuse-20190222 CATEGORIES= filesystems MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/perfuse/ EXTRACT_SUFX= .tgz MAINTAINER= manu@@NetBSD.org COMMENT= PUFFS Enabled Relay to FUSE LICENSE= 2-clause-bsd WRKSRC= ${WRKDIR}/src/ BUILD_DIRS= lib/libperfuse usr.sbin/perfused BUILDLINK_TRANSFORM= rm:-Werror CPPFLAGS+= -DPERFUSE_DEBUG -D_PATH_PERFUSED=\"${PREFIX}/sbin/perfused\" CPPFLAGS+= -D_KERNTYPES CFLAGS+= -g # ??? RELRO_SUPPORTED= no INSTALLATION_DIRS= include lib sbin # Uses ONLY_FOR_PLATFORM= NetBSD-*-* pre-build: ${LN} -s ${WRKSRC}/lib/libperfuse/perfuse.h ${BUILDLINK_DIR}/include/ ${LN} -s ${WRKSRC}/lib/libperfuse/libperfuse.so ${BUILDLINK_DIR}/lib do-install: ${INSTALL_DATA} ${WRKSRC}/lib/libperfuse/perfuse.h \ ${DESTDIR}/${PREFIX}/include/ ${INSTALL_LIB} ${WRKSRC}/lib/libperfuse/libperfuse.so \ ${DESTDIR}/${PREFIX}/lib/ cd ${DESTDIR}${PREFIX}/lib && \ ln -s libperfuse.so libperfuse.so.0 && \ ln -s libperfuse.so libperfuse.so.0.0 ${INSTALL_PROGRAM} ${WRKSRC}/usr.sbin/perfused/perfused \ ${DESTDIR}/${PREFIX}/sbin .include "../../mk/bsd.pkg.mk" @ 1.37 log @perfuse: mark as only for NetBSD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2019/11/03 19:26:22 rillig Exp $ d20 2 @ 1.36 log @filesystems: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2019/02/25 00:52:07 manu Exp $ d17 2 a18 1 CPPFLAGS.NetBSD+= -D_KERNTYPES d20 1 a20 1 CFLAGS+= -g d22 2 a23 1 INSTALLATION_DIRS= include lib sbin @ 1.35 log @Update perfuse package. Change log since previous version: Use reclaim2 to fix reclaim/lookup race conditions The PUFFS reclaim operation had a race condition with lookups: we could be asked to lookup a node, then to reclaim it before lookup completion. At lookup completion, we would then create a leaked node. Enter the PUFFS reclaim2 operation, which features a nlookup argument. That let us count how many lookups are pending and avoid the above described scenario. It also makes the codes simplier. - Fix directory filehandle usage with libufse. Fix lookup count libfuse does not use filehandle the same way for directories and other objects. As a result, filehandles obtained by OPENDIR should not be sent on non-directory related operations like READ/WRITE/GETATTR... While there, fix the lookup count sent to the FORGET operation, which led to leaked nodes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2016/03/01 20:16:33 joerg Exp $ d13 2 a14 2 WRKSRC= ${WRKDIR}/src/ BUILD_DIRS= lib/libperfuse usr.sbin/perfused d16 1 a16 1 CPPFLAGS+= -DPERFUSE_DEBUG -D_PATH_PERFUSED=\"${PREFIX}/sbin/perfused\" @ 1.34 log @Request kernel types on NetBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2012/10/03 16:08:33 asau Exp $ d4 1 a4 1 DISTNAME= perfuse-20120206 @ 1.33 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2012/02/06 05:46:25 manu Exp $ d16 4 a19 2 CFLAGS+= -D_PATH_PERFUSED=\"${PREFIX}/sbin/perfused\" CFLAGS+= -DPERFUSE_DEBUG -g @ 1.32 log @Update perfuse to 20120206, with a more graceful unmounting when the FUSE filesystem crashes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2011/11/17 15:27:22 manu Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.31 log @Update perfused to 20111217 @ text @d4 1 a4 1 DISTNAME= perfuse-20111217 @ 1.30 log @perfuse update: fix memory leak and freed buffer reuse @ text @@ 1.29 log @Update perfuse: Fix stale file handling @ text @d4 1 a4 1 DISTNAME= perfuse-20111128 @ 1.28 log @Perfused update: - fix lookup cache that was not really used - fix advlock for read-only files - return EBADF on directory read/write instead of passing to the filesystem @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2011/10/30 05:26:40 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20111117 @ 1.27 log @Update to perfuse-20111030: - do not confuse FUSE fileno with inode numbers - do not use kernel name cache, implement our own instead. - honour cache directive from FUSE filesystem for name and attrbiutes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2011/08/10 04:58:48 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20111030 @ 1.26 log @Update perfused: - raise memory limit for vnode caches - avoid deadlock with syslog @ text @d4 1 a4 1 DISTNAME= perfuse-20111025 @ 1.25 log @Update perfuse, with two fixes - avoid system deadlock in low memory conditions - avoid a racecondition leading to data corruption (chuncks of zeroed data) @ text @d4 1 a4 1 DISTNAME= perfuse-20110909 @ 1.24 log @Update to perfuse-2011010: fix permission checks for unprivilegied users @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2011/08/03 04:17:07 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20110810 @ 1.23 log @Update perfuse to 20110809: fix data corruption and improve performance @ text @d4 1 a4 1 DISTNAME= perfuse-20110809 @ 1.22 log @perfuse update: Fix permissions sent to FUSE when operations are done by the kernel @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2011/06/01 16:04:32 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20110803 @ 1.21 log @Update perfuse to fix a race condition between ftruncate() and write() on glusterfs. This caused random file chunks to be filled with zeros. @ text @d4 1 a4 1 DISTNAME= perfuse-20110719 @ 1.20 log @Update perfuse, now with extended attribute support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2011/06/06 16:20:32 manu Exp $ d4 1 a4 2 DISTNAME= perfuse-20110628 #PKGREVISION= 1 d19 1 @ 1.19 log @Make sure libperfuse has -lpuffs, so that DSO will not miss it when calling dlopen() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2011/06/01 16:04:32 manu Exp $ d4 2 a5 2 DISTNAME= perfuse-20110601 PKGREVISION= 1 @ 1.18 log @perfuse update. We are now able to run an unprivilegied build.sh on a replicated glusterfs filesystem. pkgsrc builds seems to work too. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2011/05/09 09:55:13 manu Exp $ d5 1 @ 1.17 log @Update perfuse to 20110511. We now have locking support, provided that the kernel sends lock operation throuh PUFFS. It does in -current, patch is pending in netbsd-5 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2010/10/11 06:11:43 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20110509 @ 1.16 log @new perfuse snapshot that can sustain a build.sh -o release in FUSE-mounted glusterfs @ text @d4 1 a4 1 DISTNAME= perfuse-20110426 @ 1.15 log @Update to 20101011 with important fixes on permission checks when accessing the filesystem asunprivilegied. Also fix hangs on read(2), and remove unused code @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2010/09/07 04:33:53 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20101011 @ 1.14 log @Update perfused to 20101004, restoring ntfs-3 functionnality (it broke at ls /) @ text @d4 1 a4 1 DISTNAME= perfuse-20101004 @ 1.13 log @Update to 20101003 with important fixes in rename operations @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2010/09/29 08:08:57 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20101003 @ 1.12 log @Update to 10100929, with important fixes in write and rename @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2010/09/07 04:33:53 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20100929 @ 1.11 log @Update perfuse, with important fixes in file handles management. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2010/09/15 03:44:17 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20100923 @ 1.10 log @ Update to perfused-20100915, which fixes reliability problems (lost frames). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2010/09/09 09:36:56 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20100915 @ 1.9 log @Update perfuse with fixes for ntfs-3g @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2010/09/07 04:33:53 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20100909 @ 1.8 log @Update to perfuse-20100907: fix perfused auto-start, cleanup debug messages, fix warnings @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2010/09/06 12:44:42 wiz Exp $ d4 1 a4 1 DISTNAME= perfuse-20100907 @ 1.7 log @Fix path to perfused. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2010/09/06 12:12:40 wiz Exp $ d4 1 a4 2 DISTNAME= perfuse-20100906 PKGREVISION= 2 d18 1 a18 6 SUBST_CLASSES+= prefix SUBST_STAGE.prefix= post-patch SUBST_SED.prefix= -e "s,/usr/sbin/perfused,${PREFIX}/sbin/perfused,g" SUBST_FILES.prefix= lib/libperfuse/perfuse_if.h SUBST_MESSAGE.prefix= Fixing path to perfused. @ 1.6 log @Add symlinks for libperfuse. Simplify package. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2010/09/06 10:18:10 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 d20 6 @ 1.5 log @Remove -Werror from compiler flags until code is clean enough. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2010/09/06 04:34:52 manu Exp $ d5 1 d20 2 a26 1 ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/include a28 2 ${INSTALL_LIB_DIR} ${DESTDIR}/${PREFIX}/lib d31 3 a34 1 ${INSTALL_PROGRAM_DIR} ${DESTDIR}/${PREFIX}/sbin @ 1.4 log @LP64 fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2010/09/05 09:24:19 manu Exp $ d17 1 @ 1.3 log @A few reliability fixes for using perfuse with glusterfs. I can now build libperfuse within a glusterfs mounted filesystem. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2010/08/26 14:18:08 manu Exp $ d4 1 a4 1 DISTNAME= perfuse-20100905 @ 1.2 log @Fix enough filehandle problems to make glusterfs happier. @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 DISTNAME= perfuse-20100826 @ 1.1 log @Initial revision @ text @d4 1 a4 1 DISTNAME= perfuse-20100825 @ 1.1.1.1 log @perfuse brings full FUSE support to NetBSD It has two components: - a daemon that creates a /dev/fuse socket and that performs PUFFS relay to FUSE. - a library and a header file to use in filesystems and libraries that open /dev/fuse, so that they are directed to the socket. @ text @@