Date: Tue, 21 Nov 2000 19:42:50 -0800 From: "Bruce A. Mah" <bmah@FreeBSD.ORG> To: "Jason R. Mastaler" <jason@mastaler.com> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: problem manipulating ports programatically Message-ID: <200011220342.eAM3gop19783@bmah-freebsd-0.cisco.com> In-Reply-To: <00112117191502.01897@nightshade> References: <00112117191502.01897@nightshade>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011220342.eAM3gop19783>