pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/vfu



Module Name:    pkgsrc
Committed By:   drixter
Date:           Sat Nov 14 21:17:48 UTC 2026

Modified Files:
        pkgsrc/misc/vfu: Makefile PLIST distinfo
Added Files:
        pkgsrc/misc/vfu/patches: patch-vfu_Makefile patch-vfu_vfu.cpp
            patch-vfu_vfucopy.cpp patch-vslib_Makefile patch-vstring_Makefile
Removed Files:
        pkgsrc/misc/vfu/patches: patch-aa patch-ab patch-ac patch-ad patch-ae
            patch-af patch-ag patch-ah patch-ai patch-aj patch-ak patch-al
            patch-vfu_vfuopt.cpp patch-vfu_vfuopt.h patch-vfu_vfusys.cpp
            patch-vfu_vfuview.cpp patch-vslib_conmenu.h patch-vslib_getopt2.cpp
            patch-vslib_regexp3.cpp patch-vslib_vstring.cpp
            patch-vslib_vstring.h

Log Message:
vfu: Update to version 5.09

5.09: 22.Jun.2023
! 1. fixed problem with some tools (key "T", tools menu) when current
     directory has no entries.
! 2. fixed shell escaping for pipe char (and % jtbs)


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/misc/vfu/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/vfu/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/misc/vfu/distinfo
cvs rdiff -u -r1.11 -r0 pkgsrc/misc/vfu/patches/patch-aa
cvs rdiff -u -r1.9 -r0 pkgsrc/misc/vfu/patches/patch-ab
cvs rdiff -u -r1.10 -r0 pkgsrc/misc/vfu/patches/patch-ac
cvs rdiff -u -r1.8 -r0 pkgsrc/misc/vfu/patches/patch-ad
cvs rdiff -u -r1.5 -r0 pkgsrc/misc/vfu/patches/patch-ae
cvs rdiff -u -r1.3 -r0 pkgsrc/misc/vfu/patches/patch-af \
    pkgsrc/misc/vfu/patches/patch-ag
cvs rdiff -u -r1.4 -r0 pkgsrc/misc/vfu/patches/patch-ah
cvs rdiff -u -r1.1 -r0 pkgsrc/misc/vfu/patches/patch-ai \
    pkgsrc/misc/vfu/patches/patch-aj pkgsrc/misc/vfu/patches/patch-ak \
    pkgsrc/misc/vfu/patches/patch-vfu_vfuopt.cpp \
    pkgsrc/misc/vfu/patches/patch-vfu_vfuopt.h \
    pkgsrc/misc/vfu/patches/patch-vfu_vfusys.cpp \
    pkgsrc/misc/vfu/patches/patch-vfu_vfuview.cpp \
    pkgsrc/misc/vfu/patches/patch-vslib_conmenu.h \
    pkgsrc/misc/vfu/patches/patch-vslib_regexp3.cpp \
    pkgsrc/misc/vfu/patches/patch-vslib_vstring.cpp \
    pkgsrc/misc/vfu/patches/patch-vslib_vstring.h
cvs rdiff -u -r1.2 -r0 pkgsrc/misc/vfu/patches/patch-al \
    pkgsrc/misc/vfu/patches/patch-vslib_getopt2.cpp
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/vfu/patches/patch-vfu_Makefile \
    pkgsrc/misc/vfu/patches/patch-vfu_vfu.cpp \
    pkgsrc/misc/vfu/patches/patch-vfu_vfucopy.cpp \
    pkgsrc/misc/vfu/patches/patch-vslib_Makefile \
    pkgsrc/misc/vfu/patches/patch-vstring_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/vfu/Makefile
diff -u pkgsrc/misc/vfu/Makefile:1.64 pkgsrc/misc/vfu/Makefile:1.65
--- pkgsrc/misc/vfu/Makefile:1.64       Tue Jun 28 11:34:53 2022
+++ pkgsrc/misc/vfu/Makefile    Sat Nov 14 21:17:46 2026
@@ -1,44 +1,42 @@
-# $NetBSD: Makefile,v 1.64 2022/06/28 11:34:53 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.65 2026/11/14 21:17:46 drixter Exp $
 
-DISTNAME=      vfu-3.04
-PKGREVISION=   16
+DISTNAME=      vfu-5.09
 CATEGORIES=    misc
-MASTER_SITES=  http://cade.datamax.bg/vfu/
-MASTER_SITES+= ${MASTER_SITE_SUNSITE:=utils/file/managers/}
-EXTRACT_SUFX=  .src.tar.gz
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://cade.datamax.bg/vfu/
-COMMENT=       Small, handy, easy-to-use file manager
+MASTER_SITES=  https://cade.noxrun.com/projects/vfu/
 
