]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/7zip
suricata: Change midstream policy to "pass-flow"
[ipfire-2.x.git] / lfs / 7zip
index f8ac672c53739d1ec9aab32454911e5332380f0c..5f0fe335df4c55a333ea71d570ebe6fbb0906225 100644 (file)
--- a/lfs/7zip
+++ b/lfs/7zip
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2015  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2023  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        #
 
 include Config
 
-VER        = 9.38.1
+SUMMARY           = 7-zip file compression program
 
-THISAPP    = p7zip_$(VER)
-DL_FILE    = $(THISAPP)_src_all.tar.bz2
+VER        = 17.05
+
+THISAPP    = p7zip-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = 7zip
-PAK_VER    = 4
+PAK_VER    = 10
+
+DEPS       =
+
+SERVICES   =
 
-DEPS       = ""
+CFLAGS    += -fcommon
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 6cba8402ccab2370d3b70c5e28b3d651
+$(DL_FILE)_BLAKE2 = 0bcba638d3acaf2aa270e02693ad4295dfcc6b388037bdb446e25f3f4e1cb34f1b05bbc9a845364ca770625c32b2d7f55f63f504ad8e0863fff4bf940ae1fddd
 
 install : $(TARGET)
 
@@ -52,10 +58,10 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -64,10 +70,10 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
@@ -76,8 +82,9 @@ dist:
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && make 7z $(MAKETUNING)
-       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && make all3 $(MAKETUNING)
+       cd $(DIR_APP) && make DEST_HOME=/usr DEST_MAN=/usr/share/man \
+               DEST_SHARE_DOC=/usr/share/doc/p7zip-$(VER) install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)