From owner-freebsd-stable Tue Apr 24 1:48:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id 4CC8037B424 for ; Tue, 24 Apr 2001 01:48:35 -0700 (PDT) (envelope-from sean@mailhost.tgd.net) Received: (qmail 23917 invoked by uid 1001); 24 Apr 2001 08:48:33 -0000 Date: Tue, 24 Apr 2001 01:48:33 -0700 From: Sean Chittenden To: Calvin NG Cc: Sean Chittenden , Jeff Kletsky , freebsd-stable@FreeBSD.ORG, bmah@FreeBSD.ORG Subject: Re: FWIW: pkg_alert development (was: Re: pkg/port dependency tool (enclosed)) Message-ID: <20010424014833.B19530@rand.tgd.net> References: <20010423231827.A19530@rand.tgd.net> <20010424142340.E5216@brel.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hQiwHBbRI9kgIhsi" Content-Disposition: inline In-Reply-To: <20010424142340.E5216@brel.com>; from "calvinng@brel.com" on Tue, Apr 24, 2001 at = 02:23:40PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Man I'm glad I only sunk in a few minutes worth of work. Thanks! I was looking for something with the word ports in it, but it didn't dawn on me to look for something with pkg. At anyrate, thanks again. -sc On Tue, Apr 24, 2001 at 02:23:40PM +0800, Calvin NG wrote: > Delivered-To: sean-freebsd-stable@chittenden.org > Date: Tue, 24 Apr 2001 14:23:40 +0800 > From: Calvin NG > To: Sean Chittenden > Cc: Jeff Kletsky , > freebsd-stable@FreeBSD.ORG, bmah@FreeBSD.ORG > Subject: Re: FWIW: pkg_alert development (was: Re: pkg/port dependency to= ol (enclosed)) > User-Agent: Mutt/1.2.5i > In-Reply-To: <20010423231827.A19530@rand.tgd.net>; from sean-freebsd-stab= le@chittenden.org on Mon, Apr 23, 2001 at 11:18:27PM -0700 >=20 > Greetings, >=20 > Doesn't pkg_version -v -L=3D does a similar job??? > And its already in the system. >=20 > I think something that works out the dependencies, such=20 > as when say png needs updating, what happens to say gd, webalizer,gtk,.= ..etc >=20 > Regards, > /calvin >=20 > lines with :> are quotes from Sean Chittenden's email > :> Woa! This has been quite the day for ports-esque development! > :> Right now I'm working on a related, but different script, pkg_alert, > :> that's intended to run immediately after a cvsup of the ports tree > :> (idealy in /etc/weekly.local) that'll run through the list of > :> currently installed packages and figure out what ports can be upgraded > :> to a newer version. Here's a snippet of the output on my box: > :>=20 > :> imake-4.0.1 can be updated to imake-4.0.3 (imake) > :> xemacs-comm-packages-2.3 can be updated to xemacs-comm-packages-2.4 (x= emacs-comm-packages) > :> xemacs-libs-packages-1.3 can be updated to xemacs-libs-packages-2.3 (x= emacs-libs-packages) > :> xemacs-oa-packages-1.3 can be updated to xemacs-oa-packages-1.4 (xemac= s-oa-packages) > :> xemacs-prog-packages-2.4 can be updated to xemacs-prog-packages-2.5 (x= emacs-prog-packages) > :> xemacs-packages-1.8 can be updated to xemacs-packages-1.9 (xemacs-pack= ages) > :> bash-2.04 can be updated to bash-2.05 (bash) > :> freetype2-2.0.1 can be updated to freetype2-2.0.2 (freetype2) > :> mysql-server-3.23.35 can be updated to mysql-server-3.23.37 (${MASTERP= ORTNAME}) > :>=20 > :>=20 > :> There are a few things that I'm still wrestling with/working > :> on, most notably: > :>=20 > :> * How do I handle installed packages that don't have an '@comment > :> ORIGIN:' tag? Is there a legacy way of figuring out what directory > :> (in ports) a pkg belongs in? > :>=20 > :> * How do I handle ports that don't have the PORTNAME and PORTVERSION > :> variable? Right now I'm just spitting out warning messages that > :> hopefully will inspire me to send patches to the maintainers of ports > :>=20 > :> * Handling of version numbers that have letters in them: 7.7.6k and 7.= 7.6kk > :>=20 > :> * shell/Makefile variables Traversal of shell/Makefile variables (see= above's mysql-server example) > :>=20 > :> Anyway, this is an FYI,FWIW. If someone wants to help/has > :> suggestions I can open up cvs access and a cvsupd server. > :>=20 > :> CVSweb is up and available at: > :>=20 > :> http://sean.chittenden.org/cgi-bin/cvsweb.cgi/utils/sbin/pkg_alert > :>=20 > :> -sc > :>=20 > :> =09 > :>=20 > :> On Mon, Apr 23, 2001 at 08:35:16AM -0700, Jeff Kletsky wrote: > :> > I would be happy to contribute to the enhancement of the pkg/port to= ols > :> > in a more targeted way if the appropriate lead would let me know. > :> >=20 > :> > Jeff > :> >=20 > :> > P.S. This type of dependency checking might also allow the "make > :> > clean" process a bit smarter and faster (the other option there woul= d be > :> > to specify a flag that says not to follow dependencies on a recursive > :> > "clean", especially in /usr/ports) > :>=20 > :> --=20 > :> Sean Chittenden >=20 --=20 Sean Chittenden --hQiwHBbRI9kgIhsi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iEYEARECAAYFAjrlPeEACgkQn09c7x7d+q3WRgCdF5HY5uKqgtGWEeJJ3DGfNqgI zA0An1/xYCzvrGN+0tFMsd9Rivr37jOS =NiFz -----END PGP SIGNATURE----- --hQiwHBbRI9kgIhsi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message