pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/filesystems/avfs
Module Name: pkgsrc
Committed By: vins
Date: Wed Apr 22 17:47:50 UTC 2026
Added Files:
pkgsrc/filesystems/avfs: DESCR Makefile PLIST buildlink3.mk distinfo
options.mk
Log Message:
filesystems/avfs: initial import of package
AVFS is a virtual file system, which enables all programs to look inside
archived or compressed files, or access remote files without recompiling
the programs or changing the kernel.
At the moment it supports floppies, tar and gzip files, zip, bzip2, ar
and rar files, ftp sessions, http, webdav, rsh/rcp, ssh/scp. Quite a
few other handlers are implemented with the Midnight Commander's
external FS.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/filesystems/avfs/DESCR \
pkgsrc/filesystems/avfs/Makefile pkgsrc/filesystems/avfs/PLIST \
pkgsrc/filesystems/avfs/buildlink3.mk pkgsrc/filesystems/avfs/distinfo \
pkgsrc/filesystems/avfs/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/filesystems/avfs/DESCR
diff -u /dev/null pkgsrc/filesystems/avfs/DESCR:1.1
--- /dev/null Wed Apr 22 17:47:50 2026
+++ pkgsrc/filesystems/avfs/DESCR Wed Apr 22 17:47:50 2026
@@ -0,0 +1,8 @@
+AVFS is a virtual file system, which enables all programs to look inside
+archived or compressed files, or access remote files without recompiling
+the programs or changing the kernel.
+
+At the moment it supports floppies, tar and gzip files, zip, bzip2, ar
+and rar files, ftp sessions, http, webdav, rsh/rcp, ssh/scp. Quite a
+few other handlers are implemented with the Midnight Commander's
+external FS.
Index: pkgsrc/filesystems/avfs/Makefile
diff -u /dev/null pkgsrc/filesystems/avfs/Makefile:1.1
--- /dev/null Wed Apr 22 17:47:50 2026
+++ pkgsrc/filesystems/avfs/Makefile Wed Apr 22 17:47:50 2026
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2026/04/22 17:47:50 vins Exp $
+
+DISTNAME= avfs-1.3.0
+CATEGORIES= filesystems
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=avf/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= vins%NetBSD.org@localhost
+HOMEPAGE= https://avf.sourceforge.net/
+COMMENT= Virtual File System library
+# FUSE daemon is licensed as GPLv2, shared library is LGPLv2
+LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= bash:run perl:run pkg-config tar
+
+PKGCONFIG_OVERRIDE+= pkgconfig/avfs.pc.in
+
+REPLACE_BASH= extfs/uimg scripts/umountavfs scripts/mountavfs
+REPLACE_SH= ltmain.sh
+
+CPPFLAGS.NetBSD+= -DFUSE_FILL_DIR_DEFAULTS=0 # ReFUSE lacks this
+
+CONFIGURE_ENV+= PERL=${PERL5:Q} \
+ LIBTOOL=${LIBTOOL:Q}
+CONFIGURE_ARGS+= --with-sysroot=${PREFIX} \
+ --with-pkgconfigdir=${PREFIX}/lib/pkgconfig \
+ --enable-library \
+ --with-xz \
+ --with-system-zlib \
+ --with-system-bzlib
+
+.include "options.mk"
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/filesystems/avfs/PLIST
diff -u /dev/null pkgsrc/filesystems/avfs/PLIST:1.1
--- /dev/null Wed Apr 22 17:47:50 2026
+++ pkgsrc/filesystems/avfs/PLIST Wed Apr 22 17:47:50 2026
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/22 17:47:50 vins Exp $
+bin/avfs-config
+${PLIST.fuse}bin/avfsd
+bin/davpass
+bin/ftppass
+${PLIST.fuse}bin/mountavfs
+${PLIST.fuse}bin/umountavfs
+include/avfs.h
+include/virtual.h
+lib/avfs/extfs/README
+lib/avfs/extfs/a
+lib/avfs/extfs/apt
+lib/avfs/extfs/audio
+lib/avfs/extfs/bpp
+lib/avfs/extfs/deb
+lib/avfs/extfs/deba
+lib/avfs/extfs/debd
+lib/avfs/extfs/dpkg
+lib/avfs/extfs/extfs.ini
+lib/avfs/extfs/ftplist
+lib/avfs/extfs/hp48
+lib/avfs/extfs/iso9660
+lib/avfs/extfs/lslR
+lib/avfs/extfs/mailfs
+lib/avfs/extfs/patchfs
+lib/avfs/extfs/rpm
+lib/avfs/extfs/rpms
+lib/avfs/extfs/trpm
+lib/avfs/extfs/u7z
+lib/avfs/extfs/uace
+lib/avfs/extfs/uadf
+lib/avfs/extfs/uar
+lib/avfs/extfs/uarc
+lib/avfs/extfs/uarj
+lib/avfs/extfs/uc1541
+lib/avfs/extfs/ucab
+lib/avfs/extfs/ucpio
+lib/avfs/extfs/udar
+lib/avfs/extfs/uextrar
+lib/avfs/extfs/uha
+lib/avfs/extfs/uimg
+lib/avfs/extfs/ulha
+lib/avfs/extfs/upp
+lib/avfs/extfs/uxdms
+lib/avfs/extfs/uxpk
+lib/avfs/extfs/uzip
+lib/avfs/extfs/uzoo
+lib/libavfs.la
+lib/pkgconfig/avfs.pc
Index: pkgsrc/filesystems/avfs/buildlink3.mk
diff -u /dev/null pkgsrc/filesystems/avfs/buildlink3.mk:1.1
--- /dev/null Wed Apr 22 17:47:50 2026
+++ pkgsrc/filesystems/avfs/buildlink3.mk Wed Apr 22 17:47:50 2026
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/04/22 17:47:50 vins Exp $
+
+BUILDLINK_TREE+= avfs
+
+.if !defined(AVFS_BUILDLINK3_MK)
+AVFS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.avfs+= avfs>=1.3.0
+BUILDLINK_PKGSRCDIR.avfs?= ../../filesystems/avfs
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+pkgbase := avfs
+.include "../../mk/pkg-build-options.mk"
+
+.if ${PKG_BUILD_OPTIONS.avfs:Mfuse}
+. include "../../mk/fuse.buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.avfs:Mzstd}
+. include "../../archivers/zstd/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.avfs:Mwebdav}
+. include "../../www/neon/buildlink3.mk"
+.endif
+
+.endif # AVFS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -avfs
Index: pkgsrc/filesystems/avfs/distinfo
diff -u /dev/null pkgsrc/filesystems/avfs/distinfo:1.1
--- /dev/null Wed Apr 22 17:47:50 2026
+++ pkgsrc/filesystems/avfs/distinfo Wed Apr 22 17:47:50 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/04/22 17:47:50 vins Exp $
+
+BLAKE2s (avfs-1.3.0.tar.bz2) = 72bed72ece74bd78bc51ca1258043ead93b4d0c965f6d45fdfbbdc76261f97df
+SHA512 (avfs-1.3.0.tar.bz2) = 97791f9b2e10aeaba80d7866f2289375c1d1ab20548096f9df67f4e0c70c7ce88d7ef29ae9fe56cdbdec1951e1ccd53a3ed0518947ab70782d6f09fe68914732
+Size (avfs-1.3.0.tar.bz2) = 639803 bytes
Index: pkgsrc/filesystems/avfs/options.mk
diff -u /dev/null pkgsrc/filesystems/avfs/options.mk:1.1
--- /dev/null Wed Apr 22 17:47:50 2026
+++ pkgsrc/filesystems/avfs/options.mk Wed Apr 22 17:47:50 2026
@@ -0,0 +1,39 @@
+# $NetBSD: options.mk,v 1.1 2026/04/22 17:47:50 vins Exp $
+PKG_OPTIONS_VAR= PKG_OPTIONS.avfs
+PKG_SUPPORTED_OPTIONS+= debug fuse webdav zstd
+PKG_SUGGESTED_OPTIONS+= fuse zstd
+
+PLIST_VARS+= fuse
+
+.include "../../mk/bsd.options.mk"
+
+# Debug symbols
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug=yes
+.endif
+
+# Compile the AVFS daemon for fuse
+.if !empty(PKG_OPTIONS:Mfuse)
+BUILDLINK_API_DEPENDS.fuse+= fuse>=2.8
+. include "../../mk/fuse.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-fuse
+PLIST.fuse= yes
+.else
+CONFIGURE_ARGS+= --disable-fuse
+.endif
+
+# Build zstd support
+.if !empty(PKG_OPTIONS:Mzstd)
+. include "../../archivers/zstd/buildlink3.mk"
+CONFIGURE_ARGS+= --with-zstd
+.else
+CONFIGURE_ARGS+= --without-zstd
+.endif
+
+# Build the DAV module (requires libneon)
+.if !empty(PKG_OPTIONS:Mwebdav)
+. include "../../www/neon/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-dav
+.else
+CONFIGURE_ARGS+= --enable-dav
+.endif
Home |
Main Index |
Thread Index |
Old Index