[vifm] Update to 0.6.2

Ben Boeckel mathstuf at fedoraproject.org
Sat Jun 25 03:29:48 UTC 2011


commit 4c8bec130dd9743eb545fdad582b71922f4534c7
Author: Ben Boeckel <MathStuf at gmail.com>
Date:   Fri Jun 24 23:22:06 2011 -0400

    Update to 0.6.2

 .gitignore                          |    1 +
 delete-n-files-array-overflow.patch |  102 -----------------------------------
 sources                             |    2 +-
 vifm-0.6.2-chdorb.patch             |   19 +++++++
 vifm-chdorb.patch                   |   26 ---------
 vifm.spec                           |   12 +++--
 6 files changed, 28 insertions(+), 134 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e4b6e58..22f6d2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 vifm-0.5.tar.bz2
+/vifm-0.6.2.tar.bz2
diff --git a/sources b/sources
index d41be8b..e82a2a8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-76818f02d6acd4997d1f41db932438aa  vifm-0.5.tar.bz2
+d5d1547a4a10ff7acacc3c03947c3255  vifm-0.6.2.tar.bz2
diff --git a/vifm-0.6.2-chdorb.patch b/vifm-0.6.2-chdorb.patch
new file mode 100644
index 0000000..2116dfd
--- /dev/null
+++ b/vifm-0.6.2-chdorb.patch
@@ -0,0 +1,19 @@
+diff -u -r -U5 vifm/src/config.c vifm.chdorb/src/config.c
+--- vifm/src/config.c	2011-06-19 09:52:25.000000000 -0400
++++ vifm.chdorb/src/config.c	2011-06-24 23:09:33.830465393 -0400
+@@ -162,13 +162,13 @@
+ 		snprintf(cfg.config_dir, sizeof(cfg.config_dir), "%s/.vifm", home_dir);
+ 		snprintf(cfg.trash_dir, sizeof(cfg.trash_dir), "%s/.vifm/Trash", home_dir);
+ 
+ 		if(chdir(cfg.config_dir))
+ 		{
+-			if(mkdir(cfg.config_dir, 0777))
++			if(mkdir(cfg.config_dir, 0700))
+ 				return;
+-			if(mkdir(cfg.trash_dir, 0777))
++			if(mkdir(cfg.trash_dir, 0700))
+ 				return;
+ 			if((f = fopen(help_file, "r")) == NULL)
+ 				create_help_file();
+ 			if((f = fopen(rc_file, "r")) == NULL)
+ 				create_rc_file();
diff --git a/vifm.spec b/vifm.spec
index 0a9f637..6e93431 100644
--- a/vifm.spec
+++ b/vifm.spec
@@ -1,14 +1,13 @@
 Name:           vifm
-Version:        0.5
-Release:        5%{?dist}
+Version:        0.6.2
+Release:        1%{?dist}
 Summary:        Lightweight file manager with vi like key-bindings
 
 Group:          Applications/File
 License:        GPLv2+
 URL:            http://%{name}.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-Patch0:         vifm-chdorb.patch
-Patch1:         delete-n-files-array-overflow.patch
+Patch0:         vifm-0.6.2-chdorb.patch
 
 BuildRequires:  ncurses-devel
 
@@ -19,7 +18,6 @@ A ncurses based CLI file manager with vi like key-bindings
 %prep
 %setup -q
 %patch0 -p1 -b .chdorb
-%patch1 -p1 -b .old
 
 
 %build
@@ -44,6 +42,10 @@ make install DESTDIR=%{buildroot} INSTALL="install -p"
 
 
 %changelog
+* Fri Jun 24 2011 Ben Boeckel <mathstuf at gmail.com> - 0.6.2-1
+- Update to 0.6.2
+- Remove deletion patch (unable to reproduce original bug with new version)
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list