Sun Feb 15 12:50:53 2015 UTC ()
Update to 0.7.8

* Depend on ncursesw.
* Update HOMEPAGE.

Changelog:
Completely changed in last 12 years.


(ryoon)
diff -r1.20 -r1.21 pkgsrc/sysutils/vifm/Makefile
diff -r1.2 -r1.3 pkgsrc/sysutils/vifm/PLIST
diff -r1.2 -r1.3 pkgsrc/sysutils/vifm/distinfo
diff -r0 -r1.1 pkgsrc/sysutils/vifm/patches/patch-src_utils_mntent.c

cvs diff -r1.20 -r1.21 pkgsrc/sysutils/vifm/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/vifm/Makefile 2012/10/23 19:51:29 1.20
+++ pkgsrc/sysutils/vifm/Makefile 2015/02/15 12:50:53 1.21
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile,v 1.20 2012/10/23 19:51:29 asau Exp $ 1# $NetBSD: Makefile,v 1.21 2015/02/15 12:50:53 ryoon Exp $
2# 2#
3 3
4DISTNAME= vifm-0.1 4DISTNAME= vifm-0.7.8
5PKGREVISION= 4 
6CATEGORIES= sysutils 5CATEGORIES= sysutils
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/}
 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://vifm.sourceforge.net/ 10HOMEPAGE= http://vifm.info/
