[packages/file] up to 5.26

glen glen at pld-linux.org
Sun Apr 17 12:43:05 CEST 2016


commit 112eba2c0d8723367836da6d7ef3e151d7ab715d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 17 12:38:19 2016 +0300

    up to 5.26

 file-selinux.patch   |  8 ++++----
 file.spec            |  6 +++---
 name-use-count.patch | 14 +++++++-------
 3 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/file.spec b/file.spec
index 95910f0..ad33ab5 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.25
-Release:	3
+Version:	5.26
+Release:	1
 License:	distributable
 Group:		Applications/File
 Source0:	ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
-# Source0-md5:	e6a972d4e10d9e76407a432f4a63cd4c
+# Source0-md5:	bdd12400b90b78ce3c57e79c8d4e0e17
 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/file-selinux.patch b/file-selinux.patch
index 1fe2d7c..14fd261 100644
--- a/file-selinux.patch
+++ b/file-selinux.patch
@@ -7,13 +7,13 @@
 +>20     lelong  1 		MLS
 +>24     lelong  x       	%d symbols
 +>28     lelong  x       	%d ocons
---- file-4.24/magic/Makefile.am~	2008-04-23 23:42:47.000000000 +0300
-+++ file-4.24/magic/Makefile.am	2008-04-23 23:43:19.957572681 +0300
-@@ -148,6 +148,7 @@
+--- file-5.26/magic/Makefile.am~	2016-02-26 17:52:45.000000000 +0200
++++ file-5.26/magic/Makefile.am	2016-04-17 12:37:15.960499466 +0300
+@@ -199,6 +199,7 @@
  $(MAGIC_FRAGMENT_DIR)/pkgadd \
  $(MAGIC_FRAGMENT_DIR)/plan9 \
  $(MAGIC_FRAGMENT_DIR)/plus5 \
 +$(MAGIC_FRAGMENT_DIR)/policy \
+ $(MAGIC_FRAGMENT_DIR)/polyml \
  $(MAGIC_FRAGMENT_DIR)/printer \
  $(MAGIC_FRAGMENT_DIR)/project \
- $(MAGIC_FRAGMENT_DIR)/psdbms \
diff --git a/name-use-count.patch b/name-use-count.patch
index e5d2aa7..ef8561e 100644
--- a/name-use-count.patch
+++ b/name-use-count.patch
@@ -1,11 +1,11 @@
---- file-5.22/src/file.h~	2015-01-01 18:07:34.000000000 +0100
-+++ file-5.22/src/file.h	2015-02-19 20:58:10.783901201 +0100
-@@ -412,7 +412,7 @@
- 	uint16_t elf_phnum_max;
- 	uint16_t elf_notes_max;
- #define	FILE_INDIR_MAX			15
+--- 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 */
+ #define	FILE_INDIR_MAX			50
 -#define	FILE_NAME_MAX			30
 +#define	FILE_NAME_MAX			256
  #define	FILE_ELF_SHNUM_MAX		32768
- #define	FILE_ELF_PHNUM_MAX		128
+ #define	FILE_ELF_PHNUM_MAX		2048
  #define	FILE_ELF_NOTES_MAX		256
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/55e86be4e478a55e7113686c2275fa8a9fe611ed



More information about the pld-cvs-commit mailing list