From owner-freebsd-questions Fri May 8 01:19:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA13720 for freebsd-questions-outgoing; Fri, 8 May 1998 01:19:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA13713 for ; Fri, 8 May 1998 01:19:05 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA18323; Fri, 8 May 1998 17:48:47 +0930 (CST) (envelope-from grog) Message-ID: <19980508174847.G12200@freebie.lemis.com> Date: Fri, 8 May 1998 17:48:47 +0930 From: Greg Lehey To: "M.C Wong" , questions@FreeBSD.ORG Subject: Re: BSD/OS's installsw equivalent for FreeBSD References: <19980508041234.10437.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19980508041234.10437.qmail@hotmail.com>; from M.C Wong on Fri, May 08, 1998 at 02:12:33PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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