-USE_LANGUAGES= c c++
-USE_TOOLS+=    perl:run
+MAINTAINER=    drixter%e-utp.net@localhost
+HOMEPAGE=      https://cade.noxrun.com/projects/vfu/
+COMMENT=       Small, handy, easy-to-use file manager for UNIX/Linux
+LICENSE=       gnu-gpl-v2
+
+USE_TOOLS+=    gmake pkg-config perl:run
 REPLACE_PERL+= rx/rx_*
-FAKE_NCURSES=  yes
+USE_LANGUAGES= c c++
 
-DOCDIR=                ${PREFIX}/share/doc/vfu
-EGDIR=         ${PREFIX}/share/examples/vfu
+USE_CURSES=    wide
 
-CONF_FILES=    ${EGDIR}/vfu.conf ${PKG_SYSCONFDIR}/vfu.conf
+MAKE_FLAGS+=   YASCREEN_CC=
+MAKE_FLAGS+=   YASCREEN_LD=
+MAKE_FLAGS+=   NO_FLTO=1
+MAKE_FLAGS+=   NCURSES_CC=
+MAKE_FLAGS+=   NCURSES_LD=${BUILDLINK_LDADD.curses}
 
-MAKE_ENV+=     PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/examples/vfu
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/vfu/vfu \
+               ${DESTDIR}${PREFIX}/bin/vfu
 
-do-build:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.netbsd
+       ${INSTALL_SCRIPT} ${WRKSRC}/rx/rx_* \
+               ${DESTDIR}${PREFIX}/bin/
 
-do-install:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PREFIX=${DESTDIR}${PREFIX} ${SH} install
+       ${INSTALL_MAN} ${WRKSRC}/vfu.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vfu.1
+
+       ${INSTALL_DATA} ${WRKSRC}/vfu.conf \
+               ${DESTDIR}${PREFIX}/share/examples/vfu/vfu.conf
 
-post-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} ${DESTDIR}${EGDIR}
-       cd ${WRKSRC} &&                                                 \
-       ${INSTALL_DATA} COPYING INSTALL CONFIG FAQ HISTORY NOTES README \
-               README.DOS THANKS.TO TODO XWINDOW.NOTES ${DESTDIR}${DOCDIR}
-       cd ${WRKSRC} &&                                                 \
-       ${INSTALL_DATA} ${WRKSRC}/vfu.conf ${DESTDIR}${EGDIR}/vfu.conf
 
+.include "../../devel/pcre2/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/misc/vfu/PLIST
diff -u pkgsrc/misc/vfu/PLIST:1.4 pkgsrc/misc/vfu/PLIST:1.5
--- pkgsrc/misc/vfu/PLIST:1.4   Sun Jun 14 18:07:32 2009
+++ pkgsrc/misc/vfu/PLIST       Sat Nov 14 21:17:46 2026
@@ -1,21 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:07:32 joerg Exp $
-bin/ftparc
+@comment $NetBSD: PLIST,v 1.5 2026/11/14 21:17:46 drixter Exp $
 bin/rx_auto
 bin/rx_deb
 bin/rx_ftp
+bin/rx_rar
+bin/rx_rpm
 bin/rx_tar
 bin/rx_zip
 bin/vfu
 man/man1/vfu.1
-share/doc/vfu/CONFIG
-share/doc/vfu/COPYING
-share/doc/vfu/FAQ
-share/doc/vfu/HISTORY
-share/doc/vfu/INSTALL
-share/doc/vfu/NOTES
-share/doc/vfu/README
-share/doc/vfu/README.DOS
-share/doc/vfu/THANKS.TO
-share/doc/vfu/TODO
-share/doc/vfu/XWINDOW.NOTES
 share/examples/vfu/vfu.conf

Index: pkgsrc/misc/vfu/distinfo
diff -u pkgsrc/misc/vfu/distinfo:1.17 pkgsrc/misc/vfu/distinfo:1.18
--- pkgsrc/misc/vfu/distinfo:1.17       Tue Oct 26 10:59:36 2021
+++ pkgsrc/misc/vfu/distinfo    Sat Nov 14 21:17:46 2026
@@ -1,26 +1,10 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 10:59:36 nia Exp $
+$NetBSD: distinfo,v 1.18 2026/11/14 21:17:46 drixter Exp $
 
