Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 11:10:05 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Igor Sobrado <sobrado@string1.ciencias.uniovi.es>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, arch@FreeBSD.ORG
Subject:   Re: software in /usr/contrib
Message-ID:  <20020706111005.A44326@troutmask.apl.washington.edu>
In-Reply-To: <200207061709.g66H9UE00832@string1.ciencias.uniovi.es>; from sobrado@string1.ciencias.uniovi.es on Sat, Jul 06, 2002 at 07:09:30PM %2B0200
References:  <des@ofug.org> <200207061709.g66H9UE00832@string1.ciencias.uniovi.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 06, 2002 at 07:09:30PM +0200, Igor Sobrado wrote:
> > Igor Sobrado <sobrado@string1.ciencias.uniovi.es> writes:
> 
> The problem is that some externally maintained software is provided
> in /usr/bin (a directory that is required for all users and that cannot
> be removed from the PATH environment variable).  I am speaking about
> Perl, and some compression tools, mainly.  But /usr/contrib does not
> provide only perl, gzip, bzip2, and [un]zip, it provides too expect,
> Tcl/Tk and other software too when available.  All those packages are
> in a strong evolution (Unix has some tools that are not in a strong
> evolution at present, but only changed when bug fixing.) and should
> be provided in another directory.

perl has been removed from the base system.  It will no longer
appear in /usr/bin unless you put it there.  Tcl was removed
a long time ago and tk was never part of FreeBSD.  gzip and
bzip2 are in /usr/bin, but the source code that produces those
binaries is located in src/contrib.  In fact (almost) all externally
developed software included in the base system is found under
src/contrib because of maintenance concerns. 

If you use the ports collection, you can put the install
packages wherever you want by setting PREFIX during the
make stage.

root[214] cd /usr/ports/devel/f77flow
root[215] setenv PREFIX /usr/contrib
root[216] make
[build output deleted]
root[217] make install
===>  Installing for f77flow-0.12
===>   Generating temporary packing list
===>   Compressing manual pages for f77flow-0.12
===>   Registering installation for f77flow-0.12
root[218] ls /usr/contrib
bin/            include/        lib/            libexec/        sbin/
etc/            info/           libdata/        man/            share/
root[219] ls /usr/contrib/bin
flow*

You're trying to solve a problem that doesn't exist or already
has a solution.

-- 
Steve

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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