Subject: Re: pkg/28555
To: None <pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: None <jmmv@netbsd.org>
List: pkgsrc-bugs
Date: 01/01/2005 17:53:29
Synopsis: [RE-IMPORT] DotGNU is outdated

State-Changed-From-To: open->feedback
State-Changed-By: jmmv@netbsd.org
State-Changed-When: Sat, 01 Jan 2005 17:53:28 +0000
State-Changed-Why:
I've been looking at this but found problems.

The patch to pnet's PLIST is incorrect, and I don't know how could it work
for you given the automatic manual page handling.  The problem is this:
the package installs foo.1.gz and later creates a symlink pointing to it
called bar.1.gz.  When the manual pages are decompressed, foo.1.gz becomes
foo.1, so the symlink is broken.  And bar.1.gz is not renamed to bar.1,
so the plist ends up containing references to non-existent files.

The second problem is that the usage of LOWER_OPSYS is incorrect.  That
file (README.linux) will be installed unconditionally.  Doing this means
that the PLIST will be broken for all OSes except Linux.

At last, the patches are not very clean (just minor details).  They contain
some chunks doing nothing, like replacing a complete $NetBSD: ...$ tag with
an empty $NetBSD$ one.

Please find a solution for the above problems.  A simple one could be to
patch all necessary Makefiles to do copies of the manpages instead of
symlinks, but I'm lazy.