[packages/file] Up to 5.39

glen glen at pld-linux.org
Sun Jun 21 13:59:15 CEST 2020


commit 6caccfdb985d97045bfa85b647b85278d0ff2d67
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Jun 21 13:59:24 2020 +0300

    Up to 5.39

 file.spec            |  4 ++--
 name-use-count.patch | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/file.spec b/file.spec
index 7a15c93..6474032 100644
--- a/file.spec
+++ b/file.spec
@@ -29,12 +29,12 @@ Summary(uk.UTF-8):	Утиліта для визначення типів фай
 Summary(zh_CN.UTF-8):	判定文件类型的工具。
 Summary(zh_TW.UTF-8):	用於決定檔案類型的一個工具程式。
 Name:		file
-Version:	5.38
+Version:	5.39
 Release:	1
 License:	distributable
 Group:		Applications/File
 Source0:	ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
-# Source0-md5:	3217633ed09c7cd35ed8d04191675574
+# Source0-md5:	1c450306053622803a25647d88f80f25
 Source1:	http://ftp1.pld-linux.org/people/glen/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5:	6a45bcaefd19b94db36a1b2b7c5b806b
 Source2:	%{name}-zisofs.magic
diff --git a/name-use-count.patch b/name-use-count.patch
index ef8561e..c6751e8 100644
--- a/name-use-count.patch
+++ b/name-use-count.patch
@@ -1,11 +1,11 @@
---- file-5.26/src/file.h~	2016-03-31 20:51:12.000000000 +0300
-+++ file-5.26/src/file.h	2016-04-17 12:37:55.562528440 +0300
-@@ -421,7 +421,7 @@
- 	uint16_t regex_max;
- 	size_t bytes_max;		/* number of bytes to read from file */
+--- file-5.39/src/file.h~	2020-06-15 03:01:01.000000000 +0300
++++ file-5.39/src/file.h	2020-06-21 14:52:44.027423622 +0300
+@@ -459,7 +459,7 @@
+ #define	FILE_ELF_PHNUM_MAX		2048
+ #define	FILE_ELF_SHNUM_MAX		32768
  #define	FILE_INDIR_MAX			50
--#define	FILE_NAME_MAX			30
+-#define	FILE_NAME_MAX			50
 +#define	FILE_NAME_MAX			256
- #define	FILE_ELF_SHNUM_MAX		32768
- #define	FILE_ELF_PHNUM_MAX		2048
- #define	FILE_ELF_NOTES_MAX		256
+ #define	FILE_REGEX_MAX			8192
+ };
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/58d4dc5308fb96abd703e8365dced39f8cdbe2fd



More information about the pld-cvs-commit mailing list