Files
bpfire/lfs/ed
Adolf Belka 9a7aea8b32 ed: Update to version 1.19
- Update from version 1.17 to 1.19
- Update of rootfile not required
- Changelog
2023-01-11  Antonio Diaz Diaz  <antonio@gnu.org>
* 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>
* Version 1.18 released.
	* main_loop.c (get_shell_command): Flush stdout after printing cmd.
	  (Reported by Sören Tempel).
	* 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 (get_shell_command): Remove backslash from escaped '%'.
	  (Reported by Martin Thomsen).
	* main_loop.c, regex.c: Implement case-insensitive REs.
	* regex.c (compile_regex): Don't overwrite previous regex if error.
	* main.c: New option '--strip-trailing-cr'.
	* 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.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-06-15 09:28:42 +00:00

77 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.19
THISAPP = ed-$(VER)
DL_FILE = $(THISAPP).tar.lz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 139305a1d64e96f7eadcb462325918e5eee18de229ec8e1b3fac29dc9b8ef58ceea4cd7ffdbd3674fd7f421d90bc0c9e3557318eb57830d7cd46e579828fa95d
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr --exec-prefix="" --disable-nls
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)