<0 if release branch, otherwise 1>xx
-# The result will be something like
-#
-# TYPE="FreeBSD"
-# REVISION="8.0"
-# BRANCH="RC" { "CURRENT", "STABLE", "RELEASE" }
-# RELDATE="800028"
-#
-eval $(awk '/^(TYPE|REVISION|BRANCH)=/' ${SRC}/sys/conf/newvers.sh)
-RELDATE=$(awk '/^[ \t]*#[ \t]*define[ \t][ \t]*__FreeBSD_version[ \t]/ {
- print $3
- }' ${SRC}/sys/sys/param.h)
-
-echo "=> Logging to stage_1.${PROFILE}.log"
-do_steps 2>&1 | tee "stage_1.${PROFILE}.log"
-
-# vim: tabstop=2:expandtab:shiftwidth=2:
-# EOF $RCSfile: stage_1.sh,v $
Property changes on: head/en_US.ISO8859-1/articles/fbsd-from-scratch/stage_1.sh
___________________________________________________________________
Deleted: svn:keywords
## -1 +0,0 ##
-FreeBSD=%H
\ No newline at end of property
Index: head/en_US.ISO8859-1/articles/fbsd-from-scratch/stage_2.sh
===================================================================
--- head/en_US.ISO8859-1/articles/fbsd-from-scratch/stage_2.sh (revision 46437)
+++ head/en_US.ISO8859-1/articles/fbsd-from-scratch/stage_2.sh (nonexistent)
@@ -1,131 +0,0 @@
-#!/bin/sh
-#
-# stage_2.sh - FreeBSD From Scratch, Stage 2: Ports Installation.
-# Usage: ./stage_2.sh [-hnp] configname
-#
-# Author: Jens Schweikhardt
-# $Id: stage_2.sh,v 1.5 2004-07-19 21:02:26 schweikh Exp $
-# $FreeBSD$
-
-DBDIR="/var/db/pkg"
-PORTS="/usr/ports"
-: ${PACKAGES:=${PORTS}/packages}
-LOGDIR="/home/root/setup/ports.log"; mkdir -p ${LOGDIR}
-PKG_PATH="/cdrom/packages/All:/dvd/packages/All"
-PKG=
-
-MYNAME="$(basename $0)"
-usage () {
- exec >&2
- echo "usage: ${MYNAME} [-hnp] configname"
- echo ""
- echo " Options:"
- echo " -h Print this help text."
- echo " -n Dryrun: just show what would be done."
- echo " -p Install a precompiled package if one can be found."
- echo ""
- echo " The config file (stage_2.conf.configname) is a list of"
- echo " ports to install with one entry per line. Each line"
- echo " consists of two or three space separated fields:"
- echo " category, port, and optionally a build command."
- echo ""
- exit 1
-}
-
-# Look for a package in these locations in sequence.
-# Returns as soon as the first is found. Result on stdout.
-#
-# ${PORTS}/${CATEGORY}/${NAME}
-# ${PACKAGES}/All
-# ${PACKAGES}/${CATEGORY}
-# ${PKG_PATH}
-#
-find_package () {
- echo "${PORTS}/${CATEGORY}/${NAME}:${PACKAGES}/All:${PACKAGES}/${CATEGORY}:${PKG_PATH}" |
- tr : '\n' |
- while read d; do
- test -d "${d}" || continue
- PKG=$(ls ${d}/${PKGNAME}.* 2>/dev/null)
- test $? -eq 0 && echo "${PKG}" && return
- done
-}
-
-#
-# Parse command line arguments.
-#
-args=`getopt hnp $*`
-if test $? != 0; then
- usage
-fi
-set -- $args
-DRYRUN=
-CHKPKG=
-for i; do
- case "$i" in
- -n) DRYRUN="yes"; shift;;
- -p) CHKPKG="yes"; shift;;
- --) shift; break;;
- *) usage;;
- esac
-done
-if test $# -eq 1; then
- DATAFILE="$1"
-else
- usage
-fi
-
-#
-# Loop over the ports list.
-#
-while read CATEGORY NAME CMD; do
- case "${CATEGORY}" in
- \#*) continue;;
- '') continue;;
- esac
- DIR="${PORTS}/${CATEGORY}/${NAME}"
- if ! test -d "${DIR}"; then
- echo "$DIR does not exist -- ignored"
- continue
- fi
- cd ${DIR}
- PKGNAME=`make -V PKGNAME`
- if test -n "${CHKPKG}"; then
- PKG=$(find_package)
- else
- PKG=""
- fi
- if test -d "${DBDIR}/${PKGNAME}"; then
- echo "${CATEGORY}/${NAME} already installed as ${PKGNAME}"
- continue
- fi
- LOG="${LOGDIR}/${CATEGORY}+${NAME}"
- echo "===> Installing ${CATEGORY}/${NAME}; logging to ${LOG}"
- test -n "${CMD}" || CMD="make install BATCH=yes < /dev/null"
- if test -n "${DRYRUN}"; then
- if test -n "${PKG}"; then
- echo pkg_add -v ${PKG}
- else
- echo "${CMD}"
- fi
- continue
- fi
- date "++++ Started %v %T +++" > ${LOG}
- STARTED=$(date +%s)
- (
- if test -n "${PKG}"; then
- echo "Found package ${PKG}"
- pkg_add -v ${PKG}
- else
- echo "CMD: ${CMD}"
- make clean
- eval "${CMD}"
- make clean # Uncomment if diskspace is tight under ${PORTS}.
- fi
- ) 2>&1 | tee -a ${LOG}
- FINISHED=$(date +%s)
- DURATION=$(dc -e "${FINISHED} ${STARTED} - p")
- date "++++ Finished %v %T after ${DURATION} secs +++" >> ${LOG}
-done < stage_2.conf.${DATAFILE}
-
-# vim: tabstop=4:
-# EOF $RCSfile: stage_2.sh,v $
Property changes on: head/en_US.ISO8859-1/articles/fbsd-from-scratch/stage_2.sh
___________________________________________________________________
Deleted: svn:keywords
## -1 +0,0 ##
-FreeBSD=%H
\ No newline at end of property
Index: head/en_US.ISO8859-1/articles/fbsd-from-scratch/Makefile
===================================================================
--- head/en_US.ISO8859-1/articles/fbsd-from-scratch/Makefile (revision 46437)
+++ head/en_US.ISO8859-1/articles/fbsd-from-scratch/Makefile (nonexistent)
@@ -1,30 +0,0 @@
-#
-# $FreeBSD$
-#
-# Article: FreeBSD From Scratch
-
-DOC?= article
-
-FORMATS?= html
-
-MAINTAINER= schweikh@FreeBSD.org
-
-INSTALL_COMPRESSED?= gz
-INSTALL_ONLY_COMPRESSED?=
-
-EXTRAS= stage_1.conf.default
-EXTRAS+= stage_1.sh
-EXTRAS+= stage_2.conf.default
-EXTRAS+= stage_2.sh
-EXTRAS+= stage_3.mk
-
-SRCS= article.xml
-SRCS+= ${EXTRAS}
-
-afterinstall:
-.for entry in ${EXTRAS}
- ${INSTALL_DOCS} ${.CURDIR}/${entry} ${DESTDIR}
-.endfor
-
-DOC_PREFIX?= ${.CURDIR}/../../..
-.include "${DOC_PREFIX}/share/mk/doc.project.mk"
Property changes on: head/en_US.ISO8859-1/articles/fbsd-from-scratch/Makefile
___________________________________________________________________
Deleted: svn:keywords
## -1 +0,0 ##
-FreeBSD=%H
\ No newline at end of property
Index: head/en_US.ISO8859-1/articles/Makefile
===================================================================
--- head/en_US.ISO8859-1/articles/Makefile (revision 46437)
+++ head/en_US.ISO8859-1/articles/Makefile (revision 46438)
@@ -1,51 +1,50 @@
# $FreeBSD$
SUBDIR =
SUBDIR+= bsdl-gpl
SUBDIR+= building-products
SUBDIR+= committers-guide
SUBDIR+= compiz-fusion
SUBDIR+= console-server
SUBDIR+= contributing
SUBDIR+= contributing-ports
SUBDIR+= contributors
SUBDIR+= cups
SUBDIR+= custom-gcc
SUBDIR+= explaining-bsd
-SUBDIR+= fbsd-from-scratch
SUBDIR+= filtering-bridges
SUBDIR+= fonts
SUBDIR+= freebsd-questions
SUBDIR+= freebsd-update-server
SUBDIR+= geom-class
SUBDIR+= gjournal-desktop
SUBDIR+= hubs
SUBDIR+= ipsec-must
SUBDIR+= ldap-auth
SUBDIR+= linux-comparison
SUBDIR+= linux-emulation
SUBDIR+= linux-users
SUBDIR+= mailing-list-faq
SUBDIR+= nanobsd
SUBDIR+= new-users
SUBDIR+= p4-primer
SUBDIR+= pam
SUBDIR+= pgpkeys
SUBDIR+= port-mentor-guidelines
SUBDIR+= pr-guidelines
SUBDIR+= problem-reports
SUBDIR+= rc-scripting
SUBDIR+= relaydelay
SUBDIR+= releng
SUBDIR+= releng-packages
SUBDIR+= remote-install
SUBDIR+= serial-uart
SUBDIR+= solid-state
SUBDIR+= vinum
SUBDIR+= vm-design
SUBDIR+= wp-toolbox
# ROOT_SYMLINKS+= new-users
DOC_PREFIX?= ${.CURDIR}/../..
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
Index: head/en_US.ISO8859-1/htdocs/docs/books.xml
===================================================================
--- head/en_US.ISO8859-1/htdocs/docs/books.xml (revision 46437)
+++ head/en_US.ISO8859-1/htdocs/docs/books.xml (revision 46438)
@@ -1,371 +1,365 @@
]>
&title;
$FreeBSD$
On this site
All the documentation on this site can be downloaded in a
variety of different formats (HTML, Postscript, PDF, and more)
and compression schemes (BZip2, Zip) from the FreeBSD FTP
site.
Archived copies of the &os; documentation (articles, books, and
textinfo manuals) are also available online at http://docs.FreeBSD.org/doc/.
This documentation is provided and maintained by the
FreeBSD
Documentation Project, and we are always looking for
people to contribute new documentation and maintain existing
documentation.
Books
A project model for
the FreeBSD project (dev-model)
A formal study of the organization of the FreeBSD project.
The FreeBSD FAQ
(faq)
Frequently Asked Questions, and answers, covering all aspects of
FreeBSD.
The FreeBSD
Handbook (handbook)
A constantly evolving, comprehensive resource for FreeBSD
users.
The
FreeBSD Developers' Handbook (developers-handbook)
For people who want to develop software for FreeBSD (and not
just people who are developing FreeBSD itself).
The FreeBSD
Architecture Handbook (arch-handbook)
For FreeBSD system developers. This book covers the
architectural details of many important FreeBSD kernel
subsystems.
The Porter's
Handbook (porters-handbook)
Essential reading if you plan on providing a port of a third
party piece of software.
The PMake Tutorial
(pmake)
A tutorial for the make utility. This book is
essential reading for anyone who wants to understand all the
details of using make of reading and writing
makefiles.
Chapter 2
of "The Design and Implementation of the 4.4BSD Operating
System" (design-44bsd)
Donated by Addison-Wesley, provides a design overview of 4.4BSD,
from which FreeBSD was originally derived.
The FreeBSD
Documentation Project Primer for New Contributors
(fdp-primer)
Everything you need to know in order to start contributing to
the FreeBSD Documentation Project.
Articles
Why you should use
a BSD style license for your Open Source Project
(bsdl-gpl)
Describes the benefits of releasing code under a BSD
license.
Building
Products with FreeBSD (building-products)
How FreeBSD can help you build a better product.
The
Committer's Guide (committers-guide)
Introductory information for FreeBSD committers.
Installing
and using Compiz Fusion (compiz-fusion)
How to install and use the Compiz Fusion composite window
manager under FreeBSD.
Console
Server Tutorial (console-server)
How to setup a FreeBSD based console server with a cheap
multi-port serial card.
Contributing
to FreeBSD (contributing)
How to contribute to the FreeBSD Project.
Contributing
to the FreeBSD Ports Collection (contributing-ports)
How to help maintain the FreeBSD Ports Collection.
The List of
FreeBSD Contributors (contributors)
A list of organizations and individuals who have helped enhance
FreeBSD.
CUPS on &os;
(cups)
How to setup CUPS with &os;.
Using newer
version of GCC and binutils with the &os; Ports Collection
(custom-gcc)
How to use newer versions of the GCC compilers and binutils from
the &os; ports tree. Custom GCC are also discussed.
Explaining
BSD (explaining-bsd)
An answer to the question ``What is BSD?''
- FreeBSD
- From Scratch (fbsd-from-scratch)
- How to automatically compile, install and configure a system
- from scratch (i.e. to an empty file system), including your
- favorite ports.
-
Filtering
Bridges (filtering-bridges)
Configuring firewalls and filtering on FreeBSD hosts acting as
bridges rather than routers.
Fonts and FreeBSD
(fonts)
A description of the various font technologies in FreeBSD, and
how to use them with different programs.
How to
get the best results from the FreeBSD-questions mailing
list (freebsd-questions)
Tips and tricks to help you maximize the chances of getting
useful information from the -questions mailing list.
Build
Your Own FreeBSD Update Server
(freebsd-update-server)
Using a FreeBSD Update server allows a system administrator to
perform fast updates for a number of machines from a local
mirror.
Writing a GEOM
Class (geom-class)
A guide to GEOM internals, and writing your own class.
Implementing
UFS journaling on a desktop PC (gjournal-desktop)
A guide to create UFS partitions configured with journaling for
desktop use.
Mirroring FreeBSD
(hubs)
The all in one guide for mirroring the FreeBSD website,
FTP servers, and more.
Independent
Verification of IPsec Functionality in FreeBSD
(ipsec-must)
A method for experimentally verifying IPsec functionality.
LDAP
Authentication (ldap-auth)
A practical guide about setting up an LDAP server on &os; and
how to use it for authenticating users.
FreeBSD:
An Open Source Alternative to Linux
(linux-comparison)
A white paper explaining the differences between Linux and
FreeBSD.
Linux
emulation in &os; (linux-emulation)
A technical description about the internals of the Linux
emulation layer in &os;.
&os; Quickstart
Guide for Linux Users (linux-users)
An introductionary guide for the users that came from Linux.
Frequently
Asked Questions About The FreeBSD Mailing Lists
(mailing-list-faq)
How to best use the mailing lists, such as how to help avoid
frequently-repeated discussions.
Introduction to
NanoBSD (nanobsd)
Information about the NanoBSD tools, which can be used to create
FreeBSD system images for embedded applications, suitable for
use on a Compact Flash card (or other mass storage medium).
FreeBSD First
Steps (new-users)
For people coming to FreeBSD and &unix; for the first time.
Perforce in
FreeBSD Development (p4-primer)
A guide to the Perforce version control system. It also
describes how to manage experimental projects with the FreeBSD
Perforce server.
Pluggable
Authentication Modules (pam)
A guide to the PAM system and modules under FreeBSD.
OpenPGP Keys
(pgpkeys)
All of the OpenPGP keys for &os;.
Port
Mentor Guidelines (port-mentor-guidelines)
Guidelines for new and/or potential port mentors and
mentees.
FreeBSD
Problem Report Handling Guidelines (pr-guidelines)
Recommended practices for handling FreeBSD problem reports.
Writing
FreeBSD Problem Reports (problem-reports)
How to best formulate and submit a problem report to the FreeBSD
Project.
Practical rc.d
scripting in BSD (rc-scripting)
A guide to writing new rc.d scripts and understanding those
already written.
FreeBSD as a
greylist mail server (relaydelay)
Implementing a greylist mail server on FreeBSD using Sendmail,
MySQL, Perl and the relaydelay software. This is an excellent
method to use in the fight against spam.
FreeBSD Release
Engineering (releng)
Describes the approach used by the FreeBSD release engineering
team to make production quality releases of the FreeBSD
Operating System. It describes the tools available for those
interested in producing customized FreeBSD releases for
corporate rollouts or commercial productization.
FreeBSD
Release Engineering for Third Party Packages
(releng-packages)
Describes the approach used by the FreeBSD ports management team
to produce a high quality package set suitable for official
FreeBSD release media. This document is a work in progress, but
eventually it will cover the process used to build a clean
package set on the FreeBSD.org "Ports Cluster", how to configure
any other set of machines as a ports cluster, how to split up
the packages for the release media, and how to verify that a
package set is consistent.
Remote
Installation of the &os; Operating System without a
Remote Console (remote-install)
Describes the remote installation of the &os; operating system
when the console of the remote system is unavailable.
Serial and UART
devices (serial-uart)
Detailed information about the use of serial ports on FreeBSD,
including several multi-port serial cards.
FreeBSD and
Solid State Devices (solid-state)
The use of solid state disk devices in FreeBSD.
The vinum Volume
Manager (vinum)
Using gvinum to create RAID arrays.
Design elements
of the FreeBSD VM system (vm-design)
An easy to follow description of the design of the FreeBSD
virtual memory system.
Articles on other web sites
Various independent efforts have also produced a great deal of
useful information about FreeBSD.