*BSD News Article 11013


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1150 ; Tue, 23 Feb 93 14:28:00 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!bogus.sura.net!udel!gatech!hubcap!ncrcae!ncrhub2!ncrgw2!psinntp!uuneo!sugar!karl
From: karl@NeoSoft.com (Karl Lehenbauer)
Subject: Patchkit Patches 00077 through 00082 Now Available
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Thu, 11 Feb 1993 11:55:25 GMT
Message-ID: <C2A94F.D1H@sugar.neosoft.com>
Summary: Makes entire source tree buildable.  Fixes signal 6 aborts in gcc.
Keywords: 386bsd patch patchkit signal abort tape scsi tn3270 groff rwho float
Lines: 95

I have uploaded patches 00077 through 00082 to:

	ref.tfs.com:/usr/home/neosoft/patches00077-to-00082.tar
	agate.berkeley.edu:/pub/incoming/neosoft/patches00077-to-00082.tar

After applying them it should be possible to build the entire source 
tree from scratch by cd'ing to /usr/src and doing a "make".  Instructions
are included below.

Also patch00080 will fix the signal 6 aborts that happen all over
the place, most notably in gcc while recompiling the source tree.

SCSI tapedrive patches are included from way back.  They allow
access to the no-rewind device, work with variable length
blocks (DAT tape) and write file marks (I think).

Finally, "rwho", "rwhod" and "ruptime" are included.  They let you
see who's on the different machines on your LAN, what the load is,
and a couple of other things.  They were in NET-2 but didn't make
it into 386BSD, for some reason.  (They only run if configured,
see patch00081/PATCH for details...)


patch00077 - ELIMINATE DUPLICATE STRCMP DEF WITH "options DIAGNOSTIC"

patch00078 - TN3270 COMPILATION FIX

patch00079 - GROFF COMPILATION FIX

patch00080 - MAX_DOUBLE AND HUGE_VAL ARE TOO HUGE. (SIGNAL 6 ABORTS)

patch00081 - PATCH TO ADD RWHO, RWHOD AND RUPTIME

patch00082 - SCSI TAPEDRIVE FIXES


INSTRUCTIONS FOR BUILDING SYSTEM FROM SCRATCH
=============================================

Install patches.

Build and boot new kernel.  (Don't try this with the default 0.1
kernel -- it'll die for sure.)

(We need to repoint the elvis object directory to the right place)

cd /usr/src/usr.bin/elvis
rm obj
ln -s /usr/obj/usr.bin/elvis obj

cd /usr/src
make clean

(Pick up the library changes and get them integrated before building
anything else.)

cd /usr/src/lib
make
make install
make clean

(Rebuild the compiler to pick up changes.)

cd /usr/src/usr.bin/gcc
make
make install
make clean

cd /usr/src
make
make install
make clean

Reboot your system.

Do it all over again just to be sure.  (1/2 :-)

You now have picked up all the library fixes and the like into
the executables, and have successfully rebuilt from scratch.

If you don't have enough disk space, you can cd to subdirectories
within the hierarchies and build everything underneath them in
turn.

We will post about our plans for the future of the patchkit shortly.

Thanks everyone for their patience and help.

Regards,
Karl Lehenbauer 
(karl@NeoSoft.com)
-- 
-- Email info@NeoSoft.com for info on getting interactive Internet access.
"I didn't have time to write a short letter, so I wrote a long one instead."
-- Twain