summaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1996-09-28 12:34:45 +0000
committerandreas <andreas@FreeBSD.org>1996-09-28 12:34:45 +0000
commitd5a8c57f802082d8b227a26b40f69aaf4006ab1d (patch)
treede711faf3872cd645389ba7c742f19215db24eb1 /archivers
parent02fc37655fd269cb94b8f99c5d119a27a8984e43 (diff)
downloadFreeBSD-ports-d5a8c57f802082d8b227a26b40f69aaf4006ab1d.zip
FreeBSD-ports-d5a8c57f802082d8b227a26b40f69aaf4006ab1d.tar.gz
- 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 !
Diffstat (limited to 'archivers')
-rw-r--r--archivers/bzip/Makefile11
-rw-r--r--archivers/bzip/files/patch-ac27
-rw-r--r--archivers/bzip/pkg-comment2
3 files changed, 32 insertions, 8 deletions
diff --git a/archivers/bzip/Makefile b/archivers/bzip/Makefile
index 33cfc0b..04a11bd 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 <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
diff --git a/archivers/bzip/files/patch-ac b/archivers/bzip/files/patch-ac
new file mode 100644
index 0000000..b56d85c
--- /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 d252203..461ac85 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
OpenPOWER on IntegriCloud