From b4eeba5779b80aabe38608c88c6f14fe43a18595 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 9 Apr 2007 14:55:12 +0000 Subject: Add -n to gzip flags. Save a few bytes since we no longer save the uncompressed filename in the gzip header. --- distrib/alpha/bsd.rd/Makefile | 4 ++-- distrib/alpha/common/Makefile.inc | 4 ++-- distrib/amd64/common/Makefile.inc | 4 ++-- distrib/hp300/ramdisk/Makefile | 4 ++-- distrib/hppa/ramdisk/Makefile | 4 ++-- distrib/i386/common/Makefile.inc | 4 ++-- distrib/macppc/ramdisk/Makefile | 4 ++-- distrib/mvmeppc/ramdisk/Makefile | 4 ++-- distrib/sparc/ramdisk/Makefile.inc | 4 ++-- distrib/sparc64/bsd.rd/Makefile | 4 ++-- distrib/sparc64/ramdisk/Makefile | 4 ++-- distrib/sparc64/ramdiskB/Makefile | 4 ++-- distrib/vax/ramdisk/Makefile.inc | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) (limited to 'distrib') diff --git a/distrib/alpha/bsd.rd/Makefile b/distrib/alpha/bsd.rd/Makefile index 34261cfe16b..382165772b0 100644 --- a/distrib/alpha/bsd.rd/Makefile +++ b/distrib/alpha/bsd.rd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile,v 1.9 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -16,7 +16,7 @@ REALIMAGE!= echo /var/tmp/image.${PID} STRIP?= strip GZIPCMD?= gzip -GZIPFLAGS?= -9f +GZIPFLAGS?= -9fn INSTALLBOOT?= /usr/mdec/installboot -v RAMDISK= RAMDISKBIG diff --git a/distrib/alpha/common/Makefile.inc b/distrib/alpha/common/Makefile.inc index 177687b7820..3f8552cf818 100644 --- a/distrib/alpha/common/Makefile.inc +++ b/distrib/alpha/common/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.14 2007/03/20 20:28:36 pedro Exp $ +# $OpenBSD: Makefile.inc,v 1.15 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -16,7 +16,7 @@ REALIMAGE!= echo /var/tmp/image.${PID} STRIP?= strip GZIPCMD?= gzip -GZIPFLAGS?= -9f +GZIPFLAGS?= -9fn INSTALLBOOT?= /usr/mdec/installboot -v XNAME?= floppy diff --git a/distrib/amd64/common/Makefile.inc b/distrib/amd64/common/Makefile.inc index 3053ac1bda2..8c0c76e27c9 100644 --- a/distrib/amd64/common/Makefile.inc +++ b/distrib/amd64/common/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.3 2004/02/27 16:53:24 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.4 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -56,7 +56,7 @@ bsd.gz: bsd.rd cp bsd.rd bsd.strip strip bsd.strip strip -R .comment bsd.strip - gzip -c9 bsd.strip > bsd.gz + gzip -c9n bsd.strip > bsd.gz bsd.rd: ${IMAGE} bsd rdsetroot cp bsd bsd.rd diff --git a/distrib/hp300/ramdisk/Makefile b/distrib/hp300/ramdisk/Makefile index 45e424f8bbf..668c2a31b6d 100644 --- a/distrib/hp300/ramdisk/Makefile +++ b/distrib/hp300/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile,v 1.22 2007/04/09 14:55:11 millert Exp $ # $NetBSD: Makefile,v 1.1 1995/07/18 04:13:06 briggs Exp $ TOP= ${.CURDIR}/.. @@ -18,7 +18,7 @@ PID!= echo $$$$ REALIMAGE!= echo /var/tmp/image.${PID} GZIPCMD?= gzip -GZIPFLAGS?= -9f +GZIPFLAGS?= -9fn all: ${CBIN} ${IMAGE} bsd.rd diff --git a/distrib/hppa/ramdisk/Makefile b/distrib/hppa/ramdisk/Makefile index 91e11cb2719..77bf74c0a5f 100644 --- a/distrib/hppa/ramdisk/Makefile +++ b/distrib/hppa/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile,v 1.9 2007/04/09 14:55:11 millert Exp $ CBIN= instbin ARCHDIR= ${.CURDIR}/.. @@ -36,7 +36,7 @@ CDBOOT?= ${DESTDIR}/usr/mdec/cdboot STRIP?= strip GZIPCMD?= gzip -GZIPFLAGS?= -9 +GZIPFLAGS?= -9n # old format, minfree, opt, b/i trks, sects, cpg NEWFSOPTS= -t ffs -m 0 -o space -f 1024 -b 8192 diff --git a/distrib/i386/common/Makefile.inc b/distrib/i386/common/Makefile.inc index 7d17d87dcdc..387a593720a 100644 --- a/distrib/i386/common/Makefile.inc +++ b/distrib/i386/common/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.15 2004/11/25 22:02:08 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.16 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -56,7 +56,7 @@ bsd.gz: bsd.rd cp bsd.rd bsd.strip strip bsd.strip strip -R .comment bsd.strip - gzip -c9 bsd.strip > bsd.gz + gzip -c9n bsd.strip > bsd.gz bsd.rd: ${IMAGE} bsd rdsetroot cp bsd bsd.rd diff --git a/distrib/macppc/ramdisk/Makefile b/distrib/macppc/ramdisk/Makefile index 502557cd4b8..e6fa20c80e2 100644 --- a/distrib/macppc/ramdisk/Makefile +++ b/distrib/macppc/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 2005/03/11 15:40:59 deraadt Exp $ +# $OpenBSD: Makefile,v 1.17 2007/04/09 14:55:11 millert Exp $ REV= ${OSrev} @@ -45,7 +45,7 @@ cd: ${BSD_RD} -@mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/macppc/ cp bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd strip ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd - gzip -9 ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd + gzip -9n ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd mv ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd.gz ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd # On HFS, doing the following means COPIES of the files.. therefore # we skip doing so. diff --git a/distrib/mvmeppc/ramdisk/Makefile b/distrib/mvmeppc/ramdisk/Makefile index 22b70844dd0..5d6b0a06fae 100644 --- a/distrib/mvmeppc/ramdisk/Makefile +++ b/distrib/mvmeppc/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2002/06/09 05:53:54 todd Exp $ +# $OpenBSD: Makefile,v 1.7 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -42,7 +42,7 @@ cd: ${BSD_RD} -@mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/mvmeppc/ cp bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/mvmeppc/bsd.rd strip ${.OBJDIR}/cd-dir/${OSREV}/mvmeppc/bsd.rd - gzip -9 ${.OBJDIR}/cd-dir/${OSREV}/mvmeppc/bsd.rd + gzip -9n ${.OBJDIR}/cd-dir/${OSREV}/mvmeppc/bsd.rd mv ${.OBJDIR}/cd-dir/${OSREV}/mvmeppc/bsd.rd.gz ${.OBJDIR}/cd-dir/${OSREV}/mvmeppc/bsd.rd diff --git a/distrib/sparc/ramdisk/Makefile.inc b/distrib/sparc/ramdisk/Makefile.inc index 58e681d9a66..105beee4391 100644 --- a/distrib/sparc/ramdisk/Makefile.inc +++ b/distrib/sparc/ramdisk/Makefile.inc @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.15 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile.inc,v 1.16 2007/04/09 14:55:11 millert Exp $ IMAGESIZE?= 4352 GZIPCMD?= gzip -GZIPFLAGS?= -9v +GZIPFLAGS?= -9nv GZIPEXT?= .gz MAKEFLOPPY= 1 RAWLABEL= diff --git a/distrib/sparc64/bsd.rd/Makefile b/distrib/sparc64/bsd.rd/Makefile index e5b8b022fea..e7a7055edab 100644 --- a/distrib/sparc64/bsd.rd/Makefile +++ b/distrib/sparc64/bsd.rd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile,v 1.13 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -19,7 +19,7 @@ REALIMAGE!= echo /var/tmp/image.${PID} STRIP?= strip GZIPCMD?= gzip -GZIPFLAGS?= -9f +GZIPFLAGS?= -9fn INSTALLBOOT?= /usr/mdec/installboot -v MTREE= ${UTILS}/mtree.conf diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile index ac58f142ae5..5f6067986df 100644 --- a/distrib/sparc64/ramdisk/Makefile +++ b/distrib/sparc64/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile,v 1.16 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -24,7 +24,7 @@ VND_CRDEV= /dev/r${VND}c PID!= echo $$$$ GZIPCMD?= gzip -GZIPFLAGS?= -9v +GZIPFLAGS?= -9nv GZIPEXT?= .gz MOUNT_POINT?= /mnt diff --git a/distrib/sparc64/ramdiskB/Makefile b/distrib/sparc64/ramdiskB/Makefile index 4df56f49595..e06ae7644de 100644 --- a/distrib/sparc64/ramdiskB/Makefile +++ b/distrib/sparc64/ramdiskB/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile,v 1.10 2007/04/09 14:55:11 millert Exp $ TOP= ${.CURDIR}/.. @@ -24,7 +24,7 @@ VND_CRDEV= /dev/r${VND}c PID!= echo $$$$ GZIPCMD?= gzip -GZIPFLAGS?= -9v +GZIPFLAGS?= -9nv GZIPEXT?= .gz MOUNT_POINT?= /mnt diff --git a/distrib/vax/ramdisk/Makefile.inc b/distrib/vax/ramdisk/Makefile.inc index 037981c9155..e252c199eab 100644 --- a/distrib/vax/ramdisk/Makefile.inc +++ b/distrib/vax/ramdisk/Makefile.inc @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.4 2007/02/16 16:56:22 tsi Exp $ +# $OpenBSD: Makefile.inc,v 1.5 2007/04/09 14:55:11 millert Exp $ IMAGESIZE= 3072 GZIPCMD?= gzip -GZIPFLAGS?= -9v +GZIPFLAGS?= -9nv GZIPEXT?= .gz MAKEFLOPPY= 1 RAWLABEL= -- cgit v1.2.3