packages: file/file.spec, file/file-lzma.patch (NEW) - lzma patch from debi...

blues blues at pld-linux.org
Thu Jun 18 12:59:43 CEST 2009


Author: blues                        Date: Thu Jun 18 10:59:43 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- lzma patch from debian... but seems not working...

---- Files affected:
packages/file:
   file.spec (1.169 -> 1.170) , file-lzma.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/file/file.spec
diff -u packages/file/file.spec:1.169 packages/file/file.spec:1.170
--- packages/file/file.spec:1.169	Thu Jun 18 12:27:11 2009
+++ packages/file/file.spec	Thu Jun 18 12:59:37 2009
@@ -30,7 +30,7 @@
 Summary(zh_TW.UTF-8):	用於決定檔案類型的一個工具程式。
 Name:		file
 Version:	5.03
-Release:	3
+Release:	3.1
 License:	distributable
 Group:		Applications/File
 Source0:	ftp://ftp.astron.com/pub/file/%{name}-%{version}.tar.gz
@@ -47,6 +47,7 @@
 Patch4:		%{name}-selinux.patch
 Patch5:		%{name}-msdos.patch
 Patch6:		%{name}-fusecompress.patch
+Patch7:		%{name}-lzma.patch
 URL:		http://www.darwinsys.com/file/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -254,6 +255,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 rm -f magic/Magdir/{*.orig,*~}
 
@@ -386,6 +388,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.170  2009/06/18 10:59:37  blues
+- lzma patch from debian... but seems not working...
+
 Revision 1.169  2009/06/18 10:27:11  blues
 - cosmetics
 

================================================================
Index: packages/file/file-lzma.patch
diff -u /dev/null packages/file/file-lzma.patch:1.1
--- /dev/null	Thu Jun 18 12:59:43 2009
+++ packages/file/file-lzma.patch	Thu Jun 18 12:59:37 2009
@@ -0,0 +1,15 @@
+diff -ur file-4.17.old/magic/Magdir/compress file-4.17/magic/Magdir/compress
+--- file-4.17.old/magic/Magdir/compress	2006-04-22 11:56:54.000000000 +0200
++++ file-4.17/magic/Magdir/compress	2006-04-22 12:01:39.000000000 +0200
+@@ -174,6 +174,11 @@
+ >6	byte		x			version %d
+ >7	byte		x			\b.%d
+ 
++# LZMA (7-zip sister format)
++# http://www.7-zip.org/sdk.html
++#
++0	string		]\000\000\200\000\377\377\377\377\377\377\377\377	LZMA compressed data
++
+ # AFX compressed files (Wolfram Kleff)
+ 2	string		-afx-		AFX compressed file data
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/file/file.spec?r1=1.169&r2=1.170&f=u



More information about the pld-cvs-commit mailing list