-BLAKE2s (vfu-3.04.src.tar.gz) = 0b1b72e6257dc0b2bd197c4372de86007bb3345ade5a359e03d804ad149c2908
-SHA512 (vfu-3.04.src.tar.gz) = b4cbae451c3fd0e4168e7bf61372c87f2f9969b088b7129f0c42e70cabe8dc6b0af934e28077c9411125644173eb6128afd800728f39ef6e6d44a474f3fd4f5a
-Size (vfu-3.04.src.tar.gz) = 187519 bytes
-SHA1 (patch-aa) = 6177822e3ab352b2aa3b051519237eda974f08e3
-SHA1 (patch-ab) = bb935cd9127479517daf36480e2637cd5447b978
-SHA1 (patch-ac) = 72c05012c39bb785b4eea5d41c51bd1787e463f8
-SHA1 (patch-ad) = 0777dcc38998562c9f8f70c64a6c2dce02c20c7c
-SHA1 (patch-ae) = a2076bb4754bc433898529734f7b25a5efd2ba57
-SHA1 (patch-af) = 056851af215dbf1195b9e7f00b6b654261473945
-SHA1 (patch-ag) = 3e87916630a0e9628cc28097bf2d011d15fadc42
-SHA1 (patch-ah) = 65bcc3b139f688c4407bb14cfb8d2d61962994f7
-SHA1 (patch-ai) = 4a161a1df84001bdefc81384128ea74bf9d7f61d
-SHA1 (patch-aj) = 265fbb0873ce0b910ba6a53da57a18269af34b82
-SHA1 (patch-ak) = cfcfb94f1ba6169ef471ae47fdcd9ccc81196a39
-SHA1 (patch-al) = ee31aca39c8f4ba7254f9a79c8488d8592b465e5
-SHA1 (patch-vfu_vfuopt.cpp) = f504bea56db4ebe07fe313733c02a38fb65805f8
-SHA1 (patch-vfu_vfuopt.h) = d64d243deff488fad9c46fb022f20b303d80bd03
-SHA1 (patch-vfu_vfusys.cpp) = 3a4f57f381d10c6d4f66d84d8c57338a0e17b77c
-SHA1 (patch-vfu_vfuview.cpp) = 573c1df0d515d328de300ed1e418f065ac43887e
-SHA1 (patch-vslib_conmenu.h) = 8fbfc954abb7d713ef66ab565d66ecb285cd86f0
-SHA1 (patch-vslib_getopt2.cpp) = d4f106eabc2abff53c52e0008967324466e2762c
-SHA1 (patch-vslib_regexp3.cpp) = 48017429d1f10559f37cbdc901fa247e6cd8e600
-SHA1 (patch-vslib_vstring.cpp) = 56fc269b175405821533e11c86e1c6a12cc5d7e7
-SHA1 (patch-vslib_vstring.h) = d93cb8362ad11d0a62acaf8ab56e4aace0fd4f7f
+BLAKE2s (vfu-5.09.tar.gz) = 448126fa739c9d734076022003cf02c39b0cd52bc676558146a70cb2540cfb15
+SHA512 (vfu-5.09.tar.gz) = 1aa64894df06af606666c8299f950d0db3524949d150482cdbabd3d39900bf1aa577435f3d3038f19e8b21f09635a601ab150d41c91dd846194ab2ac28f86acc
+Size (vfu-5.09.tar.gz) = 287818 bytes
+SHA1 (patch-vfu_Makefile) = 2618967f22690ed5187a39f054a0345d6833027a
+SHA1 (patch-vfu_vfu.cpp) = 155dc65c5ebe887f00ee9f09d9c192ebfa72deb1
+SHA1 (patch-vfu_vfucopy.cpp) = 88219c35d0ed4d7b07f28d4e4f6d95bf6214f105
+SHA1 (patch-vslib_Makefile) = cc8eed38d15f5a330083edf39d1fdefe0524e007
+SHA1 (patch-vstring_Makefile) = 98b6683d2eba75b80ad716f9637d85a7cc7fd59c

Added files:

