[05/62] lsof: Update to 4.91

Message ID 20200816102953.3881-5-michael.tremer@ipfire.org
State Accepted
Commit 466e059faefb048b25a4d44e87a95d467e71088f
Headers
Series [01/62] bison: Update to 3.7.1 |

Commit Message

Michael Tremer Aug. 16, 2020, 10:28 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/lsof | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
  

Patch

diff --git a/lfs/lsof b/lfs/lsof
index 8b429fb60..b2e141f22 100644
--- a/lfs/lsof
+++ b/lfs/lsof
@@ -24,10 +24,10 @@ 
 
 include Config
 
-VER        = 4.78
+VER        = 4.91
 
-THISAPP    = lsof-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
+THISAPP    = lsof_$(VER)
+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 = 0f8aac305454e8cd8e0ac534c6daccea
+$(DL_FILE)_MD5 = 10e1353aa4bf2fd5bbed65db9ef6fd47
 
 install : $(TARGET)
 
@@ -69,9 +69,10 @@  $(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) && ./Configure linux -n
-	cd $(DIR_APP) && make $(MAKETUNING)
-	cd $(DIR_APP) && install -m 4750 -o root -g nobody lsof /usr/bin
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && tar axf lsof_$(VER)_src.tar
+	cd $(DIR_APP)/lsof_$(VER)_src && ./Configure linux -n
+	cd $(DIR_APP)/lsof_$(VER)_src && make $(MAKETUNING) CC="cc $(CFLAGS) $(LDFLAGS)"
+	cd $(DIR_APP)/lsof_$(VER)_src && install -m 755 -o root -g root lsof /usr/bin
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)