Subject: Re: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-changes
Date: 09/08/2007 03:19:21
On Sat, Sep 08, 2007 at 03:09:52AM +0200, Roland Illig wrote:
> Is there a case where printing the warning is actually useful? Normal users
> shouldn't run pkg_add or pkg_delete anyway.
No, the warning is not useful. That is why I complain about this commit
:-)
It should either be dropped completely (fine with me) or replacement
with a stat in the pkgdb, assuming that it will work if the user has
write access to that. But as I don't think this warning provides any
value, I don't want to work on that.
>> and I disagree with creating different
>> packages for bootstrap and direct installation.
>
> That's a valid complaint. Having the following lines in
> pkgtools/pkg_install/Makefile should be a better solution:
>
> .if ${UNPRIVILEGED:M[Yy][Ee][Ss]} != ""
> CPPFLAGS+= -DUNPRIVILEGED
> .endif
+ revert of the change for bootstrap, yes.
Joerg