From owner-freebsd-ports Tue Nov 21 22:46:58 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id C33E737B4D7 for ; Tue, 21 Nov 2000 22:46:55 -0800 (PST) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id WAA16455; Tue, 21 Nov 2000 22:46:53 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.1/8.11.1) id eAM6kpD21104; Tue, 21 Nov 2000 22:46:51 -0800 (PST) (envelope-from bmah) Message-Id: <200011220646.eAM6kpD21104@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Jason R Mastaler Cc: freebsd-ports@FreeBSD.ORG Subject: Re: problem manipulating ports programatically In-Reply-To: References: <00112117191502.01897@nightshade> <200011220342.eAM3gop19783@bmah-freebsd-0.cisco.com> Comments: In-reply-to Jason R Mastaler message dated "21 Nov 2000 21:38:31 -0700." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-778465320P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 21 Nov 2000 22:46:51 -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_-778465320P Content-Type: text/plain; charset=us-ascii If memory serves me right, Jason R Mastaler wrote: > "Bruce A. Mah" writes: > > > Ummm. pkg_version(1) was designed to do the first part. > > "Ummm."? Because it sounded to me like you were re-inventing the wheel, a wheel that's been in the tree since about 3.3-RELEASE. Sorry if that's not quite true. > This is about as useful as my `pkg_info -aI | cut -d "-" -f 1' for > what I wanted to do. Well, sort of. Consider what happens if you have multiple versions of a particular port installed. The classic examples I always use are Tcl and Tk, but ssh and some of the docbook ports work too. Compare this with 'pkg_version -v'. > > sobomax devised a way to do just this, which is almost in place now > > (we need a commit to bsd.port.mk). > > Great, can't wait. Me neither; I've been using a hacked up copy of bsd.port.mk for about two months now. :-) At least we got all the other stuff committed to 4-STABLE, so that people running 4.2-RELEASE but have a cvsup-ed ports tree will have the right things happen automatically. Cheers, Bruce. --==_Exmh_-778465320P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6G2vb2MoxcVugUsMRAre4AJ4uPXmfYtlYPCv4N+kvKU4CPrRLOwCgiLys 799fDAT8jNl5oFDkPkSo010= =dU7R -----END PGP SIGNATURE----- --==_Exmh_-778465320P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message