[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS: cvs.openbsd.org: src
On Mon, May 21, 2001 at 06:15:12PM +0100, Brian Somers wrote:
> > CVSROOT: /cvs
> > Module name: src
> > Changes by: firstname.lastname@example.org 2001/05/21 10:47:51
> > Modified files:
> > usr.sbin/pkg_install: Makefile
> > Added files:
> > usr.sbin/pkg_install/version: Makefile pkg_version.1
> > pkg_version.pl
> > Log message:
> > Add pkg_version from FreeBSD (modulo the PORT_REVISION stuff)
> I'd like to add the following to /etc/weekly. Does anyone have any
> objections ? The down-side is that people who install the ports
> collection but don't update their system very frequently suffer the
> wasted processing time. An alternative might be to maintain a touch
> file (/var/db/pkg_version_check ?) and compare it's time against
> /usr/ports/INDEX. If the touch file is older (or doesn't exist),
> touch it and do the check.
> Comments ?
I have a large objection.
What you're doing is completely wrong.
You didn't even check with me before importing this script.
Well, FreeBSD's pkg_version does not work correctly for us. It does not
know how our versioning schemes work. And it duplicates code that's already
in the new pkg tool.