diff --git a/vifm-0.6.1.tar.bz2 b/vifm-0.6.1.tar.bz2 deleted file mode 100644 index c09eee1..0000000 --- a/vifm-0.6.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2677847dc5fb3e6942022645939f04528db7d0c7e93b2afc11594f16da8b1006 -size 327563 diff --git a/vifm-0.7.1.tar.bz2 b/vifm-0.7.1.tar.bz2 new file mode 100644 index 0000000..d18b43d --- /dev/null +++ b/vifm-0.7.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c0f2e8949851394a0fa91a9e8509a58306ce3aebd27fed163fbec10c2258583 +size 468781 diff --git a/vifm-fix_buffer_overflow.patch b/vifm-fix_buffer_overflow.patch new file mode 100644 index 0000000..b53e35f --- /dev/null +++ b/vifm-fix_buffer_overflow.patch @@ -0,0 +1,11 @@ +--- src/menus.c.orig 2011-11-30 23:36:47.576001024 +0100 ++++ src/menus.c 2011-11-30 23:37:52.467001024 +0100 +@@ -830,7 +830,7 @@ + static char * + uchar2str(wchar_t *c, size_t *len) + { +- static char buf[8]; ++ static char buf[16]; + + *len = 1; + switch(*c) diff --git a/vifm.changes b/vifm.changes index 5a17cb1..05c57f7 100644 --- a/vifm.changes +++ b/vifm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 30 22:33:39 UTC 2011 - pascal.bleser@opensuse.org + +- update to 0.7.1 + (see /usr/share/doc/packages/vifm/ChangeLog for details) + ------------------------------------------------------------------- Mon Jun 13 11:34:32 UTC 2011 - puzel@novell.com diff --git a/vifm.spec b/vifm.spec index 257e83a..06ab898 100644 --- a/vifm.spec +++ b/vifm.spec @@ -10,13 +10,14 @@ Name: vifm -Version: 0.6.1 +Version: 0.7.1 Release: 1 License: GNU General Public License (GPL) Summary: Ncurses based file manager with vi like keybindings Url: http://vifm.sourceforge.net Group: Productivity/File utilities -Source0: %{name}-%{version}.tar.bz2 +Source0: http://prdownloads.sourceforge.net/vifm/vifm-%{version}.tar.bz2 +Patch1: vifm-fix_buffer_overflow.patch BuildRequires: ncurses-devel BuildRequires: file-devel BuildRequires: pkg-config @@ -29,7 +30,8 @@ It supports UTF-8, a quick file view similar to midnight commander's quick view, and configurable color schemes. %prep -%setup -n %{name} +%setup -q +%patch1 %build %configure @@ -45,12 +47,10 @@ make DESTDIR=%{buildroot} install %defattr(-,root,root) %doc AUTHORS BUGS COPYING ChangeLog README TODO %{_bindir}/vifm -%{_bindir}/pauseme +%{_bindir}/vifm-pause +%{_bindir}/vifmrc-converter %doc %{_datadir}/vifm/vifm-help.txt %dir %{_datadir}/vifm/ -%{_datadir}/vifm/vifm.txt -%{_datadir}/vifm/vifm.vim -%{_datadir}/vifm/startup %{_datadir}/vifm/vifmrc %doc %{_mandir}/man1/vifm.1%{ext_man}