From owner-freebsd-ports Thu Apr 22 8:37:12 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id D407415355 for ; Thu, 22 Apr 1999 08:37:08 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id KAA26777; Thu, 22 Apr 1999 10:34:37 -0500 (CDT) Date: Thu, 22 Apr 1999 10:34:37 -0500 (CDT) From: Steve Price To: freebsd-ports@freebsd.org Cc: bmcgover@cisco.com Subject: Re: Issue with 3.1 making package Index... (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dang! It would help if I could spell ports right. :/ ---------- Forwarded message ---------- Date: Thu, 22 Apr 1999 10:30:52 -0500 (CDT) From: Steve Price To: Brian McGovern Cc: portss@FreeBSD.ORG Subject: Re: Issue with 3.1 making package Index... [redirected to -ports] On Thu, 22 Apr 1999, Brian McGovern wrote: # Up until using 3.1, when I made a custom distribution, I also made packages # from the ports tree with "make package". I was also able to generate a somewhat # messy INDEX file for it with "make describe". A little cleanup, and I was # all set. # # Unforutnately, it seems that 3.1 softened the "make describe" target, so that # it would list the path to the dependancy, but not the dependancy itself. # Therefore, when installing, the packages that depended on the target would # complain it wasn't installed. To wit: [examples elided] # Now it appears with the full path. # # So, the questions are) 1.) Am I doing something wrong to generate the # index. 2.) Is the ports collection with 3.1 broken? 3.) If I cvsup to something # newer, will it fix it, and more importantly, will it not break anyting else? You are stumbling on a change made to speedup the generation of the INDEX file. What 'make describe' produces is scrubbed by ports/Tools/make_index before it makes it into the INDEX file. I think if you built a full INDEX (which is alot faster now :) with 'make index', built your packages, and then did something like this: bsd[/usr/ports]$ cat > myindex.pl #!/usr/bin/perl $pkgdir='/usr/ports/packages/All'; while (<>) { @f = split('\|'); print if (-f "$pkgdir/$f[0].tgz"); } ^D bsd[/usr/ports]$ perl myindex.pl INDEX > MYINDEX MYINDEX would contain only the INDEX lines for the packages you made. I don't think this directly answered any of your questions, but hopefully it gives you an example of a pretty simple workaround. :) -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message