summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-01-26 23:31:46 +0000
committerhubertf <hubertf@pkgsrc.org>1999-01-26 23:31:46 +0000
commit2952c0004ebd1acb2d05655998c84ef416f0d566 (patch)
tree9c4b9d1e1a7017bd2e70136d57d73c479f36a50e
parent410a0efd0394abaab6fad9dee66cc41328bd43e2 (diff)
downloadpkgsrc-2952c0004ebd1acb2d05655998c84ef416f0d566.tar.gz
Small, handy, easy-to-use file manager for UNIX/Linux.
-rw-r--r--misc/vfu/Makefile43
-rw-r--r--misc/vfu/files/md53
-rw-r--r--misc/vfu/patches/patch-aa15
-rw-r--r--misc/vfu/patches/patch-ab13
-rw-r--r--misc/vfu/patches/patch-ac17
-rw-r--r--misc/vfu/patches/patch-ad18
-rw-r--r--misc/vfu/patches/patch-ae35
-rw-r--r--misc/vfu/patches/patch-af27
-rw-r--r--misc/vfu/patches/patch-ag15
-rw-r--r--misc/vfu/patches/patch-ah18
-rw-r--r--misc/vfu/pkg/COMMENT1
-rw-r--r--misc/vfu/pkg/DESCR19
-rw-r--r--misc/vfu/pkg/PLIST10
13 files changed, 234 insertions, 0 deletions
diff --git a/misc/vfu/Makefile b/misc/vfu/Makefile
new file mode 100644
index 00000000000..5be32a17e2f
--- /dev/null
+++ b/misc/vfu/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/01/26 23:31:46 hubertf Exp $
+#
+
+DISTNAME= vful141s
+PKGNAME= vfu-1.41
+EXTRACT_SUFX= .tgz
+CATEGORIES= misc
+MASTER_SITES= http://www.biscom.net/~cade/away/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.biscom.net/~cade/vfu/
+
+DEPENDS= ncurses-1.9.9g:../../devel/ncurses
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+do-build:
+ @cd ${WRKSRC}/vslib ; \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
+ @cd ${WRKSRC}/vfu ; \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/vfu/vfu \
+ ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vfu
+ ${INSTALL_DATA} \
+ ${WRKSRC}/vfu/COPYING \
+ ${WRKSRC}/vfu/INSTALL \
+ ${WRKSRC}/vfu/README \
+ ${WRKSRC}/vfu/vfu.txt \
+ ${WRKSRC}/vfu/readme \
+ ${WRKSRC}/vfu/COPYING \
+ ${WRKSRC}/vfu/COPYING \
+ ${PREFIX}/share/doc/vfu
+ ${INSTALL_DATA} \
+ ${WRKSRC}/vfu/vfurc \
+ ${PREFIX}/share/doc/vfu/vfurc.example
+ [ -f ${PREFIX}/etc/vfurc ] || \
+ ${INSTALL_DATA} \
+ ${PREFIX}/share/doc/vfu/vfurc.example ${PREFIX}/etc/vfurc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/vfu/files/md5 b/misc/vfu/files/md5
new file mode 100644
index 00000000000..fb41db39875
--- /dev/null
+++ b/misc/vfu/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/01/26 23:31:47 hubertf Exp $
+
+MD5 (vful141s.tgz) = 58153dc223a4f6840540b406ef402312
diff --git a/misc/vfu/patches/patch-aa b/misc/vfu/patches/patch-aa
new file mode 100644
index 00000000000..5458db6aec9
--- /dev/null
+++ b/misc/vfu/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vslib/makefile.BAK Tue Jan 26 20:52:30 1999
++++ vslib/makefile Tue Jan 26 20:56:05 1999
+@@ -3,8 +3,8 @@
+ CC = gcc
+ LD = gcc
+ AR = ar rvs
+-CFLAGS = -I. -I/usr/include/ncurses -O2
+-CCFLAGS = -I. -I/usr/include/ncurses -O2
++CFLAGS = -I. -I${LOCALBASE}/include -O2
++CCFLAGS = -I. -I${LOCALBASE}/include -O2
+ LDFLAGS =
+ ARFLAGS =
+ TARGET = libvslib.a
diff --git a/misc/vfu/patches/patch-ab b/misc/vfu/patches/patch-ab
new file mode 100644
index 00000000000..5ff30eca0d7
--- /dev/null
+++ b/misc/vfu/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vslib/unicon.h.BAK Tue Jan 26 20:55:19 1999
++++ vslib/unicon.h Tue Jan 26 20:55:25 1999
+@@ -16,7 +16,7 @@
+ #endif
+
+ #ifdef _TARGET_LINUX_
+- #include <curses.h>
++ #include <ncurses.h>
+ #endif
+
+ ///////////////////////////////////////////////////////////////////////////
diff --git a/misc/vfu/patches/patch-ac b/misc/vfu/patches/patch-ac
new file mode 100644
index 00000000000..d10fc492ec6
--- /dev/null
+++ b/misc/vfu/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/makefile.orig Sun Jan 17 00:01:01 1999
++++ vfu/makefile Tue Jan 26 22:53:56 1999
+@@ -3,9 +3,9 @@
+ CC = gcc
+ LD = gcc
+ AR = ar rvs
+-CFLAGS = -I../vslib -I/usr/include/ncurses -O2
+-CCFLAGS = -I../vslib -I/usr/include/ncurses -O2
+-LDFLAGS = -L../vslib -lvslib -lncurses
++CFLAGS = -I../vslib -I${LOCALBASE}/include -O2 -DPREFIX=\"${PREFIX}\"
++CCFLAGS = -I../vslib -I${LOCALBASE}/include -O2 -DPREFIX=\"${PREFIX}\"
++LDFLAGS = -L../vslib -lvslib -L${LOCALBASE}/lib -lncurses
+ ARFLAGS =
+ TARGET = vfu
+
diff --git a/misc/vfu/patches/patch-ad b/misc/vfu/patches/patch-ad
new file mode 100644
index 00000000000..671eb547af2
--- /dev/null
+++ b/misc/vfu/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/vfufiles.cpp.BAK Tue Jan 26 21:09:45 1999
++++ vfu/vfufiles.cpp Tue Jan 26 21:12:25 1999
+@@ -12,7 +12,12 @@
+ #include "vfuview.h"
+ #include "vfumenu.h"
+ #include "vfudir.h"
+-#include <sys/vfs.h>
++#ifdef __Linux__
++# include <sys/vfs.h>
++#else
++# include <sys/param.h>
++# include <sys/mount.h>
++#endif
+
+ /////////////////////////////////////////////
+ //
diff --git a/misc/vfu/patches/patch-ae b/misc/vfu/patches/patch-ae
new file mode 100644
index 00000000000..2c464bee835
--- /dev/null
+++ b/misc/vfu/patches/patch-ae
@@ -0,0 +1,35 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+I do not know if this will wotk on LP64 (Alpha, UltraSparc) too... - HF
+
+
+--- vfu/vfucopy.cpp.BAK Tue Jan 26 21:15:28 1999
++++ vfu/vfucopy.cpp Tue Jan 26 21:18:49 1999
+@@ -13,7 +13,12 @@
+ #include "vfuview.h"
+ #include "vfusys.h"
+ #include "vfucopy.h"
+-#include <sys/vfs.h>
++#ifdef __Linux__
++# include <sys/vfs.h>
++#else
++# include <sys/param.h>
++# include <sys/mount.h>
++#endif
+
+ // #define CopyBuffSize 64000
+ #define CopyBuffSize 512*1024 // it's a 1/2 meg -- not too much :)
+@@ -137,11 +142,11 @@
+ char s_t = (OptTime(stat_src) == OptTime(stat_dst))?'*':' '; // same time
+ char s_s = (stat_src.st_size == stat_dst.st_size)?'*':' '; // same size
+
+- TimeStr(OptTime(stat_src), sttime); str = stat_src.st_size; StrComma(str);
++ TimeStr(OptTime(stat_src), sttime); str = (long int)stat_src.st_size; StrComma(str);
+ sp(sss, "SRC: %s%c %11s%c %s", sttime, s_t, str.asis(), s_s, _fr );
+ say1(sss);
+
+- TimeStr(OptTime(stat_dst), sttime); str = stat_dst.st_size; StrComma(str);
++ TimeStr(OptTime(stat_dst), sttime); str = (long int)stat_dst.st_size; StrComma(str);
+ sp(sss, "DST: %s%c %11s%c %s", sttime, s_t, str.asis(), s_s, _to );
+ say2(sss);
+
diff --git a/misc/vfu/patches/patch-af b/misc/vfu/patches/patch-af
new file mode 100644
index 00000000000..97ecc3d2e12
--- /dev/null
+++ b/misc/vfu/patches/patch-af
@@ -0,0 +1,27 @@
+$NetBSD: patch-af,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/vfu.cpp.orig Sun Jan 24 18:55:40 1999
++++ vfu/vfu.cpp Tue Jan 26 22:48:59 1999
+@@ -18,7 +18,12 @@
+ #include "vfuarc.h"
+ #include "vfutools.h"
+ #include "grep.h"
+-#include <sys/vfs.h>
++#ifdef __Linux__
++# include <sys/vfs.h>
++#else
++# include <sys/param.h>
++# include <sys/mount.h>
++#endif
+
+ ////////////////////////////////////////////////////////////////////////
+ //
+@@ -1725,7 +1730,7 @@
+ "` -- Goto preset dir (Alt+0..9 also available on some terminals)\n"
+ "ESC+ESC -- exits VF/U, `Q' or `q' -- exit here, `X' or `x' -- exit to old dir\n"
+ "NOTE: Alt-Letter keys are equal to Upper case letters in the commands context\n"
+-"vfu uses these config files: $HOME/.vfurc or /usr/local/lib/vfurc\n"
++"vfu uses these config files: $HOME/.vfurc or " PREFIX "/etc/vfurc\n"
+ "\n--press a key---\n\n"
+ );
+ // tcsetattr(1, TCSANOW,&newstate);
diff --git a/misc/vfu/patches/patch-ag b/misc/vfu/patches/patch-ag
new file mode 100644
index 00000000000..b6af89fa2a2
--- /dev/null
+++ b/misc/vfu/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/vfuopt.cpp.BAK Tue Jan 26 22:50:19 1999
++++ vfu/vfuopt.cpp Tue Jan 26 22:51:01 1999
+@@ -103,8 +103,8 @@
+ void SetupFiles()
+ {
+ #ifdef _TARGET_LINUX_
+- if (access("/usr/local/lib/vfurc", R_OK) == 0) RCFile = "/usr/local/lib/vfurc"; else
+- if (access("/usr/local/vfurc", R_OK) == 0) RCFile = "/usr/local/vfurc"; else
++ if (access(PREFIX "/etc/vfurc", R_OK) == 0) RCFile = PREFIX "/etc/vfurc"; else
++ if (access(PREFIX "/vfurc", R_OK) == 0) RCFile = PREFIX "/vfurc"; else
+ sprintf( MAX_PATH, RCFile,"%s.vfurc", HOME);
+ sprintf( MAX_PATH, OPTFile,"%s.vfu.opt", HOME);
+ #endif
diff --git a/misc/vfu/patches/patch-ah b/misc/vfu/patches/patch-ah
new file mode 100644
index 00000000000..a5d7523f355
--- /dev/null
+++ b/misc/vfu/patches/patch-ah
@@ -0,0 +1,18 @@
+--- vfu/vfurc.BAK Tue Jan 26 23:50:23 1999
++++ vfu/vfurc Tue Jan 26 23:50:49 1999
+@@ -2,7 +2,7 @@
+
+ TrimTree=/c/ /d/ /e/ /proc/ /tmp/
+
+-ux=SEE JPEG,ENTER,.jpg.gif.,seejpeg -w -F G800x600x32K -c %f
++ux=SEE JPEG,ENTER,.jpg.gif.,xv %f
+ ux=SEE HTML,ENTER,.htm.html.shtml.,lynx %F
+ ux=SEE HTML,INSERT,.htm.html.shtml.,lynx %F
+
+@@ -11,4 +11,4 @@
+ presetdir3=/usr/src
+
+ cMAGENTA=.**.jpg.gif.bmp.xpm.lbm.
+-cGREEN=.jpg.jpeg.lbm.xpm.tif.gif.
+\ No newline at end of file
++cGREEN=.jpg.jpeg.lbm.xpm.tif.gif.
diff --git a/misc/vfu/pkg/COMMENT b/misc/vfu/pkg/COMMENT
new file mode 100644
index 00000000000..51d9ebf992f
--- /dev/null
+++ b/misc/vfu/pkg/COMMENT
@@ -0,0 +1 @@
+Small, handy, easy-to-use file manager for UNIX/Linux.
diff --git a/misc/vfu/pkg/DESCR b/misc/vfu/pkg/DESCR
new file mode 100644
index 00000000000..5647fadef1e
--- /dev/null
+++ b/misc/vfu/pkg/DESCR
@@ -0,0 +1,19 @@
+VFU is small, handy, easy-to-use file manager for UNIX/Linux.
+Main features are:
+
+ * Console/Text mode!
+ * Copy/Move/Erase of selected files/single file/single file while
+ selection exists.
+ * Overwrite prompt when copy/move (Yes/No/Always/Never/...).
+ * Fast One-Key Commands.
+ * Filename completion (incl. extended completion: `*some[az].zip' )
+ * Powerfull ChangeDir function (w. History, Preset favourite dirs...)
+ * Directory(ies) size calculation (single dir/all dirs).
+ * Run-Time dirs' sizes calculation! (with dir sizes cache as option)
+ * Extensive user-defined external support/utils!
+ * Interactive/octal chmod and chown (for selected files/single/...)
+ * File-type colorization (user defined).
+ * Incremental search/masking in all file lists.
+ * Archives support (storage/directory) incl. view/browse/extract:
+ TAR TGZ ZIP UC2 ARJ JAR RAR LIM LHA HA
+ * +++more...
diff --git a/misc/vfu/pkg/PLIST b/misc/vfu/pkg/PLIST
new file mode 100644
index 00000000000..b0053cfd488
--- /dev/null
+++ b/misc/vfu/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/01/26 23:31:54 hubertf Exp $
+bin/vfu
+share/doc/vfu/vfurc.example
+@exec [ -f %D/etc/vfurc ] || /bin/cp -p %D/%F %D/etc/vfurc
+share/doc/vfu/COPYING
+share/doc/vfu/INSTALL
+share/doc/vfu/README
+share/doc/vfu/vfu.txt
+share/doc/vfu/readme
+@dirrm share/doc/vfu/