From owner-freebsd-ports Sun Sep 8 16:26:27 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30B7F37B406 for ; Sun, 8 Sep 2002 16:26:19 -0700 (PDT) Received: from gilmore.nas.nasa.gov (gilmore.nas.nasa.gov [129.99.33.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C3C43E42 for ; Sun, 8 Sep 2002 16:26:18 -0700 (PDT) (envelope-from tweten@nas.nasa.gov) Received: from gilmore.nas.nasa.gov (IDENT:rPw4wy6QtMfVomm7jAdjn49/9r8m51kK@localhost.nas.nasa.gov [127.0.0.1]) by gilmore.nas.nasa.gov (8.12.6/8.12.6) with ESMTP id g88NQGW2000446 for ; Sun, 8 Sep 2002 16:26:17 -0700 (PDT) (envelope-from tweten@nas.nasa.gov) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Reply-To: tweten@nas.nasa.gov To: freebsd-ports@freebsd.org Subject: Portupgrade Question From: Dave Tweten Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 08 Sep 2002 16:26:16 -0700 Message-ID: <445.1031527576@gilmore.nas.nasa.gov> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Portupgrade is a vast improvement over the gawk script I used to use to parse ports Makefiles to determine the current package name for each port and to conclude which ports in /var/db/pkg needed to be rebuilt. It was an ugly process, though mostly effective. Portupgrade is a fine replacement. Life would be beautiful, except for two problems. There are still interactive makefiles (such as the Ghostscripts), making it impossible to update ports automatically. I don't anticipate any help there soon. But I am hoping for some help cleaning up secondary ports. I just did an "ls /var/db/pkg | wc -l." It returned 157. My file of desired ports, that gets cat'ed as the operand list for portupgrade only wc's 33. The difference may largely be due to adding Gnumeric to the list of desired ports. Anyway, I'm looking for a way to use portupgrade and my list of desired ports to find secondary ports that aren't needed and delete them. So far, the man pages and my imagination haven't been up to the task. Is there a more fertile imagination out there with an answer? Any insight will be much appreciated. -- M/S 258-5 | 1024-bit PGP fingerprint: | tweten@nas.nasa.gov NASA Ames Research Center | 41 B0 89 0A 8F 94 6C 59 | (650) 604-4416 Moffett Field, CA 94035-1000 | 7C 80 10 20 25 C7 2F E6 | FAX: (650) 604-4377 We each earn what freedom of speech we defend for those who most offend us. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message