Sat Dec 17 22:09:17 2022 UTC ()
updated editors/nano to 7.1

Quoting from the ChangeLog:
Changes between v7.0 and v7.1:
------------------------------

Benno Schulenberg (8):
      build: fix compilation when configured with --disable-comment
      bump version numbers and add a news item for the 7.1 release
      copyright: update the last year for significantly changed files
      docs: say thanks to the Albanian translator
      rcfile: report an error when an included file does not exist
      text: upon Enter, eat only lefthand blanks, not any other characters
      tweaks: avoid passing NULL to access()
      tweaks: wrap overlong lines in the Tcl syntax, to make them manageable

Changes between v6.4 and v7.0:
------------------------------

Benno Schulenberg (94):
      build: add options --disable-formatter and --disable-linter to configure
      build: exclude some pieces that are not needed with --disable-nanorc
      build: exclude two unneeded functions correctly from the tiny version
      build: fix compilation when configured with --enable-tiny
      bump version numbers and add a news item for the 7.0 release
      completion: search through all open buffers for possible completions
      docs: clarify the distinction between binding a function and "{function}"
      docs: describe --disable-formatter and --disable-linter configure options
      docs: explain how to include a double quote plus space in a nanorc regex
      docs: improve the legibility of an itemized list
      docs: mention in the man page how M-V can insert any Unicode code point
      docs: mention that string binds may contain function names between braces
      docs: replace control codes in the examples with {command} cartouches
      docs: suggest a key binding for snipping trailing blanks
      execute: show "Cancelled" instead of "Error" when the user hits ^C
      extra: use the whole terminal for the crawl, and quicken it a bit
      feedback: suppress undo/redo messages when option --zero is in effect
      files: before sending data to an external command, decode LF back to NUL
      files: improve the error handling when executing an external command
      filtering: terminate also the sender process when the user hits ^C
      filtering: when returning to a line number, ensure it is within range
      gnulib: update to its current upstream state
      goto: don't center the current line when the user specified a column only
      help: don't show the New-Buffer toggle when in view mode
      help: move the M-Del item up, so that M-PgUp and M-PgDn are paired
      help: prioritize the unshifted Meta keystrokes for buffer switching
      input: allocate a small keystroke buffer, and never free it
      input: allocate two small character buffers too, and never free them
      input: give up when the capacity of the keystroke buffer overflows
      input: interpret commands of the form {functionname} inside string binds
      memory: avoid a leak when a string bind specifies an unknown menu
      prompt: allow rebinding also ^N, ^Q, and ^Y at the yes-no prompt
      prompt: ingest queued characters before handling any subsequent function
      prompt: prevent execution of inadmissible functions in view mode
      prompt: return FALSE for non-editing functions also in the tiny version
      prompt: toggle the help lines only for the 'nohelp' toggle
      search: skip a match on the magic line, as it is a just convenience line
      startup: ensure that +/string centers the match also with --linenumbers
      startup: for +/string, center the found occurrence when possible
      startup: quit when standard input is not a TTY (after handling arguments)
      startup: report an empty search string also when there is a modifier
      syntax: nanorc: colorize valid function names plus surrounding braces
      tweaks: add parentheses for consistency, and reshuffle for conciseness
      tweaks: allow the linter to be used in view mode, as it makes no changes
      tweaks: attribute some of the features that were added in the last years
      tweaks: avoid iterating over the same string twice in a row
      tweaks: avoid sometimes calling a function three times in a row
      tweaks: check the multiline regexes only for Delete and Backspace
      tweaks: condense a comment, add two small ones, and reshuffle a line
      tweaks: delete a flag that is no longer used
      tweaks: determine in another way whether a shortcut is okay in view mode
      tweaks: discard a bracketed paste in the browser more efficiently
      tweaks: don't use a pointer when the value itself is all that is needed
      tweaks: drop an unneeded check for permissibility of prompt shortcuts
      tweaks: drop a parameter that is no longer used
      tweaks: drop shunting of flags by calling the needed function directly
      tweaks: elide a function that does not need to be a separate function
      tweaks: elide an assignment by iterating with the target variable
      tweaks: elide an intermediary variable that is no longer needed
      tweaks: elide an unused parameter
      tweaks: elide an unused return value
      tweaks: elide a parameter by moving the general case one level up
      tweaks: elide a variable, rename another, and reshuffle an assignment
      tweaks: fold two cases together, because they basically do the same
      tweaks: group the special keycodes for implanted strings together
      tweaks: improve two comments, and exclude two unneeded prototypes
      tweaks: make the crawl use the whole screen also in the tiny version
      tweaks: make two error messages more succinct and easier to translate
      tweaks: move the arrays of menu names and symbols to where they are used
      tweaks: move the --magic option up, so that --zero comes last
      tweaks: move to a given line number more efficiently
      tweaks: move two checks plus corresponding calls to a better place
      tweaks: normalize the indentation after the previous change
      tweaks: reduce four variations of a message to a single common form
      tweaks: rename a macro for clarity, and normalize some indentation
      tweaks: rename a variable, away from an abbreviation
      tweaks: rename two record elements and three parameters, for clarity
      tweaks: replace sizeof(char) with 1, as that is assumed anyway
      tweaks: reshuffle a declaration, and correct the wording of a comment
      tweaks: reshuffle a line, to group things better
      tweaks: reshuffle some code and drop some comments, for conciseness
      tweaks: reshuffle some code, to not determine a shortcut twice
      tweaks: reshuffle some lines, to be more readable instead of compact
      tweaks: reshuffle two lines, for conciseness and in preparation
      tweaks: reword and/or condense four comments
      tweaks: rewrap line, improve wording, and correct typo in old news item
      tweaks: rewrap some lines, drop a redundant call, and reshuffle a line
      tweaks: simplify a function now that a Unicode code can be typed quicker
      tweaks: simplify a pasting routine, modelling it after the injection one
      tweaks: use an auxiliary variable to avoid dereferences of 'shortcut'
      undo: make sure the current line is defined before it is referenced
      verbatim: allow the user to finish Unicode input with <Enter> or <Space>
      verbatim: do not overwrite the status bar when the code is invalid
      verbatim: don't show dots during Unicode input, as they give wrong idea


