pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/vifm Update to 0.7.8
details: https://anonhg.NetBSD.org/pkgsrc/rev/13415bdd529d
branches: trunk
changeset: 646818:13415bdd529d
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Feb 15 12:50:53 2015 +0000
description:
Update to 0.7.8
* Depend on ncursesw.
* Update HOMEPAGE.
Changelog:
Completely changed in last 12 years.
diffstat:
sysutils/vifm/Makefile | 14 +++---
sysutils/vifm/PLIST | 30 +++++++++++--
sysutils/vifm/distinfo | 9 ++-
sysutils/vifm/patches/patch-src_utils_mntent.c | 56 ++++++++++++++++++++++++++
4 files changed, 92 insertions(+), 17 deletions(-)
diffs (149 lines):
diff -r 9278268e3d97 -r 13415bdd529d sysutils/vifm/Makefile
--- a/sysutils/vifm/Makefile Sun Feb 15 11:15:38 2015 +0000
+++ b/sysutils/vifm/Makefile Sun Feb 15 12:50:53 2015 +0000
@@ -1,22 +1,22 @@
-# $NetBSD: Makefile,v 1.20 2012/10/23 19:51:29 asau Exp $
+# $NetBSD: Makefile,v 1.21 2015/02/15 12:50:53 ryoon Exp $
#
-DISTNAME= vifm-0.1
-PKGREVISION= 4
+DISTNAME= vifm-0.7.8
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/}
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://vifm.sourceforge.net/
+HOMEPAGE= http://vifm.info/
COMMENT= Ncurses based file manager with vi like keybindings
GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake perl
INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-*
-pre-configure:
+ppre-configure:
@${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
-e "s,/usr/local,${PREFIX},g" \
${WRKSRC}/src/config.c > ${WRKSRC}/src/config.c.new && \
@@ -25,6 +25,6 @@
${WRKSRC}/src/vifmrc0.1 > ${WRKSRC}/src/vifmrc0.1.new && \
${MV} ${WRKSRC}/src/vifmrc0.1.new ${WRKSRC}/src/vifmrc0.1
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 9278268e3d97 -r 13415bdd529d sysutils/vifm/PLIST
--- a/sysutils/vifm/PLIST Sun Feb 15 11:15:38 2015 +0000
+++ b/sysutils/vifm/PLIST Sun Feb 15 12:50:53 2015 +0000
@@ -1,7 +1,25 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:16 joerg Exp $
-bin/pauseme
+@comment $NetBSD: PLIST,v 1.3 2015/02/15 12:50:53 ryoon Exp $
bin/vifm
-share/vifm/vifm-0.1.help.txt
-share/vifm/vifm.txt
-share/vifm/vifm.vim
-share/vifm/vifmrc0.1
+bin/vifm-pause
+bin/vifmrc-converter
+man/man1/vifm-pause.1
+man/man1/vifm.1
+man/man1/vifmrc-converter.1
+share/applications/vifm.desktop
+share/pixmaps/vifm.png
+share/vifm/vifm-help.txt
+share/vifm/vifmrc
+share/vifm/vim-doc/doc/tags
+share/vifm/vim-doc/doc/vifm-app.txt
+share/vifm/vim/autoload/vifm/edit.vim
+share/vifm/vim/doc/tags
+share/vifm/vim/doc/vifm-plugin.txt
+share/vifm/vim/ftdetect/vifm-rename.vim
+share/vifm/vim/ftdetect/vifm.vim
+share/vifm/vim/ftplugin/mail_vifm.vim
+share/vifm/vim/ftplugin/vifm-cmdedit.vim
+share/vifm/vim/ftplugin/vifm-edit.vim
+share/vifm/vim/ftplugin/vifm-rename.vim
+share/vifm/vim/ftplugin/vifm.vim
+share/vifm/vim/plugin/vifm.vim
+share/vifm/vim/syntax/vifm.vim
diff -r 9278268e3d97 -r 13415bdd529d sysutils/vifm/distinfo
--- a/sysutils/vifm/distinfo Sun Feb 15 11:15:38 2015 +0000
+++ b/sysutils/vifm/distinfo Sun Feb 15 12:50:53 2015 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:40:58 agc Exp $
+$NetBSD: distinfo,v 1.3 2015/02/15 12:50:53 ryoon Exp $
-SHA1 (vifm-0.1.tar.gz) = 911e54a3cb78ea456dfe038ed997a349fcea6a5e
-RMD160 (vifm-0.1.tar.gz) = 82977221c5fa08de24764e57a5b5e74fbdd70d99
-Size (vifm-0.1.tar.gz) = 80719 bytes
+SHA1 (vifm-0.7.8.tar.bz2) = 644c49df27bb5b89dac93757152f99b65dee9363
+RMD160 (vifm-0.7.8.tar.bz2) = 46247edf337e5c0b383de4995fe10ea1e259a6da
+Size (vifm-0.7.8.tar.bz2) = 623154 bytes
+SHA1 (patch-src_utils_mntent.c) = 8fe977c3c7647cbb4cdeec6e64e8842fda3ee870
diff -r 9278268e3d97 -r 13415bdd529d sysutils/vifm/patches/patch-src_utils_mntent.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/vifm/patches/patch-src_utils_mntent.c Sun Feb 15 12:50:53 2015 +0000
@@ -0,0 +1,56 @@
+$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");
Home |
Main Index |
Thread Index |
Old Index