aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2026-08-03 09:12:31 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2026-08-03 09:13:26 +0000
commitf54a46204ffec8fdfa170ce0429416e0343505da (patch)
tree1d28e1d413e2bf2833b91a481d8cc63dcdd73cd1
parentf9adcacbae362ff8ff6c92f661ed660f02f518df (diff)
filesystems/tclvfs: update to 1.5.0
PR: 297213 Submitted by: Simon Wells <swel024+bsd@gmail.com>
-rw-r--r--filesystems/tclvfs/Makefile17
-rw-r--r--filesystems/tclvfs/distinfo6
-rw-r--r--filesystems/tclvfs/files/patch-Makefile.in12
-rw-r--r--filesystems/tclvfs/files/patch-generic_vfs.c26
-rw-r--r--filesystems/tclvfs/pkg-plist6
5 files changed, 31 insertions, 36 deletions
diff --git a/filesystems/tclvfs/Makefile b/filesystems/tclvfs/Makefile
index 192f2df2af56..e8ad10b98881 100644
--- a/filesystems/tclvfs/Makefile
+++ b/filesystems/tclvfs/Makefile
@@ -1,17 +1,24 @@
PORTNAME= tclvfs
-PORTVERSION= 20080503
-PORTREVISION= 1
+DISTVERSION= 1.5.0
CATEGORIES= filesystems devel
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
+MASTER_SITES= https://core.tcl-lang.org/tclvfs/tarball/
+DISTNAME= ${PORTNAME}-${SNAPSHOT}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Tcl VirtualFileSystem layer
-WWW= https://sourceforge.net/projects/tclvfs/
+WWW= https://core.tcl-lang.org/tclvfs
+
+LICENSE= TclTk
+LICENSE_NAME= Tcl/Tk License
+LICENSE_FILE= ${WRKSRC}/license.terms
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libTrf2.1.4.so:devel/tcl-trf
USES+= gmake tcl:tea
-TCL_PKG= vfs1.3
+TEST_TARGET= test
+
+SNAPSHOT= 20260403165307-75a2672991
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
diff --git a/filesystems/tclvfs/distinfo b/filesystems/tclvfs/distinfo
index 2ec546790727..82f448553de5 100644
--- a/filesystems/tclvfs/distinfo
+++ b/filesystems/tclvfs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1730905188
-SHA256 (tclvfs-20080503.tar.gz) = 0d90362078c8f59347b14be377e9306336b6d25d147397f845e705a6fa1d38f2
-SIZE (tclvfs-20080503.tar.gz) = 258723
+TIMESTAMP = 1785742810
+SHA256 (tclvfs-20260403165307-75a2672991.tar.gz) = d777ac6f5e11857d08e6c5e050820c2f04be4df66f46862201c27ac1e3ee289d
+SIZE (tclvfs-20260403165307-75a2672991.tar.gz) = 281676
diff --git a/filesystems/tclvfs/files/patch-Makefile.in b/filesystems/tclvfs/files/patch-Makefile.in
deleted file mode 100644
index f14d9d60f5a4..000000000000
--- a/filesystems/tclvfs/files/patch-Makefile.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.in.orig 2013-04-30 12:23:15.000000000 +0200
-+++ Makefile.in 2013-04-30 12:23:54.000000000 +0200
-@@ -256,7 +256,8 @@
-
- VPATH = $(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win
-
--.c.@OBJEXT@:
-+
-+vfs.@OBJEXT@: $(srcdir)/generic/vfs.c
- $(COMPILE) -c `@CYGPATH@ $<` -o $@
-
- #========================================================================
diff --git a/filesystems/tclvfs/files/patch-generic_vfs.c b/filesystems/tclvfs/files/patch-generic_vfs.c
index 1c52b734021d..f844971fecdf 100644
--- a/filesystems/tclvfs/files/patch-generic_vfs.c
+++ b/filesystems/tclvfs/files/patch-generic_vfs.c
@@ -1,14 +1,14 @@
---- generic/vfs.c.orig 2006-08-30 21:38:03.000000000 +0200
-+++ generic/vfs.c 2013-09-24 10:26:34.000000000 +0200
-@@ -1656,7 +1656,10 @@
- return returnVal;
- }
+--- generic/vfs.c.orig 2026-08-03 07:46:37 UTC
++++ generic/vfs.c
+@@ -189,11 +189,7 @@ VfsFreeInternalRep(
--static CONST char**
-+#ifndef CONST86
-+#define CONST86
-+#endif
-+static CONST char*CONST86 *
- VfsFileAttrStrings(pathPtr, objPtrRef)
- Tcl_Obj* pathPtr;
- Tcl_Obj** objPtrRef;
+ static void
+ VfsFreeInternalRep(
+-#if TCL_MAJOR_VERSION < 9
+- char* clientData
+-#else
+ ClientData clientData
+-#endif
+ ) {
+ VfsNativeRep *nativeRep = (VfsNativeRep*)clientData;
+ if (nativeRep != NULL) {
diff --git a/filesystems/tclvfs/pkg-plist b/filesystems/tclvfs/pkg-plist
index 1edebfbba711..aa2737446741 100644
--- a/filesystems/tclvfs/pkg-plist
+++ b/filesystems/tclvfs/pkg-plist
@@ -2,27 +2,27 @@ lib/%%TCL_PKG%%/ftpvfs.tcl
lib/%%TCL_PKG%%/httpvfs.tcl
lib/%%TCL_PKG%%/lib%%TCL_PKG%%.so
lib/%%TCL_PKG%%/mk4vfs.tcl
-lib/%%TCL_PKG%%/mk4vfscompat.tcl
lib/%%TCL_PKG%%/pkgIndex.tcl
lib/%%TCL_PKG%%/starkit.tcl
lib/%%TCL_PKG%%/tarvfs.tcl
-lib/%%TCL_PKG%%/tclIndex
lib/%%TCL_PKG%%/tclprocvfs.tcl
+lib/%%TCL_PKG%%/template/chrootvfs.tcl
lib/%%TCL_PKG%%/template/collatevfs.tcl
lib/%%TCL_PKG%%/template/deltavfs.tcl
lib/%%TCL_PKG%%/template/fishvfs.tcl
lib/%%TCL_PKG%%/template/globfind.tcl
lib/%%TCL_PKG%%/template/quotavfs.tcl
+lib/%%TCL_PKG%%/template/tclIndex
lib/%%TCL_PKG%%/template/tdelta.tcl
lib/%%TCL_PKG%%/template/templatevfs.tcl
lib/%%TCL_PKG%%/template/versionvfs.tcl
lib/%%TCL_PKG%%/testvfs.tcl
lib/%%TCL_PKG%%/tkvfs.tcl
+lib/%%TCL_PKG%%/vfs.tcl
lib/%%TCL_PKG%%/vfsUrl.tcl
lib/%%TCL_PKG%%/vfsUtils.tcl
lib/%%TCL_PKG%%/vfslib.tcl
lib/%%TCL_PKG%%/webdavvfs.tcl
lib/%%TCL_PKG%%/zipvfs.tcl
-lib/%%TCL_PKG%%/zipvfscompat.tcl
share/man/mann/vfs.n.gz
share/man/mann/vfslib.n.gz