(schwarz)
diff -r1.6171 -r1.6172 pkgsrc/doc/CHANGES-2022
diff -r1.104 -r1.105 pkgsrc/editors/nano/Makefile
diff -r1.32 -r1.33 pkgsrc/editors/nano/PLIST
diff -r1.74 -r1.75 pkgsrc/editors/nano/distinfo
diff -r1.8 -r1.9 pkgsrc/editors/nano/patches/patch-configure

cvs diff -r1.6171 -r1.6172 pkgsrc/doc/CHANGES-2022 (expand / switch to unified diff)

--- pkgsrc/doc/CHANGES-2022 2022/12/17 21:36:30 1.6171
+++ pkgsrc/doc/CHANGES-2022 2022/12/17 22:09:16 1.6172
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: CHANGES-2022,v 1.6171 2022/12/17 21:36:30 triaxx Exp $ 1$NetBSD: CHANGES-2022,v 1.6172 2022/12/17 22:09:16 schwarz Exp $
2 2
3Changes to the packages collection and infrastructure in 2022: 3Changes to the packages collection and infrastructure in 2022:
4 4
5 Updated www/grafana to 8.3.3 [triaxx 2022-01-01] 5 Updated www/grafana to 8.3.3 [triaxx 2022-01-01]
6 Updated sysutils/py-ptyprocess to 0.7.0nb1 [martin 2022-01-01] 6 Updated sysutils/py-ptyprocess to 0.7.0nb1 [martin 2022-01-01]
7 Updated pkgtools/pkglint to 21.4.1 [rillig 2022-01-01] 7 Updated pkgtools/pkglint to 21.4.1 [rillig 2022-01-01]
8 Updated pkgtools/lintpkgsrc to 4.97 [rillig 2022-01-01] 8 Updated pkgtools/lintpkgsrc to 4.97 [rillig 2022-01-01]
9 Updated pkgtools/url2pkg to 21.4.0 [rillig 2022-01-01] 9 Updated pkgtools/url2pkg to 21.4.0 [rillig 2022-01-01]
10 Updated pkgtools/url2pkg to 21.4.1 [rillig 2022-01-01] 10 Updated pkgtools/url2pkg to 21.4.1 [rillig 2022-01-01]
11 Updated devel/mold to 1.0.1 [fcambus 2022-01-01] 11 Updated devel/mold to 1.0.1 [fcambus 2022-01-01]
12 Updated net/dbip-asn-lite to 2022.01 [fcambus 2022-01-01] 12 Updated net/dbip-asn-lite to 2022.01 [fcambus 2022-01-01]
13 Updated net/dbip-city-lite to 2022.01 [fcambus 2022-01-01] 13 Updated net/dbip-city-lite to 2022.01 [fcambus 2022-01-01]
14 Updated devel/py-backcall to 0.2.0nb1 [ryoon 2022-01-01] 14 Updated devel/py-backcall to 0.2.0nb1 [ryoon 2022-01-01]
@@ -9273,13 +9273,14 @@ Changes to the packages collection and i @@ -9273,13 +9273,14 @@ Changes to the packages collection and i
9273 Updated sysutils/felix to 2.2.1 [pin 2022-12-17] 9273 Updated sysutils/felix to 2.2.1 [pin 2022-12-17]
9274 Added fonts/R-systemfonts version 1.0.4 [mef 2022-12-17] 9274 Added fonts/R-systemfonts version 1.0.4 [mef 2022-12-17]
9275 Updated mail/spamassassin to 4.0.0 [gdt 2022-12-17] 9275 Updated mail/spamassassin to 4.0.0 [gdt 2022-12-17]
9276 Added fonts/R-textshaping version 0.3.6 [mef 2022-12-17] 9276 Added fonts/R-textshaping version 0.3.6 [mef 2022-12-17]
9277 Added graphics/R-ragg version 1.2.4 [mef 2022-12-17] 9277 Added graphics/R-ragg version 1.2.4 [mef 2022-12-17]
9278 Added www/R-pkgdown version 2.0.7 [mef 2022-12-17] 9278 Added www/R-pkgdown version 2.0.7 [mef 2022-12-17]
9279 Added www/R-urlchecker version 1.0.1 [mef 2022-12-17] 9279 Added www/R-urlchecker version 1.0.1 [mef 2022-12-17]
9280 Updated devel/R-usethis to 2.1.6 [mef 2022-12-17] 9280 Updated devel/R-usethis to 2.1.6 [mef 2022-12-17]
9281 Updated devel/R-memoise to 2.0.1 [mef 2022-12-17] 9281 Updated devel/R-memoise to 2.0.1 [mef 2022-12-17]
9282 Updated devel/R-pkgload to 1.3.2 [mef 2022-12-17] 9282 Updated devel/R-pkgload to 1.3.2 [mef 2022-12-17]
9283 Updated devel/R-devtools to 2.4.5 [mef 2022-12-17] 9283 Updated devel/R-devtools to 2.4.5 [mef 2022-12-17]
9284 Updated ham/chirp to 20221217 [gdt 2022-12-17] 9284 Updated ham/chirp to 20221217 [gdt 2022-12-17]
9285 Updated pkgtools/rc.d-boot to 20221202 [triaxx 2022-12-17] 9285 Updated pkgtools/rc.d-boot to 20221202 [triaxx 2022-12-17]
 9286 Updated editors/nano to 7.1 [schwarz 2022-12-17]

