cvs commit: src/usr.sbin/pkg_install/lib match.c

Doug Barton dougb at FreeBSD.org
Wed Sep 28 16:39:51 PDT 2005


John Baldwin wrote:
> On Tuesday 27 September 2005 10:49 pm, Maxim Sobolev wrote:
> 
>>IMHO this is an ugly hack. Handling some packages differently purely
>>based on their name is simply a completely wrong way to go. The proper
>>way to implement this is to add additional PLIST flag which will tell
>>pkg_* tools to ignore absent origin.
> 
> 
> Umm, there's a bit of a chicken and egg in that if you could edit the package 
> in question to put a custom @noorigin in the packing list you could already 
> just put a bogus @origin in the packing list. I think the warning should just 
> be shut up across the board anyways as not all pkg's have valid origins.

Unless a good reason can be found for the check, I agree with John here.

Doug


More information about the cvs-src mailing list