From 173535b87e7828ee4c1332f29bed9fa433b7d8a9 Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Sat, 28 Sep 1996 12:34:45 +0000 Subject: - 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 ! --- archivers/bzip/Makefile | 11 ++++------- archivers/bzip/files/patch-ac | 27 +++++++++++++++++++++++++++ archivers/bzip/pkg-comment | 2 +- 3 files changed, 32 insertions(+), 8 deletions(-) create mode 100644 archivers/bzip/files/patch-ac (limited to 'archivers/bzip') diff --git a/archivers/bzip/Makefile b/archivers/bzip/Makefile index 33cfc0bf0880..04a11bd976d8 100644 --- a/archivers/bzip/Makefile +++ b/archivers/bzip/Makefile @@ -3,7 +3,7 @@ # Date created: Fr 27 Sep 1996 11:47:35 MET DST # Whom: Andreas Klemm # -# $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 diff --git a/archivers/bzip/files/patch-ac b/archivers/bzip/files/patch-ac new file mode 100644 index 000000000000..b56d85c0af6b --- /dev/null +++ b/archivers/bzip/files/patch-ac @@ -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", diff --git a/archivers/bzip/pkg-comment b/archivers/bzip/pkg-comment index d25220321327..461ac8538a40 100644 --- a/archivers/bzip/pkg-comment +++ b/archivers/bzip/pkg-comment @@ -1 +1 @@ -bzip - a block-sorting file compressor - v0.21 (they say even better than gzip) +bzip - a block-sorting file compressor -- cgit v1.2.3