cvs diff -r1.104 -r1.105 pkgsrc/editors/nano/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/nano/Makefile 2022/08/02 19:52:08 1.104
+++ pkgsrc/editors/nano/Makefile 2022/12/17 22:09:16 1.105
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.104 2022/08/02 19:52:08 schwarz Exp $ 1# $NetBSD: Makefile,v 1.105 2022/12/17 22:09:16 schwarz Exp $
2 2
3DISTNAME= nano-6.4 3DISTNAME= nano-7.1
4CATEGORIES= editors 4CATEGORIES= editors
5MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/ 5MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= wiedi@frubar.net 8MAINTAINER= wiedi@frubar.net
9HOMEPAGE= https://www.nano-editor.org/ 9HOMEPAGE= https://www.nano-editor.org/
10COMMENT= Small and friendly text editor (a free replacement for Pico) 10COMMENT= Small and friendly text editor (a free replacement for Pico)
11LICENSE= gnu-gpl-v3 11LICENSE= gnu-gpl-v3
12 12
13USE_PKGLOCALEDIR= yes 13USE_PKGLOCALEDIR= yes
14USE_TOOLS+= msgfmt msgmerge xgettext gmake 14USE_TOOLS+= msgfmt msgmerge xgettext gmake
15USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes

cvs diff -r1.32 -r1.33 pkgsrc/editors/nano/PLIST (expand / switch to unified diff)

