User:Fostermarkd/FreeBSD
From ConShell
This page is all about FreeBSD and is maintained by --User:Fostermarkd
Contents |
Systems
My systems are running these [versions]:
- FreeBSD 7.2-RELEASE on free01, a VMware-server VM
- FreeBSD 7.-STABLE on frau, a VMware-server VM
- FreeBSD 7.0-RELEASE on sonar, a Sun E220R (Sparc64) server
- FreeBSD 7.1-RELEASE on dogma, a Dell Optiplex 280 server
Involvement & Advocacy
I have been using FreeBSD since 2000 and am an active ports maintainer. This has by and large been on the server side of things.
From 2004-2006 I helped run the Seattle BSD Users Group and I continue to maintain the website.
Ports I maintain
As of late, I have been taking on more and more port maintainenance. I maintain the following ports (software packages):
- audio/cd2mp3
- audio/firefly
- audio/mt-daapd
- dns/dnswalk
- dns/dnstop
- dns/scavenge
- net/iscsi-target
- security/xca
Ports under consideration or working on but not submitted/committed
These ports I am considering for possible maintainership:
See all ports I maintain and the error logs for the same. Also handy is the portscout report showing whether any ports I maintain are out-of-date. See my Applications page for other apps I tend to install.
Update process
This is how I update my systems.
- Run pkg_cutleaves - identify and remove any extraneous ports
- Run /home/mdf/myupdate - (see below for script) this brings ports and src trees up to date. It also will build kernel and world if necessary.
- If myupdate triggered build world... run cd /usr/src; make installkernel; reboot ... cd /usr/src; make installworld; mergemaster; reboot
- Now update ports... portmaster -ia
myupdate
This is a script I wrote to accelerate the update process.
# $Id: myupdate,v 1.1 2007/09/08 14:33:10 mdf Exp $
# This script is meant to be run once a day and if necessary, make world
# To do so I usually just slap an entry into the system crontab like this:
#minute hour mday month wday who command
#30 2 * * * root /home/mdf/myupdate >> /var/log/myupdate.log 2>&1
# This is where we run our make buildworld and all that
build() {
echo "Inside build()"
cd /usr/src
echo ""
echo "!!! Running make buildkernel at `date`"
echo ""
time make buildkernel > make-buildkernel.log 2>&1
echo ""
echo "!!! Running make buildworld at `date`"
echo ""
time make buildworld > make-buildworld.log 2>&1
return 0
}
if [ -f /tmp/myupdate.lock ]; then
echo "Found /tmp/myupdate.lock - aborting"
echo "If there really isn't another myupdate running, you can probably"
echo "just remove the lock file and start again."
exit 1; #errorful
fi
touch /tmp/myupdate.lock
mv -f /usr/src/UPDATING /usr/src/UPDATING.last
# Pull down the latest changes
csup /etc/supfile
/usr/bin/cmp -s /usr/src/UPDATING /usr/src/UPDATING.last
#If the files are the same, $? will be 0, otherwise 1
CHANGED=$?
#echo "CHANGED is $CHANGED"
if [ $CHANGED != 0 ]; then
echo "UPDATING has changed, by god!"
build 1
fi
rm -f /tmp/myupdate.lock
See Also
- FreeBSD main ConShell page
- FreeBSD Port Tips has a few port maintenance helpful hints
- CFengine shows how to setup a basic CFengine server & client on FreeBSD.
- Cricket - a quick, basic guide to getting cricket up and running on FreeBSD.
- iSCSI details the net/iscsi-target port implementation details, performance benchmarks etc.
- WPAD shows how to setup Web Proxy Auto Discovery using a FreeBSD server.
- Kernel Configs links to different kernel configuration files I maintain
- LinuxBSDPackageManagementTips
- FreeBSD Homepage
- Fresh Ports
- FreeBSD setup article
- Introduction to IPFilter for FreeBSD