11COMMENT= Ncurses based file manager with vi like keybindings 11COMMENT= Ncurses based file manager with vi like keybindings
12 12
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14USE_TOOLS+= gmake 14USE_TOOLS+= gmake perl
15 15
16INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* 16INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
17INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-* 17INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-*
18 18
19pre-configure: 19ppre-configure:
20 @${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \ 20 @${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
21 -e "s,/usr/local,${PREFIX},g" \ 21 -e "s,/usr/local,${PREFIX},g" \
22 ${WRKSRC}/src/config.c > ${WRKSRC}/src/config.c.new && \ 22 ${WRKSRC}/src/config.c > ${WRKSRC}/src/config.c.new && \
23 ${MV} ${WRKSRC}/src/config.c.new ${WRKSRC}/src/config.c 23 ${MV} ${WRKSRC}/src/config.c.new ${WRKSRC}/src/config.c
24 @${SED} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \ 24 @${SED} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \
25 ${WRKSRC}/src/vifmrc0.1 > ${WRKSRC}/src/vifmrc0.1.new && \ 25 ${WRKSRC}/src/vifmrc0.1 > ${WRKSRC}/src/vifmrc0.1.new && \
26 ${MV} ${WRKSRC}/src/vifmrc0.1.new ${WRKSRC}/src/vifmrc0.1 26 ${MV} ${WRKSRC}/src/vifmrc0.1.new ${WRKSRC}/src/vifmrc0.1
27 27
28.include "../../devel/ncurses/buildlink3.mk" 28.include "../../devel/ncursesw/buildlink3.mk"
29.include "../../mk/pthread.buildlink3.mk" 29.include "../../mk/pthread.buildlink3.mk"
30.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/sysutils/vifm/PLIST (expand / switch to unified diff)

--- pkgsrc/sysutils/vifm/PLIST 2009/06/14 18:16:16 1.2
+++ pkgsrc/sysutils/vifm/PLIST 2015/02/15 12:50:53 1.3
@@ -1,7 +1,25 @@ @@ -1,7 +1,25 @@
1@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:16 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.3 2015/02/15 12:50:53 ryoon Exp $
2bin/pauseme 
3bin/vifm 2bin/vifm
4share/vifm/vifm-0.1.help.txt 3bin/vifm-pause
5share/vifm/vifm.txt 4bin/vifmrc-converter
6share/vifm/vifm.vim 5man/man1/vifm-pause.1
7share/vifm/vifmrc0.1 6man/man1/vifm.1
 7man/man1/vifmrc-converter.1
 8share/applications/vifm.desktop
 9share/pixmaps/vifm.png
 10share/vifm/vifm-help.txt
 11share/vifm/vifmrc
 12share/vifm/vim-doc/doc/tags
 13share/vifm/vim-doc/doc/vifm-app.txt
 14share/vifm/vim/autoload/vifm/edit.vim
 15share/vifm/vim/doc/tags
 16share/vifm/vim/doc/vifm-plugin.txt
 17share/vifm/vim/ftdetect/vifm-rename.vim
 18share/vifm/vim/ftdetect/vifm.vim
 19share/vifm/vim/ftplugin/mail_vifm.vim
 20share/vifm/vim/ftplugin/vifm-cmdedit.vim
 21share/vifm/vim/ftplugin/vifm-edit.vim
 22share/vifm/vim/ftplugin/vifm-rename.vim
 23share/vifm/vim/ftplugin/vifm.vim
 24share/vifm/vim/plugin/vifm.vim
 25share/vifm/vim/syntax/vifm.vim

cvs diff -r1.2 -r1.3 pkgsrc/sysutils/vifm/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/vifm/distinfo 2005/02/24 13:40:58 1.2
+++ pkgsrc/sysutils/vifm/distinfo 2015/02/15 12:50:53 1.3
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.2 2005/02/24 13:40:58 agc Exp $ 1$NetBSD: distinfo,v 1.3 2015/02/15 12:50:53 ryoon Exp $
2 2
3SHA1 (vifm-0.1.tar.gz) = 911e54a3cb78ea456dfe038ed997a349fcea6a5e 3SHA1 (vifm-0.7.8.tar.bz2) = 644c49df27bb5b89dac93757152f99b65dee9363
4RMD160 (vifm-0.1.tar.gz) = 82977221c5fa08de24764e57a5b5e74fbdd70d99 4RMD160 (vifm-0.7.8.tar.bz2) = 46247edf337e5c0b383de4995fe10ea1e259a6da
5Size (vifm-0.1.tar.gz) = 80719 bytes 5Size (vifm-0.7.8.tar.bz2) = 623154 bytes
 6SHA1 (patch-src_utils_mntent.c) = 8fe977c3c7647cbb4cdeec6e64e8842fda3ee870

File Added: pkgsrc/sysutils/vifm/patches/Attic/patch-src_utils_mntent.c
$NetBSD: patch-src_utils_mntent.c,v 1.1 2015/02/15 12:50:53 ryoon Exp $

* I have no idea how to test this...

--- src/utils/mntent.c.orig	2014-10-25 15:09:35.000000000 +0000
+++ src/utils/mntent.c
@@ -47,7 +47,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-static struct mntent * statfs_to_mntent(struct statfs *mntbuf);
+static struct mntent * statvfs_to_mntent(struct statvfs *mntbuf);
 static char * flags2opts(int flags);
 static char * catopt(char s0[], const char s1[]);
 
@@ -76,7 +76,7 @@ getmntent(FILE *fp)
 	static int pos = -1;
 	static int mntsize = -1;
 
-	static struct statfs *mntbuf;
+	static struct statvfs *mntbuf;
 
 	if(pos == -1 || mntsize == -1)
 	{
@@ -90,11 +90,11 @@ getmntent(FILE *fp)
 		return NULL;
 	}
 
-	return statfs_to_mntent(&mntbuf[pos]);
+	return statvfs_to_mntent(&mntbuf[pos]);
 }
 
 static struct mntent *
-statfs_to_mntent(struct statfs *mntbuf)
+statvfs_to_mntent(struct statvfs *mntbuf)
 {
 	static struct mntent _mntent;
 	static char opts_buf[40], *tmp;
@@ -102,7 +102,7 @@ statfs_to_mntent(struct statfs *mntbuf)
 	_mntent.mnt_fsname = mntbuf->f_mntfromname;
 	_mntent.mnt_dir = mntbuf->f_mntonname;
 	_mntent.mnt_type = mntbuf->f_fstypename;
-	tmp = flags2opts (mntbuf->f_flags);
+	tmp = flags2opts (mntbuf->f_flag);
 	if(tmp != NULL)
 	{
 		opts_buf[sizeof(opts_buf) - 1] = '\0';
@@ -128,7 +128,7 @@ flags2opts(int flags)
 	if(flags & MNT_UNION)       res = catopt(res, "union");
 	if(flags & MNT_ASYNC)       res = catopt(res, "async");
 	if(flags & MNT_NOATIME)     res = catopt(res, "noatime");
-#ifndef __APPLE__
+#if !(defined(__APPLE__) || defined(__NetBSD__))
 	if(flags & MNT_NOCLUSTERR)  res = catopt(res, "noclusterr");
 	if(flags & MNT_NOCLUSTERW)  res = catopt(res, "noclusterw");
 	if(flags & MNT_NOSYMFOLLOW) res = catopt(res, "nosymfollow");