ed: Update to 1.17

Message ID 20210329114447.3758311-1-adolf.belka@ipfire.org
State Accepted
Commit a71209a343f9dc0cf58fbabad2efc777f49ae4ad
Headers
Series ed: Update to 1.17 |

Commit Message

Adolf Belka March 29, 2021, 11:44 a.m. UTC
  - Update from 0.2 to 1.17
- Update of rootfile carried out
- ed-0.2-mkstemp-1.patch from LFS is no longer required in later versions
   of ed or LFS
- Changelog is a bit too long to add here.
   Full change log can be found by viewing ChangeLog file in tar sourceball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/ed |  7 +++----
 lfs/ed                     | 13 +++++--------
 2 files changed, 8 insertions(+), 12 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/ed b/config/rootfiles/common/ed
index 0779fcfe1..55e16d813 100644
--- a/config/rootfiles/common/ed
+++ b/config/rootfiles/common/ed
@@ -1,6 +1,5 @@ 
 #bin/ed
 #bin/red
-#usr/info
-#usr/info/ed.info
-#usr/man/man1/ed.1
-#usr/man/man1/red.1
+#usr/share/info/ed.info
+#usr/share/man/man1/ed.1
+#usr/share/man/man1/red.1
diff --git a/lfs/ed b/lfs/ed
index d628a029b..b2f2dd8fe 100644
--- a/lfs/ed
+++ b/lfs/ed
@@ -24,10 +24,10 @@ 
 
 include Config
 
-VER        = 0.2
+VER        = 1.17
 
 THISAPP    = ed-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.lz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -35,13 +35,11 @@  TARGET     = $(DIR_INFO)/$(THISAPP)
 ###############################################################################
 # Top-level Rules
 ###############################################################################
-objects = $(DL_FILE) $(THISAPP)-mkstemp-1.patch
+objects = $(DL_FILE)
 
 $(DL_FILE)                     = $(DL_FROM)/$(DL_FILE)
-$(THISAPP)-mkstemp-1.patch     = $(DL_FROM)/$(THISAPP)-mkstemp-1.patch
 
-$(DL_FILE)_MD5                 = ddd57463774cae9b50e70cd51221281b
-$(THISAPP)-mkstemp-1.patch_MD5 = e7e2248f9baa76de3db8210298e0d79e
+$(DL_FILE)_MD5                 = 894748c9bbf35cb7c599f5317b1a8cdb
 
 install : $(TARGET)
 
@@ -70,8 +68,7 @@  $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && patch -Np1 < $(DIR_DL)/$(THISAPP)-mkstemp-1.patch
+	@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