pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/dact Do not modify the magic file for file(1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0349cc935b0
branches:  trunk
changeset: 475140:c0349cc935b0
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon May 10 18:04:02 2004 +0000

description:
Do not modify the magic file for file(1).  Instead, show what should
be done using MESSAGE.

diffstat:

 archivers/dact/MESSAGE          |  17 +++++++++++++++++
 archivers/dact/distinfo         |   4 ++--
 archivers/dact/patches/patch-aa |  10 +++++++---
 3 files changed, 26 insertions(+), 5 deletions(-)

diffs (55 lines):

diff -r 5b13b7898b53 -r c0349cc935b0 archivers/dact/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/dact/MESSAGE    Mon May 10 18:04:02 2004 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2004/05/10 18:04:02 minskim Exp $
+
+To make file(1) aware of DACT files, add the following lines to the
+magic file.
+
+#------------------------------------------------------------------------------
+# dact:  file(1) magic for DACT compressed files
+#
+0      $LONG           0x444354C3      DACT compressed data
+>4     byte            >-1             (version %i.
+>5     byte            >-1             \b%i.
+>6     byte            >-1             \b%i)
+>7     $LONG           >0              \b, original size: %i bytes
+>15    $LONG           >30             \b, block size: %i bytes
+
+===========================================================================
diff -r 5b13b7898b53 -r c0349cc935b0 archivers/dact/distinfo
--- a/archivers/dact/distinfo   Mon May 10 17:46:28 2004 +0000
+++ b/archivers/dact/distinfo   Mon May 10 18:04:02 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2002/12/23 08:05:35 jmmv Exp $
+$NetBSD: distinfo,v 1.3 2004/05/10 18:04:02 minskim Exp $
 
 SHA1 (dact-0.8.3.tar.gz) = 850aec889be4174e9f42a3314bf29b1fc5181090
 Size (dact-0.8.3.tar.gz) = 84301 bytes
-SHA1 (patch-aa) = 8b7bdb19ae341a03559fd81353a3688dcfccea4d
+SHA1 (patch-aa) = 263234ba4fa0034ee19dc5449213705841b72e68
diff -r 5b13b7898b53 -r c0349cc935b0 archivers/dact/patches/patch-aa
--- a/archivers/dact/patches/patch-aa   Mon May 10 17:46:28 2004 +0000
+++ b/archivers/dact/patches/patch-aa   Mon May 10 18:04:02 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2002/12/23 08:05:36 jmmv Exp $
+$NetBSD: patch-aa,v 1.3 2004/05/10 18:04:02 minskim Exp $
 
---- Makefile.in.orig   Fri Sep  7 22:29:02 2001
+--- Makefile.in.orig   2001-09-07 15:29:02.000000000 -0500
 +++ Makefile.in
-@@ -69,7 +69,7 @@
+@@ -69,11 +69,10 @@ distclean: clean
  
  install: all
        $(INSTALL) -c -m 755 dact $(bindir)/dact
@@ -11,3 +11,7 @@
        $(INSTALL) -c -m 644 Docs/dact.1 $(mandir)/man1/dact.1
  @MODS@        mkdir -p -m 755 $(datadir)/dact
  @MODS@        for so in *.so; do $(INSTALL) -c -m 644 $$so $(datadir)/dact/$$so; done
+-      ./patch-magic-file
+ 
+ uninstall:
+       rm -f $(bindir)/dact $(bindir)/dact-upgrade.sh



Home | Main Index | Thread Index | Old Index