pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/ed



Module Name:    pkgsrc
Committed By:   drixter
Date:           Tue Jul 14 18:58:35 UTC 2026

Modified Files:
        pkgsrc/editors/ed: Makefile PLIST distinfo

Log Message:
ed: Update to 1.22.5

2026-02-06  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.22.5 released.
        * global.c (set_active_node): Use 'sizeof active_list[0]' instead of
          'sizeof (line_node **)'. (Reported by Mikel Olasagasti Uranga).
        * main.c: (may_access_filename): s/Is a directory/Invalid filename/.
          (Reported by Douglas McIlroy).

2026-01-03  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.22.4 released.
        * check.sh: Skip check of ISO-8859-1 names on UTF-8-only systems.
          (Reported by Michael Daniels and Alexander Jones).

2025-11-27  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.22.3 released.
        * main.c: (show_help): Print "*Exit status*" for section in man page.
          (may_access_filename): Reject only control chars 7-13, 27, 127.
        * main_loop.c (get_shell_command): Revert to using 'printf'.
          (Reported by S-ren Tempel).
        * check.sh: Check non-ASCII file names coded in ISO-8859-1 and UTF-8.

2025-08-18  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.22.2 released.
        * main.c: (may_access_filename): Reject file names with newlines.
          (print_filename): Rename to 'print_escaped'.
          (print_escaped): Always check file name for control chars.
        * main_loop.c (get_shell_command): Use 'print_escaped'.

2025-08-05  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.22.1 released.
        * signal.c (set_signals): Ignore SIGPIPE. ('w !:' terminated ed).
          (Reported by Sergei Trofimovich).

2025-07-20  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.22 released.
        * main_loop.c (command_shell): Implement ex(1) style filter.
          (Suggested by Shawn Wagner, Andrew L. Moore, and John Cowan).
        * global.c, regex.c, signal.c: Remove unused headers.
          (Reported by Alexander Jones).

2025-03-24  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.21.1 released.
        * buffer.c: Remove unused <sys/file.h> and <sys/stat.h>.
          (Reported by Michael Mikonos and Alexander Jones).
        * signal.c (window_lines): Read initial size from LINES.
          (Suggested by Artyom Bologov).
        * Rename 'line_t' to 'line_node' and 'undo_t' to 'undo_atom'.

2025-01-05  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.21 released.
        * io.c (read_file, write_file): Ignore exit status of shell command.
          Bug introduced in version 1.6. (Reported by Andrew L. Moore).
        * ed.h: Replace enum Bool with stdbool.h to fix compilation in C23.
          (Reported by Alexander Jones).
        * io.c (read_stream): Suppress 'Newline inserted/appended' with '-s'.
          (Reported by Artyom Bologov).
        * ed.texi: New chapter 'Syntax of command-line arguments'.

2024-04-22  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.20.2 released.
        * main_loop.c (command_s): Fix g/x/s/x/x, which failed to skip the
          final newline, printing lines twice. (Reported by Douglas McIlroy).

2024-02-14  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.20.1 released.
        * io.c (write_file): Don't create missing intermediate directories.

2024-01-19  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.20 released.
        * Implement options '+line', '+/RE', and '+?RE'.
          (Suggested by Matthew Polk and John Cowan).
        * New option '--unsafe-names'.
        * main.c: (may_access_filename): Reject file names ending with a slash.
          (print_filename): New function for file names with control chars.
        * buffer.c (warned, set_warned): New functions.
        * main_loop.c: Intervening cmds don't make a second 'e' or 'q' fail.
          (get_filename): Add tilde expansion. (Suggested by John Cowan).
          Warn on first modification of buffer loaded from read-only file.
          (Suggested by Dan Jacobson).
        * io.c (write_file): Create missing intermediate directories.
        * ed.texi: Improve descriptions of commands 'e', 'f', 'q'.
        * main.c, ed.texi: Improve description of exit status.
        * configure, Makefile.in: New variable 'MAKEINFO'.
        * INSTALL: Document use of CFLAGS+='--std=c99 -D_POSIX_C_SOURCE=2'.

2023-01-11  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.19 released.
        * main_loop.c (exec_command): Fix commands 'e', 'E'; they did set
          the 'modified' flag if file not found. (Reported by Harry Graf).
          (main_loop): Print script error line to stdout instead of stderr.
        * Change long name of option '-s' to '--script'.
          (Suggested by Andrew L. Moore).
        * Assign short name '-q' to options '--quiet' and '--silent'.
        * main.c (show_strerror) Use '!quiet' to enable diagnostics.
        * Do not process file names for backslash escapes.
          (Suggested by Andrew L. Moore).
        * ed.texi: Document 0 as starting point for searches '0;/RE/'.
          Document how to achieve the effect of ex style '!' filtering.

