From owner-freebsd-bugs Wed Jan 16 4:40: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 304F837B41C for ; Wed, 16 Jan 2002 04:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0GCe3M83453; Wed, 16 Jan 2002 04:40:03 -0800 (PST) (envelope-from gnats) Date: Wed, 16 Jan 2002 04:40:03 -0800 (PST) Message-Id: <200201161240.g0GCe3M83453@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: misc/33906: tic program is missing from the base FreeBSD installation Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/33906; it has been noted by GNATS. From: Ruslan Ermilov To: "Alexey V. Neyman" Cc: bug-followup@FreeBSD.org Subject: Re: misc/33906: tic program is missing from the base FreeBSD installation Date: Wed, 16 Jan 2002 14:37:33 +0200 On Wed, Jan 16, 2002 at 03:17:44PM +0300, Alexey V. Neyman wrote: > On 16 January 2002 14:00, you wrote: > > The following problems were fixed: > > Thank you, I'll try to remember it next time. It's my first attempt at > making a port. > > > Fixed --datadir to match the actual location of terminfo database. > > (See configure output before and after.) > > I intentionally specified /usr/share/misc to get terminfo files in > /usr/share/misc/terminfo. terminfo(5) references it as a home for > compiled terminfo entries and it is how our base libncurses is > configured; this is used only to substitute placeholders in manpages > (tic(8) working with 'default' terminfo location (without -o option) > works with /usr/share/misc). There's no need to override datadir to > place it in ${PREFIX}/share/terminfo - it's default location for it. > I just forgot to remove @dirrm of the ${PREFIX}/share/terminfo. > I was confused by this. > Try running tic(8) without -o and see its output in > /usr/share/misc/terminfo. We cannot change it in the port as the port > makes use of base-system library and such default location is in its > config. > Correct. > And, there's no need to make the terminfo directory at all - tic(8) > does it itself if it is run with high enough privileges. As there's no > need to remove it on uninstall - we haven't installed anything > there, all its contents are put there by user. > Good. > Considering all above, I dare suggest inclusion of > /usr/share/misc/terminfo in BSD.usr.mtree :) At least our base-system > libncurses uses this directory. > I'm not sure about this one. Nothing in standard distribution seems to use this directory, except compiling its name into libncurses. An alternate solution would be to define TERMINFO and TERMINFO_DIRS in src/lib/libncurses/ncurses_cfg.h to point to /usr/local, but that would be bogus too. I think that the good compromise would be to leave it out of BSD.usr.dist scope -- as you say, tic(8) will create it if necessary. > By the way, what is the principle of ordering items in pkg-plist? I > used alphabetical, but you changed it... > By target directory first (bin, sbin), then by name within directory, then links. The same order as in Makefile. And nope, your /sbin entries were not alphabetically sorted. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message