[40528] trunk/dports/sysutils/file
simon at macports.org
simon at macports.org
Sun Oct 5 09:13:50 PDT 2008
Revision: 40528
http://trac.macports.org/changeset/40528
Author: simon at macports.org
Date: 2008-10-05 09:13:49 -0700 (Sun, 05 Oct 2008)
Log Message:
-----------
sysutils/file: Updated to 4.26, added new maintainer. Closes #16759, thanks to jay-macports at shopwatch.org.
Modified Paths:
--------------
trunk/dports/sysutils/file/Portfile
trunk/dports/sysutils/file/files/patch-lzma.diff
Added Paths:
-----------
trunk/dports/sysutils/file/files/patch-src-file.h.diff
Modified: trunk/dports/sysutils/file/Portfile
===================================================================
--- trunk/dports/sysutils/file/Portfile 2008-10-05 15:44:37 UTC (rev 40527)
+++ trunk/dports/sysutils/file/Portfile 2008-10-05 16:13:49 UTC (rev 40528)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -3,7 +4,8 @@
name file
-version 4.25
+version 4.26
categories sysutils
-maintainers nomaintainer
+maintainers jay.fm:jay-macports \
+ openmaintainer
description File - determine file type
long_description \
@@ -18,11 +20,12 @@
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 cdf1f90d2704e71118353c16c19898ba \
- sha1 0d4a0b678a4c13fbc38cd0ea633ef4df60d74f22 \
- rmd160 c877a223a1dbdfd38c6f5ac385b533e8c5223fe1
+checksums md5 74cd5466416136da30a4e69f74dbc7a0 \
+ sha1 412cdac5cd778d867e2d91a01b09858be1998ec3 \
+ rmd160 e8b84e01d1f43faedfe676afc92c2cba4a01ecdf
-patchfiles patch-lzma.diff
+patchfiles patch-lzma.diff \
+ patch-src-file.h.diff
configure.args --mandir=${prefix}/share/man \
--enable-fsect-man5 \
@@ -30,16 +33,9 @@
depends_lib port:zlib
variant with_default_names description {don't prefix names with a 'g'} {
- post-destroot {
- foreach d {bin share/man/man1 share/man/man3 share/man/man5} {
- foreach a [glob -directory ${destroot}${prefix}/$d g*] {
- regexp /g(.+)\$ $a dummy b
- file link -hard ${destroot}${prefix}/$d/$b $a
- }
- }
- }
+ configure.args-delete --program-prefix=g
}
livecheck.check md5
livecheck.url ftp://ftp.fu-berlin.de/unix/tools/${name}/
-livecheck.md5 600d214efae30987572951c14fa31863
+livecheck.md5 a2918bbcee8b1ca0225c5358f1801fdb
Modified: trunk/dports/sysutils/file/files/patch-lzma.diff
===================================================================
--- trunk/dports/sysutils/file/files/patch-lzma.diff 2008-10-05 15:44:37 UTC (rev 40527)
+++ trunk/dports/sysutils/file/files/patch-lzma.diff 2008-10-05 16:13:49 UTC (rev 40528)
@@ -1,9 +1,14 @@
# adapted from lzma-4.42.0alphaX/extra/tar/file-4.21.patch
---- magic/Magdir/compress.orig 2006-03-02 23:10:26.000000000 +0100
-+++ magic/Magdir/compress 2007-09-12 21:40:54.000000000 -0000
-@@ -174,6 +174,19 @@
- >6 byte x version %d
- >7 byte x \b.%d
+# 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/>
@@ -20,6 +25,7 @@
+
# 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
Added: trunk/dports/sysutils/file/files/patch-src-file.h.diff
===================================================================
--- trunk/dports/sysutils/file/files/patch-src-file.h.diff (rev 0)
+++ trunk/dports/sysutils/file/files/patch-src-file.h.diff 2008-10-05 16:13:49 UTC (rev 40528)
@@ -0,0 +1,21 @@
+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/20081005/6b6a966f/attachment.html
More information about the macports-changes
mailing list