Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 17:48:47 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "M.C Wong" <mcwong@hotmail.com>, questions@FreeBSD.ORG
Subject:   Re: BSD/OS's installsw equivalent for FreeBSD
Message-ID:  <19980508174847.G12200@freebie.lemis.com>
In-Reply-To: <19980508041234.10437.qmail@hotmail.com>; from M.C Wong on Fri, May 08, 1998 at 02:12:33PM -0500
References:  <19980508041234.10437.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri,  8 May 1998 at 14:12:33 -0500, M.C Wong wrote:
> Hi,
>
> I have a software package which is packaged in BSD/OS package format
> as I've been told and requires installsw to install. Not knowing the
> difference/similarity between this format and the pkg_add format used
> on FreeBSD (which is pretty much tar.gz), can anyone tell me if there
> is a way of installing that BSD/OS type package onto FreeBSD ?

I believe that the BSD/OS package format consists of a description
file like this (this is from the BSD/OS 3.0 CD-ROM, file
PACKAGES/PACKAGES):

# This file lists the package definitions
# comments and blank lines are ignored.
#
# F             file number (X if not applicable)
# NAME          package name
# SIZE          space required (KB)
# T             type (normal (N) or compressed (Z) or gzipped(z)
# R             recommendation ((R)equired (D)esirable (O)ptional)
# ROOT          root of the tree for this package tar file
# SENTINEL      file to check to determine if package is already installed
# DESCRIPTION   short description of the package for display
#
# Only the DESCRIPTION field may contain spaces...
#
#F NAME SIZE T R ROOT SENTINEL DESCRIPTION
#
0 TOC
1 INSTALLSW-SCRIPTS 0 z H XXX XXX Installation Scripts...
2 CORE_VAR-3.0 200 z I /var /var/tmp/vi.recover Core /var
3 CORE_ROOT_CONFIG-3.0 2000 z I / /root/.profile Initial Config Files
4 CORE_ROOT_BINARIES-3.0 2000 z R / /stand/ls Core Root Files
5 CORE_USR-3.0 23800 z R /usr /usr/share/zoneinfo/Zulu Core /usr
6 USR-3.0 9900 z D /usr /usr/share/zoneinfo/right/Zulu Additional /usr
7 NETWORKING-3.0 10500 z R / /usr/share/misc/nslookup.help Networking
8 DEVELOPMENT-3.0 16900 z D /usr /usr/share/mk/sys.mk Developer
9 MAN-3.0 17600 z D /usr /usr/share/man/whatis.db Manual Pages
10 GROFF-3.0 2600 z D /usr /usr/share/tmac/troffrc GROFF (nroff, etc)

The data is in a file $2.tar.gz (in other words, the software for
CORE_VAR-3.0 would be in a file CORE_VAR-3.0.tar.gz.  You should be
able to extract the stuff by creating the "root" directory, cd'ing to
it and extracting the archive.

If this doesn't look right, let me know what files you have in the
installable package.

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

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



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