Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 1996 11:35:34 +0200
From:      "Julian H. Stacey" <jhs@freebsd.org>
To:        Andreas Klemm <andreas@klemm.gtn.com>
Cc:        ports@freebsd.org
Subject:   Re: ports/print/ghostscript4 
Message-ID:  <199607310935.LAA05590@vector.jhs.no_domain>
In-Reply-To: Your message of "Tue, 30 Jul 1996 23:58:00 %2B0200." <Pine.BSI.3.95.960730235137.338A-100000@klemm.gtn.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference:
> From: Andreas Klemm <andreas@klemm.gtn.com> 
>
> On Tue, 30 Jul 1996, Julian H. Stacey wrote:
> 
> > Andreas, cc ports,
> > Bug report for current ports/print/ghostscript4:
> > 
> > Fonts are installed in /usr/local/share/ghostscript/fonts -rw------- 
> 
> Well, I have rw-r--r-- here ... So what could be causing the
> problem ... umask of root account ? 077 ?

Yes, both my root & jhs logins use csh, with an /etc/csh.cshrc with
	umask 066
whilst one might react "that's not FreeBSD default", 
(& indeed FreeBSD src/etc/csh.cshrc is merely a dummy empty file),
although development sites might run with 	umask 002 or 022
many commercial sites (& lots of non commercial too)
will not want global read on by default for normal work, 
so we can assume that last ----------r-- will often get zapped.
... So I'd like to see the Makefile set the access modes on those fonts
please, & not leave it to chance (umask of installer).

> > Thus if you install 'em you can get 'em, but if you invoke ghostview
> > from a web browser, the font access fails.
> 
> Ok, if you have 600 then it's no wonder.
> 
> > Makefile has:
> > 	GS_FONTS_STD=   ghostscript-fonts-std-4.01.tar.gz
> > 	pre-install:
> > 		(cd ${PREFIX}/share/ghostscript ; \
> > 		tar -xzf ${DISTDIR}/${GS_FONTS_STD})
> > 
> > I only have ghostscript-fonts-std-4.0.tar.gz & its -rw------- in there,
> > I'll fetch 4.0.1 next, but its big ...
> 
> -rw-r--r-- ghost/ftp     25994 28 Jun 20:35 1996 fonts/a010013l.pfb
> -rw-r--r-- ghost/ftp     26980 28 Jun 20:35 1996 fonts/a010015l.pfb
> -rw-r--r-- ghost/ftp     26882 28 Jun 20:35 1996 fonts/a010033l.pfb
> ...

Yes, peering in the guts of 4.01 tar binary image:
	fonts/a010013l.pfb	100644   1132 

> > PS WIBNI: ideally for those of us with slow net access,
> > ports/ stuff should use for instance 4.0 & then 4.0 + 4.0-4.1.diff,
> > to reduce upgrade fetch traffic,
> > but I don't know in the specific case of ghostscript
> > if a diff was available (after all I'm not maintainer :-)
> 
> It depends on the package ... Many diffs may be larger than
> fetching the new release.

These files are identical, zero difference !  here's my log:
 cmp ghostscript-fonts-other-3.53.tar.gz ghostscript-fonts-other-4.0.tar.gz 
 cmp ghostscript-fonts-other-4.0.tar.gz ghostscript-fonts-other-4.01.tar.gz
 cmp ghostscript-fonts-std-4.0.tar.gz ghostscript-fonts-std-4.01.tar.gz
 rm ghostscript-fonts-other-3.53.tar.gz ghostscript-fonts-other-4.0.tar.gz
 ln -s ghostscript-fonts-other-4.01.tar.gz ghostscript-fonts-other-4.0.tar.gz
 ln -s ghostscript-fonts-other-4.01.tar.gz ghostscript-fonts-other-3.53.tar.gz
 rm ghostscript-fonts-std-4.0.tar.gz
 ln -s ghostscript-fonts-std-4.01.tar.gz ghostscript-fonts-std-4.0.tar.gz

All that wasted time & money fetching identical files is 
.. shall we say ..  rather annoying ;-)  If you can change the Makefile,
we can save others time & money :-)

> > However if ports maintainers could use diffs where available,
> > rather than pointing at new mega dists, it could help,
> > (no complaint, just a WIBNI (Wouldn't It Be Nice If ...) :-)
> 
> I prefer clean packages. Should be done only if the diffs are 
> definitively smaller than fetching the new release.

They Are, Identical in fact :-)

Julian
--
Julian H. Stacey	jhs@freebsd.org  	http://www.freebsd.org/~jhs/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607310935.LAA05590>