--- pkgsrc/editors/nano/PLIST 2022/08/02 19:52:08 1.32
+++ pkgsrc/editors/nano/PLIST 2022/12/17 22:09:16 1.33
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.32 2022/08/02 19:52:08 schwarz Exp $ 1@comment $NetBSD: PLIST,v 1.33 2022/12/17 22:09:16 schwarz Exp $
2bin/nano 2bin/nano
3bin/rnano 3bin/rnano
4info/nano.info 4info/nano.info
5man/man1/nano.1 5man/man1/nano.1
6man/man1/rnano.1 6man/man1/rnano.1
7man/man5/nanorc.5 7man/man5/nanorc.5
8share/doc/nano/faq.html 8share/doc/nano/faq.html
9share/doc/nano/nano.html 9share/doc/nano/nano.html
10share/examples/nano/nanorc 10share/examples/nano/nanorc
11share/locale/bg/LC_MESSAGES/nano.mo 11share/locale/bg/LC_MESSAGES/nano.mo
12share/locale/ca/LC_MESSAGES/nano.mo 12share/locale/ca/LC_MESSAGES/nano.mo
13share/locale/cs/LC_MESSAGES/nano.mo 13share/locale/cs/LC_MESSAGES/nano.mo
14share/locale/da/LC_MESSAGES/nano.mo 14share/locale/da/LC_MESSAGES/nano.mo
@@ -16,26 +16,27 @@ share/locale/de/LC_MESSAGES/nano.mo @@ -16,26 +16,27 @@ share/locale/de/LC_MESSAGES/nano.mo
16share/locale/eo/LC_MESSAGES/nano.mo 16share/locale/eo/LC_MESSAGES/nano.mo
17share/locale/es/LC_MESSAGES/nano.mo 17share/locale/es/LC_MESSAGES/nano.mo
18share/locale/eu/LC_MESSAGES/nano.mo 18share/locale/eu/LC_MESSAGES/nano.mo
19share/locale/fi/LC_MESSAGES/nano.mo 19share/locale/fi/LC_MESSAGES/nano.mo
20share/locale/fr/LC_MESSAGES/nano.mo 20share/locale/fr/LC_MESSAGES/nano.mo
21share/locale/ga/LC_MESSAGES/nano.mo 21share/locale/ga/LC_MESSAGES/nano.mo
22share/locale/gl/LC_MESSAGES/nano.mo 22share/locale/gl/LC_MESSAGES/nano.mo
23share/locale/hr/LC_MESSAGES/nano.mo 23share/locale/hr/LC_MESSAGES/nano.mo
24share/locale/hu/LC_MESSAGES/nano.mo 24share/locale/hu/LC_MESSAGES/nano.mo
25share/locale/id/LC_MESSAGES/nano.mo 25share/locale/id/LC_MESSAGES/nano.mo
26share/locale/is/LC_MESSAGES/nano.mo 26share/locale/is/LC_MESSAGES/nano.mo
27share/locale/it/LC_MESSAGES/nano.mo 27share/locale/it/LC_MESSAGES/nano.mo
28share/locale/ja/LC_MESSAGES/nano.mo 28share/locale/ja/LC_MESSAGES/nano.mo
 29share/locale/ka/LC_MESSAGES/nano.mo
29share/locale/ko/LC_MESSAGES/nano.mo 30share/locale/ko/LC_MESSAGES/nano.mo
30share/locale/ms/LC_MESSAGES/nano.mo 31share/locale/ms/LC_MESSAGES/nano.mo
31share/locale/nb/LC_MESSAGES/nano.mo 32share/locale/nb/LC_MESSAGES/nano.mo
32share/locale/nl/LC_MESSAGES/nano.mo 33share/locale/nl/LC_MESSAGES/nano.mo
33share/locale/pl/LC_MESSAGES/nano.mo 34share/locale/pl/LC_MESSAGES/nano.mo
34share/locale/pt/LC_MESSAGES/nano.mo 35share/locale/pt/LC_MESSAGES/nano.mo
35share/locale/pt_BR/LC_MESSAGES/nano.mo 36share/locale/pt_BR/LC_MESSAGES/nano.mo
36share/locale/ro/LC_MESSAGES/nano.mo 37share/locale/ro/LC_MESSAGES/nano.mo
37share/locale/ru/LC_MESSAGES/nano.mo 38share/locale/ru/LC_MESSAGES/nano.mo
38share/locale/sq/LC_MESSAGES/nano.mo 39share/locale/sq/LC_MESSAGES/nano.mo
39share/locale/sk/LC_MESSAGES/nano.mo 40share/locale/sk/LC_MESSAGES/nano.mo
40share/locale/sl/LC_MESSAGES/nano.mo 41share/locale/sl/LC_MESSAGES/nano.mo
41share/locale/sq/LC_MESSAGES/nano.mo 42share/locale/sq/LC_MESSAGES/nano.mo

