[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ossig] A very lengthy article on installing and securing FreeBSD



Thats the mechanism FreeBSD uses to install ports and keep em up to date
I usually run a script which does the following to update everything

make update

this uses CVS to update my OS and kernel sources
you can then run "make world" to rebuild and install the entire OS (minus the kernel)

updating the kernel is more lengthy
cd /usr/src/sys/i386/conf
config KERNELFILENAME
cd ../../compile
make depend;make; make install clean

next run mergemaster to update the /etc config files

pkg_version -v | grep "<" > upgrade

this will list all 3rd party packages which are out of date into the file called upgrade
a bit of editing and the upgrade file becomes another script which I run to upgrade everything using portupgrade

after a reboot, voila, everything is upgraded

so using these few scripts you can update the OS, kernel, config files and 3rd party apps

On Friday, September 26, 2003, at 10:16 AM, Michael Choo wrote:


Question, if something that is not included in the CD, honeyd for example,
which also require libnids and libevent, how does FreeBSD satisfy the
dependencies. Are there mirrors around for FreeBSD to auto download libnids
and libevent when you try to build the honeyd tarball ?

If the app have been ported to FreeBSD, then it will be in the ports tree. In this example,

/usr/ports/net/honeyd

The "ports" Makefile for honeyd will list the dependencies required and will be automatically built from

/usr/ports/net/libnids and /usr/ports/devel/libevent


later if you want to update it

just run "portupgrade xine"
What's the mechanism for this? Do you have to configure some mirrors site to
download the latest edition ?
Portupgrade have to be installed, that's all. All mirrors for a particular app is already defined in the Makefile.

cheers
-Mike


------------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message


------------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message