[54772] trunk/dports/sysutils/file
snc at macports.org
snc at macports.org
Sat Aug 1 17:23:26 PDT 2009
Revision: 54772
http://trac.macports.org/changeset/54772
Author: snc at macports.org
Date: 2009-08-01 17:23:24 -0700 (Sat, 01 Aug 2009)
Log Message:
-----------
updated file, removing invalid patches. ticket #20135. timeout.
Modified Paths:
--------------
trunk/dports/sysutils/file/Portfile
Removed Paths:
-------------
trunk/dports/sysutils/file/files/patch-lzma.diff
trunk/dports/sysutils/file/files/patch-src-file.h.diff
Modified: trunk/dports/sysutils/file/Portfile
===================================================================
--- trunk/dports/sysutils/file/Portfile 2009-08-01 23:53:23 UTC (rev 54771)
+++ trunk/dports/sysutils/file/Portfile 2009-08-02 00:23:24 UTC (rev 54772)
@@ -4,8 +4,7 @@
PortSystem 1.0
name file
-version 4.26
-revision 1
+version 5.03
categories sysutils
maintainers jay.fm:jay-macports \
openmaintainer
@@ -14,32 +13,28 @@
File tests each argument in an attempt to classify it. There are three \
sets of tests, performed in this order: filesystem tests, magic number \
tests, and language tests. The first test that succeeds causes the file \
- type to be printed.
+ type to be printed. \
+ Information on Mach-O binaries, it is suggested that one uses the command \
+ `otool -fv`. \
-homepage ftp://ftp.astron.com/pub/${name}/
+
+homepage http://www.darwinsys.com/file/
platforms darwin
master_sites ftp://ftp.fu-berlin.de/unix/tools/${name}/ \
ftp://ftp.astron.com/pub/${name}/ \
ftp://ftp.gw.com/mirrors/pub/unix/${name}/
-checksums md5 74cd5466416136da30a4e69f74dbc7a0 \
- sha1 412cdac5cd778d867e2d91a01b09858be1998ec3 \
- rmd160 e8b84e01d1f43faedfe676afc92c2cba4a01ecdf
+checksums md5 d05f08a53e5c2f51f8ee6a4758c0cc53 \
+ sha1 f659a4e1fa96fbdc99c924ea8e2dc07319f046c1 \
+ rmd160 bf9fcf85e40dc4ec9cdcdc806107dc88207c6e5b
-patchfiles patch-lzma.diff \
- patch-src-file.h.diff \
- patch-magic-Magdir-msdos.diff
+patchfiles patch-magic-Magdir-msdos.diff
configure.args --mandir=${prefix}/share/man \
- --enable-fsect-man5 \
- --program-prefix=g
+ --enable-fsect-man5
depends_lib port:zlib
universal_variant no
-variant with_default_names description {don't prefix names with a 'g'} {
- configure.args-delete --program-prefix=g
-}
-
variant with_text_magic_file description (also install the plain-text magic file} {
patchfiles-append patch-magic-Makefile.in.diff
}
Deleted: trunk/dports/sysutils/file/files/patch-lzma.diff
===================================================================
--- trunk/dports/sysutils/file/files/patch-lzma.diff 2009-08-01 23:53:23 UTC (rev 54771)
+++ trunk/dports/sysutils/file/files/patch-lzma.diff 2009-08-02 00:23:24 UTC (rev 54772)
@@ -1,39 +0,0 @@
-# adapted from lzma-4.42.0alphaX/extra/tar/file-4.21.patch
-# 2008-10-05 lzma doesn't write this new format yet (as of
-# lzma 4.43 revision 2), but when it does, file will be ready
-# See discussion at
-# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364260
-#
---- magic/Magdir/compress.orig 2008-10-05 08:59:54.000000000 -0400
-+++ magic/Magdir/compress 2008-10-05 09:08:57.000000000 -0400
-@@ -189,6 +189,19 @@
- # bug #364260)
- #0 string ]\000\000\200\000 LZMA compressed data
-
-+# LZMA (Lempel-Ziv-Markov chain-Algorithm) file format supported by:
-+# - 7-Zip <http://7-zip.org/>
-+# - LZMA SDK <http://7-zip.org/sdk.html>
-+# - LZMA Utils <http://tukaani.org/lzma/>
-+#
-+# Note that this is different format than the original format created
-+# by LZMA_Alone from older versions of LZMA SDK. These files are
-+# non-trivial to detect, because they have no magic bytes.
-+#
-+0 ustring \xFFLZMA\x00 lzma compressed data,
-+>6 ubyte&0x10 0x00 single-block stream
-+>6 ubyte&0x10 0x10 multi-block stream
-+
- # AFX compressed files (Wolfram Kleff)
- 2 string -afx- AFX compressed file data
-
-
---- src/compress.c.orig 2007-03-05 03:41:29.000000000 +0100
-+++ src/compress.c 2007-09-12 21:40:54.000000000 -0000
-@@ -76,6 +76,7 @@
- { "PK\3\4", 4, { "gzip", "-cdq", NULL }, 1 }, /* pkzipped, */
- /* ...only first file examined */
- { "BZh", 3, { "bzip2", "-cd", NULL }, 1 }, /* bzip2-ed */
-+ { "\xFFLZMA\x00", 6, { "lzma", "-cd", NULL }, 1 }, /* new LZMA */
- };
-
- private size_t ncompr = sizeof(compr) / sizeof(compr[0]);
Deleted: trunk/dports/sysutils/file/files/patch-src-file.h.diff
===================================================================
--- trunk/dports/sysutils/file/files/patch-src-file.h.diff 2009-08-01 23:53:23 UTC (rev 54771)
+++ trunk/dports/sysutils/file/files/patch-src-file.h.diff 2009-08-02 00:23:24 UTC (rev 54772)
@@ -1,21 +0,0 @@
-Prereq: 1.108
---- src/file.h.orig 16 Jul 2008 18:00:57 -0000 1.108
-+++ src/file.h 2 Sep 2008 07:11:30 -0000 1.109
-@@ -27,7 +27,7 @@
- */
- /*
- * file.h - definitions for file(1) program
-- * @(#)$File: file.h,v 1.108 2008/07/16 18:00:57 christos Exp $
-+ * @(#)$File: file.h,v 1.109 2008/09/02 07:11:30 christos Exp $
- */
-
- #ifndef __file_h__
-@@ -302,7 +302,7 @@
- int last_match;
- int last_cond; /* used for error checking by parse() */
- #endif
--} *li;
-+};
- struct magic_set {
- struct mlist *mlist;
- struct cont {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090801/6f5aaaac/attachment.html>
More information about the macports-changes
mailing list