[3/7] elfutils: Move from addon to core program. Required by suricata-7.0.2 for execution

Message ID 20240206212739.3270712-3-adolf.belka@ipfire.org
State Staged
Commit 816af4dfb78eb5f7b95390d1bd3e444f7fbb42fe
Headers
Series [1/7] suricata: Update to version 7.0.2 |

Commit Message

Adolf Belka Feb. 6, 2024, 9:27 p.m. UTC
  - Updated lfs file to core program type
- Moved rootfile from packages to common
- Older suricata versions required elfutils only for building but suricata-7.0.2 fails to
   start if elfutils is not present due to libelf.so.1 being missing.
- The requirement for elfutils is not mentioned at all in the changelog.

Fixes: Bug#13516
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/{packages => common}/elfutils |  0
 lfs/elfutils                                   | 11 +----------
 2 files changed, 1 insertion(+), 10 deletions(-)
 rename config/rootfiles/{packages => common}/elfutils (100%)
  

Patch

diff --git a/config/rootfiles/packages/elfutils b/config/rootfiles/common/elfutils
similarity index 100%
rename from config/rootfiles/packages/elfutils
rename to config/rootfiles/common/elfutils
diff --git a/lfs/elfutils b/lfs/elfutils
index 9fb69af62..7dd95caa2 100644
--- a/lfs/elfutils
+++ b/lfs/elfutils
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  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        #
@@ -33,12 +33,6 @@  DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-PROG       = elfutils
-PAK_VER    = 10
-
-DEPS       =
-
-SERVICES   =
 
 ###############################################################################
 # Top-level Rules
@@ -58,9 +52,6 @@  download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 b2 : $(subst %,%_BLAKE2,$(objects))
 
-dist:
-	@$(PAK)
-
 ###############################################################################
 # Downloading, checking, b2sum
 ###############################################################################