Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 1999 10:34:37 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-ports@freebsd.org
Cc:        bmcgover@cisco.com
Subject:   Re: Issue with 3.1 making package Index... (fwd)
Message-ID:  <Pine.OSF.4.10.9904221032230.739-100000@fly.HiWAAY.net>

next in thread | raw e-mail | index | archive | help
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 <sprice@hiwaay.net>
To: Brian McGovern <bmcgover@cisco.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9904221032230.739-100000>