Index | Thread | Search

From:
Martin Ziemer <horrad@horrad.de>
Subject:
[maintainer update] nnn 4.9 -> 5.0
To:
ports@openbsd.org
Date:
Mon, 26 Aug 2024 17:55:30 +0200

Download raw body.

Thread
  • Martin Ziemer:

    [maintainer update] nnn 4.9 -> 5.0

This patch updates nnn from 4.9 to 5.0.

Removed patch, as upstream contains the fix.

Tested on amd64.

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/nnn/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- Makefile	26 Apr 2024 07:50:07 -0000	1.27
+++ Makefile	26 Aug 2024 13:53:41 -0000
@@ -1,9 +1,8 @@
 COMMENT =		the missing terminal file browser for X
 
-V =			4.9
+V =			5.0
 DISTNAME =		nnn-v${V}
 PKGNAME =		nnn-${V}
-REVISION =		0
 
 CATEGORIES =		sysutils
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/nnn/distinfo,v
retrieving revision 1.20
diff -u -p -r1.20 distinfo
--- distinfo	28 Aug 2023 18:08:34 -0000	1.20
+++ distinfo	26 Aug 2024 13:53:41 -0000
@@ -1,2 +1,2 @@
-SHA256 (nnn-v4.9.tar.gz) = KxXceue47G2DhWnd3rrpKKFh5vBqAr0e1nVxyCK7CjU=
-SIZE (nnn-v4.9.tar.gz) = 253995
+SHA256 (nnn-v5.0.tar.gz) = uoLWxoW7NodSHeL1diRPglWKSvmv7u3aQ01eyxwClSA=
+SIZE (nnn-v5.0.tar.gz) = 257496
Index: patches/patch-src_nnn_c
===================================================================
RCS file: patches/patch-src_nnn_c
diff -N patches/patch-src_nnn_c
--- patches/patch-src_nnn_c	26 Apr 2024 07:50:07 -0000	1.6
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-Fix creation of Files
-
-Index: src/nnn.c
---- src/nnn.c.orig
-+++ src/nnn.c
-@@ -4692,7 +4692,7 @@ next:
- 			return FALSE;
- 		}
- 	} else {
--		int fd = open(path, O_CREAT | O_TRUNC, S_IWUSR | S_IRUSR); /* Forced create mode for files */
-+		int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR | S_IRUSR); /* Forced create mode for files */
- 
- 		if (fd == -1 && errno != EEXIST) {
- 			DPRINTF_S("open!");