Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 04:40:03 -0800 (PST)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/33906: tic program is missing from the base FreeBSD installation
Message-ID:  <200201161240.g0GCe3M83453@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/33906; it has been noted by GNATS.

From: Ruslan Ermilov <ru@FreeBSD.org>
To: "Alexey V. Neyman" <alex.neyman@auriga.ru>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201161240.g0GCe3M83453>