Subject: Re: CVS commit: pkgsrc/mk/plist
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: pkgsrc-changes
Date: 10/25/2007 12:57:16
Joerg Sonnenberger wrote:
> On Thu, Oct 25, 2007 at 04:46:14PM +0000, Johnny C. Lam wrote:
>> Log Message:
>> Allow packages to have no PLIST files whatsoever. If such a package also
>> does not set GENERATE_PLIST, then automatically generate a PLIST that
>> says:
>> @comment ${PKGNAME} has no files.
>
> I think this is wrong. The only allowed case for a package to not have a
> PLIST should be if it does provide a hook to create it. The risk of this
> hitting back on us is IMO much greater then a developer not checking
> what he commited.
We can let pkglint check for this condition. The "has no files" comment
is useful primarily for meta-packages. I can make it so that packages
that really, really want an intentionally empty PLIST still require one.
Regardless, removing 1000 useless files seems good.
Cheers,
-- Johnny C. Lam