Index: pkgsrc/misc/vfu/patches/patch-vfu_Makefile
diff -u /dev/null pkgsrc/misc/vfu/patches/patch-vfu_Makefile:1.1
--- /dev/null   Sat Nov 14 21:17:48 2026
+++ pkgsrc/misc/vfu/patches/patch-vfu_Makefile  Sat Nov 14 21:17:47 2026
@@ -0,0 +1,9 @@
+$NetBSD: patch-vfu_Makefile,v 1.1 2026/11/14 21:17:47 drixter Exp $
+
+Remove pie enforcement by upstream
+
+--- vfu/Makefile.orig
++++ vfu/Makefile
+@@ -66 +66 @@
+-MYLDFLAGS:=$(MYCXXFLAGS) $(LDFLAGS) -fPIE -pie
++MYLDFLAGS:=$(MYCXXFLAGS) $(LDFLAGS)
Index: pkgsrc/misc/vfu/patches/patch-vfu_vfu.cpp
diff -u /dev/null pkgsrc/misc/vfu/patches/patch-vfu_vfu.cpp:1.1
--- /dev/null   Sat Nov 14 21:17:48 2026
+++ pkgsrc/misc/vfu/patches/patch-vfu_vfu.cpp   Sat Nov 14 21:17:47 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-vfu_vfu.cpp,v 1.1 2026/11/14 21:17:47 drixter Exp $
+
+Relay on statvfs instead statfs
+
+--- vfu/vfu.cpp.orig
++++ vfu/vfu.cpp
+@@ -1171,2 +1171,2 @@
+-  struct statfs stafs;
+-  statfs( ".", &stafs );
++  struct statvfs stafs;
++  statvfs( ".", &stafs );
+@@ -2533,2 +2533,2 @@
+-    struct statfs stafs;
+-    statfs( t, &stafs );
++    struct statvfs stafs;
++    statvfs( t, &stafs );
Index: pkgsrc/misc/vfu/patches/patch-vfu_vfucopy.cpp
diff -u /dev/null pkgsrc/misc/vfu/patches/patch-vfu_vfucopy.cpp:1.1
--- /dev/null   Sat Nov 14 21:17:48 2026
+++ pkgsrc/misc/vfu/patches/patch-vfu_vfucopy.cpp       Sat Nov 14 21:17:47 2026
@@ -0,0 +1,35 @@
+$NetBSD: patch-vfu_vfucopy.cpp,v 1.1 2026/11/14 21:17:47 drixter Exp $
+
+Add sys/statvfs.h and change struct from statfs to statvfs
+
+--- vfu/vfucopy.cpp.orig
++++ vfu/vfucopy.cpp
+@@ -12,6 +12,7 @@
+ #include "vfusys.h"
+ #include "vfucopy.h"
+ #include <errno.h>
++#include <sys/statvfs.h>
+ 
+ /****************************************************************************
+ **
+@@ -38,16 +39,16 @@
+ 
+ fsize_t device_free_space( const char *target )
+ {
+-  struct statfs stafs;
+-  int res = statfs( str_file_path( target ), &stafs );
++  struct statvfs stafs;
++  int res = statvfs( str_file_path( target ), &stafs );
+   if( res == 0 ) return ((fsize_t)(stafs.f_bsize)) * stafs.f_bfree;
+   return 0;
+ }
+ 
+ fsize_t device_avail_space( const char *target )
+ {
+-  struct statfs stafs;
+-  int res = statfs( str_file_path( target ), &stafs );
++  struct statvfs stafs;
++  int res = statvfs( str_file_path( target ), &stafs );
+   if( res == 0 ) return ((fsize_t)(stafs.f_bsize)) * stafs.f_bavail;
+   return 0;
+ }
Index: pkgsrc/misc/vfu/patches/patch-vslib_Makefile
diff -u /dev/null pkgsrc/misc/vfu/patches/patch-vslib_Makefile:1.1
--- /dev/null   Sat Nov 14 21:17:48 2026
+++ pkgsrc/misc/vfu/patches/patch-vslib_Makefile        Sat Nov 14 21:17:47 2026
@@ -0,0 +1,9 @@
+$NetBSD: patch-vslib_Makefile,v 1.1 2026/11/14 21:17:47 drixter Exp $
+
+Remove pie enforcement by upstream
+
+--- vslib/Makefile.orig
++++ vslib/Makefile
+@@ -67 +67 @@
+-MYLDFLAGS:=$(MYCXXFLAGS) $(LDFLAGS) -fPIE -pie
++MYLDFLAGS:=$(MYCXXFLAGS) $(LDFLAGS)
Index: pkgsrc/misc/vfu/patches/patch-vstring_Makefile
diff -u /dev/null pkgsrc/misc/vfu/patches/patch-vstring_Makefile:1.1
--- /dev/null   Sat Nov 14 21:17:48 2026
+++ pkgsrc/misc/vfu/patches/patch-vstring_Makefile      Sat Nov 14 21:17:48 2026
@@ -0,0 +1,9 @@
+$NetBSD: patch-vstring_Makefile,v 1.1 2026/11/14 21:17:48 drixter Exp $
+
+Remove pie enforcement by upstream
+
+--- vstring/Makefile.orig
++++ vstring/Makefile
+@@ -52 +52 @@
+-MYLDFLAGS:=$(MYCXXFLAGS) $(LDFLAGS) -fPIE -pie
++MYLDFLAGS:=$(MYCXXFLAGS) $(LDFLAGS)



Home | Main Index | Thread Index | Old Index