iana-etc: Update to version 20220207

Message ID 20220215093642.188171-1-adolf.belka@ipfire.org
State Accepted
Commit fb3e1c82c8b5e12314e87ea4641479bd1f4052fd
Headers
Series iana-etc: Update to version 20220207 |

Commit Message

Adolf Belka Feb. 15, 2022, 9:36 a.m. UTC
  - Update from 2.30 (2011) to 20220207
- Update of rootfile not required
- After version 2.30 the files from iana are no longer versioned. A git repository is
   available (also used by LFS) which creates the required files by an automated script.
   So the lfs just needs to copy across the services and protocols files to /etc
- There is no Changelog

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/iana-etc | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
  

Comments

Adolf Belka Feb. 15, 2022, 12:30 p.m. UTC | #1
Hi All,

I forgot to include the url for the git repository in the commit message.

https://github.com/Mic92/iana-etc

Regards,
Adolf.

On 15/02/2022 10:36, Adolf Belka wrote:
> - Update from 2.30 (2011) to 20220207
> - Update of rootfile not required
> - After version 2.30 the files from iana are no longer versioned. A git repository is
>     available (also used by LFS) which creates the required files by an automated script.
>     So the lfs just needs to copy across the services and protocols files to /etc
> - There is no Changelog
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>   lfs/iana-etc | 11 +++++------
>   1 file changed, 5 insertions(+), 6 deletions(-)
> 
> diff --git a/lfs/iana-etc b/lfs/iana-etc
> index 8b7156f12..ddcdc9242 100644
> --- a/lfs/iana-etc
> +++ b/lfs/iana-etc
> @@ -24,10 +24,10 @@
>   
>   include Config
>   
> -VER        = 2.30
> +VER        = 20220207
>   
>   THISAPP    = iana-etc-$(VER)
> -DL_FILE    = $(THISAPP).tar.bz2
> +DL_FILE    = $(THISAPP).tar.gz
>   DL_FROM    = $(URL_IPFIRE)
>   DIR_APP    = $(DIR_SRC)/$(THISAPP)
>   TARGET     = $(DIR_INFO)/$(THISAPP)
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>   
>   $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>   
> -$(DL_FILE)_MD5 = 3ba3afb1d1b261383d247f46cb135ee8
> +$(DL_FILE)_MD5 = 81d865ce7fe4240d5abed48c3ca5fa9f
>   
>   install : $(TARGET)
>   
> @@ -69,8 +69,7 @@ $(subst %,%_MD5,$(objects)) :
>   
>   $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>   	@$(PREBUILD)
> -	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
> -	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
> -	cd $(DIR_APP) && make install
> +	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
> +	cp -avf $(DIR_APP)/{services,protocols} /etc/
>   	@rm -rf $(DIR_APP)
>   	@$(POSTBUILD)
  
Michael Tremer Feb. 15, 2022, 12:31 p.m. UTC | #2
Oh no! LOL

Acked-by: Michael Tremer <michael.tremer@ipfire.org>

> On 15 Feb 2022, at 12:30, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> Hi All,
> 
> I forgot to include the url for the git repository in the commit message.
> 
> https://github.com/Mic92/iana-etc
> 
> Regards,
> Adolf.
> 
> On 15/02/2022 10:36, Adolf Belka wrote:
>> - Update from 2.30 (2011) to 20220207
>> - Update of rootfile not required
>> - After version 2.30 the files from iana are no longer versioned. A git repository is
>>    available (also used by LFS) which creates the required files by an automated script.
>>    So the lfs just needs to copy across the services and protocols files to /etc
>> - There is no Changelog
>> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
>> ---
>>  lfs/iana-etc | 11 +++++------
>>  1 file changed, 5 insertions(+), 6 deletions(-)
>> diff --git a/lfs/iana-etc b/lfs/iana-etc
>> index 8b7156f12..ddcdc9242 100644
>> --- a/lfs/iana-etc
>> +++ b/lfs/iana-etc
>> @@ -24,10 +24,10 @@
>>    include Config
>>  -VER        = 2.30
>> +VER        = 20220207
>>    THISAPP    = iana-etc-$(VER)
>> -DL_FILE    = $(THISAPP).tar.bz2
>> +DL_FILE    = $(THISAPP).tar.gz
>>  DL_FROM    = $(URL_IPFIRE)
>>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>>  TARGET     = $(DIR_INFO)/$(THISAPP)
>> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>>    $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>>  -$(DL_FILE)_MD5 = 3ba3afb1d1b261383d247f46cb135ee8
>> +$(DL_FILE)_MD5 = 81d865ce7fe4240d5abed48c3ca5fa9f
>>    install : $(TARGET)
>>  @@ -69,8 +69,7 @@ $(subst %,%_MD5,$(objects)) :
>>    $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>>  	@$(PREBUILD)
>> -	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
>> -	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
>> -	cd $(DIR_APP) && make install
>> +	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
>> +	cp -avf $(DIR_APP)/{services,protocols} /etc/
>>  	@rm -rf $(DIR_APP)
>>  	@$(POSTBUILD)
  

Patch

diff --git a/lfs/iana-etc b/lfs/iana-etc
index 8b7156f12..ddcdc9242 100644
--- a/lfs/iana-etc
+++ b/lfs/iana-etc
@@ -24,10 +24,10 @@ 
 
 include Config
 
-VER        = 2.30
+VER        = 20220207
 
 THISAPP    = iana-etc-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
+DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 3ba3afb1d1b261383d247f46cb135ee8
+$(DL_FILE)_MD5 = 81d865ce7fe4240d5abed48c3ca5fa9f
 
 install : $(TARGET)
 
@@ -69,8 +69,7 @@  $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
-	cd $(DIR_APP) && make install
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	cp -avf $(DIR_APP)/{services,protocols} /etc/
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)