2022-02-04  Antonio Diaz Diaz  <antonio%gnu.org@localhost>

        * Version 1.18 released.
        * New option '--strip-trailing-cr'.
        * main_loop.c (get_shell_command): Flush stdout after printing cmd.
          (Reported by S-ren Tempel).
          Remove backslash from escaped '%'. (Reported by Martin Thomsen).
        * signal.c (sighup_handler): Fix a memory leak just before exiting.
        * carg_parser.c (ap_init): Likewise.
          (Both reported by Xos- V-zquez P-rez).
        * io.c (read_file, write_file): Check ptr returned by strip_escapes.
        * main_loop.c (get_shell_command, exec_command): Likewise.
        * main_loop.c, regex.c: Implement case-insensitive REs.
        * regex.c (compile_regex): Don't overwrite previous regex if error.
        * buffer.c (push_undo_atom): Fail if stack grows larger than INT_MAX.
          (too_many_lines): Fail if buffer grows larger than INT_MAX lines.
        * global.c (set_active_node): Fail if list grows larger than INT_MAX.
        * signal.c (resize_buffer): Fail if a line grows longer than INT_MAX.
        * io.c (read_file): Return -2 for fatal errors.
        * main_loop.c (main_loop): Set error status if fatal error from main.
        * main.c [restricted_]: New message "Directory access restricted".
        * ed.texi: New chapter "The 's' Command".
        * COPYING: Restored. (I forgot to do it in 1.11).
        * TODO: Removed.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/editors/ed/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/editors/ed/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/editors/ed/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/ed/Makefile
diff -u pkgsrc/editors/ed/Makefile:1.21 pkgsrc/editors/ed/Makefile:1.22
--- pkgsrc/editors/ed/Makefile:1.21     Fri Jan 21 02:27:04 2022
+++ pkgsrc/editors/ed/Makefile  Tue Jul 14 18:58:35 2026
@@ -1,16 +1,22 @@
-# $NetBSD: Makefile,v 1.21 2022/01/21 02:27:04 wen Exp $
+# $NetBSD: Makefile,v 1.22 2026/07/14 18:58:35 drixter Exp $
 
-DISTNAME=              ed-1.17
+DISTNAME=              ed-1.22.5
 CATEGORIES=            editors
 MASTER_SITES=          ${MASTER_SITE_GNU:=ed/}
 EXTRACT_SUFX=          .tar.lz
 
-MAINTAINER=            reed%reedmedia.net@localhost
+MAINTAINER=            drixter%e-utp.net@localhost
 HOMEPAGE=              https://www.gnu.org/software/ed/ed.html
 COMMENT=               GNU version of line-oriented text editor
 LICENSE=               gnu-gpl-v3
 
-GNU_CONFIGURE=         yes
+HAS_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --prefix=${PREFIX}
+CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+=       --infodir=${PREFIX}/${PKGINFODIR}
+USE_LANGUAGES=         c
+USE_TOOLS+=            gmake
+
 INFO_FILES=            yes
 
 CONFIGURE_ARGS+=       --program-prefix=g

Index: pkgsrc/editors/ed/PLIST
diff -u pkgsrc/editors/ed/PLIST:1.5 pkgsrc/editors/ed/PLIST:1.6
--- pkgsrc/editors/ed/PLIST:1.5 Sat Jun  2 07:10:57 2012
+++ pkgsrc/editors/ed/PLIST     Tue Jul 14 18:58:35 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2012/06/02 07:10:57 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/07/14 18:58:35 drixter Exp $
 bin/ged
 bin/gred
 gnu/bin/ed

Index: pkgsrc/editors/ed/distinfo
diff -u pkgsrc/editors/ed/distinfo:1.14 pkgsrc/editors/ed/distinfo:1.15
--- pkgsrc/editors/ed/distinfo:1.14     Fri Jan 21 02:27:04 2022
+++ pkgsrc/editors/ed/distinfo  Tue Jul 14 18:58:35 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2022/01/21 02:27:04 wen Exp $
+$NetBSD: distinfo,v 1.15 2026/07/14 18:58:35 drixter Exp $
 
-BLAKE2s (ed-1.17.tar.lz) = 1c28e156fb1a3ffe7b98538535eb4ac92d4cd8a9bc6c723278639417a031c1d2
-SHA512 (ed-1.17.tar.lz) = fbceac0d3c01880a57776aaf3a3c02ce177bcf1e021f237ed7b6fc84f88471dd36cd0385b80b3a2de58640d8ef3ca07b4c5755803854ab52e4e9f636e5544dbf
-Size (ed-1.17.tar.lz) = 67914 bytes
+BLAKE2s (ed-1.22.5.tar.lz) = 232cbcc3cf84880fb22db5ca1b40b0db33db10121e7d4686d5c2e23d935aca07
+SHA512 (ed-1.22.5.tar.lz) = 5f879be3819b6e989cdf9e415b6ad65f24275cc7a6c63f81fb849c92cd97beac088b1dfef37e9eb3f2c1a3e84ffaa553f611a1e7bdd9c1cb5646283f814637b1
+Size (ed-1.22.5.tar.lz) = 71517 bytes



Home | Main Index | Thread Index | Old Index