*BSD News Article 76877


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!in2.uu.net!news.gtn.com!klemm.gtn.com!usenet
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PORTS install
Date: 25 Aug 1996 13:09:44 GMT
Lines: 81
Message-ID: <4vpjao$31g@klemm.gtn.com>
References: <321C8D97.66F@alaska.net>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.7

In article <321C8D97.66F@alaska.net>,
	hmmm <hmmm@alaska.net> writes:
> ok, after beating myself to death trying to figure out how to install 
> PORTS manually, i would like to present some assistance to anyone
> else that may need to go about a PORTS install without CD's or
> FTPing.

Nice from you, but I don't understand the way you do it ...

> 1. in DOS: cd to root and create a PORTS directory
     ^^^^^^ why ? You have a FreeBSD operating system, that
     supports both ... SLIP and PPP connections via modem.
     It does the job better than Win95 and such ...
     User PPP (via tun kernel modul) supports on demand dialup
     PPP ... So I really don't understand, why you get the
     ports collection via DOS ...

> 3. use WS_FTP or some other DOS FTP program to create all
> the subdirectories in PORTS so as to mirror the subdirectories
> of the PORTS collection you want at FTP.FreeBSD.ORG 
> (or ftp.cdrom.com or whatever ...)

If I were you, I'd sup the ports collection ....
Get the ports supfile from ftp.freebsd.org:/pub/FreeBSD/sup
Modify it for your needs and then do a sup (softwate update).

Really cool stuff is the very more efficient cvsup package
from John polstra ...

> 4. download all the files in each subdirectory of the port you want,
> mirroring the exact directory/file structure in the PORTS collection.
> be sure to take notes on their correct names since DOS will change cases
> & truncate filenames.
> 5. go to the DISTFILES directory at the remote site and FTP
> the "*.tgz" source archive of the port you want and put it in
> your PORT/DISTFILE directory.

Well, if you have configured PPP over modem (on demand) then you
simply have to go to the ports directory, let's say
/usr/ports/www/squid ...

Then type make ... and it will automatically fetch the sources
from the ftp archive listed in the Makefile of the port ...

That's the more comfortable way, isn't it ...

You do exactly those things that will be avoided by
the ports collection, it hides the grabbing for sources and
patching and such completely 

Configure PPP accordingly and then simply do make and make install
in a ports directory.

> 6. reboot to FreeBSD partition.  (tip: get Midnight Commander going!)

Get tkdesk, it's better ;-))

> 7. delete /usr/ports and copy your DOS "\PORTS" to BSD "\usr\ports".

*yawn* too much work, as stated out above ;)

> 8. rename all files/directories to original names & case sensitivity.

Oh my goodness, this should move to something like *jokes*

> 9. now go into "/usr/ports/Makefile" & "/usr/ports/PORTGROUP/Makefile" 
> and comment out the ports you are not installing.
> 10. now go to /usr/ports and type "make install" and everything
> should go fine ...
> 
> hope this save someone some grief!

No just the opposite, it causes grief, because you do completely
unnecessary steps ! I hope, that everybody is able to use the ports
collection better than you ;)

-- 
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<