*BSD News Article 52325


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Instalation
Date: 3 Oct 1995 16:05:36 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 32
Message-ID: <44rjg0$ck8@uriah.heep.sax.de>
References: <44o1e5$qml@neptune.ethz.ch>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Patrick C. Walther <pwalther> wrote:

> I've installed the minimal FreeBSD packages (bin, man, dict, info)
> two weeks ago. I'm not very happy that I don't have the src'es. How
> can install them now?

#!/bin/sh
#
# include what you're going to extract:

sdists="sbase sbin setc sgames sgnu sinclude slib slibexec\
 slkm srelease ssbin sshare ssmailcf ssys subin susbin"

srcdir=/cdrom/dists/src

mkdir /usr/src
cd /usr/src

for dist in $sdists
do
	cat $srcdir/$dist.* | tar -xvzf -
done

if [ -d sys ]
then
	ln -s /usr/src/sys /sys
fi
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)