- use INSTALL_PROGRAM and INSTALL_MAN in Makefile

- add patch-ac to silence bzip when doing compression, bzip version
  info now only with -v or -V
- changed comment in COMMENT. bzip compresses better than gzip, but
  speed is much slower, so it's not generally better as gzip where
  speed matters !
This commit is contained in:
Andreas Klemm 1996-09-28 12:34:45 +00:00
parent d23cbedba2
commit 173535b87e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3892
3 changed files with 32 additions and 8 deletions

View file

@ -3,7 +3,7 @@
# Date created: Fr 27 Sep 1996 11:47:35 MET DST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id: Makefile,v 1.1.1.1 1996/09/27 11:47:05 andreas Exp $
# $Id: Makefile,v 1.2 1996/09/27 20:55:50 andreas Exp $
#
DISTNAME= bzip-0.21
@ -19,13 +19,10 @@ pre-install:
do-install:
rm -f ${PREFIX}/bin/bzip ${PREFIX}/bin/bzip
${INSTALL} -C -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${WRKSRC}/bzip ${PREFIX}/bin/bzip
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin/bzip
ln ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bzip.1
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bzip.1
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/man/man1/bzip.1
gzip -9nf ${PREFIX}/man/man1/bunzip.1

View file

@ -0,0 +1,27 @@
--- bzip.c.orig Sat Sep 28 03:32:05 1996
+++ bzip.c Sat Sep 28 03:37:53 1996
@@ -3132,11 +3132,6 @@
signal (SIGBUS, mySIGSEGVorSIGBUScatcher);
#endif
- if ( ! (argc > 1 && strcmp ( "-Q", argv[1] ) == 0) )
- fprintf ( stderr,
- "BZIP, a block-sorting file compressor. "
- "Version 0.21, 25-August-96.\n" );
-
#if DEBUG
if ( ! (argc > 1 && strcmp ( "-Q", argv[1] ) == 0) )
fprintf ( stderr, "BZIP: *** compiled with debugging ON ***\n" );
@@ -3206,6 +3201,12 @@
exit ( 1 );
break;
}
+
+ if (verbose) {
+ fprintf ( stderr,
+ "BZIP, a block-sorting file compressor. "
+ "Version 0.21, 25-August-96.\n" );
+ }
if ( opMode == OM_FILE_TO_STDOUT && numFileNames != 1) {
fprintf ( stderr, "%s: Option -c requires you to supply exactly one filename.\n",

View file

@ -1 +1 @@
bzip - a block-sorting file compressor - v0.21 (they say even better than gzip)
bzip - a block-sorting file compressor