diff options
author | minskim <minskim@pkgsrc.org> | 2004-05-10 18:04:02 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-05-10 18:04:02 +0000 |
commit | 8cb4c5262228cffead87607591cd358c79e90b7f (patch) | |
tree | 49e76ba469c0cf014ff86e0526ceaa49d0374eb7 /archivers/dact | |
parent | b98da6cc8e35792e7e4a7139227fce3732f17271 (diff) | |
download | pkgsrc-8cb4c5262228cffead87607591cd358c79e90b7f.tar.gz |
Do not modify the magic file for file(1). Instead, show what should
be done using MESSAGE.
Diffstat (limited to 'archivers/dact')
-rw-r--r-- | archivers/dact/MESSAGE | 17 | ||||
-rw-r--r-- | archivers/dact/distinfo | 4 | ||||
-rw-r--r-- | archivers/dact/patches/patch-aa | 10 |
3 files changed, 26 insertions, 5 deletions
diff --git a/archivers/dact/MESSAGE b/archivers/dact/MESSAGE new file mode 100644 index 00000000000..641dda06e59 --- /dev/null +++ b/archivers/dact/MESSAGE @@ -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 --git a/archivers/dact/distinfo b/archivers/dact/distinfo index edbe802e1d4..3724cd4b590 100644 --- a/archivers/dact/distinfo +++ b/archivers/dact/distinfo @@ -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 --git a/archivers/dact/patches/patch-aa b/archivers/dact/patches/patch-aa index bda6ff33375..d33dab03adb 100644 --- a/archivers/dact/patches/patch-aa +++ b/archivers/dact/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.2 2002/12/23 08:05:36 jmmv Exp $ $(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 |