cd $DESTDIR
tar cJf /tmp/src.txz usr
I would download that entire ftp directory and then use the install.sh script that is included to extract things into a temporary folder (the $DESTDIR environment variable used by the script), which gives you everything extracted into $DESTDIR/usr/src/...
Then do the following to create the new src.txz:
Code:cd $DESTDIR tar cJf /tmp/src.txz usr
I would download that entire ftp directory and then use the install.sh script that is included to extract things into a temporary folder (the $DESTDIR environment variable used by the script), which gives you everything extracted into $DESTDIR/usr/src/...
Then do the following to create the new src.txz:
Code:cd $DESTDIR tar cJf /tmp/src.txz usr
mkdir /tmp/base
cd /tmp/base
wget 'ftp://ftp.fi.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/base/*'
cat base.?? | xz -c -z > base.txz