cvs diff -r1.74 -r1.75 pkgsrc/editors/nano/distinfo (expand / switch to unified diff)

--- pkgsrc/editors/nano/distinfo 2022/08/02 19:52:08 1.74
+++ pkgsrc/editors/nano/distinfo 2022/12/17 22:09:16 1.75
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.74 2022/08/02 19:52:08 schwarz Exp $ 1$NetBSD: distinfo,v 1.75 2022/12/17 22:09:16 schwarz Exp $
2 2
3BLAKE2s (nano-6.4.tar.xz) = 4d01371b376ab0cd4677a0d450d26de978affd6eb9fcf63f24984274438742f8 3BLAKE2s (nano-7.1.tar.xz) = c9d06e50ddb07a13744eaf45dd7ebe9a6e6237090ce58d980f0c5dfca2ccde96
4SHA512 (nano-6.4.tar.xz) = cff2d9d90f1a23ab8905320e651f8bbc9d38046153a4f64bbc21927687d9628135915468b00b28f88a0eb7d395d1bcb0b9b7abcf367e5a46a5f3da01d8d6e72b 4SHA512 (nano-7.1.tar.xz) = e3226df636d3ae1d94e2907ce8bbdb8de69eb45afd02fb1c83e275a1dcc288081809041adbfdade35a580bcb9f9632d21a45d764b43d22b3e4cfd87c7757c4e0
5Size (nano-6.4.tar.xz) = 1593804 bytes 5Size (nano-7.1.tar.xz) = 1605272 bytes
6SHA1 (patch-configure) = 8df30018d732c00202b4173f1c3ae0e03aa56245 6SHA1 (patch-configure) = 63c7c2b827375e742ef444be847ec5f223bd0855
7SHA1 (patch-doc_nano.1) = 3d160aa6a4324400e79064d22cbd291a0d3de4f9 7SHA1 (patch-doc_nano.1) = 3d160aa6a4324400e79064d22cbd291a0d3de4f9
8SHA1 (patch-doc_nanorc.5) = 4d8af863bfa51eeac2a5e5cd04bd16aba3b6e29a 8SHA1 (patch-doc_nanorc.5) = 4d8af863bfa51eeac2a5e5cd04bd16aba3b6e29a

cvs diff -r1.8 -r1.9 pkgsrc/editors/nano/patches/patch-configure (expand / switch to unified diff)

--- pkgsrc/editors/nano/patches/patch-configure 2021/02/27 19:26:27 1.8
+++ pkgsrc/editors/nano/patches/patch-configure 2022/12/17 22:09:16 1.9
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-configure,v 1.8 2021/02/27 19:26:27 schwarz Exp $ 1$NetBSD: patch-configure,v 1.9 2022/12/17 22:09:16 schwarz Exp $
2 2
3Disable the groff html check to prevent random PLIST variation. 3Disable the groff html check to prevent random PLIST variation.
4 4
5--- configure.orig 2021-02-24 11:03:43.000000000 +0100 5--- configure.orig 2022-12-17 22:48:33.000000000 +0100
6+++ configure 2021-02-27 20:12:29.000000000 +0100 6+++ configure 2022-12-17 22:50:14.000000000 +0100
7@@ -38300,7 +38300,7 @@ 7@@ -42817,7 +42817,7 @@
8 # Check for groff html support. 8 # Check for groff html support.
9 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HTML support in groff" >&5 9 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HTML support in groff" >&5
10 printf %s "checking for HTML support in groff... " >&6; } 10 $as_echo_n "checking for HTML support in groff... " >&6; }
11-groff -t -mandoc -Thtml </dev/null >/dev/null 11-groff -t -mandoc -Thtml </dev/null >/dev/null
12+false #groff -t -mandoc -Thtml </dev/null >/dev/null 12+false #groff -t -mandoc -Thtml </dev/null >/dev/null
13 if test $? -ne 0 ; then 13 if test $? -ne 0 ; then
14 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 14 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15 printf "%s\n" "no" >&6; } 15 $as_echo "no" >&6; }