From owner-freebsd-ports Tue Nov 21 19:42:54 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by hub.freebsd.org (Postfix) with ESMTP id 2212037B4CF for ; Tue, 21 Nov 2000 19:42:51 -0800 (PST) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-1.cisco.com (8.9.3/8.9.1) with ESMTP id TAA24278; Tue, 21 Nov 2000 19:42:55 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.1/8.11.1) id eAM3gop19783; Tue, 21 Nov 2000 19:42:50 -0800 (PST) (envelope-from bmah) Message-Id: <200011220342.eAM3gop19783@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: <00112117191502.01897@nightshade> References: <00112117191502.01897@nightshade> Comments: In-reply-to "Jason R. Mastaler" message dated "Tue, 21 Nov 2000 17:19:15 -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_-1374081712P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 21 Nov 2000 19:42:50 -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_Exmh_-1374081712P Content-Type: text/plain; charset=us-ascii If memory serves me right, "Jason R. Mastaler" wrote: > Suppose I want to write a simple program to look at what ports I > currently have installed, and then re-make and re-install all of them. Ummm. pkg_version(1) was designed to do the first part. You can look through the email archives for the freebsd-ports list to see a number of email messages (frequently from me) as to why the second part is really really hard (one-word summary: dependencies). > This task would be much easier if: > > 1) I could somehow tell where an installed port came from: > (mutt = "mail/mutt", xv = "graphics/xv", etc..) sobomax devised a way to do just this, which is almost in place now (we need a commit to bsd.port.mk). Even with this, automatic upgrading is still difficult. Bruce. --==_Exmh_-1374081712P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6G0C62MoxcVugUsMRAkuDAJ91VjBQmERZ3nhOpb0Lq8NgJGHRpwCg7RHW M0suj99/SeIpZ7UOju6k/Gg= =yjD0 -----END PGP SIGNATURE----- --==_Exmh_-1374081712P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message