From owner-freebsd-ports Tue May 29 9: 0:39 2001 Delivered-To: freebsd-ports@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id D29D437B423 for ; Tue, 29 May 2001 09:00:36 -0700 (PDT) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id JAA65144; Tue, 29 May 2001 09:00:18 -0700 (PDT) (envelope-from DougB@DougBarton.net) Message-ID: <3B13C792.1C7683F7@DougBarton.net> Date: Tue, 29 May 2001 09:00:18 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: ports@FreeBSD.ORG Subject: Re: Listing slave ports References: <20010528224221.A48495@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Kris Kennaway wrote: > > Hi all, > > It would be handy to have some way of obtaining or listing all the > slave ports of a given port; for example, when a change is made to the > code of the master requiring a PORTREVISION bump (such as the security > patch I'm about to commit to ispell) the slaves should all have their > PORTREVISIONS bumped also since they'll automatically pick up the > change. Currently the only way to find these is a cumbersome find | > grep; I wonder if we can do better. The obvious solution is just to > list all of the slaves explicitly in the parent (e.g. in a comment), > but that's open to becoming stale. Any other ideas? The existing INDEX already has the requisite information, and the Makefile target could be expanded to include more of the details that you're after. This approach has the same tendency to become stale, but that could be avoided by generating the INDEX more frequently. Personally I'd like to see it generated 3 times a week. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message