nano: Update to 3.2

Message ID 20181124201956.1709-1-matthias.fischer@ipfire.org
State Accepted
Commit fe5e64997a19d1284dd9970292f7f3aa04730e4f
Headers
Series nano: Update to 3.2 |

Commit Message

Matthias Fischer Nov. 25, 2018, 7:19 a.m. UTC
  Hi,

Changed archive to 'xz' - this saves about 1.4MB (thanks Marcel ;-))

For further details see:
https://www.nano-editor.org/news.php

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 lfs/nano | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
  

Comments

Michael Tremer Nov. 26, 2018, 10:19 p.m. UTC | #1
Thanks! Merged.

On Sat, 2018-11-24 at 21:19 +0100, Matthias Fischer wrote:
> Hi,
> 
> Changed archive to 'xz' - this saves about 1.4MB (thanks Marcel ;-))
> 
> For further details see:
> https://www.nano-editor.org/news.php
> 
> Best,
> Matthias
> 
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
>  lfs/nano | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/lfs/nano b/lfs/nano
> index 671cf6731..4b636f4ea 100644
> --- a/lfs/nano
> +++ b/lfs/nano
> @@ -24,15 +24,15 @@
>  
>  include Config
>  
> -VER        = 3.1
> +VER        = 3.2
>  
>  THISAPP    = nano-$(VER)
> -DL_FILE    = $(THISAPP).tar.gz
> +DL_FILE    = $(THISAPP).tar.xz
>  DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = nano
> -PAK_VER    = 24
> +PAK_VER    = 25
>  
>  DEPS       = ""
>  
> @@ -44,7 +44,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = 2fb85e86c5b14ac9e9465d3ba7506364
> +$(DL_FILE)_MD5 = 2606dc0dc31a088f16c7d603b42d23d0
>  
>  install : $(TARGET)
>  
> @@ -76,7 +76,7 @@ $(subst %,%_MD5,$(objects)) :
>  
>  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>  	@$(PREBUILD)
> -	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
> +	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
>  	cd $(DIR_APP) && ./configure \
>  		--prefix=/usr \
>  		--sysconfdir=/etc/nano \
  

Patch

diff --git a/lfs/nano b/lfs/nano
index 671cf6731..4b636f4ea 100644
--- a/lfs/nano
+++ b/lfs/nano
@@ -24,15 +24,15 @@ 
 
 include Config
 
-VER        = 3.1
+VER        = 3.2
 
 THISAPP    = nano-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = nano
-PAK_VER    = 24
+PAK_VER    = 25
 
 DEPS       = ""
 
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 2fb85e86c5b14ac9e9465d3ba7506364
+$(DL_FILE)_MD5 = 2606dc0dc31a088f16c7d603b42d23d0
 
 install : $(TARGET)
 
@@ -76,7 +76,7 @@  $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 	cd $(DIR_APP) && ./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc/nano \