Do not modify the magic file for file(1). Instead, show what should

be done using MESSAGE.
This commit is contained in:
minskim 2004-05-10 18:04:02 +00:00
parent e3c666f6e8
commit ae65ee4d9e
3 changed files with 26 additions and 5 deletions

17
archivers/dact/MESSAGE Normal file
View file

@ -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
===========================================================================

View file

@ -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

View file

@ -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