Files
bpfire/lfs/file
Adolf Belka 5e1002b75b file: Update to version 5.44
- Update from version 5.40 to 5.44
- Update of rootfile not required
- Changelog
	* release 5.44
		* Handle nan's so that we don't get internal floating point exceptions
		  when they are enabled (Vincent Mihalkovic)
		* PR/397: Restore the ability to process files from stdin immediately.
		* fixed various clustefuzz issues
		* Fix error detection for decompression code (Vincent Mihalkovic)
		* Add MAGIC_NO_COMPRESS_FORK and use it to produce a more
		  meaningful error message if we are sandboxing.
		* Add built-in lzip decompression support (Michal Gorny)
		* Add built-in zstd decompression support (Martin Rodriguez Reboredo)
	* release 5.43
		* Add octal indirect magic (Michal Gorny)
		* PR/374: avoid infinite loop in non-wide code (piru)
		* PR/373: Obey MAGIC_CONTINUE with multiple magic files (vismarli)
		* Fix bug with large flist (Florian Weimer)
	        * PR/364: Detect non-nul-terminated core filenames from QEMU
		  (mam-ableton)
		* PR/359: Add support for http://ndjson.org/ (darose)
		* PR/362: Fix wide printing (ro-ee)
		* PR/358: Fix width for -f - (jpalus)
		* PR/356: Fix JSON constant parsing (davewhite)
	* release 5.42
		* PR/348: add missing cases to prevent file from aborting on
		  random magic files.
		* PR/351: octalify filenames when not raw before printing.
		* fix regex cacheing bug (Dirk Mueller)
		* merge file_regcomp and file_regerror() to simplify the code
		  and reduce memory requirements for storing regexes (Dirk Mueller)
		* cache regex (Dirk Mueller)
		* detect filesystem full by flushing output (Dirk Mueller)
		* implement running decompressor programs using
		  posix_spawnp(2) instead of vfork(2)
		* Add support for msdos dates and times
		* use the system byte swapping functions if available (Werner Fink)
	* release 5.41
		* Avinash Sonawane: Fix tzname detection
		* Fix relationship tests with "search" magic, don't short circuit
		  logic
		* Fix memory leak in compile mode
		* PR/272: kiefermat: Only set returnval = 1 when we printed something
		  (in all cases print or !print). This simplifies the logic and fixes
		  the issue in the PR with -k and --mime-type there was no continuation
		  printed before the default case.
		* PR/270: Don't translate unprintable characters in %s magic formats
		  when -r
		* PR/269: Avoid undefined behavior with clang (adding offset to NULL)
		* Add a new flag (f) that requires that the match is a full word,
		   not a partial word match.
		* Add varint types (unused)
		* PR/256: mutableVoid: If the file is less than 3 bytes, use the file
		  length to determine type
		* PR/259: aleksandr.v.novichkov: mime printing through indirect magic
		  is not taken into account, use match directly so that it does.
		* count the total bytes found not the total byte positions
		  in order to determine encoding (Anatol Belski)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-09 18:37:09 +00:00

78 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2022 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 5.44
THISAPP = file-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = a90ccae738a95315d75a0aaee7bbff3624425cc9267daf18ba9147b7c9b9ebfb31288b54c63a73e4695eca0e876f206e40bcb81c422f1bf572b976e753b25a42
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr --disable-bzlib
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)