From 948edb1e0e44dca68753fea6e38faf2a16a3f102 Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 16 Jun 1999 17:28:24 +0000 Subject: [PATCH] papersize-1.0 had a bug: when setpapersize was run, magicfilter's filter scripts (.../libexec/magicfilter/*-filter) would as a side effect have their executable bit set. Fix that, bump the papersize revisions to 1.0.1, and update other packages' DEPENDS lines to compensate. --- print/a2ps/Makefile | 4 ++-- print/enscript/Makefile | 4 ++-- print/magicfilter/Makefile | 4 ++-- print/papersize/Makefile | 4 ++-- print/papersize/files/setpapersize | 3 ++- print/psutils/Makefile | 4 ++-- 6 files changed, 12 insertions(+), 11 deletions(-) diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile index 3b9eaa63fbb0..388d9bc65c08 100644 --- a/print/a2ps/Makefile +++ b/print/a2ps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 1999/02/20 22:48:38 hubertf Exp $ +# $NetBSD: Makefile,v 1.22 1999/06/16 17:28:24 cgd Exp $ # FreeBSD Id: Makefile,v 1.12 1998/02/15 21:24:42 steve Exp # @@ -9,7 +9,7 @@ MASTER_SITES= http://www-inf.enst.fr/~demaille/ftp/a2ps/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www-inf.enst.fr/~demaille/a2ps/ -DEPENDS= papersize-1.0:../../print/papersize +DEPENDS= papersize-1.0.1:../../print/papersize STRIP= GNU_CONFIGURE= yes diff --git a/print/enscript/Makefile b/print/enscript/Makefile index 6d2950b07929..f1006bc7f15a 100644 --- a/print/enscript/Makefile +++ b/print/enscript/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 1999/05/20 20:09:51 tron Exp $ +# $NetBSD: Makefile,v 1.15 1999/06/16 17:28:24 cgd Exp $ # FreeBSD Id: Makefile,v 1.4 1997/11/27 08:10:30 tg Exp # @@ -9,7 +9,7 @@ MASTER_SITES= ${MASTER_SITE_GNU:=enscript/} MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.ngs.fi/mtr/genscript/ -DEPENDS+= papersize-1.0:../../print/papersize +DEPENDS+= papersize-1.0.1:../../print/papersize GNU_CONFIGURE= yes diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile index 74db934ff682..883834512d9b 100644 --- a/print/magicfilter/Makefile +++ b/print/magicfilter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1999/04/15 20:39:47 tron Exp $ +# $NetBSD: Makefile,v 1.14 1999/06/16 17:28:24 cgd Exp $ DISTNAME= magicfilter-1.2 CATEGORIES= print @@ -10,7 +10,7 @@ DEPENDS+= a2ps-4.10.3:../../print/a2ps \ ghostscript-5.50:../../print/ghostscript5 \ netpbm-19940301:../../graphics/netpbm \ teTeX-0.4p8:../../print/teTeX \ - papersize-1.0:../../print/papersize + papersize-1.0.1:../../print/papersize USE_GMAKE= yes GNU_CONFIGURE= yes diff --git a/print/papersize/Makefile b/print/papersize/Makefile index 64b67e97327c..fee355d42aef 100644 --- a/print/papersize/Makefile +++ b/print/papersize/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 1998/11/09 17:55:22 agc Exp $ +# $NetBSD: Makefile,v 1.2 1999/06/16 17:28:25 cgd Exp $ # -DISTNAME= papersize-1.0 +DISTNAME= papersize-1.0.1 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty diff --git a/print/papersize/files/setpapersize b/print/papersize/files/setpapersize index 94ecd1df9bf2..533def66e300 100644 --- a/print/papersize/files/setpapersize +++ b/print/papersize/files/setpapersize @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: setpapersize,v 1.1.1.1 1998/11/09 17:55:22 agc Exp $ +# $NetBSD: setpapersize,v 1.2 1999/06/16 17:28:25 cgd Exp $ # # Small shell script to set the default papersize for packages # @@ -75,6 +75,7 @@ while [ $# -gt 0 ]; do for f in $magicdir/*-filter; do mv $f $f.old sed -e 's|-sPAPERSIZE=[a-zA-Z0-9_]*|-sPAPERSIZE='$lowpaper'|' $f.old > $f && rm $f.old + chmod 555 $f done echo "Set $1 package default paper size to $papersize in $magicdir/*-filter" fi diff --git a/print/psutils/Makefile b/print/psutils/Makefile index c4ceea2f76ba..c72fe35f36f1 100644 --- a/print/psutils/Makefile +++ b/print/psutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1999/02/20 22:48:42 hubertf Exp $ +# $NetBSD: Makefile,v 1.14 1999/06/16 17:28:25 cgd Exp $ # FreeBSD Id: Makefile,v 1.15 1998/01/08 18:52:13 fenner Exp # @@ -9,7 +9,7 @@ MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ MAINTAINER= packages@netbsd.org -DEPENDS+= papersize-1.0:../../print/papersize +DEPENDS+= papersize-1.0.1:../../print/papersize WRKSRC= ${WRKDIR}/psutils USE_PERL5= yes