+
+
+ Note that 2.2-STABLE sometimes identifies itself as
+ 2.2.5-STABLE after the 2.2.5-RELEASE. The
+ pattern used to be year followed by the month, but we
+ decided to change it to a more straightforward major/minor
+ system starting from 2.2. This is because the parallel
+ development on several branches made it infeasible to
+ classify the releases simply by their real release dates.
+ If you are making a port now, you do not have to worry about
+ old -CURRENTs; they are listed here just for your
+ reference.
+
+
+
Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/book.xml Sat Feb 8 22:08:51 2014 (r43839)
+++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Sun Feb 9 01:50:53 2014 (r43840)
@@ -3,13 +3,17 @@
"http://www.FreeBSD.org/XML/share/xml/freebsd50.dtd" [
-]>
+
+
+%chapters;
+]>
+
@@ -56,12747 +60,19 @@
$FreeBSD$
-
- Introduction
-
- The &os; Ports Collection is the way almost everyone
- installs applications ("ports") on &os;. Like everything
- else about &os;, it is primarily a volunteer effort.
- It is important to keep this in mind when reading this
- document.
-
- In &os;, anyone may submit a new port, or volunteer
- to maintain an existing port if it is unmaintained—you
- do not need any special commit privileges to do so.
-
-
-
-
- Making a New Port Yourself
-
- So, you are interested in making your own port or
- upgrading an existing one? Great!
-
- What follows are some guidelines for creating a new port for
- &os;. If you want to upgrade an existing port, you should
- read this and then read .
-
- When this document is not sufficiently detailed, you should
- refer to /usr/ports/Mk/bsd.port.mk, which
- all port Makefiles include. Even if you do not hack Makefiles
- daily, it is well commented, and you will still gain much
- knowledge from it. Additionally, you may send specific
- questions to the &a.ports;.
-
-
- Only a fraction of the variables
- (VAR) that can
- be overridden are mentioned in this document. Most (if not
- all) are documented at the start of
- /usr/ports/Mk/bsd.port.mk; the others
- probably ought to be. Note that this file uses a non-standard
- tab setting: Emacs and
- Vim should recognize the setting on
- loading the file. Both &man.vi.1; and &man.ex.1; can be set
- to use the correct value by typing
- :set tabstop=4 once the file has been
- loaded.
-
-
-
- Looking for something easy to start with? Take a look at the
- list of
- requested ports and see if you can work on one (or
- more).
-
-
-
- Quick Porting
-
- This section tells you how to quickly create a new port. In
- many cases, it is not sufficient, so you will have to read
- further on into the document.
-
- First, get the original tarball and put it into
- DISTDIR, which defaults to
- /usr/ports/distfiles.
-
-
- The following assumes that the software compiled
- out-of-the-box, i.e., there was absolutely no change required
- for the port to work on your &os; box. If you needed to
- change something, you will have to refer to the next section
- too.
-
-
-
- It is recommended to set the DEVELOPER
- &man.make.1; variable in /etc/make.conf
- before getting into porting.
-
- &prompt.root; echo DEVELOPER=yes >> /etc/make.conf
-
- This setting enables the developer mode
- that displays deprecation warnings and activates some further
- quality checks on calling make.
-
-
-
- Writing the Makefile
-
- The minimal Makefile would look
- something like this:
-
- # $FreeBSD$
-
-PORTNAME= oneko
-PORTVERSION= 1.1b
-CATEGORIES= games
-MASTER_SITES= ftp://ftp.cs.columbia.edu/archives/X11R5/contrib/
-
-MAINTAINER= youremail@example.com
-COMMENT= Cat chasing a mouse all over the screen
-
-.include <bsd.port.mk>
-
-
- In some cases, the Makefile of an
- existing port may contain additional lines in the header,
- such as the name of the port and the date it was created.
- This additional information has been declared obsolete, and
- is being phased out.
-
-
- See if you can figure it out. Do not worry about the
- contents of the $FreeBSD$
- line, it will be filled in automatically by
- Subversion when the port is
- imported to our main ports tree. You can find a more detailed
- example in the
- sample Makefile
- section.
-
-
-
- Writing the Description Files
-
- There are two description files that are required for
- any port, whether they actually package or not. They are
- pkg-descr and
- pkg-plist. Their
- pkg- prefix distinguishes them from other
- files.
-
-
- pkg-descr
-
- This is a longer description of the port. One to a few
- paragraphs concisely explaining what the port does is
- sufficient.
-
-
- This is not a manual or an
- in-depth description on how to use or compile the port!
- Please be careful if you are copying from the
- README or manpage; too
- often they are not a concise description of the port or
- are in an awkward format (e.g., manpages have justified
- spacing, which looks particularly bad with monospaced
- fonts).
-
-
- A well-written pkg-descr describes
- the port completely enough that users would not have to
- consult the documentation or visit the website to understand
- what the software does, how it can be useful, or what
- particularly nice features it has. Mentioning certain
- requirements like a graphical toolkit, heavy dependencies,
- runtime environment, or implementation languages help users
- decide whether this port will work for them.
-
- Include a URL to the official WWW homepage. Prepend
- one of the websites (pick the most
- common one) with WWW: (followed by single
- space) so that automated tools will work correctly. If the
- URI is the root of the website or directory, it should be
- terminated with a slash.
-
-
- If the listed webpage for a port is not available, try
- to search the Internet first to see if the official site
- moved, was renamed, or is hosted elsewhere.
-
-
- The following example shows how your
- pkg-descr should look:
-
- This is a port of oneko, in which a cat chases a poor mouse all over
-the screen.
- :
-(etc.)
-
-WWW: http://www.oneko.org/
-
-
-
- pkg-plist
-
- This file lists all the files installed by the port. It
- is also called the packing list because the
- package is generated by packing the files listed here. The
- pathnames are relative to the installation prefix (usually
- /usr/local.
- If the
- port creates directories during installation, make sure to
- add @dirrm lines to remove them when the
- package is deleted.
-
- Here is a small example:
-
- bin/oneko
-man/man1/oneko.1.gz
-lib/X11/app-defaults/Oneko
-lib/X11/oneko/cat1.xpm
-lib/X11/oneko/cat2.xpm
-lib/X11/oneko/mouse.xpm
-@dirrm lib/X11/oneko
-
- Refer to the &man.pkg-create.8; manual page for details
- on the packing list.
-
-
- It is recommended that you keep all the filenames in
- this file sorted alphabetically. It will make verifying
- the changes when you upgrade the port much easier.
-
-
-
- Creating a packing list manually can be a very tedious
- task. If the port installs a large numbers of files,
- creating the packing list
- automatically might save time.
-
-
- There is only one case when
- pkg-plist can be omitted from a port.
- If the port installs just a handful of files, and perhaps
- directories, the files and directories may be listed in the
- variables PLIST_FILES and
- PLIST_DIRS, respectively, within the
- port's Makefile. For instance, we
- could get along without pkg-plist in
- the above oneko port by adding the
- following lines to the Makefile:
-
- PLIST_FILES= bin/oneko \
- man/man1/oneko.1.gz \
- lib/X11/app-defaults/Oneko \
- lib/X11/oneko/cat1.xpm \
- lib/X11/oneko/cat2.xpm \
- lib/X11/oneko/mouse.xpm
-PLIST_DIRS= lib/X11/oneko
-
- Of course, PLIST_DIRS should be left
- unset if a port installs no directories of its own.
-
-
-
- Several ports can share a common directory. In that
- case, PLIST_DIRS should be replaced by
- PLIST_DIRSTRY so that the directory is
- removed only if empty, otherwise it is silently ignored.
- PLIST_DIRS and
- PLIST_DIRSTRY are equivalent to using
- @dirrm and @dirrmtry
- in pkg-plist, as described in
- .
-
-
- The price for this way of listing port's files and
- directories is that you cannot use command sequences
- described in &man.pkg-create.8;. Therefore, it is suitable
- only for simple ports and makes them even simpler. At the
- same time, it has the advantage of reducing the number of
- files in the ports collection. Please consider using this
- technique before you resort to
- pkg-plist.
-
- Later we will see how pkg-plist
- and PLIST_FILES can be used to fulfill
- more sophisticated
- tasks.
-
-
-
-
- Creating the Checksum File
-
- Just type make makesum. The ports make
- rules will automatically generate the file
- distinfo.
-
- If a file fetched has its checksum changed regularly and
- you are certain the source is trusted (i.e., it comes from
- manufacturer CDs or documentation generated daily), you should
- specify these files in the IGNOREFILES
- variable. Then the checksum is not calculated for that file
- when you run make makesum, but set to
- IGNORE.
-
-
-
- Testing the Port
-
- You should make sure that the port rules do exactly what
- you want them to do, including packaging up the port. These
- are the important points you need to verify.
-
-
-
- pkg-plist does not contain
- anything not installed by the port.
-
-
-
- pkg-plist contains everything
- that is installed by the port.
-
-
-
- The port can be installed using the
- install target. This verifies
- that the install script works correctly.
-
-
-
- The port can be deinstalled properly using the
- deinstall target. This
- verifies that the deinstall script works correctly.
-
-
-
- Make sure that make package can be
- run as a normal user (that is, not as
- root). If that
- fails, NEED_ROOT=yes must be added to
- the port Makefile.
-
-
-
-
- Recommended Test Ordering
-
-
- make stage
-
-
-
- make check-orphans
-
-
-
- make package
-
-
-
- make install
-
-
-
- make deinstall
-
-
-
- pkg add package-filename
-
-
-
- make package (as user)
-
-
-
- Make certain no warnings are shown in any of
- the stages.
-
- Thorough automated testing can be done with
- ports-mgmt/tinderbox or
- ports-mgmt/poudriere from the
- Ports Collection. These applications maintain
- jails where all of the steps shown above
- can be tested without affecting the state of the host
- system.
-
-
-
- Checking Your Port with
- portlint
-
- Please use portlint to see if your port
- conforms to our guidelines. The
- ports-mgmt/portlint
- program is part of the ports collection. In particular, you
- may want to check if the
- Makefile is in the
- right shape and the
- package is named
- appropriately.
-
-
-
- Submitting the New Port
-
- Before submitting the new port, read
- the DOs and DON'Ts
- section.
-
- Once happy with your port, the only thing remaining is to
- put it in the main &os; ports tree and make everybody else
- happy about it too. We do not need the
- work directory or the
- pkgname.tgz package, so delete them
- now.
-
- Next, build the &man.shar.1; file. Assuming the port is
- called oneko, cd to the
- directory above where the oneko directory
- is located, and then type:
- shar `find oneko` > oneko.shar
-
- Include oneko.shar in a bug
- report and send it with &man.send-pr.1;. See
- Bug
- Reports and General Commentary for more information
- about &man.send-pr.1;.
-
- Classify the bug report as Category
- ports and Class
- change-request. Do
- not mark the report
- confidential! Add a short description of
- the program to the Description field of the PR (perhaps a
- short version of the COMMENT), and add the
- .shar file to the Fix field.
-
-
- Giving a good description in the synopsis of the problem
- report makes the work of port committers a lot easier. We
- prefer something like New port:
- <category>/<portname> <short description of
- the port> for new ports. Using this
- scheme makes it easier and faster to begin the work of
- committing the new port.
-
-
- One more time, do not include the original
- source distfile, the work directory, or
- the package you built with
- make package; and, do use
- &man.shar.1; for new ports, not &man.diff.1;.
-
- After submitting the port, please be patient. The time
- needed to include a new port in &os; can vary from a few days
- to a few months. The list of pending port
- PRs can be viewed at .
-
- After looking at the new port, we will reply if necessary,
- and put it in the tree. Your name will also be added to the
- list of Additional
- &os; Contributors and other files.
-
-
-
-
- Slow Porting
-
- Okay, so it was not that simple, and the port required some
- modifications to get it to work. In this section, we will
- explain, step by step, how to modify it to get it to work with
- the ports paradigm.
-
-
- How Things Work
-
- First, this is the sequence of events which occurs when
- the user first types make in your port's
- directory. You may find that having
- bsd.port.mk in another window while you
- read this really helps to understand it.
-
- But do not worry if you do not really understand what
- bsd.port.mk is doing, not many people
- do... :-)
-
-
-
- The fetch target is run.
- The fetch target is responsible
- for making sure that the tarball exists locally in
- DISTDIR. If
- fetch cannot find the required
- files in DISTDIR it will look up the
- URL MASTER_SITES, which is set in the
- Makefile, as well as our FTP mirrors where we put
- distfiles as backup. It will then attempt to fetch the
- named distribution file with FETCH,
- assuming that the requesting site has direct access to the
- Internet. If that succeeds, it will save the file in
- DISTDIR for future use and
- proceed.
-
-
-
- The extract target is run.
- It looks for your port's distribution file (typically a
- gzipped tarball) in
- DISTDIR and unpacks it into a temporary
- subdirectory specified by WRKDIR
- (defaults to work).
-
-
-
- The patch target is run.
- First, any patches defined in
- PATCHFILES are applied. Second, if any
- patch files named
- patch-*
- are found in PATCHDIR (defaults to the
- files subdirectory), they are applied
- at this time in alphabetical order.
-
-
-
- The configure target is
- run. This can do any one of many different things.
-
-
-
- If it exists,
- scripts/configure is run.
-
-
-
- If HAS_CONFIGURE or
- GNU_CONFIGURE is set,
- WRKSRC/configure
- is run.
-
-
-
-
-
-
- The build target is run.
- This is responsible for descending into the port's private
- working directory (WRKSRC) and building
- it.
-
-
-
- The stage target is run.
- This puts the final set of built files into a temporary
- directory (STAGEDIR, see
- ). The hierarchy of this
- directory mirrors that of the system on which the package
- will be installed.
-
-
-
- The install target is run.
- This copies the files listed in the port's pkg-plist to
- the host system.
-
-
-
- The above are the default actions. In addition, you can
- define targets
- pre-something
- or
- post-something,
- or put scripts with those names, in the
- scripts subdirectory, and they will be
- run before or after the default actions are done.
-
- For example, if you have a
- post-extract target defined in your
- Makefile, and a file
- pre-build in the
- scripts subdirectory, the
- post-extract target will be called
- after the regular extraction actions, and the
- pre-build script will be executed before
- the default build rules are done. It is recommended that you
- use Makefile targets if the actions are
- simple enough, because it will be easier for someone to figure
- out what kind of non-default action the port requires.
-
- The default actions are done by the
- bsd.port.mk targets
- do-something.
- For example, the commands to extract a port are in the target
- do-extract. If you are not happy
- with the default target, you can fix it by redefining the
- do-something
- target in your Makefile.
-
-
- The main targets (e.g.,
- extract,
- configure, etc.) do nothing more
- than make sure all the stages up to that one are completed
- and call the real targets or scripts, and they are not
- intended to be changed. If you want to fix the extraction,
- fix do-extract, but never ever
- change the way extract
- operates! Additionally, the target
- post-deinstall is invalid and
- is not run by the ports infrastructure.
-
-
- Now that you understand what goes on when the user types
- make install, let
- us go through the recommended steps to create the perfect
- port.
-
-
-
- Getting the Original Sources
-
- Get the original sources (normally) as a compressed
- tarball
- (foo.tar.gz or
- foo.tar.bz2)
- and copy it into DISTDIR. Always use
- mainstream sources when and where you
- can.
-
- You will need to set the variable
- MASTER_SITES to reflect where the original
- tarball resides. You will find convenient shorthand
- definitions for most mainstream sites in
- bsd.sites.mk. Please use these
- sites—and the associated definitions—if at all
- possible, to help avoid the problem of having the same
- information repeated over again many times in the source base.
- As these sites tend to change over time, this becomes a
- maintenance nightmare for everyone involved.
-
- If you cannot find a FTP/HTTP site that is well-connected
- to the net, or can only find sites that have irritatingly
- non-standard formats, you might want to put a copy on a
- reliable FTP or HTTP server that you control (e.g., your home
- page).
-
- If you cannot find somewhere convenient and reliable to
- put the distfile we can house it ourselves on
- ftp.FreeBSD.org; however, this is the
- least-preferred solution. The distfile must be placed into
- ~/public_distfiles/ of someone's
- freefall account. Ask the person who
- commits your port to do this. This person will also set
- MASTER_SITES to
- MASTER_SITE_LOCAL and
- MASTER_SITE_SUBDIR to their
- freefall username.
-
- If your port's distfile changes all the time without any
- kind of version update by the author, consider putting the
- distfile on your home page and listing it as the first
- MASTER_SITES. If you can, try to talk the
- port author out of doing this; it really does help to
- establish some kind of source code control. Hosting your own
- version will prevent users from getting
- checksum mismatch errors, and also
- reduce the workload of maintainers of our FTP site. Also, if
- there is only one master site for the port, it is recommended
- that you house a backup at your site and list it as the second
- MASTER_SITES.
-
- If your port requires some additional `patches' that are
- available on the Internet, fetch them too and put them in
- DISTDIR. Do not worry if they come from a
- site other than where you got the main source tarball, we have
- a way to handle these situations (see the description of
- PATCHFILES
- below).
-
-
-
- Modifying the Port
-
- Unpack a copy of the tarball in a private directory and
- make whatever changes are necessary to get the port to compile
- properly under the current version of &os;. Keep
- careful track of everything you do, as
- you will be automating the process shortly. Everything,
- including the deletion, addition, or modification of files
- should be doable using an automated script or patch file when
- your port is finished.
-
- If your port requires significant user
- interaction/customization to compile or install, you should
- take a look at one of Larry Wall's classic
- Configure scripts and perhaps do
- something similar yourself. The goal of the new ports
- collection is to make each port as
- plug-and-play as possible for the end-user
- while using a minimum of disk space.
-
-
- Unless explicitly stated, patch files, scripts, and
- other files you have created and contributed to the &os;
- ports collection are assumed to be covered by the standard
- BSD copyright conditions.
-
-
-
-
- Patching
-
- In the preparation of the port, files that have been added
- or changed can be recorded with &man.diff.1; for later
- feeding to &man.patch.1;. Doing this with a typical file
- involves saving a copy of the original file before making any
- changes.
-
- &prompt.user; cp filefile.orig
-
- Patches are saved into files named
- patch-* where
- * indicates the pathname of the
- file that is patched, such as
- patch-Imakefile or
- patch-src-config.h.
-
- After the file has been modified, &man.diff.1; is used to
- record the differences between the original and the modified
- version. causes &man.diff.1; to produce
- unified diffs, the preferred form.
-
- &prompt.user; diff -u file.orig file > patch-pathname-file
-
- When generating patches for new, added files,
- is added to tell &man.diff.1; to treat the
- non-existent original file as if it existed but was
- empty:
-
- &prompt.user; diff -u -N newfile.orig newfile > patch-pathname-newfile
-
- Patch files are stored in PATCHDIR
- (usually files/, from
- where they will be automatically applied. All patches must be
- relative to WRKSRC (generally the directory
- the port's tarball unpacks itself into, that being where the
- build is done). To make fixes and upgrades easier, avoid
- having more than one patch fix the same file (that is,
- patch-file and
- patch-file2 both changing
- WRKSRC/foobar.c). Note that if the path
- of a patched file contains an underscore
- (_) character, the patch needs to have two
- underscores instead in its name. For example, to patch a file
- named src/freeglut_joystick.c, the
- corresponding patch should be named
- patch-src-freeglut__joystick.c.
-
- Please only use characters
- [-+._a-zA-Z0-9] for naming patches. Do not
- use any other characters besides them. Do not name patches
- like patch-aa or
- patch-ab, always mention the path and
- file name in patch names.
-
- There is an alternate, easier method for creating patches
- to existing files. The first steps are the same, make a copy
- of the unmodified file with an .orig
- extension, then make modifications. Then use
- make makepatch to write updated patch files
- to the files directory of the
- port.
-
- Do not put RCS strings in patches.
- Subversion will mangle them when we
- put the files into the ports tree, and when we check them out
- again, they will come out different and the patch will fail.
- RCS strings are surrounded by dollar
- ($) signs, and typically start with
- $Id or
- $RCS.
-
- Using the recurse () option to
- &man.diff.1; to generate patches is fine, but please
- look at the resulting patches to make sure there is no
- unnecessary junk in there. In particular, diffs between two
- backup files, Makefiles when the port
- uses Imake or GNU
- configure, etc., are unnecessary and should
- be deleted. If it was necessary to edit
- configure.in and run
- autoconf to regenerate
- configure, do not take the diffs of
- configure (it often grows to a few thousand
- lines!). Instead, define
- USE_AUTOTOOLS=autoconf:261 and take the
- diffs of configure.in.
-
- Try to minimize the amount of non-functional whitespace
- changes in patches. It is common in the Open Source world for
- projects to share large amounts of a code base, but obey
- different style and indenting rules. When taking a working
- piece of functionality from one project to fix similar areas
- in another, please be careful: the resulting line patch may be
- full of non-functional changes. It not only increases the
- size of the Subversion repository
- but makes it hard to find out what exactly caused the problem
- and what was changed at all.
-
- If a file must be deleted, do it in the
- post-extract target rather than as
- part of the patch.
-
- Simple replacements can be performed directly from the
- port Makefile using the in-place mode of
- &man.sed.1;. This is useful when changes use the value of a
- variable:
-
- post-patch:
- @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README
-
- Quite often, software being ported uses the CR/LF
- convention in source files. This may cause problems with
- further patching, compiler warnings, or script execution (like
- /bin/sh^M not found.) To quickly convert
- all files from CR/LF to just LF, add this entry to the port
- Makefile:
-
- USES= dos2unix
-
- A list of specific files to convert can
- be given:
-
- USES= dos2unix
-DOS2UNIX_FILES= util.c util.h
-
- Use DOS2UNIX_REGEX to convert a group
- of files across subdirectories. Its argument is a
- &man.find.1;-compatible regular expression. More on the
- format is in &man.re.format.7;. This option is useful for
- converting all files of a given extension. For example,
- convert all source code files, leaving binary files
- intact:
-
- USES= dos2unix
-DOS2UNIX_REGEX= .*\.([ch]|cpp)
-
- A similar option is DOS2UNIX_GLOB,
- which invokes find for each element listed
- in it.
-
- USES= dos2unix
-DOS2UNIX_GLOB= *.c *.cpp *.h
-
-
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 02:03:12 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 20AB9FF6;
Sun, 9 Feb 2014 02:03:12 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 09E8513E2;
Sun, 9 Feb 2014 02:03:12 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1923BDQ023711;
Sun, 9 Feb 2014 02:03:11 GMT (envelope-from trhodes@svn.freebsd.org)
Received: (from trhodes@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1923B4e023710;
Sun, 9 Feb 2014 02:03:11 GMT (envelope-from trhodes@svn.freebsd.org)
Message-Id: <201402090203.s1923B4e023710@svn.freebsd.org>
From: Tom Rhodes
Date: Sun, 9 Feb 2014 02:03:11 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43841 - head/en_US.ISO8859-1/books/porters-handbook
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 02:03:12 -0000
Author: trhodes
Date: Sun Feb 9 02:03:11 2014
New Revision: 43841
URL: http://svnweb.freebsd.org/changeset/doc/43841
Log:
Uncomment and sort SRCS. This doesn't break the build
because the docproj makefile glue will descend into the
directories regardless but this is more clear with the
intent.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/Makefile
Modified: head/en_US.ISO8859-1/books/porters-handbook/Makefile
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/Makefile Sun Feb 9 01:50:53 2014 (r43840)
+++ head/en_US.ISO8859-1/books/porters-handbook/Makefile Sun Feb 9 02:03:11 2014 (r43841)
@@ -19,21 +19,21 @@ INSTALL_ONLY_COMPRESSED?=
#
# XML content
-#SRCS+= quick-porting/chapter.xml
-#SRCS+= own-port/chapter.xml
-#SRCS+= porting-why/chapter.xml
+SRCS+= porting-why/chapter.xml
+SRCS+= new-port/chapter.xml
+SRCS+= quick-porting/chapter.xml
+SRCS+= slow-porting/chapter.xml
SRCS+= makefiles/chapter.xml
-#SRCS+= plist/chapter.xml
-#SRCS+= testing/chapter.xml
-#SRCS+= security/chapter.xml
-#SRCS+= porting-samplem/chapter.xml
-#SRCS+= appendices/chapter.xml
-#SRCS+= keeping-up/chapter.xml
-#SRCS+= porting-dads/chapter.xml
-#SRCS+= upgrading/chapter.xml
-#SRCS+= pkg-files/chapter.xml
-#SRCS+= specials/chapter.xml
-#SRCS+= slow-porting/chapter.xml
+SRCS+= special/chapter.xml
+SRCS+= plist/chapter.xml
+SRCS+= pkg-files/chapter.xml
+SRCS+= testing/chapter.xml
+SRCS+= upgrading/chapter.xml
+SRCS+= security/chapter.xml
+SRCS+= porting-dads/chapter.xml
+SRCS+= porting-samplem/chapter.xml
+SRCS+= keeping-up/chapter.xml
+SRCS+= appendices/chapter.xml
SRCS= book.xml
SRCS+= uses.xml
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 02:36:59 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id BCC996A2;
Sun, 9 Feb 2014 02:36:59 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 978141649;
Sun, 9 Feb 2014 02:36:59 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s192axG0038984;
Sun, 9 Feb 2014 02:36:59 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s192axtF038983;
Sun, 9 Feb 2014 02:36:59 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090236.s192axtF038983@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 02:36:59 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43842 -
head/en_US.ISO8859-1/books/porters-handbook/upgrading
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 02:36:59 -0000
Author: wblock
Date: Sun Feb 9 02:36:59 2014
New Revision: 43842
URL: http://svnweb.freebsd.org/changeset/doc/43842
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/upgrading/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/upgrading/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/upgrading/chapter.xml Sun Feb 9 02:03:11 2014 (r43841)
+++ head/en_US.ISO8859-1/books/porters-handbook/upgrading/chapter.xml Sun Feb 9 02:36:59 2014 (r43842)
@@ -5,293 +5,294 @@
$FreeBSD$
-->
-
+
+
+ Upgrading a Port
+
+ When you notice that a port is out of date compared to the
+ latest version from the original authors, you should first ensure
+ that you have the latest port. You can find them in the
+ ports/ports-current directory of the &os; FTP
+ mirror sites. However, if you are working with more than a few
+ ports, you will probably find it easier to use
+ Subversion or &man.portsnap.8; to keep
+ your whole ports collection up-to-date, as described in the Handbook.
+ This will have the added benefit of tracking all the port's
+ dependencies.
+
+ The next step is to see if there is an update already pending.
+ To do this, you have two options. There is a searchable interface
+ to the FreeBSD
+ Problem Report (PR) database (also known as
+ GNATS). Select ports in
+ the dropdown, and enter the name of the port.
+
+ However, sometimes people forget to put the name of the port
+ into the Synopsis field in an unambiguous fashion. In that
+ case, you can try the
+ &os; Ports Monitoring System
+ (also known as portsmon). This system
+ attempts to classify port PRs by portname. To search for PRs
+ about a particular port, use the Overview
+ of One Port.
+
+ If there is no pending PR, the next step is to send an email
+ to the port's maintainer, as shown by
+ make maintainer. That person may already be
+ working on an upgrade, or have a reason to not upgrade the port
+ right now (because of, for example, stability problems of the
+ new version); you would not want to duplicate their work. Note
+ that unmaintained ports are listed with a maintainer of
+ ports@FreeBSD.org, which is just the general
+ ports mailing list, so sending mail there probably will not help
+ in this case.
+
+ If the maintainer asks you to do the upgrade or there is
+ no maintainer, then you have a chance to help out &os; by
+ preparing the update yourself! Please do this by using the
+ &man.diff.1; command in the base system.
+
+ To create a suitable diff for a single
+ patch, copy the file that needs patching to
+ something.orig, save your changes to
+ something and then create your
+ patch:
+
+
+ &prompt.user; diff -u something.orig something > something.diff
+
+
+ Otherwise, you should either use the
+ svn diff method ()
+ or copy the contents of the port to an entire different
+ directory and use the result of the recursive &man.diff.1;
+ output of the new and old ports directories (e.g., if your
+ modified port directory is called superedit
+ and the original is in our tree as
+ superedit.bak, then save the result of
+ diff -ruN superedit.bak superedit). Either
+ unified or context diff is fine, but port committers generally
+ prefer unified diffs. Note the use of the -N
+ option—this is the accepted way to force diff to properly
+ deal with the case of new files being added or old files being
+ deleted. Before sending us the diff, please examine the output
+ to make sure all the changes make sense. (In particular, make
+ sure you first clean out the work directories with
+ make clean).
+
+ To simplify common operations with patch files, you can use
+ /usr/ports/Tools/scripts/patchtool.py.
+ Before using it, please read
+ /usr/ports/Tools/scripts/README.patchtool.
+
+ If the port is unmaintained, and you are actively using
+ it yourself, please consider volunteering to become its
+ maintainer. &os; has over 4000 ports without maintainers, and
+ this is an area where more volunteers are always needed. (For a
+ detailed description of the responsibilities of maintainers,
+ refer to the section in the Developer's
+ Handbook.)
+
+ The best way to send us the diff is by including it via
+ &man.send-pr.1; (category ports). If you are
+ maintaining the port, be sure to put [maintainer
+ update] at the beginning of your synopsis line and set
+ the Class of your PR to
+ maintainer-update. Otherwise, the
+ Class of your PR should be
+ change-request. Please mention any added or
+ deleted files in the message, as they have to be explicitly
+ specified to &man.svn.1; when doing a commit. If the diff is
+ more than about 20KB, please compress and uuencode it;
+ otherwise, just include it in the PR as is.
+
+ Before using &man.send-pr.1;, review the
+ Writing the problem report section in the Problem
+ Reports article. It contains far more information about how to
+ write useful problem reports.
+
+
+ If the upgrade is motivated by security concerns or a
+ serious fault in the currently committed port, please notify
+ the &a.portmgr; to request immediate rebuilding and
+ redistribution of the port's package. Unsuspecting users
+ of pkg will otherwise continue to install
+ the old version via pkg install for several
+ weeks.
+
+
+
+ Once again, please use &man.diff.1; and not &man.shar.1;
+ to send updates to existing ports! This helps ports
+ committers understand exactly what is being changed.
+
+
+ Now that you have done all that, read about
+ how to keep up-to-date in .
+
+
+ Using Subversion to Make
+ Patches
+
+ When possible, please submit a &man.svn.1; diff. They
+ are easier to handle than diffs between
+ new and old directories. It is easier
+ to see what has changed, and to update the diff if
+ something was modified in the Ports Collection since you
+ began work on it, or if the
+ committer asks for something to be fixed.
- Upgrading a Port
-
- When you notice that a port is out of date compared to the
- latest version from the original authors, you should first
- ensure that you have the latest port. You can find them in the
- ports/ports-current directory of the &os;
- FTP mirror sites. However, if you are working with more than a
- few ports, you will probably find it easier to use
- Subversion or &man.portsnap.8;
- to keep your whole ports collection up-to-date, as described in
- the Handbook.
- This will have the added benefit of tracking all the port's
- dependencies.
-
- The next step is to see if there is an update already
- pending. To do this, you have two options. There is a
- searchable interface to the FreeBSD
- Problem Report (PR) database (also known as
- GNATS). Select ports in
- the dropdown, and enter the name of the port.
-
- However, sometimes people forget to put the name of the port
- into the Synopsis field in an unambiguous fashion. In that
- case, you can try the
- &os; Ports Monitoring System
- (also known as portsmon). This system
- attempts to classify port PRs by portname. To search for PRs
- about a particular port, use the Overview
- of One Port.
-
- If there is no pending PR, the next step is to send an email
- to the port's maintainer, as shown by
- make maintainer. That person may already be
- working on an upgrade, or have a reason to not upgrade the port
- right now (because of, for example, stability problems of the
- new version); you would not want to duplicate their work. Note
- that unmaintained ports are listed with a maintainer of
- ports@FreeBSD.org, which is just the general
- ports mailing list, so sending mail there probably will not help
- in this case.
-
- If the maintainer asks you to do the upgrade or there is
- no maintainer, then you have a chance to help out &os; by
- preparing the update yourself! Please do this by using the
- &man.diff.1; command in the base system.
-
- To create a suitable diff for a single
- patch, copy the file that needs patching to
- something.orig, save your changes to
- something and then create your
- patch:
-
-
- &prompt.user; diff -u something.orig something > something.diff
-
-
- Otherwise, you should either use the
- svn diff method ()
- or copy the contents of the port to an entire different
- directory and use the result of the recursive &man.diff.1;
- output of the new and old ports directories (e.g., if your
- modified port directory is called superedit
- and the original is in our tree as
- superedit.bak, then save the result of
- diff -ruN superedit.bak superedit). Either
- unified or context diff is fine, but port committers generally
- prefer unified diffs. Note the use of the -N
- option—this is the accepted way to force diff to properly
- deal with the case of new files being added or old files being
- deleted. Before sending us the diff, please examine the output
- to make sure all the changes make sense. (In particular, make
- sure you first clean out the work directories with
- make clean).
-
- To simplify common operations with patch files, you can use
- /usr/ports/Tools/scripts/patchtool.py.
- Before using it, please read
- /usr/ports/Tools/scripts/README.patchtool.
-
- If the port is unmaintained, and you are actively using
- it yourself, please consider volunteering to become its
- maintainer. &os; has over 4000 ports without maintainers, and
- this is an area where more volunteers are always needed. (For a
- detailed description of the responsibilities of maintainers,
- refer to the section in the Developer's
- Handbook.)
-
- The best way to send us the diff is by including it via
- &man.send-pr.1; (category ports). If you are
- maintaining the port, be sure to put [maintainer
- update] at the beginning of your synopsis line and set
- the Class of your PR to
- maintainer-update. Otherwise, the
- Class of your PR should be
- change-request. Please mention any added or
- deleted files in the message, as they have to be explicitly
- specified to &man.svn.1; when doing a commit. If the diff is
- more than about 20KB, please compress and uuencode it;
- otherwise, just include it in the PR as is.
-
- Before using &man.send-pr.1;, review the
- Writing the problem report section in the Problem
- Reports article. It contains far more information about how to
- write useful problem reports.
-
-
- If the upgrade is motivated by security concerns or a
- serious fault in the currently committed port, please notify
- the &a.portmgr; to request immediate rebuilding and
- redistribution of the port's package. Unsuspecting users
- of pkg will otherwise continue to install
- the old version via pkg install for several
- weeks.
-
-
-
- Once again, please use &man.diff.1; and not &man.shar.1;
- to send updates to existing ports! This helps ports
- committers understand exactly what is being changed.
-
-
- Now that you have done all that, read about
- how to keep up-to-date in .
-
-
- Using Subversion to Make
- Patches
-
- When possible, please submit a &man.svn.1; diff. They
- are easier to handle than diffs between
- new and old directories. It is easier
- to see what has changed, and to update the diff if
- something was modified in the Ports Collection since you
- began work on it, or if the
- committer asks for something to be fixed.
-
- &prompt.user; cd ~/my_wrkdir
+ &prompt.user; cd ~/my_wrkdir
&prompt.user; svn co https://svn0.us-west.FreeBSD.org/ports/head/dns/pdnsd
&prompt.user; cd ~/my_wrkdir/pdnsd
-
-
+
+
- This can be anywhere you want, of course; building
- ports is not limited to within
- /usr/ports/.
-
-
-
- svn0.us-west.FreeBSD.org
- is a public Subversion server.
- Select the closest mirror and verify the mirror server
- certificate from the list of Subversion
- mirror sites.
-
-
-
- While in the working directory, make any changes that you
- would usually make to the port. If you add or remove a file,
- use svn to track these changes:
+ This can be anywhere you want, of course; building
+ ports is not limited to within
+ /usr/ports/.
+
+
+
+ svn0.us-west.FreeBSD.org
+ is a public Subversion server.
+ Select the closest mirror and verify the mirror server
+ certificate from the list of Subversion
+ mirror sites.
+
+
+
+ While in the working directory, make any changes that you
+ would usually make to the port. If you add or remove a file,
+ use svn to track these changes:
- &prompt.user; svn add new_file
+ &prompt.user; svn add new_file
&prompt.user; svn remove deleted_file
- Make sure that you check the port using the checklist in
- and
- .
+ Make sure that you check the port using the checklist in
+ and
+ .
- &prompt.user; svn status
+ &prompt.user; svn status
&prompt.user; svn update
-
-
- This will try to merge the differences between your
- patch and current repository version; watch the output
- carefully. The letter in front of each file name
- indicates what was done with it. See
- for a complete list.
-
-
-
-
- Subversion Update File
- Prefixes
-
-
-
-
- U
- The file was updated without problems.
-
-
-
- G
- The file was updated without problems (you will
- only see this when working against a remote
- repository).
-
-
-
- M
- The file had been modified, and was merged
- without conflicts.
-
-
-
- C
- The file had been modified, and was merged with
- conflicts.
-
-
-
-
-
- If C is displayed as a result of
- svn update, it means something changed in
- the Subversion repository and
- &man.svn.1; was not able to merge the local changes with those
- from the repository. It is always a good idea to inspect the
- changes anyway, since &man.svn.1; does not know anything about
- how a port should be, so it might (and probably will) merge
- things that do not make sense.
-
- The last step is to make a unified &man.diff.1;
- of the changes:
-
- &prompt.user; svn diff > ../`basename ${PWD}`.diff
-
-
- Any files that have been removed should be explicitly
- mentioned in the PR, because file removal may not be obvious
- to the committer.
-
-
- Send your patch following the guidelines in
- .
-
-
-
- The Files UPDATING and
- MOVED
-
- If upgrading the port requires special steps like
- changing configuration files or running a specific program,
- you should document this in the file
- /usr/ports/UPDATING. The format of
- an entry in this file is as follows:
+
+
+ This will try to merge the differences between your
+ patch and current repository version; watch the output
+ carefully. The letter in front of each file name
+ indicates what was done with it. See
+ for a complete list.
+
+
+
+
+ Subversion Update File
+ Prefixes
+
+
+
+
+ U
+ The file was updated without problems.
+
+
+
+ G
+ The file was updated without problems (you will
+ only see this when working against a remote
+ repository).
+
+
+
+ M
+ The file had been modified, and was merged
+ without conflicts.
+
+
+
+ C
+ The file had been modified, and was merged with
+ conflicts.
+
+
+
+
+
+ If C is displayed as a result of
+ svn update, it means something changed in
+ the Subversion repository and
+ &man.svn.1; was not able to merge the local changes with those
+ from the repository. It is always a good idea to inspect the
+ changes anyway, since &man.svn.1; does not know anything about
+ how a port should be, so it might (and probably will) merge
+ things that do not make sense.
+
+ The last step is to make a unified &man.diff.1;
+ of the changes:
+
+ &prompt.user; svn diff > ../`basename ${PWD}`.diff
+
+
+ Any files that have been removed should be explicitly
+ mentioned in the PR, because file removal may not be obvious
+ to the committer.
+
+
+ Send your patch following the guidelines in
+ .
+
+
+
+ The Files UPDATING and
+ MOVED
+
+ If upgrading the port requires special steps like
+ changing configuration files or running a specific program,
+ you should document this in the file
+ /usr/ports/UPDATING. The format of
+ an entry in this file is as follows:
- YYYYMMDD:
+ YYYYMMDD:
AFFECTS: users of portcategory/portname
AUTHOR: Your name <Your email address>
Special instructions
- If you are including exact portmaster or portupgrading
- instructions, please make sure to get the shell escaping
- right.
-
- The /usr/ports/MOVED file is used to
- list moved or removed ports. Each line in the file is made
- up of the name of the port, where the port was moved to, when,
- and why. If the port was removed, the section detailing where
- it was moved to can be left blank. Each section must be
- separated by the | (pipe) character, like
- so:
-
- old name|new name (blank for deleted)|date of move|reason
-
- The date should be entered in the form
- YYYY-MM-DD. New entries should be added to
- the end of the file to keep it in chronological order.
-
- If a port was removed but has since been restored,
- delete the line in this file that states that it was
- removed.
-
- The changes can be validated with
- Tools/scripts/MOVEDlint.awk.
-
-
+ If you are including exact portmaster or portupgrading
+ instructions, please make sure to get the shell escaping
+ right.
+
+ The /usr/ports/MOVED file is used to
+ list moved or removed ports. Each line in the file is made
+ up of the name of the port, where the port was moved to, when,
+ and why. If the port was removed, the section detailing where
+ it was moved to can be left blank. Each section must be
+ separated by the | (pipe) character, like
+ so:
+
+ old name|new name (blank for deleted)|date of move|reason
+
+ The date should be entered in the form
+ YYYY-MM-DD. New entries should be added to
+ the end of the file to keep it in chronological order.
+
+ If a port was removed but has since been restored,
+ delete the line in this file that states that it was
+ removed.
+
+ The changes can be validated with
+ Tools/scripts/MOVEDlint.awk.
+
+
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 02:41:30 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id BC0FA870;
Sun, 9 Feb 2014 02:41:30 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id A70D916C0;
Sun, 9 Feb 2014 02:41:30 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s192fUOK042561;
Sun, 9 Feb 2014 02:41:30 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s192fU1g042560;
Sun, 9 Feb 2014 02:41:30 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090241.s192fU1g042560@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 02:41:30 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43843 -
head/en_US.ISO8859-1/books/porters-handbook/appendices
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 02:41:30 -0000
Author: wblock
Date: Sun Feb 9 02:41:30 2014
New Revision: 43843
URL: http://svnweb.freebsd.org/changeset/doc/43843
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml Sun Feb 9 02:36:59 2014 (r43842)
+++ head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml Sun Feb 9 02:41:30 2014 (r43843)
@@ -5,68 +5,70 @@
$FreeBSD$
-->
-
- Appendices
+
-
- Values of USES
+ Appendices
+
+
+ Values of USES
-
-
-
- Note that 2.2-STABLE sometimes identifies itself as
- 2.2.5-STABLE after the 2.2.5-RELEASE. The
- pattern used to be year followed by the month, but we
- decided to change it to a more straightforward major/minor
- system starting from 2.2. This is because the parallel
- development on several branches made it infeasible to
- classify the releases simply by their real release dates.
- If you are making a port now, you do not have to worry about
- old -CURRENTs; they are listed here just for your
- reference.
-
-
-
+
+
+
+ Value
+ Date
+ Release
+
+
+
+
+ &values.versions;
+
+
+
+
+
+ Note that 2.2-STABLE sometimes identifies itself as
+ 2.2.5-STABLE after the 2.2.5-RELEASE. The
+ pattern used to be year followed by the month, but we decided
+ to change it to a more straightforward major/minor system
+ starting from 2.2. This is because the parallel development
+ on several branches made it infeasible to classify the
+ releases simply by their real release dates. If you are
+ making a port now, you do not have to worry about old
+ -CURRENTs; they are listed here just for your
+ reference.
+
+
+
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 02:42:48 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id BA08E8DC;
Sun, 9 Feb 2014 02:42:48 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id A301A16C7;
Sun, 9 Feb 2014 02:42:48 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s192gmlx042823;
Sun, 9 Feb 2014 02:42:48 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s192gmG5042822;
Sun, 9 Feb 2014 02:42:48 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090242.s192gmG5042822@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 02:42:48 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43844 -
head/en_US.ISO8859-1/books/porters-handbook/appendices
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 02:42:48 -0000
Author: wblock
Date: Sun Feb 9 02:42:48 2014
New Revision: 43844
URL: http://svnweb.freebsd.org/changeset/doc/43844
Log:
Fix typo in ID.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml Sun Feb 9 02:41:30 2014 (r43843)
+++ head/en_US.ISO8859-1/books/porters-handbook/appendices/chapter.xml Sun Feb 9 02:42:48 2014 (r43844)
@@ -6,7 +6,7 @@
-->
+ "http://www.w3.org/1999/xlink" version="5.0" xml:id="appendices">
Appendices
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 02:57:23 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id D21C6A9B;
Sun, 9 Feb 2014 02:57:23 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id BD4211786;
Sun, 9 Feb 2014 02:57:23 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s192vNcR048287;
Sun, 9 Feb 2014 02:57:23 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s192vNc3048286;
Sun, 9 Feb 2014 02:57:23 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090257.s192vNc3048286@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 02:57:23 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43845 - head/en_US.ISO8859-1/books/porters-handbook
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 02:57:23 -0000
Author: wblock
Date: Sun Feb 9 02:57:22 2014
New Revision: 43845
URL: http://svnweb.freebsd.org/changeset/doc/43845
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/book.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/book.xml Sun Feb 9 02:42:48 2014 (r43844)
+++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Sun Feb 9 02:57:22 2014 (r43845)
@@ -60,19 +60,19 @@
$FreeBSD$
-&chap.porting-why;
-&chap.new-port;
-&chap.quick-porting;
-&chap.slow-porting;
-&chap.makefiles;
-&chap.special;
-&chap.plist;
-&chap.pkg-files;
-&chap.testing;
-&chap.upgrading;
-&chap.security;
-&chap.porting-dads;
-&chap.porting-samplem;
-&chap.keeping-up;
-&chap.appendices;
+ &chap.porting-why;
+ &chap.new-port;
+ &chap.quick-porting;
+ &chap.slow-porting;
+ &chap.makefiles;
+ &chap.special;
+ &chap.plist;
+ &chap.pkg-files;
+ &chap.testing;
+ &chap.upgrading;
+ &chap.security;
+ &chap.porting-dads;
+ &chap.porting-samplem;
+ &chap.keeping-up;
+ &chap.appendices;
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 03:04:11 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id EC49FFAE;
Sun, 9 Feb 2014 03:04:10 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id B3F191B3A;
Sun, 9 Feb 2014 03:04:10 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1934ArZ053245;
Sun, 9 Feb 2014 03:04:10 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1934AEN053244;
Sun, 9 Feb 2014 03:04:10 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090304.s1934AEN053244@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 03:04:10 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43846 -
head/en_US.ISO8859-1/books/porters-handbook/keeping-up
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 03:04:11 -0000
Author: wblock
Date: Sun Feb 9 03:04:10 2014
New Revision: 43846
URL: http://svnweb.freebsd.org/changeset/doc/43846
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/keeping-up/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/keeping-up/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/keeping-up/chapter.xml Sun Feb 9 02:57:22 2014 (r43845)
+++ head/en_US.ISO8859-1/books/porters-handbook/keeping-up/chapter.xml Sun Feb 9 03:04:10 2014 (r43846)
@@ -5,155 +5,155 @@
$FreeBSD$
-->
-
+
- Keeping Up
+ Keeping Up
- The &os; Ports Collection is constantly changing. Here is
- some information on how to keep up.
+ The &os; Ports Collection is constantly changing. Here is
+ some information on how to keep up.
-
- FreshPorts
-
- One of the easiest ways to learn about updates that have
- already been committed is by subscribing to FreshPorts.
- You can select multiple ports to monitor. Maintainers are
- strongly encouraged to subscribe, because they will receive
- notification of not only their own changes, but also any
- changes that any other &os; committer has made. (These are
- often necessary to keep up with changes in the underlying
- ports framework—although it would be most polite to
- receive an advance heads-up from those committing such
- changes, sometimes this is overlooked or just simply
- impractical. Also, in some cases, the changes are very minor
- in nature. We expect everyone to use their best judgement in
- these cases.)
-
- If you wish to use FreshPorts, all you need is an account.
- If your registered email address is
- @FreeBSD.org, you will see the opt-in link
- on the right hand side of the webpages. For those of you who
- already have a FreshPorts account, but are not using your
- @FreeBSD.org email address, just change
- your email to @FreeBSD.org, subscribe, then
- change it back again.
-
- FreshPorts also has a sanity test feature which
- automatically tests each commit to the &os; ports tree. If
- subscribed to this service, you will be notified of any errors
- which FreshPorts detects during sanity testing of your
- commits.
-
-
-
- The Web Interface to the Source Repository
-
- It is possible to browse the files in the source
- repository by using a web interface. Changes that affect the
- entire port system are now documented in the CHANGES
- file. Changes that affect individual ports are now documented
- in the UPDATING
- file. However, the definitive answer to any question is
- undoubtedly to read the source code of bsd.port.mk,
- and associated files.
-
-
-
- The &os; Ports Mailing List
-
- If you maintain ports, you should consider following the
- &a.ports;. Important changes to the way ports work will be
- announced there, and then committed to
- CHANGES.
-
- If this mailing list is too high volume you may consider
- following &a.ports-announce; which is moderated and has no
- discussion.
-
-
-
- The &os; Port Building Cluster
-
- One of the least-publicized strengths of &os; is that
- an entire cluster of machines is dedicated to continually
- building the Ports Collection, for each of the major OS
- releases and for each Tier-1 architecture.
-
- Individual ports are built unless they are specifically
- marked with IGNORE. Ports that are
- marked with BROKEN will still be attempted,
- to see if the underlying problem has been resolved. (This
- is done by passing TRYBROKEN to the
- port's Makefile.)
-
-
-
- Portscout: the &os; Ports Distfile Scanner
-
- The build cluster is dedicated to building the latest
- release of each port with distfiles that have already been
- fetched. However, as the Internet continually changes,
- distfiles can quickly go missing.
+ FreshPorts
+
+ One of the easiest ways to learn about updates that have
+ already been committed is by subscribing to FreshPorts.
+ You can select multiple ports to monitor. Maintainers are
+ strongly encouraged to subscribe, because they will receive
+ notification of not only their own changes, but also any changes
+ that any other &os; committer has made. (These are often
+ necessary to keep up with changes in the underlying ports
+ framework—although it would be most polite to receive an
+ advance heads-up from those committing such changes, sometimes
+ this is overlooked or just simply impractical. Also, in some
+ cases, the changes are very minor in nature. We expect everyone
+ to use their best judgement in these cases.)
+
+ If you wish to use FreshPorts, all you need is an account.
+ If your registered email address is
+ @FreeBSD.org, you will see the opt-in link on
+ the right hand side of the webpages. For those of you who
+ already have a FreshPorts account, but are not using your
+ @FreeBSD.org email address, just change your
+ email to @FreeBSD.org, subscribe, then change
+ it back again.
+
+ FreshPorts also has a sanity test feature which
+ automatically tests each commit to the &os; ports tree. If
+ subscribed to this service, you will be notified of any errors
+ which FreshPorts detects during sanity testing of your
+ commits.
+
+
+
+ The Web Interface to the Source Repository
+
+ It is possible to browse the files in the source
+ repository by using a web interface. Changes that affect the
+ entire port system are now documented in the CHANGES
+ file. Changes that affect individual ports are now documented
+ in the UPDATING
+ file. However, the definitive answer to any question is
+ undoubtedly to read the source code of bsd.port.mk,
+ and associated files.
+
+
+
+ The &os; Ports Mailing List
+
+ If you maintain ports, you should consider following the
+ &a.ports;. Important changes to the way ports work will be
+ announced there, and then committed to
+ CHANGES.
+
+ If this mailing list is too high volume you may consider
+ following &a.ports-announce; which is moderated and has no
+ discussion.
+
+
+
+ The &os; Port Building Cluster
+
+ One of the least-publicized strengths of &os; is that
+ an entire cluster of machines is dedicated to continually
+ building the Ports Collection, for each of the major OS releases
+ and for each Tier-1 architecture.
+
+ Individual ports are built unless they are specifically
+ marked with IGNORE. Ports that are marked
+ with BROKEN will still be attempted, to see
+ if the underlying problem has been resolved. (This is done by
+ passing TRYBROKEN to the port's
+ Makefile.)
+
+
+
+ Portscout: the &os; Ports Distfile Scanner
+
+ The build cluster is dedicated to building the latest
+ release of each port with distfiles that have already been
+ fetched. However, as the Internet continually changes,
+ distfiles can quickly go missing. Portscout,
- the &os; Ports distfile scanner, attempts to query every
- download site for every port to find out if each distfile is
- still available. Portscout can
- generate HTML reports and send emails about
- newly available ports to those who request them. Unless not
- otherwise subscribed, maintainers are asked to check
- periodically for changes, either by hand or using the
- RSS feed.
-
- Portscout's first page gives
- the email address of the port maintainer, the number of ports
- the maintainer is responsible for, the number of those ports
- with new distfiles, and the percentage of those ports that are
- out-of-date. The search function allows for searching by
- email address for a specific maintainer, and for selecting
- whether or not only out-of-date ports should be shown.
-
- Upon clicking on a maintainer's email address, a list of
- all of their ports is displayed, along with port category,
- current version number, whether or not there is a new version,
- when the port was last updated, and finally when it was last
- checked. A search function on this page allows the user to
- search for a specific port.
-
- Clicking on a port name in the list displays the FreshPorts port
- information.
-
-
-
- The &os; Ports Monitoring System
-
- Another handy resource is the
- &os; Ports
- Monitoring System (also known as
- portsmon). This system comprises a
- database that processes information from several sources and
- allows it to be browsed via a web interface. Currently, the
- ports Problem Reports (PRs), the error logs from the build
- cluster, and individual files from the ports collection are
- used. In the future, this will be expanded to include the
- distfile survey, as well as other sources.
-
- To get started, you can view all information about a
- particular port by using the Overview
- of One Port.
-
- As of this writing, this is the only resource available
- that maps GNATS PR entries to portnames. (PR submitters do
- not always include the portname in their Synopsis, although we
- would prefer that they did.) So, portsmon
- is a good place to start if you want to find out whether an
- existing port has any PRs filed against it and/or any build
- errors; or, to find out if a new port that you may be thinking
- about creating has already been submitted.
-
-
+ the &os; Ports distfile scanner, attempts to query every
+ download site for every port to find out if each distfile is
+ still available. Portscout can
+ generate HTML reports and send emails about
+ newly available ports to those who request them. Unless not
+ otherwise subscribed, maintainers are asked to check
+ periodically for changes, either by hand or using the
+ RSS feed.
+
+ Portscout's first page gives
+ the email address of the port maintainer, the number of ports
+ the maintainer is responsible for, the number of those ports
+ with new distfiles, and the percentage of those ports that are
+ out-of-date. The search function allows for searching by email
+ address for a specific maintainer, and for selecting whether or
+ not only out-of-date ports should be shown.
+
+ Upon clicking on a maintainer's email address, a list of
+ all of their ports is displayed, along with port category,
+ current version number, whether or not there is a new version,
+ when the port was last updated, and finally when it was last
+ checked. A search function on this page allows the user to
+ search for a specific port.
+
+ Clicking on a port name in the list displays the FreshPorts port
+ information.
+
+
+
+ The &os; Ports Monitoring System
+
+ Another handy resource is the &os; Ports
+ Monitoring System (also known as
+ portsmon). This system comprises a database
+ that processes information from several sources and allows it to
+ be browsed via a web interface. Currently, the ports Problem
+ Reports (PRs), the error logs from the build cluster, and
+ individual files from the ports collection are used. In the
+ future, this will be expanded to include the distfile survey, as
+ well as other sources.
+
+ To get started, you can view all information about a
+ particular port by using the Overview
+ of One Port.
+
+ As of this writing, this is the only resource available that
+ maps GNATS PR entries to portnames. (PR submitters do not
+ always include the portname in their Synopsis, although we would
+ prefer that they did.) So, portsmon is a
+ good place to start if you want to find out whether an existing
+ port has any PRs filed against it and/or any build errors; or,
+ to find out if a new port that you may be thinking about
+ creating has already been submitted.
+
+
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 03:26:09 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id B803A746;
Sun, 9 Feb 2014 03:26:09 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id A2DB11D43;
Sun, 9 Feb 2014 03:26:09 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s193Q9ui063544;
Sun, 9 Feb 2014 03:26:09 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s193Q9Zk063543;
Sun, 9 Feb 2014 03:26:09 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090326.s193Q9Zk063543@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 03:26:09 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43847 -
head/en_US.ISO8859-1/books/porters-handbook/new-port
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 03:26:09 -0000
Author: wblock
Date: Sun Feb 9 03:26:08 2014
New Revision: 43847
URL: http://svnweb.freebsd.org/changeset/doc/43847
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/new-port/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/new-port/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/new-port/chapter.xml Sun Feb 9 03:04:10 2014 (r43846)
+++ head/en_US.ISO8859-1/books/porters-handbook/new-port/chapter.xml Sun Feb 9 03:26:08 2014 (r43847)
@@ -5,43 +5,45 @@
$FreeBSD$
-->
-
-
- Making a New Port
-
- So, you are interested in making your own port or
- upgrading an existing one? Great!
-
- What follows are some guidelines for creating a new port for
- &os;. If you want to upgrade an existing port, you should
- read this and then read .
-
- When this document is not sufficiently detailed, you should
- refer to /usr/ports/Mk/bsd.port.mk, which
- all port Makefiles include. Even if you do not hack Makefiles
- daily, it is well commented, and you will still gain much
- knowledge from it. Additionally, you may send specific
- questions to the &a.ports;.
-
-
- Only a fraction of the variables
- (VAR) that can
- be overridden are mentioned in this document. Most (if not
- all) are documented at the start of
- /usr/ports/Mk/bsd.port.mk; the others
- probably ought to be. Note that this file uses a non-standard
- tab setting: Emacs and
- Vim should recognize the setting on
- loading the file. Both &man.vi.1; and &man.ex.1; can be set
- to use the correct value by typing
- :set tabstop=4 once the file has been
- loaded.
-
-
-
- Looking for something easy to start with? Take a look at the
- list of
- requested ports and see if you can work on one (or
- more).
-
+
+
+ Making a New Port
+
+ So, you are interested in making your own port or
+ upgrading an existing one? Great!
+
+ What follows are some guidelines for creating a new port for
+ &os;. If you want to upgrade an existing port, you should read
+ this and then read .
+
+ When this document is not sufficiently detailed, you should
+ refer to /usr/ports/Mk/bsd.port.mk, which all
+ port Makefiles include. Even if you do not hack Makefiles daily,
+ it is well commented, and you will still gain much knowledge from
+ it. Additionally, you may send specific questions to the
+ &a.ports;.
+
+
+ Only a fraction of the variables
+ (VAR) that can be
+ overridden are mentioned in this document. Most (if not all)
+ are documented at the start of
+ /usr/ports/Mk/bsd.port.mk; the others
+ probably ought to be. Note that this file uses a non-standard
+ tab setting: Emacs and
+ Vim should recognize the setting on
+ loading the file. Both &man.vi.1; and &man.ex.1; can be set to
+ use the correct value by typing
+ :set tabstop=4 once the file has been
+ loaded.
+
+
+
+ Looking for something easy to start with? Take a look at the
+ list of
+ requested ports and see if you can work on one (or
+ more).
+
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 03:37:58 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 80041BA3;
Sun, 9 Feb 2014 03:37:58 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 699E41E02;
Sun, 9 Feb 2014 03:37:58 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s193bwPO068485;
Sun, 9 Feb 2014 03:37:58 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s193bwsO068484;
Sun, 9 Feb 2014 03:37:58 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090337.s193bwsO068484@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 03:37:58 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43848 -
head/en_US.ISO8859-1/books/porters-handbook/pkg-files
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 03:37:58 -0000
Author: wblock
Date: Sun Feb 9 03:37:57 2014
New Revision: 43848
URL: http://svnweb.freebsd.org/changeset/doc/43848
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml Sun Feb 9 03:26:08 2014 (r43847)
+++ head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml Sun Feb 9 03:37:57 2014 (r43848)
@@ -5,211 +5,206 @@
$FreeBSD$
-->
-
+
+
+ The pkg-* Files
+
+ There are some tricks we have not mentioned yet about the
+ pkg-* files that come in handy
+ sometimes.
+
+
+ pkg-message
+
+ If you need to display a message to the installer, you may
+ place the message in pkg-message. This
+ capability is often useful to display additional installation
+ steps to be taken after a pkg install or to
+ display licensing information.
+
+ When some lines about the build-time knobs or warnings
+ have to be displayed, use ECHO_MSG. The
+ pkg-message file is only for
+ post-installation steps. Likewise, the distinction between
+ ECHO_MSG and ECHO_CMD
+ should be kept in mind. The former is for printing
+ informational text to the screen, while the latter is for
+ command pipelining:
- The pkg-*
- Files
-
- There are some tricks we have not mentioned yet about the
- pkg-* files
- that come in handy sometimes.
-
-
- pkg-message
-
- If you need to display a message to the installer, you may
- place the message in pkg-message. This
- capability is often useful to display additional installation
- steps to be taken after a pkg install or to
- display licensing information.
-
- When some lines about the build-time knobs or warnings
- have to be displayed, use ECHO_MSG. The
- pkg-message file is only for
- post-installation steps. Likewise, the distinction between
- ECHO_MSG and ECHO_CMD
- should be kept in mind. The former is for printing
- informational text to the screen, while the latter is for
- command pipelining:
-
- update-etc-shells:
+ update-etc-shells:
@${ECHO_MSG} "updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@( ${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells
@${RM} /etc/shells.bak
-
- The pkg-message file does not need
- to be added to pkg-plist.
-
-
-
-
- pkg-install
-
- If your port needs to execute commands when the binary
- package is installed with pkg add or
- pkg install you can do this via the
- pkg-install script. This script will
- automatically be added to the package, and will be run twice
- by pkg the first time as
- ${SH} pkg-install ${PKGNAME}
- PRE-INSTALL and the second time as
- ${SH} pkg-install ${PKGNAME}
- POST-INSTALL. $2 can be
- tested to determine which mode the script is being run in.
- The PKG_PREFIX environmental variable will be
- set to the package installation directory.
-
-
- This script is not run automatically if you install the
- port with make install. If you are
- depending on it being run, you will have to explicitly call
- it from your port's Makefile, with a
- line like PKG_PREFIX=${PREFIX} ${SH}
- ${PKGINSTALL} ${PKGNAME}
- PRE-INSTALL.
-
-
-
-
- pkg-deinstall
-
- This script executes when a package is removed.
-
- This script will be run twice by pkg
- delete The first time as ${SH}
- pkg-deinstall ${PKGNAME} DEINSTALL and the
- second time as ${SH} pkg-deinstall
- ${PKGNAME} POST-DEINSTALL.
-
-
-
- Changing the Names of
- pkg-*
- Files
-
- All the names of
- pkg-* files
- are defined using variables so you can change them in your
- Makefile if need be. This is especially
- useful when you are sharing the same
- pkg-* files
- among several ports or have to write to one of the above files
- (see writing to places other
- than WRKDIR for why it is a bad
- idea to write directly into the
- pkg-*
- subdirectory).
-
- Here is a list of variable names and their default values.
- (PKGDIR defaults to
- ${MASTERDIR}.)
-
-
-
-
-
- Variable
- Default value
-
-
-
-
-
- DESCR
- ${PKGDIR}/pkg-descr
-
-
-
- PLIST
- ${PKGDIR}/pkg-plist
-
-
-
- PKGINSTALL
- ${PKGDIR}/pkg-install
-
-
-
- PKGDEINSTALL
- ${PKGDIR}/pkg-deinstall
-
-
-
- PKGMESSAGE
- ${PKGDIR}/pkg-message
-
-
-
-
-
- Please change these variables rather than overriding
- PKG_ARGS. If you change
- PKG_ARGS, those files will not correctly be
- installed in /var/db/pkg upon install
- from a port.
-
-
-
- Making Use of SUB_FILES and
- SUB_LIST
-
- The SUB_FILES and
- SUB_LIST variables are useful for dynamic
- values in port files, such as the installation
- PREFIX in
- pkg-message.
-
- The SUB_FILES variable specifies a list
- of files to be automatically modified. Each
- file in the
- SUB_FILES list must have a corresponding
- file.in
- present in FILESDIR. A modified version
- will be created in WRKDIR. Files defined
- as a value of USE_RC_SUBR (or the
- deprecated USE_RCORDER) are automatically
- added to the SUB_FILES. For the files
- pkg-message,
- pkg-install,
- and
- pkg-deinstall,
- the corresponding Makefile
- variable is automatically set to point to the processed
- version.
-
- The SUB_LIST variable is a list of
- VAR=VALUE pairs. For each pair
- %%VAR%% will get replaced with
- VALUE in each file listed in
- SUB_FILES. Several common pairs are
- automatically defined: PREFIX,
- LOCALBASE, DATADIR,
- DOCSDIR, EXAMPLESDIR,
- WWWDIR, and ETCDIR.
- Any line beginning with @comment will be
- deleted from resulting files after a variable
- substitution.
-
- The following example will replace
- %%ARCH%% with the system architecture in a
- pkg-message:
+
+ The pkg-message file does not need
+ to be added to pkg-plist.
+
+
+
+
+ pkg-install
+
+ If your port needs to execute commands when the binary
+ package is installed with pkg add or
+ pkg install you can do this via the
+ pkg-install script. This script will
+ automatically be added to the package, and will be run twice by
+ pkg the first time as
+
+ ${SH} pkg-install ${PKGNAME}
+ PRE-INSTALL and the second time as
+ ${SH} pkg-install ${PKGNAME}
+ POST-INSTALL. $2 can be
+ tested to determine which mode the script is being run in.
+ The PKG_PREFIX environmental variable will be
+ set to the package installation directory.
+
+
+ This script is not run automatically if you install the
+ port with make install. If you are
+ depending on it being run, you will have to explicitly call
+ it from your port's Makefile, with a
+ line like PKG_PREFIX=${PREFIX} ${SH}
+ ${PKGINSTALL} ${PKGNAME}
+ PRE-INSTALL.
+
+
+
+
+ pkg-deinstall
+
+ This script executes when a package is removed.
+
+ This script will be run twice by
+ pkg delete The first time as
+ ${SH} pkg-deinstall ${PKGNAME}
+ DEINSTALL and the second time as
+ ${SH} pkg-deinstall
+ ${PKGNAME} POST-DEINSTALL.
+
+
+
+ Changing the Names of
+ pkg-* Files
+
+ All the names of pkg-* files are
+ defined using variables so you can change them in your
+ Makefile if need be. This is especially
+ useful when you are sharing the same pkg-*
+ files among several ports or have to write to one of the above
+ files (see writing to places
+ other than WRKDIR for why it is a
+ bad idea to write directly into the pkg-*
+ subdirectory).
+
+ Here is a list of variable names and their default values.
+ (PKGDIR defaults to
+ ${MASTERDIR}.)
+
+
+
+
+
+ Variable
+ Default value
+
+
+
+
+
+ DESCR
+ ${PKGDIR}/pkg-descr
+
+
+
+ PLIST
+ ${PKGDIR}/pkg-plist
+
+
+
+ PKGINSTALL
+ ${PKGDIR}/pkg-install
+
+
+
+ PKGDEINSTALL
+ ${PKGDIR}/pkg-deinstall
+
+
+
+ PKGMESSAGE
+ ${PKGDIR}/pkg-message
+
+
+
+
+
+ Please change these variables rather than overriding
+ PKG_ARGS. If you change
+ PKG_ARGS, those files will not correctly be
+ installed in /var/db/pkg upon install
+ from a port.
+
+
+
+ Making Use of SUB_FILES and
+ SUB_LIST
+
+ The SUB_FILES and
+ SUB_LIST variables are useful for dynamic
+ values in port files, such as the installation
+ PREFIX in
+ pkg-message.
+
+ The SUB_FILES variable specifies a list
+ of files to be automatically modified. Each
+ file in the
+ SUB_FILES list must have a corresponding
+ file.in present in
+ FILESDIR. A modified version will be created
+ in WRKDIR. Files defined as a value of
+ USE_RC_SUBR (or the deprecated
+ USE_RCORDER) are automatically added to the
+ SUB_FILES. For the files
+ pkg-message,
+ pkg-install, and
+ pkg-deinstall, the corresponding Makefile
+ variable is automatically set to point to the processed
+ version.
+
+ The SUB_LIST variable is a list of
+ VAR=VALUE pairs. For each pair
+ %%VAR%% will get replaced with
+ VALUE in each file listed in
+ SUB_FILES. Several common pairs are
+ automatically defined: PREFIX,
+ LOCALBASE, DATADIR,
+ DOCSDIR, EXAMPLESDIR,
+ WWWDIR, and ETCDIR. Any
+ line beginning with @comment will be deleted
+ from resulting files after a variable substitution.
+
+ The following example will replace
+ %%ARCH%% with the system architecture in a
+ pkg-message:
- SUB_FILES= pkg-message
+ SUB_FILES= pkg-message
SUB_LIST= ARCH=${ARCH}
- Note that for this example, the
- pkg-message.in file must exist in
- FILESDIR.
+ Note that for this example, the
+ pkg-message.in file must exist in
+ FILESDIR.
- Example of a good
- pkg-message.in:
+ Example of a good
+ pkg-message.in:
- Now it is time to configure this package.
+ Now it is time to configure this package.
Copy %%PREFIX%%/share/examples/putsy/%%ARCH%%.conf into your home directory
as .putsy.conf and edit it.
-
-
-
+
+
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 03:46:05 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id D454ECCC;
Sun, 9 Feb 2014 03:46:05 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id BFFF21F95;
Sun, 9 Feb 2014 03:46:05 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s193k5uC072666;
Sun, 9 Feb 2014 03:46:05 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s193k5Zx072665;
Sun, 9 Feb 2014 03:46:05 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090346.s193k5Zx072665@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 03:46:05 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43849 - head/en_US.ISO8859-1/books/porters-handbook
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 03:46:05 -0000
Author: wblock
Date: Sun Feb 9 03:46:05 2014
New Revision: 43849
URL: http://svnweb.freebsd.org/changeset/doc/43849
Log:
Fix the SRCS declaration.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/Makefile
Modified: head/en_US.ISO8859-1/books/porters-handbook/Makefile
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/Makefile Sun Feb 9 03:37:57 2014 (r43848)
+++ head/en_US.ISO8859-1/books/porters-handbook/Makefile Sun Feb 9 03:46:05 2014 (r43849)
@@ -19,6 +19,7 @@ INSTALL_ONLY_COMPRESSED?=
#
# XML content
+SRCS= book.xml
SRCS+= porting-why/chapter.xml
SRCS+= new-port/chapter.xml
SRCS+= quick-porting/chapter.xml
@@ -34,8 +35,6 @@ SRCS+= porting-dads/chapter.xml
SRCS+= porting-samplem/chapter.xml
SRCS+= keeping-up/chapter.xml
SRCS+= appendices/chapter.xml
-
-SRCS= book.xml
SRCS+= uses.xml
SRCS+= versions.xml
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 04:05:25 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id B1E451DA;
Sun, 9 Feb 2014 04:05:25 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 9BBC310DE;
Sun, 9 Feb 2014 04:05:25 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1945PYI081945;
Sun, 9 Feb 2014 04:05:25 GMT (envelope-from wblock@svn.freebsd.org)
Received: (from wblock@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1945PhX081944;
Sun, 9 Feb 2014 04:05:25 GMT (envelope-from wblock@svn.freebsd.org)
Message-Id: <201402090405.s1945PhX081944@svn.freebsd.org>
From: Warren Block
Date: Sun, 9 Feb 2014 04:05:25 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43850 - head/en_US.ISO8859-1/books/porters-handbook/plist
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 04:05:25 -0000
Author: wblock
Date: Sun Feb 9 04:05:25 2014
New Revision: 43850
URL: http://svnweb.freebsd.org/changeset/doc/43850
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Sun Feb 9 03:46:05 2014 (r43849)
+++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Sun Feb 9 04:05:25 2014 (r43850)
@@ -5,127 +5,121 @@
$FreeBSD$
-->
-
+
+
+ Advanced pkg-plist Practices
+
+
+ Changing pkg-plist Based on Make
+ Variables
+
+ Some ports, particularly the p5- ports,
+ need to change their pkg-plist depending on
+ what options they are configured with (or version of
+ perl, in the case of p5-
+ ports). To make this easy, any instances in the
+ pkg-plist of %%OSREL%%,
+ %%PERL_VER%%, and
+ %%PERL_VERSION%% will be substituted for
+ appropriately. The value of %%OSREL%% is the
+ numeric revision of the operating system (e.g.,
+ 4.9). %%PERL_VERSION%%
+ and %%PERL_VER%% is the full version number
+ of perl (e.g., 5.8.9).
+ Several other %%VARS%% related to port's
+ documentation files are described in
+ the relevant
+ section.
+
+ If you need to make other substitutions, you can set the
+ PLIST_SUB variable with a list of
+ VAR=VALUE pairs and instances of
+ %%VAR%% will be substituted with
+ VALUE in the
+ pkg-plist.
+
+ For instance, if you have a port that installs many files
+ in a version-specific subdirectory, you can put something
+ like
- Advanced pkg-plist Practices
-
-
- Changing pkg-plist Based on Make
- Variables
-
- Some ports, particularly the p5- ports,
- need to change their pkg-plist depending
- on what options they are configured with (or version of
- perl, in the case of p5-
- ports). To make this easy, any instances in the
- pkg-plist of
- %%OSREL%%, %%PERL_VER%%,
- and %%PERL_VERSION%% will be substituted
- for appropriately. The value of %%OSREL%%
- is the numeric revision of the operating system (e.g.,
- 4.9). %%PERL_VERSION%%
- and %%PERL_VER%% is the full version number
- of perl (e.g., 5.8.9).
- Several other
- %%VARS%% related
- to port's documentation files are described in
- the relevant
- section.
-
- If you need to make other substitutions, you can set the
- PLIST_SUB variable with a list of
- VAR=VALUE
- pairs and instances of
- %%VAR%% will be
- substituted with VALUE in the
- pkg-plist.
-
- For instance, if you have a port that installs many files
- in a version-specific subdirectory, you can put something
- like
-
- OCTAVE_VERSION= 2.0.13
+ OCTAVE_VERSION= 2.0.13
PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}
- in the Makefile and use
- %%OCTAVE_VERSION%% wherever the version
- shows up in pkg-plist. That way, when
- you upgrade the port, you will not have to change dozens (or
- in some cases, hundreds) of lines in the
- pkg-plist.
-
- If your port installs files conditionally on the options
- set in the port, the usual way of handling it is prefixing the
- pkg-plist lines with a
- %%TAG%% and adding that
- TAG to the PLIST_SUB
- variable inside the Makefile with a
- special value of @comment, which makes
- package tools to ignore the line:
+ in the Makefile and use
+ %%OCTAVE_VERSION%% wherever the version shows
+ up in pkg-plist. That way, when you
+ upgrade the port, you will not have to change dozens (or in some
+ cases, hundreds) of lines in the
+ pkg-plist.
+
+ If your port installs files conditionally on the options
+ set in the port, the usual way of handling it is prefixing the
+ pkg-plist lines with a
+ %%TAG%% and adding that
+ TAG to the PLIST_SUB
+ variable inside the Makefile with a special
+ value of @comment, which makes package tools
+ to ignore the line:
- .if defined(WITH_X11)
+ .if defined(WITH_X11)
PLIST_SUB+= X11=""
.else
PLIST_SUB+= X11="@comment "
.endif
- and in the pkg-plist:
+ and in the pkg-plist:
- %%X11%%bin/foo-gui
+ %%X11%%bin/foo-gui
- This substitution
- will be
- done between the pre-install and
- do-install targets, by reading from
- PLIST and writing to
- TMPPLIST (default:
- WRKDIR/.PLIST.mktmp).
- So if your port builds
- PLIST on the fly, do
- so in or before pre-install. Also,
- if your port needs to edit the resulting file, do so in
- post-install to a file named
- TMPPLIST.
-
- Another way of modifying a port's packing list is based
- on setting the variables PLIST_FILES,
- PLIST_DIRS, and
- PLIST_DIRSTRY. The value of each variable
- is regarded as a list of pathnames to write to
- TMPPLIST along with
- PLIST contents. Names
- listed in PLIST_FILES,
- PLIST_DIRS, and
- PLIST_DIRSTRY are subject to
- %%VAR%%
- substitution as described above. Except for that, names from
- PLIST_FILES will appear in the final
- packing list unchanged, while @dirrm and
- @dirrmtry will
- be prepended to names from PLIST_DIRS
- and PLIST_DIRSTRY, respectively. To
- take effect, PLIST_FILES,
- PLIST_DIRS, and
- PLIST_DIRSTRY must be set before
- TMPPLIST is written,
- i.e., in pre-install or
- earlier.
-
-
-
- Empty Directories
-
-
- Cleaning Up Empty Directories
-
- Do make your ports remove empty directories when they
- are de-installed. This is usually accomplished by adding
- @dirrm lines for all directories that are
- specifically created by the port. You need to delete
- subdirectories before you can delete parent
- directories.
+ This substitution will be done between the
+ pre-install and
+ do-install targets, by reading from
+ PLIST and writing to
+ TMPPLIST (default:
+ WRKDIR/.PLIST.mktmp). So if your port
+ builds PLIST on the fly, do so in or before
+ pre-install. Also, if your port
+ needs to edit the resulting file, do so in
+ post-install to a file named
+ TMPPLIST.
+
+ Another way of modifying a port's packing list is based on
+ setting the variables PLIST_FILES,
+ PLIST_DIRS, and
+ PLIST_DIRSTRY. The value of each variable is
+ regarded as a list of pathnames to write to
+ TMPPLIST along with
+ PLIST contents. Names listed in
+ PLIST_FILES, PLIST_DIRS,
+ and PLIST_DIRSTRY are subject to
+ %%VAR%% substitution as described above.
+ Except for that, names from PLIST_FILES will
+ appear in the final packing list unchanged, while
+ @dirrm and @dirrmtry will
+ be prepended to names from PLIST_DIRS and
+ PLIST_DIRSTRY, respectively. To take effect,
+ PLIST_FILES, PLIST_DIRS,
+ and PLIST_DIRSTRY must be set before
+ TMPPLIST is written, i.e., in
+ pre-install or earlier.
+
+
+
+ Empty Directories
+
+
+ Cleaning Up Empty Directories
+
+ Do make your ports remove empty directories when they are
+ de-installed. This is usually accomplished by adding
+ @dirrm lines for all directories that are
+ specifically created by the port. You need to delete
+ subdirectories before you can delete parent
+ directories.
- :
+ :
lib/X11/oneko/pixmaps/cat.xpm
lib/X11/oneko/sounds/cat.au
:
@@ -133,156 +127,151 @@ lib/X11/oneko/sounds/cat.au
@dirrm lib/X11/oneko/sounds
@dirrm lib/X11/oneko
- However, sometimes @dirrm will give
- you errors because other ports share the same directory.
- You can use @dirrmtry to remove only
- empty directories without warning.
-
- @dirrmtry share/doc/gimp
-
- This will neither print any error messages nor cause
- pkg delete (see &man.pkg-delete.8;) to
- exit abnormally even if
- ${PREFIX}/share/doc/gimp is not empty
- due to other ports installing some files in there.
-
-
-
- Creating Empty Directories
-
- Empty directories created during port installation need
- special attention. They will not get created when
- installing the package, because packages only store the
- files, and both pkg add and pkg
- install creates directories for them as needed.
- To make sure the empty directory is created when installing
- the package, add this line to pkg-plist
- above the corresponding @dirrm
- line:
+ However, sometimes @dirrm will give
+ you errors because other ports share the same directory. You
+ can use @dirrmtry to remove only empty
+ directories without warning.
+
+ @dirrmtry share/doc/gimp
+
+ This will neither print any error messages nor cause
+ pkg delete (see &man.pkg-delete.8;) to
+ exit abnormally even if
+ ${PREFIX}/share/doc/gimp is not empty
+ due to other ports installing some files in there.
+
+
+
+ Creating Empty Directories
+
+ Empty directories created during port installation need
+ special attention. They will not get created when installing
+ the package, because packages only store the files, and both
+ pkg add and pkg install
+ creates directories for them as needed. To make sure the
+ empty directory is created when installing the package, add
+ this line to pkg-plist above the
+ corresponding @dirrm line:@exec mkdir -p %D/share/foo/templates
-
-
+
+
-
- Configuration Files
+
+ Configuration Files
- If your port installs configuration files to
- PREFIX/etc (or
- elsewhere) do not simply list them in the
- pkg-plist. That will cause pkg
- delete to remove the files carefully edited by the
- user, and a re-installation will wipe them out.
-
- Instead, install sample file(s) with a
- filename.sample
- suffix. Then copy the sample file to the real configuration
- file name, if it does not already exist. On deinstall
- delete the configuration file, but only if it is identical
- to the .sample file.
- You need to handle this both in the port
- Makefile, and in the
- pkg-plist (for installation from the
- package).
+ If your port installs configuration files to
+ PREFIX/etc (or elsewhere) do
+ not simply list them in the
+ pkg-plist. That will cause
+ pkg delete to remove the files carefully
+ edited by the user, and a re-installation will wipe them
+ out.
+
+ Instead, install sample file(s) with a
+ filename.sample suffix. Then copy the
+ sample file to the real configuration file name, if it does not
+ already exist. On deinstall delete the configuration file, but
+ only if it is identical to the .sample
+ file. You need to handle this both in the port
+ Makefile, and in the
+ pkg-plist (for installation from the
+ package).
- Example of the Makefile part:
+ Example of the Makefile part:
- post-install:
+ post-install:
@if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \
${CP} -p ${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \
fi
- For each configuration file, create the following three
- lines in pkg-plist:
+ For each configuration file, create the following three
+ lines in pkg-plist:
- @unexec if cmp -s %D/etc/orbit.conf.sample %D/etc/orbit.conf; then rm -f %D/etc/orbit.conf; fi
+ @unexec if cmp -s %D/etc/orbit.conf.sample %D/etc/orbit.conf; then rm -f %D/etc/orbit.conf; fi
etc/orbit.conf.sample
@exec if [ ! -f %D/etc/orbit.conf ] ; then cp -p %D/%F %B/orbit.conf; fi
- The order of these lines is important. On deinstallation,
- the sample file is compared to the actual configuration file.
- If these files are identical, no changes have been made by the
- user and the actual file can be safely deleted. Because the
- sample file must still exist for the comparison, the
- @unexec line comes before the sample
- configuration file name. On installation, if an actual
- configuration file is not already present, the sample file is
- copied to the actual file. The sample file must be present
- before it can be copied, so the @exec line
- comes after the sample configuration file name.
-
- To debug any issues, temporarily remove the
- -s flag to &man.cmp.1; for more
- output.
-
- See &man.pkg-create.8; for more information on
- %D and related substitution markers.
-
- If there is a very good reason not to install a working
- configuration file by default, leave the
- @exec line out of
- pkg-plist and add a
- message pointing out
- that the user must copy and edit the file before the software
- will work.
-
-
-
- Dynamic Versus Static Package List
-
- A static package list is a package
- list which is available in the Ports Collection either as a
- pkg-plist file (with or without variable
- substitution), or embedded into the
- Makefile via
- PLIST_FILES,
- PLIST_DIRS, and
- PLIST_DIRSTRY. Even if the contents are
- auto-generated by a tool or a target in the Makefile
- before the inclusion into the Ports
- Collection by a committer, this is still considered a static
- list, since it is possible to examine it without having to
- download or compile the distfile.
-
- A dynamic package list is a package
- list which is generated at the time the port is compiled based
- upon the files and directories which are installed. It is not
- possible to examine it before the source code of the ported
- application is downloaded and compiled, or after running a
- make clean.
-
- While the use of dynamic package lists is not forbidden,
- maintainers should use static package lists wherever possible,
- as it enables users to &man.grep.1; through available ports to
- discover, for example, which port installs a certain file.
- Dynamic lists should be primarily used for complex ports where
- the package list changes drastically based upon optional
- features of the port (and thus maintaining a static package
- list is infeasible), or ports which change the package list
- based upon the version of dependent software used (e.g., ports
- which generate docs with
- Javadoc).
-
-
-
- Automated Package List Creation
-
- First, make sure your port is almost complete, with only
- pkg-plist missing. You may then run
- make makeplist to
- generate a pkg-plist automatically. This
- file must be double checked for correctness.
-
- User configuration files should be
- removed, or installed as
- filename.sample.
- The info/dir file should not be listed
- and appropriate install-info lines should
- be added as noted in the
- info files section. Any
- libraries installed by the port should be listed as specified
- in the shared libraries
- section.
-
-
-
+ The order of these lines is important. On deinstallation,
+ the sample file is compared to the actual configuration file.
+ If these files are identical, no changes have been made by the
+ user and the actual file can be safely deleted. Because the
+ sample file must still exist for the comparison, the
+ @unexec line comes before the sample
+ configuration file name. On installation, if an actual
+ configuration file is not already present, the sample file is
+ copied to the actual file. The sample file must be present
+ before it can be copied, so the @exec line
+ comes after the sample configuration file name.
+
+ To debug any issues, temporarily remove the
+ -s flag to &man.cmp.1; for more
+ output.
+
+ See &man.pkg-create.8; for more information on
+ %D and related substitution markers.
+
+ If there is a very good reason not to install a working
+ configuration file by default, leave the
+ @exec line out of
+ pkg-plist and add a
+ message pointing out that
+ the user must copy and edit the file before the software will
+ work.
+
+
+
+ Dynamic Versus Static Package List
+
+ A static package list is a package
+ list which is available in the Ports Collection either as a
+ pkg-plist file (with or without variable
+ substitution), or embedded into the
+ Makefile via
+ PLIST_FILES, PLIST_DIRS,
+ and PLIST_DIRSTRY. Even if the contents are
+ auto-generated by a tool or a target in the Makefile
+ before the inclusion into the Ports
+ Collection by a committer, this is still considered a static
+ list, since it is possible to examine it without having to
+ download or compile the distfile.
+
+ A dynamic package list is a package
+ list which is generated at the time the port is compiled based
+ upon the files and directories which are installed. It is not
+ possible to examine it before the source code of the ported
+ application is downloaded and compiled, or after running a
+ make clean.
+
+ While the use of dynamic package lists is not forbidden,
+ maintainers should use static package lists wherever possible,
+ as it enables users to &man.grep.1; through available ports to
+ discover, for example, which port installs a certain file.
+ Dynamic lists should be primarily used for complex ports where
+ the package list changes drastically based upon optional
+ features of the port (and thus maintaining a static package list
+ is infeasible), or ports which change the package list based
+ upon the version of dependent software used (e.g., ports which
+ generate docs with Javadoc).
+
+
+
+ Automated Package List Creation
+
+ First, make sure your port is almost complete, with only
+ pkg-plist missing. You may then run
+ make makeplist to generate a
+ pkg-plist automatically. This file must be
+ double checked for correctness.
+
+ User configuration files should be removed, or installed as
+ filename.sample. The
+ info/dir file should not be listed and
+ appropriate install-info lines should be
+ added as noted in the
+ info files section. Any
+ libraries installed by the port should be listed as specified in
+ the shared libraries
+ section.
+
+
From owner-svn-doc-head@FreeBSD.ORG Sun Feb 9 08:19:56 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 156C2663;
Sun, 9 Feb 2014 08:19:56 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id F2B1D1FCD;
Sun, 9 Feb 2014 08:19:55 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s198Jtsb097536;
Sun, 9 Feb 2014 08:19:55 GMT (envelope-from ryusuke@svn.freebsd.org)
Received: (from ryusuke@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s198Jtpu097531;
Sun, 9 Feb 2014 08:19:55 GMT (envelope-from ryusuke@svn.freebsd.org)
Message-Id: <201402090819.s198Jtpu097531@svn.freebsd.org>
From: Ryusuke SUZUKI
Date: Sun, 9 Feb 2014 08:19:55 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43851 - in head/ja_JP.eucJP/htdocs/java: . dists
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Sun, 09 Feb 2014 08:19:56 -0000
Author: ryusuke
Date: Sun Feb 9 08:19:54 2014
New Revision: 43851
URL: http://svnweb.freebsd.org/changeset/doc/43851
Log:
- Merge the following from the English version:
r42048 -> r43646 head/ja_JP.eucJP/htdocs/java/Makefile
r42026 -> r43646 head/ja_JP.eucJP/htdocs/java/dists/index.xml
r42047 -> r43646 head/ja_JP.eucJP/htdocs/java/index.xml
r42154 -> r43646 head/ja_JP.eucJP/htdocs/java/install.xml
r31298 -> (dead) head/ja_JP.eucJP/htdocs/java/java-rss.xsl
r24043 -> (dead) head/ja_JP.eucJP/htdocs/java/links.xml
r41555 -> (dead) head/ja_JP.eucJP/htdocs/java/news.xml
r31289 -> (dead) head/ja_JP.eucJP/htdocs/java/newsflash.xsl
Deleted:
head/ja_JP.eucJP/htdocs/java/java-rss.xsl
head/ja_JP.eucJP/htdocs/java/links.xml
head/ja_JP.eucJP/htdocs/java/news.xml
head/ja_JP.eucJP/htdocs/java/newsflash.xsl
Modified:
head/ja_JP.eucJP/htdocs/java/Makefile
head/ja_JP.eucJP/htdocs/java/dists/index.xml
head/ja_JP.eucJP/htdocs/java/index.xml
head/ja_JP.eucJP/htdocs/java/install.xml
Modified: head/ja_JP.eucJP/htdocs/java/Makefile
==============================================================================
--- head/ja_JP.eucJP/htdocs/java/Makefile Sun Feb 9 04:05:25 2014 (r43850)
+++ head/ja_JP.eucJP/htdocs/java/Makefile Sun Feb 9 08:19:54 2014 (r43851)
@@ -1,6 +1,6 @@
# $FreeBSD$
# The FreeBSD Japanese Documentation Project
-# Original revision: r42048
+# Original revision: r43646
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@@ -14,10 +14,5 @@ SUBDIR = dists
DOCS+= howhelp.xml
DOCS+= index.xml
DOCS+= install.xml
-DOCS+= links.xml
-
-XML.DEFAULT= news.xml
-XMLDOCS= newsflash
-XMLDOCS+= news:java-rss.xsl::rss.xml
.include "${DOC_PREFIX}/share/mk/web.site.mk"
Modified: head/ja_JP.eucJP/htdocs/java/dists/index.xml
==============================================================================
--- head/ja_JP.eucJP/htdocs/java/dists/index.xml Sun Feb 9 04:05:25 2014 (r43850)
+++ head/ja_JP.eucJP/htdocs/java/dists/index.xml Sun Feb 9 08:19:54 2014 (r43851)
@@ -1,10 +1,10 @@
-
+
]>
@@ -36,12 +36,12 @@
empty content on news page
- while here remov bsdnews.{com,org} as they have not resurfaced since 2008
Approved by: remko (mentor)
Modified:
head/en_US.ISO8859-1/htdocs/news/news.xml
Modified: head/en_US.ISO8859-1/htdocs/news/news.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/news/news.xml Mon Feb 10 15:33:02 2014 (r43858)
+++ head/en_US.ISO8859-1/htdocs/news/news.xml Mon Feb 10 15:49:03 2014 (r43859)
@@ -54,17 +54,6 @@
Active online forums and news community site dedicated
to FreeBSD and other BSDs.
-
-
-
-
FreeBSD Diary:
From owner-svn-doc-head@FreeBSD.ORG Mon Feb 10 16:01:59 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 05ABDEA6;
Mon, 10 Feb 2014 16:01:59 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id DD27B1AF3;
Mon, 10 Feb 2014 16:01:58 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1AG1w6D095310;
Mon, 10 Feb 2014 16:01:58 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1AG1wHK095309;
Mon, 10 Feb 2014 16:01:58 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402101601.s1AG1wHK095309@svn.freebsd.org>
From: Dru Lavigne
Date: Mon, 10 Feb 2014 16:01:58 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43860 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 10 Feb 2014 16:01:59 -0000
Author: dru
Date: Mon Feb 10 16:01:57 2014
New Revision: 43860
URL: http://svnweb.freebsd.org/changeset/doc/43860
Log:
Incorporate "The Basics" into the Synopsis.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Mon Feb 10 15:49:03 2014 (r43859)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Mon Feb 10 16:01:57 2014 (r43860)
@@ -23,11 +23,38 @@
Synopsis&os; is a distributed project with users and contributors
- located all over the world. This chapter discusses the
- internationalization and localization features of &os; that
- allow non-English speaking users to get real work done. Since
+ located all over the world. As such, &os; supports localization
+ into many languages. This allows a user to view, input, or process data in non-English
+ languages. Currently, one can choose from most of the
+ major languages, including but not limited to: Chinese,
+ German, Japanese, Korean, French, Russian, and
+ Vietnamese.
+
+
+ internationalization
+ localization
+
+ localization
+
+ The term internationalization has been shortened to
+ i18n, which represents the number of
+ letters between the first and the last letters of
+ internationalization. L10n uses the
+ same naming scheme, coming from localization.
+ Combined together,
+ i18n/L10n methods,
+ protocols, and applications allow users to use languages of
+ their choice.
+
+ i18n applications are programmed using
+ i18n kits under libraries. These allow
+ developers to write a simple file and translate displayed
+ menus and texts to each language.
+
+ This chapter discusses the
+ internationalization and localization features of &os;. Since
there are many aspects of the i18n
- implementation in both the system and application levels, more
+ implementation at both the system and application levels, more
specific sources of documentation are referred to, where
applicable.
@@ -68,55 +95,6 @@
We are pleased to announce the availability of the
+ &os; Journal! It is the new online Journal, that the
+ &os; Foundation is publishing, that is all about
+ &os;. Click here
+ to find out how to get the first issue that is focused on
+ &os; 10.
+
+
+
+
+ 1
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 12:29:39 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 0E125468;
Tue, 11 Feb 2014 12:29:39 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id EC3941B44;
Tue, 11 Feb 2014 12:29:38 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BCTcQw078801;
Tue, 11 Feb 2014 12:29:38 GMT (envelope-from ryusuke@svn.freebsd.org)
Received: (from ryusuke@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BCTcIb078800;
Tue, 11 Feb 2014 12:29:38 GMT (envelope-from ryusuke@svn.freebsd.org)
Message-Id: <201402111229.s1BCTcIb078800@svn.freebsd.org>
From: Ryusuke SUZUKI
Date: Tue, 11 Feb 2014 12:29:38 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43869 - head/ja_JP.eucJP/share/xml
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 12:29:39 -0000
Author: ryusuke
Date: Tue Feb 11 12:29:38 2014
New Revision: 43869
URL: http://svnweb.freebsd.org/changeset/doc/43869
Log:
- Merge the following from the English version:
r43658 -> r43868 head/ja_JP.eucJP/share/xml/news.xml
Modified:
head/ja_JP.eucJP/share/xml/news.xml
Modified: head/ja_JP.eucJP/share/xml/news.xml
==============================================================================
--- head/ja_JP.eucJP/share/xml/news.xml Tue Feb 11 04:12:05 2014 (r43868)
+++ head/ja_JP.eucJP/share/xml/news.xml Tue Feb 11 12:29:38 2014 (r43869)
@@ -20,7 +20,7 @@
the contents of will be preferred over
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 14:59:29 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 97B2BD62;
Tue, 11 Feb 2014 14:59:29 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 758271AC1;
Tue, 11 Feb 2014 14:59:29 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BExTTb038084;
Tue, 11 Feb 2014 14:59:29 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BExTVK038082;
Tue, 11 Feb 2014 14:59:29 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402111459.s1BExTVK038082@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 14:59:29 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43871 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 14:59:29 -0000
Author: dru
Date: Tue Feb 11 14:59:28 2014
New Revision: 43871
URL: http://svnweb.freebsd.org/changeset/doc/43871
Log:
Initial pass at improving the flow and readability of this section.
Several more commits to follow.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 12:50:19 2014 (r43870)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 14:59:28 2014 (r43871)
@@ -101,29 +101,27 @@
locale
- Localization settings are based on three main terms:
- Language Code, Country Code, and Encoding. Locale names are
+ Localization settings are based on three components:
+ the language code, country code, and encoding. Locale names are
constructed from these parts as follows:LanguageCode_CountryCode.Encoding
-
- Language and Country Codes
-
language codescountry codes
- In order to localize a &os; system to a specific language,
- the user needs to determine the codes for the specific country
- and language as the country code tells applications which
- variation of the given language to use. The following are
- examples of language/country codes:
+ The LanguageCode and CountryCode are used
+ to determine the country
+ and the specific language
+ variation. provides some
+ examples of LanguageCode_CountryCode:
-
+
+ Common Language and Country Codes
- Language/Country Code
+ LanguageCode_Country CodeDescription
@@ -131,86 +129,49 @@
en_US
- English - United States
+ English, United Statesru_RU
- Russian for Russia
+ Russian, Russiazh_TW
- Traditional Chinese for Taiwan
+ Traditional Chinese, Taiwan
-
-
- A complete listing of available locales can be found by
- typing:
-
- &prompt.user; locale -a
-
-
-
- Encodings
+
encodingsASCII
- Some languages use non-ASCII encodings that are 8-bit,
- wide, or multibyte characters. For more information on these
- encodings, refer to &man.multibyte.3;. Older applications do
- not recognize these encodings and mistake them for control
- characters. Newer applications usually recognize 8-bit
+ Some languages, such as Chinese or Japanese, cannot be represented using ASCII characters
+ and require an extended language encoding using either
+ wide or multibyte characters. Older applications
+ may mistake these encodings for control
+ characters while newer applications usually recognize 8-bit
characters. Depending on the implementation, users may be
required to compile an application with wide or multibyte
- character support, or configure it correctly. To provide
- application support for wide or multibyte characters, the
- &os; Ports
- Collection contains programs for several languages.
- Refer to the i18n documentation in the
- respective &os; port.
-
- Specifically, the user needs to look at the application
- documentation to decide how to configure it correctly or to
- determine which compile options to use when building the
- port.
-
- Some things to keep in mind are:
-
-
-
- Language specific single C chars character sets
- such as ISO8859-1, ISO8859-15, KOI8-R, and CP437. These
- are described in &man.multibyte.3;.
-
+ character support, or configure it correctly. The rest of
+ this section describes the various methods for configuring the
+ locale on a &os; system. The next section will discuss the
+ considerations for finding or compiling applications with i18n
+ support.
-
- Wide or multibyte encodings such as EUC and
- Big5.
-
-
-
- The active list of character sets can be found at the
- IANA
- Registry.
+ A complete listing of available locales can be found by
+ typing:
-
- &os; uses Xorg-compatible locale encodings
- instead.
-
-
- In the &os; Ports Collection, i18n
- applications include i18n in their names
- for easy identification. However, they do not always support
- the language needed.
-
+ &prompt.user; locale -a | more
+
+ To determine the current locale setting:
+
+ &prompt.user; locale
- Setting Locale
+ Setting Locale for Login ShellUsually it is sufficient to export the value of the
locale name as LANG in the login shell. This
@@ -246,9 +207,6 @@
specific application configuration, and the
Xorg configuration.
-
- Setting Locale Methods
-
localelogin class
@@ -260,25 +218,20 @@
system's shell
startup file.
-
+ Login Classes Method
- This method allows environment variables needed for
- locale name and MIME character sets to be assigned once
- for every possible shell instead of adding specific shell
- assignments to each shell's startup file.
- User Level Setup can be
- performed by each user while
- Administrator Level Setup
- requires superuser privileges.
-
-
- User Level Setup
-
- This provides a minimal example of a
- .login_conf located in a user's
- home directory which has both variables set for the
- Latin-1 encoding:
+ This method assigns the required environment variables for
+ locale name and MIME character sets
+ for every possible shell.
+ This setup can be either be
+ performed by each user or it can be performed for all users by the
+ superuser.
+
+ This minimal example sets both variables for the
+ Latin-1 encoding. These lines were added to the
+ .login_conf in an individual user's
+ home directory:me:\
:charset=ISO-8859-1:\
@@ -291,7 +244,7 @@
for Traditional Chinese in BIG-5 encoding. More
variables are set because some applications do not
correctly respect locale variables for Chinese,
- Japanese, and Korean.
+ Japanese, and Korean:
#Users who do not wish to use monetary units or time formats
#of Taiwan can manually change each variable
@@ -307,16 +260,11 @@ me:\
:charset=big5:\
:xmodifiers="@im=gcin": #Set gcin as the XIM Input Server
- See Administrator Level
- Setup and &man.login.conf.5; for more
+ See &man.login.conf.5; for more
details.
-
-
-
- Administrator Level Setup
- Verify that the user's login class in
- /etc/login.conf sets the correct
+ Alternately, the superuser can configure all users of the system for localization. The following variables in the user's login class in
+ /etc/login.conf set the correct
language:language_name|Account Type Description:\
@@ -332,13 +280,14 @@ me:\
:lang=de_DE.ISO8859-1:\
:tc=default:
- Whenever this file is edited, execute the following
+ Whenever /etc/login.conf is edited, remember to execute the following
command to update the capability database:&prompt.root; cap_mkdb /etc/login.conf
- Changing Login Classes with
- &man.vipw.8;
+
+ Changing Login Classes with
+ &man.vipw.8;vipw
@@ -348,9 +297,11 @@ me:\
language:user:password:1111:11:language:0:0:User Name:/home/user:/bin/sh
+
- Changing Login Classes with
- &man.adduser.8;
+
+ Changing Login Classes with
+ &man.adduser.8;adduser
@@ -386,9 +337,11 @@ me:\
&prompt.root; adduser -class language
+
- Changing Login Classes with
- &man.pw.8;
+
+ Changing Login Classes with
+ &man.pw.8;pw
@@ -396,10 +349,10 @@ me:\
it in this form:
&prompt.root; pw useradd user_name -L language
-
-
+
+
-
+ Shell Startup File Method
@@ -439,7 +392,6 @@ me:\
LANG=de_DE.ISO8859-1; export LANGsetenv LANG de_DE.ISO8859-1
-
@@ -677,6 +629,46 @@ keychange="fkey_number sequ
Compiling i18n Programs
+ The &os;
+ &os; Ports
+ Collection contains programs which provide
+ application support for wide or multibyte characters for several languages.
+ Refer to the i18n documentation in the
+ respective &os; port
+ for more information on how to configure the application correctly or to
+ determine which compile options to use when building the
+ port.
+
+ Some things to keep in mind are:
+
+
+
+ Language specific single C chars character sets
+ such as ISO8859-1, ISO8859-15, KOI8-R, and CP437. These
+ are described in &man.multibyte.3;.
+
+
+
+ Wide or multibyte encodings such as EUC and
+ Big5.
+
+
+
+ The active list of character sets can be found at the
+ IANA
+ Registry.
+
+
+ &os; uses Xorg-compatible locale encodings
+ instead.
+
+
+ In the &os; Ports Collection, i18n
+ applications include i18n in their names
+ for easy identification. However, they do not always support
+ the language needed.
+
Many applications in the &os; Ports Collection have been
ported with i18n support. Some of these
include -i18n in the port name. These
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 15:38:08 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 2B582756;
Tue, 11 Feb 2014 15:38:08 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 15BF31F55;
Tue, 11 Feb 2014 15:38:08 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BFc7A8053740;
Tue, 11 Feb 2014 15:38:07 GMT (envelope-from pawel@svn.freebsd.org)
Received: (from pawel@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BFc7eB053739;
Tue, 11 Feb 2014 15:38:07 GMT (envelope-from pawel@svn.freebsd.org)
Message-Id: <201402111538.s1BFc7eB053739@svn.freebsd.org>
From: Pawel Pekala
Date: Tue, 11 Feb 2014 15:38:07 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43872 - head/en_US.ISO8859-1/articles/contributors
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 15:38:08 -0000
Author: pawel (ports committer)
Date: Tue Feb 11 15:38:07 2014
New Revision: 43872
URL: http://svnweb.freebsd.org/changeset/doc/43872
Log:
Add Jim Ohlstein for math/pecl-trader
PR: ports/186226
Modified:
head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml
Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml
==============================================================================
--- head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml Tue Feb 11 14:59:28 2014 (r43871)
+++ head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml Tue Feb 11 15:38:07 2014 (r43872)
@@ -4675,6 +4675,11 @@
+ Jim Ohlstein
+ jim@ohlste.in
+
+
+ Jim Pirzyk
pirzyk@uiuc.edu
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 16:35:55 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 6800B2CA;
Tue, 11 Feb 2014 16:35:55 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 4F9A914D6;
Tue, 11 Feb 2014 16:35:55 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BGZtP7076615;
Tue, 11 Feb 2014 16:35:55 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BGZt2o076614;
Tue, 11 Feb 2014 16:35:55 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402111635.s1BGZt2o076614@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 16:35:55 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43873 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 16:35:55 -0000
Author: dru
Date: Tue Feb 11 16:35:54 2014
New Revision: 43873
URL: http://svnweb.freebsd.org/changeset/doc/43873
Log:
More tightening and clarification in this chapter. More commits to follow.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 15:38:07 2014 (r43872)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 16:35:54 2014 (r43873)
@@ -173,64 +173,60 @@
Setting Locale for Login Shell
- Usually it is sufficient to export the value of the
- locale name as LANG in the login shell. This
- could be done in the user's ~/.login_conf
+ Locale settings are configured either in a user's
+ ~/.login_conf
or in the startup file of the user's shell:
- (~/.profile,
+ ~/.profile,
~/.bashrc, or
- ~/.cshrc). There is no need to set the
- locale subsets such as LC_CTYPE or
- LC_CTIME. Refer to language-specific &os;
- documentation for more information.
+ ~/.cshrc.
- Each user should set the following two environment
- variables in their configuration files:
+ Two environment
+ variables should be set:
- LANG for &posix;
+ LANG, which sets the localePOSIX
-
- &man.setlocale.3; family functions
+ MIME
- MM_CHARSET for applications' MIME
- character set
+ MM_CHARSET which sets the MIME
+ character set used by applications
- These should be set in the user's shell configuration, the
- specific application configuration, and the
+ In addition to the user's shell configuration, these
+ variables should also be set for
+ specific application configuration and
Xorg configuration.localelogin class
- This section describes the two methods for setting
- locale. The first is recommended and assigns the
- environment variables in the
- login class. The second
- method adds the environment variable assignments to the
- system's shell
- startup file.
+ Two methods are available for making the needed variable
+ assignments: the
+ login class method, which
+ is the recommended method, and the
+ startup file method.
+ The next two sections demonstrate how to use both methods.Login Classes Method
- This method assigns the required environment variables for
+ This first method is the recommended method as it
+ assigns the required environment variables for
locale name and MIME character sets
for every possible shell.
- This setup can be either be
- performed by each user or it can be performed for all users by the
+ This setup can either be
+ performed by each user or it can be configured for all users by the
superuser.
- This minimal example sets both variables for the
- Latin-1 encoding. These lines were added to the
- .login_conf in an individual user's
+ This minimal example sets both variables for
+ Latin-1 encoding in the
+ .login_conf of an individual user's
home directory:me:\
@@ -240,9 +236,9 @@
Traditional ChineseBIG-5 encodingHere is an example of a user's
- .login_conf that sets the variables
+ ~/.login_conf that sets the variables
for Traditional Chinese in BIG-5 encoding. More
- variables are set because some applications do not
+ variables are needed because some applications do not
correctly respect locale variables for Chinese,
Japanese, and Korean:
@@ -260,19 +256,16 @@ me:\
:charset=big5:\
:xmodifiers="@im=gcin": #Set gcin as the XIM Input Server
- See &man.login.conf.5; for more
- details.
-
- Alternately, the superuser can configure all users of the system for localization. The following variables in the user's login class in
- /etc/login.conf set the correct
- language:
+ Alternately, the superuser can configure all users of the system for localization. The following variables in
+ /etc/login.conf are used to set the locale and
+ MIME character sete:language_name|Account Type Description:\
:charset=MIME_charset:\
:lang=locale_name:\
:tc=default:
- The previous Latin-1 example would look like
+ So, the previous Latin-1 example would look like
this:german|German Users Accounts:\
@@ -280,73 +273,61 @@ me:\
:lang=de_DE.ISO8859-1:\
:tc=default:
+ See &man.login.conf.5; for more
+ details about these variables.
+
Whenever /etc/login.conf is edited, remember to execute the following
command to update the capability database:&prompt.root; cap_mkdb /etc/login.conf
- Changing Login Classes with
- &man.vipw.8;
+ Utilities Which Change Login Classesvipw
+
+ In addition to manually editing
+ /etc/login.conf, several utilities
+ are available for setting the locale for newly created
+ users.
+
When using vipw to add new users,
- use language to set the
- language:
+ specify the language to set the
+ locale:user:password:1111:11:language:0:0:User Name:/home/user:/bin/sh
-
-
-
- Changing Login Classes with
- &man.adduser.8;adduserlogin classWhen using adduser to add new
- users, configure the language as follows:
+ users, the default language can be pre-configured for
+ all new users or specified for an individual user.
-
- If all new users use the same language, set
defaultclass =
language in
/etc/adduser.conf.
-
-
- Alternatively, input the specified language at
- this prompt:
+ To override this setting when creating a
+ user, either input the required locale at
+ this prompt:Enter login class: default []:
- when creating a new user using
- &man.adduser.8;.
-
-
-
- Another alternative is to use the following
- when creating a user that uses a different language
- than the one set in
- /etc/adduser.conf:
+ or specify the locale to set when invoking
+ adduser:&prompt.root; adduser -class language
-
-
-
-
- Changing Login Classes with
- &man.pw.8;pw
- If &man.pw.8; is used to add new users, call
- it in this form:
+ If pw is used to add new users, specify the
+ locale as follows:&prompt.root; pw useradd user_name -L language
@@ -355,39 +336,33 @@ me:\
Shell Startup File Method
-
- This method is not recommended because it requires
- a different setup for each shell. Use the Login Class Method
- instead.
-
-
- MIME
- locale
- To add the locale name and MIME character set, set
- the two environment variables shown below in the
- /etc/profile or
- /etc/csh.login shell startup files.
- This example sets the German language:
-
- In /etc/profile:
+ This method is not recommended as each shell that is used requires
+ manual configuration, where each shell has a different configuration file
+ and differing syntax. As an example, to set the German
+ language for the sh shell, these
+ lines could be added to ~/.profile to set the shell for that user only.
+ Thse lines could also be added to /etc/profile or
+ /usr/share/skel/dot.profile to set that shell for all users:LANG=de_DE.ISO8859-1; export LANGMM_CHARSET=ISO-8859-1; export MM_CHARSET
- Or in /etc/csh.login:
+ However, the name of the configuration file and the
+ syntax used differs for the
+ csh shell. These are the equivalent
+ settings for ~/.csh.login,
+ /etc/csh.login, or
+ /usr/share/skel/dot.login:setenv LANG de_DE.ISO8859-1setenv MM_CHARSET ISO-8859-1
- Alternatively, add the above settings to
- /usr/share/skel/dot.profile or
- /usr/share/skel/dot.login.
-
- To configure Xorg, add
- one of the following to
- ~/.xinitrc, depending upon the
- shell:
+ To complicate matters, the syntax needed to configure
+ Xorg in
+ ~/.xinitrc also depends upon the
+ shell. The first example is for the sh
+ shell and the second is for the csh
+ shell.LANG=de_DE.ISO8859-1; export LANG
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 16:55:42 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 840F3FED;
Tue, 11 Feb 2014 16:55:42 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 6D704167F;
Tue, 11 Feb 2014 16:55:42 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BGtg7T085017;
Tue, 11 Feb 2014 16:55:42 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BGtghf085016;
Tue, 11 Feb 2014 16:55:42 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402111655.s1BGtghf085016@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 16:55:42 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43874 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 16:55:42 -0000
Author: dru
Date: Tue Feb 11 16:55:42 2014
New Revision: 43874
URL: http://svnweb.freebsd.org/changeset/doc/43874
Log:
White space fix only. Translators can ignore.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 16:35:54 2014 (r43873)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 16:55:42 2014 (r43874)
@@ -110,14 +110,15 @@
language codescountry codes
- The LanguageCode and CountryCode are used
- to determine the country
- and the specific language
- variation. provides some
- examples of LanguageCode_CountryCode:
+ The LanguageCode and
+ CountryCode are used to determine
+ the country and the specific language variation. provides some examples of
+ LanguageCode_CountryCode:
Common Language and Country Codes
+
@@ -148,10 +149,10 @@
encodingsASCII
- Some languages, such as Chinese or Japanese, cannot be represented using ASCII characters
- and require an extended language encoding using either
- wide or multibyte characters. Older applications
- may mistake these encodings for control
+ Some languages, such as Chinese or Japanese, cannot be
+ represented using ASCII characters and require an extended
+ language encoding using either wide or multibyte characters.
+ Older applications may mistake these encodings for control
characters while newer applications usually recognize 8-bit
characters. Depending on the implementation, users may be
required to compile an application with wide or multibyte
@@ -161,13 +162,13 @@
considerations for finding or compiling applications with i18n
support.
- A complete listing of available locales can be found by
+ A complete listing of available locales can be found by
typing:&prompt.user; locale -a | more
-
+
To determine the current locale setting:
-
+
&prompt.user; locale
@@ -186,8 +187,7 @@
LANG, which sets the locale
- POSIX
-
+ POSIX
@@ -203,46 +203,44 @@
specific application configuration and
Xorg configuration.
- locale
- login class
+ locale
+ login class
- Two methods are available for making the needed variable
- assignments: the
- login class method, which
- is the recommended method, and the
- startup file method.
- The next two sections demonstrate how to use both methods.
-
-
- Login Classes Method
-
- This first method is the recommended method as it
- assigns the required environment variables for
- locale name and MIME character sets
- for every possible shell.
- This setup can either be
- performed by each user or it can be configured for all users by the
- superuser.
-
- This minimal example sets both variables for
- Latin-1 encoding in the
- .login_conf of an individual user's
- home directory:
+ Two methods are available for making the needed variable
+ assignments: the login
+ class method, which is the recommended method, and
+ the startup file method.
+ The next two sections demonstrate how to use both
+ methods.
+
+
+ Login Classes Method
+
+ This first method is the recommended method as it
+ assigns the required environment variables for locale name
+ and MIME character sets for every possible shell. This
+ setup can either be performed by each user or it can be
+ configured for all users by the superuser.
+
+ This minimal example sets both variables for Latin-1
+ encoding in the .login_conf of an
+ individual user's home directory:
- me:\
+ me:\
:charset=ISO-8859-1:\
:lang=de_DE.ISO8859-1:
- Traditional Chinese
- BIG-5 encoding
- Here is an example of a user's
- ~/.login_conf that sets the variables
- for Traditional Chinese in BIG-5 encoding. More
- variables are needed because some applications do not
- correctly respect locale variables for Chinese,
- Japanese, and Korean:
+ Traditional Chinese
+ BIG-5 encoding
+
+ Here is an example of a user's
+ ~/.login_conf that sets the variables
+ for Traditional Chinese in BIG-5 encoding. More variables
+ are needed because some applications do not correctly
+ respect locale variables for Chinese, Japanese, and
+ Korean:
- #Users who do not wish to use monetary units or time formats
+ #Users who do not wish to use monetary units or time formats
#of Taiwan can manually change each variable
me:\
:lang=zh_TW.Big5:\
@@ -256,103 +254,108 @@ me:\
:charset=big5:\
:xmodifiers="@im=gcin": #Set gcin as the XIM Input Server
- Alternately, the superuser can configure all users of the system for localization. The following variables in
- /etc/login.conf are used to set the locale and
- MIME character sete:
+ Alternately, the superuser can configure all users of
+ the system for localization. The following variables in
+ /etc/login.conf are used to set the
+ locale and MIME character sete:
- language_name|Account Type Description:\
+ language_name|Account Type Description:\
:charset=MIME_charset:\
:lang=locale_name:\
:tc=default:
- So, the previous Latin-1 example would look like
- this:
+ So, the previous Latin-1 example would look like
+ this:
- german|German Users Accounts:\
+ german|German Users Accounts:\
:charset=ISO-8859-1:\
:lang=de_DE.ISO8859-1:\
:tc=default:
- See &man.login.conf.5; for more
- details about these variables.
+ See &man.login.conf.5; for more details about these
+ variables.
+
+ Whenever /etc/login.conf is edited,
+ remember to execute the following command to update the
+ capability database:
+
+ &prompt.root; cap_mkdb /etc/login.conf
+
+
+ Utilities Which Change Login Classes
+
+
+ vipw
+
+
+ In addition to manually editing
+ /etc/login.conf, several utilities
+ are available for setting the locale for newly created
+ users.
+
+ When using vipw to add new users,
+ specify the language to set the
+ locale:
+
+ user:password:1111:11:language:0:0:User Name:/home/user:/bin/sh
+
+
+ adduser
+
+ login class
+
+ When using adduser to add new
+ users, the default language can be pre-configured for all
+ new users or specified for an individual user.
+
+ If all new users use the same language, set
+ defaultclass = language in
+ /etc/adduser.conf.
- Whenever /etc/login.conf is edited, remember to execute the following
- command to update the capability database:
+ To override this setting when creating a user, either
+ input the required locale at this prompt:
- &prompt.root; cap_mkdb /etc/login.conf
+ Enter login class: default []:
-
- Utilities Which Change Login Classes
-
-
- vipw
-
-
- In addition to manually editing
- /etc/login.conf, several utilities
- are available for setting the locale for newly created
- users.
-
- When using vipw to add new users,
- specify the language to set the
- locale:
-
- user:password:1111:11:language:0:0:User Name:/home/user:/bin/sh
-
-
- adduser
-
- login class
- When using adduser to add new
- users, the default language can be pre-configured for
- all new users or specified for an individual user.
-
- If all new users use the same language, set
- defaultclass =
- language in
- /etc/adduser.conf.
-
- To override this setting when creating a
- user, either input the required locale at
- this prompt:
-
- Enter login class: default []:
-
- or specify the locale to set when invoking
- adduser:
-
- &prompt.root; adduser -class language
-
-
- pw
-
- If pw is used to add new users, specify the
- locale as follows:
+ or specify the locale to set when invoking
+ adduser:
- &prompt.root; pw useradd user_name -L language
+ &prompt.root; adduser -class language
+
+
+ pw
+
+
+ If pw is used to add new users,
+ specify the locale as follows:
+
+ &prompt.root; pw useradd user_name -L languageShell Startup File Method
- This method is not recommended as each shell that is used requires
- manual configuration, where each shell has a different configuration file
- and differing syntax. As an example, to set the German
- language for the sh shell, these
- lines could be added to ~/.profile to set the shell for that user only.
- Thse lines could also be added to /etc/profile or
- /usr/share/skel/dot.profile to set that shell for all users:
+ This method is not recommended as each shell that is
+ used requires manual configuration, where each shell has a
+ different configuration file and differing syntax. As an
+ example, to set the German language for the
+ sh shell, these lines could be added to
+ ~/.profile to set the shell for that
+ user only. Thse lines could also be added to
+ /etc/profile or
+ /usr/share/skel/dot.profile to set
+ that shell for all users:LANG=de_DE.ISO8859-1; export LANGMM_CHARSET=ISO-8859-1; export MM_CHARSET
- However, the name of the configuration file and the
- syntax used differs for the
- csh shell. These are the equivalent
- settings for ~/.csh.login,
- /etc/csh.login, or
- /usr/share/skel/dot.login:
+ However, the name of the configuration file and the
+ syntax used differs for the csh shell.
+ These are the equivalent settings for
+ ~/.csh.login,
+ /etc/csh.login, or
+ /usr/share/skel/dot.login:setenv LANG de_DE.ISO8859-1setenv MM_CHARSET ISO-8859-1
@@ -604,45 +607,40 @@ keychange="fkey_number sequ
Compiling i18n Programs
- The &os;
- &os; Ports
- Collection contains programs which provide
- application support for wide or multibyte characters for several languages.
- Refer to the i18n documentation in the
- respective &os; port
- for more information on how to configure the application correctly or to
- determine which compile options to use when building the
- port.
-
- Some things to keep in mind are:
-
-
-
- Language specific single C chars character sets
- such as ISO8859-1, ISO8859-15, KOI8-R, and CP437. These
- are described in &man.multibyte.3;.
-
-
-
- Wide or multibyte encodings such as EUC and
- Big5.
-
-
-
- The active list of character sets can be found at the
- IANA
- Registry.
-
-
- &os; uses Xorg-compatible locale encodings
- instead.
-
-
- In the &os; Ports Collection, i18n
- applications include i18n in their names
- for easy identification. However, they do not always support
- the language needed.
+ The &os; &os;
+ Ports Collection contains programs which provide
+ application support for wide or multibyte characters for several
+ languages. Refer to the i18n documentation
+ in the respective &os; port for more information on how to
+ configure the application correctly or to determine which
+ compile options to use when building the port.
+
+ Some things to keep in mind are:
+
+
+
+ Language specific single C chars character sets such as
+ ISO8859-1, ISO8859-15, KOI8-R, and CP437. These are
+ described in &man.multibyte.3;.
+
+
+
+ Wide or multibyte encodings such as EUC and Big5.
+
+
+
+ The active list of character sets can be found at the IANA
+ Registry.
+
+
+ &os; uses Xorg-compatible locale encodings instead.
+
+
+ In the &os; Ports Collection, i18n
+ applications include i18n in their names for
+ easy identification. However, they do not always support the
+ language needed.Many applications in the &os; Ports Collection have been
ported with i18n support. Some of these
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 18:40:01 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id AA9EA456;
Tue, 11 Feb 2014 18:40:01 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 88D67125C;
Tue, 11 Feb 2014 18:40:01 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BIe1YF026747;
Tue, 11 Feb 2014 18:40:01 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BIe1OP026746;
Tue, 11 Feb 2014 18:40:01 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402111840.s1BIe1OP026746@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 18:40:01 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43875 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 18:40:01 -0000
Author: dru
Date: Tue Feb 11 18:40:01 2014
New Revision: 43875
URL: http://svnweb.freebsd.org/changeset/doc/43875
Log:
Finish section 22.2.2 Console Setup.
Update table on available consoles.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 16:55:42 2014 (r43874)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 18:40:01 2014 (r43875)
@@ -342,7 +342,7 @@ me:\
example, to set the German language for the
sh shell, these lines could be added to
~/.profile to set the shell for that
- user only. Thse lines could also be added to
+ user only. These lines could also be added to
/etc/profile or
/usr/share/skel/dot.profile to set
that shell for all users:
@@ -365,7 +365,7 @@ me:\
~/.xinitrc also depends upon the
shell. The first example is for the sh
shell and the second is for the csh
- shell.
+ shell:
LANG=de_DE.ISO8859-1; export LANG
@@ -376,75 +376,59 @@ me:\
Console Setup
- For all single C chars character sets, set the correct
- console fonts in /etc/rc.conf for the
- language in question with:
+ Several localized fonts
+ are available for the console. To see a listing of
+ available fonts, type
+ ls /usr/share/syscons/fonts. To configure
+ the console font, specify the
+ font_name,
+ without the .fnt suffix,
+ in /etc/rc.conf:font8x16=font_name
font8x14=font_name
font8x8=font_name
- The font_name is taken from
- /usr/share/syscons/fonts,
- without the .fnt suffix.
-
-
- sysinstall
- keymapscreenmap
- The keymap and screenmap for the single C chars character
- set can be set using sysinstall. Once
- inside sysinstall, choose
- Configure, then
- Console. Alternatively,
- add the following to /etc/rc.conf:
+ The keymap and screenmap
+ can be set by
+ adding the following to /etc/rc.conf:scrnmap=screenmap_name
keymap=keymap_name
keychange="fkey_number sequence"
- The screenmap_name is taken
- from /usr/share/syscons/scrnmaps,
- without the .scm suffix. A screenmap
+ To see the list of available screenmaps, type
+ ls /usr/share/syscons/scrnmaps. Do
+ not include the .scm suffix when
+ specifying screenmap_name. A screenmap
with a corresponding mapped font is usually needed as a
workaround for expanding bit 8 to bit 9 on a VGA adapter's
- font character matrix. This will move letters out of the
+ font character matrix so that letters are moved out of the
pseudographics area if the screen font uses a bit 8
column.
- If moused is enabled in
- /etc/rc.conf, review the mouse cursor
- information in the next paragraph.
-
-
- moused
-
- By default, the mouse cursor of the &man.syscons.4; driver
- occupies the 0xd0-0xd3 range in the character set. If the
- language uses this range, move the cursor's range. To enable
- this workaround for &os;, add the following line to
- /etc/rc.conf:
-
- mousechar_start=3
-
- The keymap_name in the above
- example is taken from
- /usr/share/syscons/keymaps, without the
+ To see the list of available keymaps, type
+ ls /usr/share/syscons/keymaps. When
+ specifying the keymap_name, do not include the
.kbd suffix. When uncertain as to which
keymap to use, &man.kbdmap.1; can be used to test keymaps
without rebooting.
- The keychange is usually needed to
+ The keychange entry is usually needed to
program function keys to match the selected terminal type
- because function key sequences cannot be defined in the key
- map.
+ because function key sequences cannot be defined in the keymap.
- Be sure to set the correct console terminal type in
+ Next, set the correct console terminal type in
/etc/ttys for all virtual terminal
- entries. Current pre-defined correspondences are:
+ entries. summarizes the available
+ terminal types.:
+
+
+ Defined Terminal Types for Character Sets
-
@@ -490,22 +474,27 @@ keychange="fkey_number sequ
-
+
+
+
+ moused
+
+
+ For languages with wide or multibyte characters, install a
+ console for that language from the &os; Ports Collection. The
+ available ports are summarized in . Once installed, refer to the
+ port's pkg-message or man pages for
+ configuration and usage instructions.
- For languages with wide or multibyte characters, use the
- correct &os; port in /usr/ports/language.
- Some applications appear as serial terminals to the system.
- Reserve enough terminals in /etc/ttys
- for both Xorg and the pseudo-serial
- console. Here is a partial list of applications for using
- other languages in the console:
+
+ Available Console From Ports Collection
- Language
- Location
+ Port Location
@@ -516,19 +505,45 @@ keychange="fkey_number sequ
+ Chinese/Japanese/Korean
+ chinese/cce
+
+
+
+ Japanese
+ chinese/kon2
+
+
+
+ Chinese/Japanese/Korean
+ chinese/zhcon
+
+
+ Japanese
- japanese/kon2-16dot or
- japanese/mule-freewnn
+ japanese/kon2-14dot
- Korean
- korean/han
+ Japanese
+ japanese/kon2-16dot
-
-
+
+
+ If moused is enabled in
+ /etc/rc.conf, additional configuration
+ may be required.
+ By default, the mouse cursor of the &man.syscons.4; driver
+ occupies the 0xd0-0xd3 range in the character set. If the
+ language uses this range, move the cursor's range. To enable
+ this workaround for &os;, add the following line to
+ /etc/rc.conf:
+
+ mousechar_start=3
+
+ Xorg Setup
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 19:48:00 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 9E6B0DC4;
Tue, 11 Feb 2014 19:48:00 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 79FA01982;
Tue, 11 Feb 2014 19:48:00 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BJm0sS053678;
Tue, 11 Feb 2014 19:48:00 GMT (envelope-from jhb@svn.freebsd.org)
Received: (from jhb@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BJlxPP053665;
Tue, 11 Feb 2014 19:47:59 GMT (envelope-from jhb@svn.freebsd.org)
Message-Id: <201402111947.s1BJlxPP053665@svn.freebsd.org>
From: John Baldwin
Date: Tue, 11 Feb 2014 19:47:59 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43876 - head/en_US.ISO8859-1/htdocs/internal
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 19:48:00 -0000
Author: jhb
Date: Tue Feb 11 19:47:59 2014
New Revision: 43876
URL: http://svnweb.freebsd.org/changeset/doc/43876
Log:
Formally publish the FreeBSD Project's software license policy as
approved by core@ in February of 2008.
Requested by: bz
Reviewed by: gjb
Added:
head/en_US.ISO8859-1/htdocs/internal/software-license.xml (contents, props changed)
Modified:
head/en_US.ISO8859-1/htdocs/internal/Makefile
head/en_US.ISO8859-1/htdocs/internal/policies.xml
Modified: head/en_US.ISO8859-1/htdocs/internal/Makefile
==============================================================================
--- head/en_US.ISO8859-1/htdocs/internal/Makefile Tue Feb 11 18:40:01 2014 (r43875)
+++ head/en_US.ISO8859-1/htdocs/internal/Makefile Tue Feb 11 19:47:59 2014 (r43876)
@@ -26,6 +26,7 @@ DOCS+= policies.xml
DOCS+= proposing-committers.xml
DOCS+= releng.xml
DOCS+= resources.xml
+DOCS+= software-license.xml
DOCS+= statistic.xml
DOCS+= working-with-hats.xml
Modified: head/en_US.ISO8859-1/htdocs/internal/policies.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/internal/policies.xml Tue Feb 11 18:40:01 2014 (r43875)
+++ head/en_US.ISO8859-1/htdocs/internal/policies.xml Tue Feb 11 19:47:59 2014 (r43876)
@@ -44,6 +44,7 @@ below, for more info.
The FreeBSD Project aims to produce a complete, BSD-licensed
+ operating system allowing consumers of the system to produce
+ derivative products without constraint or further license
+ obligations. We invite and greatly appreciate the contribution of
+ both changes and additions under the two-clause BSD license, and
+ encourage the adoption of this license by other open source
+ projects. Use of the BSD license is key to encouraging the
+ adoption of advanced operating system technology, and on many
+ notable occasions has been pivotal to widespread use of new
+ technology.
+
+
We accept however that compelling reasons exist to allow
+ differently-licensed software to be included in the FreeBSD source
+ tree.
+
+
We require any software under alternative licenses to be
+ carefully isolated in the source tree so that it cannot
+ contaminate BSD-only components. Such cautious management
+ encourages licensing clarity and facilitates the production of
+ BSD-only derivative products.
+
+
Unless a special exception is made, no existing BSD-licensed
+ components may be replaced with differently-licensed software. We
+ instead encourage FreeBSD and third party developers to seek the
+ relicensing or reimplementation of critical components under the
+ BSD license. Such would ease their more integral adoption into
+ the FreeBSD operating system.
+
+
Policy
+
+
+
+
The import of new software licensed under any licenses
+ other than the BSD license and BSD-Like Licenses (as defined
+ below) requires the prior approval of the FreeBSD Core Team.
+ Requests for import must include:
+
+
+
+
A list of features or bug fixes that the new version or
+ patches contain, along with evidence that our users need
+ those features. PRs or references to mailing list
+ discussions are ideal forms of evidence.
+
+
This process should be used for all software imports,
+ not just those that require Core Team review. The mere
+ existence of a new version does not justify an import of
+ software to source or ports.
+
+
+
+
A list of FreeBSD branches that may be affected.
+ Expansions of scope require a new request to and approval
+ from the FreeBSD Core Team.
+
+
+
+
+
+
We will allow existing GPLv2 licensed software to be
+ converted to GPLv3 or other similar license changes on a
+ case-by-case basis provided that the FreeBSD Core Team is
+ given appropriate technical justification.
+
+
Each piece of software that is being converted to a
+ different license must be submitted to the FreeBSD Core Team
+ for approval through this process as though it were a new
+ piece of software.
+
+
For Free Software Foundation maintained software except
+ GCC, GDB, and binutils, all patches posted after the date the
+ software switched to GPLv3 will be considered to be covered by
+ the GPLv3 and thus will be subject to this rule. For GCC, GDB
+ and binutils we accept the community practice of allowing
+ patches to be relicensed under GPLv2 at the patch author's
+ discretion. The author's permission must be documented in the
+ commit message for each patch that is committed.
+
+
+
+
Acceptable licenses
+
+
The following licenses are considered to be acceptable BSD-Like
+ Licenses for the purpose of this Policy. They must be reproduced
+ verbatim on any new code. Deviations or the use of any other
+ license must be approved by the FreeBSD Core Team:
+
+
+
+
The 2 clause version of the BSD license
+
+
+/*-
+ * Copyright (c) [year] [your name]
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * [id for your version control system, if any]
+ */
+
+
+
+
+
The 3 clause version of the BSD license
+
+
+/*-
+ * Copyright (c) [year] [your name]
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the author nor the names of its contributors may
+ * be used to endorse or promote products derived from this software
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * [id for your version control system, if any]
+ */
+
+
+
+
+
The ISC License
+
+
+/*-
+ * Copyright (c) [year] [copyright holder]
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * [id for your version control system, if any]
+ */
+
+
+
+
+
The MIT License
+
+
+/*-
+ * Copyright (c) [year] [copyright holders]
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ *
+ * [id for your version control system, if any]
+ */
+
+
+
+
+
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 20:09:29 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 542DD22E;
Tue, 11 Feb 2014 20:09:29 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 3F6BB1BD4;
Tue, 11 Feb 2014 20:09:29 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BK9T7g062331;
Tue, 11 Feb 2014 20:09:29 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BK9Txb062330;
Tue, 11 Feb 2014 20:09:29 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402112009.s1BK9Txb062330@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 20:09:29 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43877 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 20:09:29 -0000
Author: dru
Date: Tue Feb 11 20:09:28 2014
New Revision: 43877
URL: http://svnweb.freebsd.org/changeset/doc/43877
Log:
Cleanup 22.2.3 Xorg Setup.
Add table which summarizes available input methods.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 19:47:59 2014 (r43876)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 20:09:28 2014 (r43877)
@@ -548,41 +548,201 @@ keychange="fkey_number sequ
Xorg Setup
- Although Xorg is not installed
- with &os;, it can be installed from the Ports Collection.
- Refer to for more information on
- how to do this. This section discusses how to localize
- Xorg once it is installed.
-
- Application specific i18n settings such
+ describes how to install and
+ configure Xorg. When configuring
+ Xorg for localization, additional
+ fonts and input methods are available from the &os; Ports
+ Collection. Application specific i18n settings such
as fonts and menus can be tuned in
- ~/.Xresources.
-
-
- Displaying Fonts
-
- Xorg True Type font
- server
- After installing
- x11-servers/xorg-server,
- install the language's &truetype; fonts. Setting the
- correct locale should allow users to view their selected
+ ~/.Xresources and
+ should allow users to view their selected
language in graphical application menus.
-
-
-
- Inputting Non-English CharactersX Input Method
(XIM)The X Input Method (XIM) protocol
- is an input standard for Xorg
- clients. All Xorg applications
- should be written as XIM clients that take input from XIM
- input servers. There are several XIM servers available for
- different languages.
-
+ is an Xorg standard for
+ inputting non-English characters. summarizes the input method applications which are
+ available in the &os; Ports Collection. Additional Fcitx
+ and Uim applications are also available.
+
+
+ Available Input Methods
+
+
+
+
+ Language
+ Input Method
+
+
+
+
+
+
+ Chinese
+ chinese/gcin
+
+
+
+ Chinese
+ chinese/ibus-chewing
+
+
+
+ Chinese
+ chinese/ibus-pinyin
+
+
+
+ Chinese
+ chinese/oxim
+
+
+
+ Chinese
+ chinese/scim-fcitx
+
+
+
+ Chinese
+ chinese/scim-pinyin
+
+
+
+ Chinese
+ chinese/scim-tables
+
+
+
+ Japanese
+ japanese/ibus-anthy
+
+
+
+ Japanese
+ japanese/ibus-mozc
+
+
+
+ Japanese
+ japanese/ibus-skk
+
+
+
+ Japanese
+ japanese/im-ja
+
+
+
+ Japanese
+ japanese/kinput2
+
+
+
+ Japanese
+ japanese/scim-anthy
+
+
+
+ Japanese
+ japanese/scim-canna
+
+
+
+ Japanese
+ japanese/scim-honoka
+
+
+
+ Japanese
+ japanese/scim-honoka-plugin-romkan
+
+
+
+ Japanese
+ japanese/scim-honoka-plugin-wnn
+
+
+
+ Japanese
+ japanese/scim-prime
+
+
+
+ Japanese
+ japanese/scim-skk
+
+
+
+ Japanese
+ japanese/scim-tables
+
+
+
+ Japanese
+ japanese/scim-tomoe
+
+
+
+ Japanese
+ japanese/scim-uim
+
+
+
+ Japanese
+ japanese/skkinput
+
+
+
+ Japanese
+ japanese/skkinput3
+
+
+
+ Japanese
+ japanese/uim-anthy
+
+
+
+ Korean
+ korean/ibus-hangul
+
+
+
+ Korean
+ korean/imhangul
+
+
+
+ Korean
+ korean/nabi
+
+
+
+ Korean
+ korean/scim-hangul
+
+
+
+ Korean
+ korean/scim-tables
+
+
+
+ Vietnamese
+ vietnamese/xvnkb
+
+
+
+ Vietnamese
+ vietnamese/x-unikey
+
+
+
+
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 20:17:37 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 30B1C681;
Tue, 11 Feb 2014 20:17:37 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 0E2731C8C;
Tue, 11 Feb 2014 20:17:37 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BKHa3j066470;
Tue, 11 Feb 2014 20:17:36 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BKHa8I066469;
Tue, 11 Feb 2014 20:17:36 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402112017.s1BKHa8I066469@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 20:17:36 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43878 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 20:17:37 -0000
Author: dru
Date: Tue Feb 11 20:17:36 2014
New Revision: 43878
URL: http://svnweb.freebsd.org/changeset/doc/43878
Log:
White space fix only. Translators can ignore.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 20:09:28 2014 (r43877)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 20:17:36 2014 (r43878)
@@ -376,14 +376,13 @@ me:\
Console Setup
- Several localized fonts
- are available for the console. To see a listing of
- available fonts, type
+ Several localized fonts are available for the console. To
+ see a listing of available fonts, type
ls /usr/share/syscons/fonts. To configure
the console font, specify the
font_name,
- without the .fnt suffix,
- in /etc/rc.conf:
+ without the .fnt suffix, in
+ /etc/rc.conf:font8x16=font_name
font8x14=font_name
@@ -391,40 +390,38 @@ font8x8=font_namekeymapscreenmap
- The keymap and screenmap
- can be set by
- adding the following to /etc/rc.conf:
+ The keymap and screenmap can be set by adding the
+ following to /etc/rc.conf:scrnmap=screenmap_name
keymap=keymap_name
keychange="fkey_number sequence"To see the list of available screenmaps, type
- ls /usr/share/syscons/scrnmaps. Do
- not include the .scm suffix when
- specifying screenmap_name. A screenmap
- with a corresponding mapped font is usually needed as a
- workaround for expanding bit 8 to bit 9 on a VGA adapter's
- font character matrix so that letters are moved out of the
- pseudographics area if the screen font uses a bit 8
- column.
+ ls /usr/share/syscons/scrnmaps. Do not
+ include the .scm suffix when specifying
+ screenmap_name. A screenmap with a
+ corresponding mapped font is usually needed as a workaround
+ for expanding bit 8 to bit 9 on a VGA adapter's font character
+ matrix so that letters are moved out of the pseudographics
+ area if the screen font uses a bit 8 column.
To see the list of available keymaps, type
ls /usr/share/syscons/keymaps. When
- specifying the keymap_name, do not include the
- .kbd suffix. When uncertain as to which
- keymap to use, &man.kbdmap.1; can be used to test keymaps
- without rebooting.
-
- The keychange entry is usually needed to
- program function keys to match the selected terminal type
- because function key sequences cannot be defined in the keymap.
+ specifying the keymap_name, do not
+ include the .kbd suffix. When uncertain
+ as to which keymap to use, &man.kbdmap.1; can be used to test
+ keymaps without rebooting.
+
+ The keychange entry is usually needed
+ to program function keys to match the selected terminal type
+ because function key sequences cannot be defined in the
+ keymap.Next, set the correct console terminal type in
/etc/ttys for all virtual terminal
- entries. summarizes the available
- terminal types.:
+ entries. summarizes the
+ available terminal types.:
Defined Terminal Types for Character Sets
@@ -532,18 +529,17 @@ keychange="fkey_number sequ
- If moused is enabled in
+ If moused is enabled in
/etc/rc.conf, additional configuration
- may be required.
- By default, the mouse cursor of the &man.syscons.4; driver
- occupies the 0xd0-0xd3 range in the character set. If the
- language uses this range, move the cursor's range. To enable
- this workaround for &os;, add the following line to
- /etc/rc.conf:
+ may be required. By default, the mouse cursor of the
+ &man.syscons.4; driver occupies the
+ 0xd0-0xd3 range in the
+ character set. If the language uses this range, move the
+ cursor's range. To enable this workaround for &os;, add the
+ following line to /etc/rc.conf:
- mousechar_start=3
-
-
+ mousechar_start=3
+ Xorg Setup
@@ -552,22 +548,21 @@ keychange="fkey_number sequ
configure Xorg. When configuring
Xorg for localization, additional
fonts and input methods are available from the &os; Ports
- Collection. Application specific i18n settings such
- as fonts and menus can be tuned in
- ~/.Xresources and
- should allow users to view their selected
- language in graphical application menus.
-
- X Input Method
- (XIM)
-
- The X Input Method (XIM) protocol
- is an Xorg standard for
- inputting non-English characters. summarizes the input method applications which are
- available in the &os; Ports Collection. Additional Fcitx
- and Uim applications are also available.
-
+ Collection. Application specific i18n
+ settings such as fonts and menus can be tuned in
+ ~/.Xresources and should allow users to
+ view their selected language in graphical application
+ menus.
+
+ X Input Method (XIM)
+
+ The X Input Method (XIM) protocol is an
+ Xorg standard for inputting
+ non-English characters.
+ summarizes the input method applications which are available
+ in the &os; Ports Collection. Additional Fcitx and Uim
+ applications are also available.
+
Available Input Methods
@@ -615,7 +610,7 @@ keychange="fkey_number sequ
Chinesechinese/scim-tables
-
+
Japanesejapanese/ibus-anthy
@@ -629,17 +624,17 @@ keychange="fkey_number sequ
Japanesejapanese/ibus-skk
-
+ Japanesejapanese/im-ja
-
+
Japanesejapanese/kinput2
-
+
Japanese
@@ -649,12 +644,12 @@ keychange="fkey_number sequ
Japanesejapanese/scim-canna
-
+ Japanesejapanese/scim-honoka
-
+
Japanese
@@ -699,8 +694,8 @@ keychange="fkey_number sequ
Japanesejapanese/skkinput3
-
-
+
+
Japanesejapanese/uim-anthy
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 22:06:20 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 945B2119;
Tue, 11 Feb 2014 22:06:20 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 72D9B17B7;
Tue, 11 Feb 2014 22:06:20 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BM6Kpx011633;
Tue, 11 Feb 2014 22:06:20 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BM6KX8011632;
Tue, 11 Feb 2014 22:06:20 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402112206.s1BM6KX8011632@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 22:06:20 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43879 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 22:06:20 -0000
Author: dru
Date: Tue Feb 11 22:06:19 2014
New Revision: 43879
URL: http://svnweb.freebsd.org/changeset/doc/43879
Log:
Initial pass through 22.4 Locale Configuration for Specific Languages.
More commits to come.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 20:17:36 2014 (r43878)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 22:06:19 2014 (r43879)
@@ -739,7 +739,8 @@ keychange="fkey_number sequ
-
+
Kernel and File Systems
@@ -831,7 +832,12 @@ keychange="fkey_number sequ
- Localizing &os; to Specific Languages
+ Locale Configuration for Specific Languages
+
+ This section provides configuration examples for localizing
+ a &os; system for the
+ Russian language. It then provides some
+ additional resources for localizing other languages.
@@ -848,27 +854,14 @@ keychange="fkey_number sequ
Russian
- For more information about KOI8-R encoding, refer to
- KOI8-R References
- (Russian Net Character Set).
-
-
- Locale Setup
-
- To set this locale, put the following lines into each
+ To set this locale for the login shell, add the following lines into each
user's ~/.login_conf:me:My Account:\
:charset=KOI8-R:\
:lang=ru_RU.KOI8-R:
-
-
- Console Setup
-
-
-
- Add the following lines to
+ To configure the console, add the following lines to
/etc/rc.conf:keymap="ru.koi8-r"
@@ -877,78 +870,49 @@ font8x16="cp866b-8x16"
font8x14="cp866-8x14"
font8x8="cp866-8x8"
mousechar_start=3
-
- For each ttyv entry in
/etc/ttys, use
cons25r as the terminal type.
-
-
-
-
-
- Printer Setupprinters
- Since most printers with Russian characters come with
- hardware code page CP866, a special output filter is needed
- to convert from KOI8-R to CP866. &os; installs a default
- filter as /usr/libexec/lpr/ru/koi2alt.
- A Russian printer /etc/printcap entry
- should look like:
+ To configure printing, a special output filter is needed
+ to convert from KOI8-R to CP866 since most printers with Russian characters come with
+ hardware code page CP866. &os; includes a default
+ filter for this purpose, /usr/libexec/lpr/ru/koi2alt.
+ To use this filter, add this entry to /etc/printcap:lp|Russian local line printer:\
:sh:of=/usr/libexec/lpr/ru/koi2alt:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:Refer to &man.printcap.5; for a more detailed
- description.
-
+ explanation.
-
- &ms-dos; and Russian Filenames
-
- The following example &man.fstab.5; entry enables
+ To configure
support for Russian filenames in mounted &ms-dos;
- filesystems:
+ file systems, include and the locale name when adding an entry to
+ /etc/fstab:/dev/ad0s2 /dos/c msdos rw,-Lru_RU.KOI8-R 0 0
- selects the locale name. Refer to
+ Refer to
&man.mount.msdosfs.8; for more details.
-
-
-
- Xorg Setup
-
-
- First, configure the
- non-X locale
- setup.
-
-
- When using &xorg;,
+ To configure Russian fonts for &xorg;,
install the
x11-fonts/xorg-fonts-cyrillic
- package.
-
- Check the "Files" section in
+ package. Then, check the "Files" section in
/etc/X11/xorg.conf. The
following line must be added before
any other FontPath entries:FontPath "/usr/local/lib/X11/fonts/cyrillic"
-
- Search the Ports Collection for more Cyrillic
- fonts.
-
-
+ Additional Cyrillic
+ fonts are available in the Ports Collection.
- To activate a Russian keyboard, add the following
to the "Keyboard" section of
/etc/xorg.conf:
@@ -983,10 +947,7 @@ Option "XkbOptions" "grp:toggle"The Russian XKB keyboard may not work with
non-localized applications.
-
-
- Minimally localized applications should call a
XtSetLanguageProc (NULL, NULL, NULL);
function early in the program.
@@ -994,81 +955,100 @@ Option "XkbOptions" "grp:toggle"See
KOI8-R for X Window for more instructions on
localizing Xorg
- applications.
-
-
+ applications. For more general
+ information about KOI8-R encoding, refer to
+ KOI8-R -
+ Russian Net Character Set.
- Traditional Chinese Localization for Taiwan
+ Additional Language-Specific Resources
+
+ Some intro text here...localizationTraditional Chinese
+
+ localization
+ German
+
+
+ localization
+ Greek
+
+
+ localization
+ Japanese
+
+
+ localization
+ Korean
+
+
+
+
+ Traditional Chinese for Taiwan
+
+ The &os;-Taiwan Project has a Chinese HOWTO for
&os; at http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/
using many Chinese ports. The current editor for the
&os; Chinese HOWTO is Shen Chuan-Hsing
statue@freebsd.sinica.edu.tw.
-
-
-
- German Language Localization for All ISO 8859-1
- Languages
-
-
- localization
- German
-
+
+
+
+
+ German Language Localization for All ISO 8859-1
+ Languages
+ Slaven Rezic eserte@cs.tu-berlin.de wrote a
tutorial on using umlauts on &os;. The tutorial
is written in German and is available at http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html.
-
-
-
- Greek Language Localization
+
+
+
+
+ Greek Language Localization
-
- localization
- Greek
-
+ Nikos Kokkalis nickkokkalis@gmail.com has
written a complete article on Greek support in &os;. It is
available here,
in Greek only, as part of the official &os; Greek
documentation.
-
+
+
-
- Japanese and Korean Language Localization
+
+ Japanese and Korean Language Localization
-
- localization
- Japanese
-
-
- localization
- Korean
-
+ For Japanese, refer to http://www.jp.FreeBSD.org/,
and for Korean, refer to http://www.kr.FreeBSD.org/.
-
+
+
-
- Non-English &os; Documentation
+
+ Non-English &os; Documentation
+ Some &os; contributors have translated parts of the
&os; documentation to other languages. They are available
through links on the main site or in
/usr/share/doc.
+
+
+
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 22:36:06 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id D59FCF66;
Tue, 11 Feb 2014 22:36:06 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id A56D81A86;
Tue, 11 Feb 2014 22:36:06 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BMa6dO034409;
Tue, 11 Feb 2014 22:36:06 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BMa6f8034408;
Tue, 11 Feb 2014 22:36:06 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402112236.s1BMa6f8034408@svn.freebsd.org>
From: Dru Lavigne
Date: Tue, 11 Feb 2014 22:36:06 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43880 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 22:36:07 -0000
Author: dru
Date: Tue Feb 11 22:36:06 2014
New Revision: 43880
URL: http://svnweb.freebsd.org/changeset/doc/43880
Log:
White space fix only. Translators can ignore.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 22:06:19 2014 (r43879)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 22:36:06 2014 (r43880)
@@ -833,11 +833,10 @@ Comment out for now. If needed, can be a
Locale Configuration for Specific Languages
-
+
This section provides configuration examples for localizing
- a &os; system for the
- Russian language. It then provides some
- additional resources for localizing other languages.
+ a &os; system for the Russian language. It then provides some
+ additional resources for localizing other languages.
@@ -854,130 +853,129 @@ Comment out for now. If needed, can be a
Russian
- To set this locale for the login shell, add the following lines into each
- user's ~/.login_conf:
+ To set this locale for the login shell, add the following
+ lines into each user's
+ ~/.login_conf:
- me:My Account:\
+ me:My Account:\
:charset=KOI8-R:\
:lang=ru_RU.KOI8-R:
- To configure the console, add the following lines to
- /etc/rc.conf:
+ To configure the console, add the following lines to
+ /etc/rc.conf:
- keymap="ru.koi8-r"
+ keymap="ru.koi8-r"
scrnmap="koi8-r2cp866"
font8x16="cp866b-8x16"
font8x14="cp866-8x14"
font8x8="cp866-8x8"
mousechar_start=3
- For each ttyv entry in
- /etc/ttys, use
- cons25r as the terminal type.
-
- printers
- To configure printing, a special output filter is needed
- to convert from KOI8-R to CP866 since most printers with Russian characters come with
- hardware code page CP866. &os; includes a default
- filter for this purpose, /usr/libexec/lpr/ru/koi2alt.
- To use this filter, add this entry to /etc/printcap:
+ For each ttyv entry in
+ /etc/ttys, use
+ cons25r as the terminal type.
+
+ printers
+ To configure printing, a special output filter is needed
+ to convert from KOI8-R to CP866 since most printers with
+ Russian characters come with hardware code page CP866. &os;
+ includes a default filter for this purpose,
+ /usr/libexec/lpr/ru/koi2alt. To use this
+ filter, add this entry to
+ /etc/printcap:
- lp|Russian local line printer:\
+ lp|Russian local line printer:\
:sh:of=/usr/libexec/lpr/ru/koi2alt:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
- Refer to &man.printcap.5; for a more detailed
- explanation.
-
- To configure
- support for Russian filenames in mounted &ms-dos;
- file systems, include and the locale name when adding an entry to
- /etc/fstab:
+ Refer to &man.printcap.5; for a more detailed
+ explanation.
- /dev/ad0s2 /dos/c msdos rw,-Lru_RU.KOI8-R 0 0
+ To configure support for Russian filenames in mounted
+ &ms-dos; file systems, include and the
+ locale name when adding an entry to
+ /etc/fstab:
- Refer to
- &man.mount.msdosfs.8; for more details.
+ /dev/ad0s2 /dos/c msdos rw,-Lru_RU.KOI8-R 0 0
+ Refer to &man.mount.msdosfs.8; for more details.
- To configure Russian fonts for &xorg;,
- install the
- x11-fonts/xorg-fonts-cyrillic
- package. Then, check the "Files" section in
- /etc/X11/xorg.conf. The
- following line must be added before
- any other FontPath entries:
+ To configure Russian fonts for
+ &xorg;, install the
+ x11-fonts/xorg-fonts-cyrillic package.
+ Then, check the "Files" section in
+ /etc/X11/xorg.conf. The following line
+ must be added before any other
+ FontPath entries:
- FontPath "/usr/local/lib/X11/fonts/cyrillic"
+ FontPath "/usr/local/lib/X11/fonts/cyrillic"
- Additional Cyrillic
- fonts are available in the Ports Collection.
+ Additional Cyrillic fonts are available in the Ports
+ Collection.
- To activate a Russian keyboard, add the following
- to the "Keyboard" section of
- /etc/xorg.conf:
+ To activate a Russian keyboard, add the following to the
+ "Keyboard" section of
+ /etc/xorg.conf:
- Option "XkbLayout" "us,ru"
+ Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:toggle"
- Make sure that XkbDisable is
- commented out in that file.
+ Make sure that XkbDisable is
+ commented out in that file.
- For grp:toggle use
- Right Alt, for
- grp:ctrl_shift_toggle use CtrlShift.
- For grp:caps_toggle use
- CapsLock. The old
- CapsLock function is still available
- in LAT mode only using ShiftCapsLock.
- grp:caps_toggle
- does not work in &xorg; for
- some unknown reason.
-
- If the keyboard has &windows; keys,
- and some non-alphabetical keys are mapped incorrectly,
- add the following line to
- /etc/xorg.conf:
-
- Option "XkbVariant" ",winkeys"
-
-
- The Russian XKB keyboard may not work with
- non-localized applications.
-
-
- Minimally localized applications should call a
- XtSetLanguageProc (NULL, NULL, NULL);
- function early in the program.
-
- See
- KOI8-R for X Window for more instructions on
- localizing Xorg
- applications. For more general
- information about KOI8-R encoding, refer to
+ For grp:toggle use
+ Right Alt, for
+ grp:ctrl_shift_toggle use CtrlShift.
+ For grp:caps_toggle use
+ CapsLock. The old
+ CapsLock function is still available in LAT
+ mode only using ShiftCapsLock.
+ grp:caps_toggle does not work in
+ &xorg; for some unknown
+ reason.
+
+ If the keyboard has &windows; keys, and
+ some non-alphabetical keys are mapped incorrectly, add the
+ following line to /etc/xorg.conf:
+
+ Option "XkbVariant" ",winkeys"
+
+
+ The Russian XKB keyboard may not work with
+ non-localized applications.
+
+
+ Minimally localized applications should call a
+ XtSetLanguageProc (NULL, NULL, NULL);
+ function early in the program.
+
+ See
+ KOI8-R for X Window for more instructions on
+ localizing Xorg applications. For
+ more general information about KOI8-R encoding, refer to
KOI8-R -
- Russian Net Character Set.
+ Russian Net Character Set.Additional Language-Specific Resources
-
+
Some intro text here...localizationTraditional Chinese
-
+ localizationGerman
-
-
+
+ localizationGreek
-
+ localizationJapanese
@@ -986,69 +984,70 @@ Option "XkbOptions" "grp:toggle"localization
Korean
-
+
-
- Traditional Chinese for Taiwan
+
+ Traditional Chinese for Taiwan
-
- The &os;-Taiwan Project has a Chinese HOWTO for
- &os; at http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/
- using many Chinese ports. The current editor for the
- &os; Chinese HOWTO is Shen Chuan-Hsing
- statue@freebsd.sinica.edu.tw.
-
-
-
-
- German Language Localization for All ISO 8859-1
- Languages
-
-
- Slaven Rezic eserte@cs.tu-berlin.de wrote a
- tutorial on using umlauts on &os;. The tutorial
- is written in German and is available at http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html.
-
-
-
-
- Greek Language Localization
-
-
- Nikos Kokkalis nickkokkalis@gmail.com has
- written a complete article on Greek support in &os;. It is
- available here,
- in Greek only, as part of the official &os; Greek
- documentation.
-
-
-
-
- Japanese and Korean Language Localization
-
-
- For Japanese, refer to http://www.jp.FreeBSD.org/,
- and for Korean, refer to http://www.kr.FreeBSD.org/.
-
-
-
-
- Non-English &os; Documentation
-
-
- Some &os; contributors have translated parts of the
- &os; documentation to other languages. They are available
- through links on the main site or in
- /usr/share/doc.
-
-
-
+
+ The &os;-Taiwan Project has a Chinese HOWTO for &os;
+ at http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/
+ using many Chinese ports. The current editor for the
+ &os; Chinese HOWTO is Shen
+ Chuan-Hsing
+ statue@freebsd.sinica.edu.tw.
+
+
+
+
+ German Language Localization for All ISO 8859-1
+ Languages
+
+
+ Slaven eserte@cs.tu-berlin.de wrote a
+ tutorial on using umlauts on &os;. The tutorial is
+ written in German and is available at http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html.
+
+
+
+
+ Greek Language Localization
+
+
+ Nikos Kokkalis nickkokkalis@gmail.com
+ has written a complete article on Greek support in &os;.
+ It is available here,
+ in Greek only, as part of the official &os; Greek
+ documentation.
+
+
+
+
+ Japanese and Korean Language Localization
+
+
+ For Japanese, refer to http://www.jp.FreeBSD.org/,
+ and for Korean, refer to http://www.kr.FreeBSD.org/.
+
+
+
+
+ Non-English &os; Documentation
+
+
+ Some &os; contributors have translated parts of the
+ &os; documentation to other languages. They are
+ available through links on the main site or
+ in /usr/share/doc.
+
+
+
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 23:12:35 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 7C186ABB;
Tue, 11 Feb 2014 23:12:35 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 61DA41D2E;
Tue, 11 Feb 2014 23:12:35 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BNCZu3061182;
Tue, 11 Feb 2014 23:12:35 GMT (envelope-from hrs@svn.freebsd.org)
Received: (from hrs@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BNCZsG061181;
Tue, 11 Feb 2014 23:12:35 GMT (envelope-from hrs@svn.freebsd.org)
Message-Id: <201402112312.s1BNCZsG061181@svn.freebsd.org>
From: Hiroki Sato
Date: Tue, 11 Feb 2014 23:12:35 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43881 - head/en_US.ISO8859-1/htdocs/releases/10.0R
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 23:12:35 -0000
Author: hrs
Date: Tue Feb 11 23:12:34 2014
New Revision: 43881
URL: http://svnweb.freebsd.org/changeset/doc/43881
Log:
Regen from r261784.
Modified:
head/en_US.ISO8859-1/htdocs/releases/10.0R/errata.html
Modified: head/en_US.ISO8859-1/htdocs/releases/10.0R/errata.html
==============================================================================
--- head/en_US.ISO8859-1/htdocs/releases/10.0R/errata.html Tue Feb 11 22:36:06 2014 (r43880)
+++ head/en_US.ISO8859-1/htdocs/releases/10.0R/errata.html Tue Feb 11 23:12:34 2014 (r43881)
@@ -1,5 +1,5 @@
-FreeBSD 10.0-RELEASE Errata
FreeBSD is a registered trademark of
the FreeBSD Foundation.
Intel, Celeron, EtherExpress, i386,
i486, Itanium, Pentium, and Xeon are trademarks or registered
trademarks of Intel Corporation or its subsidiaries in the United
@@ -12,7 +12,7 @@
as trademarks. Where those designations appear in this document,
and the FreeBSD Project was aware of the trademark claim, the
designations have been followed by the “™” or the
- “®” symbol.
Last modified on 2014-01-20 by hrs.
Abstract
This document lists errata items for FreeBSD 10.0-RELEASE,
+ “®” symbol.
Last modified on 2014-02-11 by hrs.
Abstract
This document lists errata items for FreeBSD 10.0-RELEASE,
containing significant information discovered after the release
or too late in the release cycle to be otherwise included in the
release documentation.
@@ -88,7 +88,9 @@ boot
4. Late-Breaking News
No news.
This file, and other release-related documents,
+ 10.0-STABLE.
The mount_udf(8) utility has a bug which prevents
+ it from mounting any UDF file system. This has been fixed
+ in FreeBSD-CURRENT and FreeBSD 10.0-STABLE.
All users of FreeBSD stable should
From owner-svn-doc-head@FreeBSD.ORG Tue Feb 11 23:27:56 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id C4116DAF;
Tue, 11 Feb 2014 23:27:56 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id AF59E1E32;
Tue, 11 Feb 2014 23:27:56 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BNRul8065925;
Tue, 11 Feb 2014 23:27:56 GMT (envelope-from hrs@svn.freebsd.org)
Received: (from hrs@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BNRuXU065924;
Tue, 11 Feb 2014 23:27:56 GMT (envelope-from hrs@svn.freebsd.org)
Message-Id: <201402112327.s1BNRuXU065924@svn.freebsd.org>
From: Hiroki Sato
Date: Tue, 11 Feb 2014 23:27:56 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43882 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 11 Feb 2014 23:27:56 -0000
Author: hrs
Date: Tue Feb 11 23:27:56 2014
New Revision: 43882
URL: http://svnweb.freebsd.org/changeset/doc/43882
Log:
Fix build.
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 23:12:34 2014 (r43881)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 23:27:56 2014 (r43882)
@@ -1043,7 +1043,7 @@ Option "XkbOptions" "grp:toggle"Some &os; contributors have translated parts of the
&os; documentation to other languages. They are
available through links on the main site or
+ xlink:href="&url.base;/index.html">main site or
in /usr/share/doc.
From owner-svn-doc-head@FreeBSD.ORG Wed Feb 12 16:37:35 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id D3786C38;
Wed, 12 Feb 2014 16:37:35 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id BBE521505;
Wed, 12 Feb 2014 16:37:35 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CGbZfD077351;
Wed, 12 Feb 2014 16:37:35 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CGbZWC077350;
Wed, 12 Feb 2014 16:37:35 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402121637.s1CGbZWC077350@svn.freebsd.org>
From: Dru Lavigne
Date: Wed, 12 Feb 2014 16:37:35 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43883 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 12 Feb 2014 16:37:36 -0000
Author: dru
Date: Wed Feb 12 16:37:35 2014
New Revision: 43883
URL: http://svnweb.freebsd.org/changeset/doc/43883
Log:
Finish cleaning up this chapter.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Tue Feb 11 23:27:56 2014 (r43882)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Wed Feb 12 16:37:35 2014 (r43883)
@@ -27,9 +27,9 @@
&os; is a distributed project with users and contributors
located all over the world. As such, &os; supports localization
- into many languages. This allows a user to view, input, or
- process data in non-English languages. Currently, one can
- choose from most of the major languages, including but not
+ into many languages, allowing users to view, input, or
+ process data in non-English languages. One can
+ choose from most of the major languages, including, but not
limited to: Chinese, German, Japanese, Korean, French, Russian,
and Vietnamese.
@@ -41,30 +41,20 @@
The term internationalization has been shortened to
i18n, which represents the number of letters
- between the first and the last letters of internationalization.
- L10n uses the same naming scheme, coming from
- localization. Combined together,
+ between the first and the last letters of internationalization.
+ L10n uses the same naming scheme, but from
+ localization. The
i18n/L10n methods,
protocols, and applications allow users to use languages of
their choice.
- i18n applications are programmed using
- i18n kits under libraries. These allow
- developers to write a simple file and translate displayed menus
- and texts to each language.
-
This chapter discusses the internationalization and
- localization features of &os;. Since there are many aspects of
- the i18n implementation at both the system
- and application levels, more specific sources of documentation
- are referred to, where applicable.
-
- After reading this chapter, you will know:
+ localization features of &os;. After reading this chapter, you
+ will know:
- How different languages and locales are encoded on
- modern operating systems.
+ How locale names are constructed.
@@ -77,13 +67,17 @@
- How to use Xorg effectively
- with different languages.
+ How to configure Xorg for
+ different languages.
+
+
+
+ How to find i18n-compliant applications.
- Where to find more information about writing
- i18n-compliant applications.
+ Where to find more information for configuring specific
+ languages.
@@ -146,31 +140,43 @@
+ A complete listing of available locales can be found by
+ typing:
+
+ &prompt.user; locale -a | more
+
+ To determine the current locale setting:
+
+ &prompt.user; localeencodingsASCII
+ Language specific character sets, such as
+ ISO8859-1, ISO8859-15, KOI8-R, and CP437, are
+ described in &man.multibyte.3;. The active list of character sets can be found at the IANA
+ Registry.
+
Some languages, such as Chinese or Japanese, cannot be
- represented using ASCII characters and require an extended
+ represented using ASCII characters and require an extended
language encoding using either wide or multibyte characters.
+ Examples of wide or multibyte encodings include EUC and Big5.
Older applications may mistake these encodings for control
- characters while newer applications usually recognize 8-bit
+ characters while newer applications usually recognize these
characters. Depending on the implementation, users may be
required to compile an application with wide or multibyte
- character support, or configure it correctly. The rest of
+ character support, or to configure it correctly.
+
+
+ &os; uses Xorg-compatible locale encodings.
+
+
+ The rest of
this section describes the various methods for configuring the
locale on a &os; system. The next section will discuss the
- considerations for finding or compiling applications with i18n
+ considerations for finding and compiling applications with i18n
support.
- A complete listing of available locales can be found by
- typing:
-
- &prompt.user; locale -a | more
-
- To determine the current locale setting:
-
- &prompt.user; locale
-
Setting Locale for Login Shell
@@ -193,7 +199,7 @@
MIME
- MM_CHARSET which sets the MIME
+ MM_CHARSET, which sets the MIME
character set used by applications
@@ -218,7 +224,7 @@
This first method is the recommended method as it
assigns the required environment variables for locale name
- and MIME character sets for every possible shell. This
+ and MIME character sets for every possible shell. This
setup can either be performed by each user or it can be
configured for all users by the superuser.
@@ -257,7 +263,7 @@ me:\
Alternately, the superuser can configure all users of
the system for localization. The following variables in
/etc/login.conf are used to set the
- locale and MIME character sete:
+ locale and MIME character set:language_name|Account Type Description:\
:charset=MIME_charset:\
@@ -336,7 +342,7 @@ me:\
Shell Startup File Method
- This method is not recommended as each shell that is
+ This second method is not recommended as each shell that is
used requires manual configuration, where each shell has a
different configuration file and differing syntax. As an
example, to set the German language for the
@@ -407,11 +413,11 @@ keychange="fkey_number sequ
area if the screen font uses a bit 8 column.To see the list of available keymaps, type
- ls /usr/share/syscons/keymaps. When
+ ls /usr/share/syscons/keymaps. When
specifying the keymap_name, do not
- include the .kbd suffix. When uncertain
- as to which keymap to use, &man.kbdmap.1; can be used to test
- keymaps without rebooting.
+ include the .kbd suffix. To test
+ keymaps without rebooting,
+ use &man.kbdmap.1;.The keychange entry is usually needed
to program function keys to match the selected terminal type
@@ -507,13 +513,13 @@ keychange="fkey_number sequ
- Japanese
- chinese/kon2
+ Chinese/Japanese/Korean
+ chinese/zhcon
- Chinese/Japanese/Korean
- chinese/zhcon
+ Japanese
+ chinese/kon2
@@ -535,7 +541,7 @@ keychange="fkey_number sequ
&man.syscons.4; driver occupies the
0xd0-0xd3 range in the
character set. If the language uses this range, move the
- cursor's range. To enable this workaround for &os;, add the
+ cursor's range by adding the
following line to /etc/rc.conf:mousechar_start=3
@@ -751,7 +757,7 @@ Comment out for now. If needed, can be a
converted to &postscript; or PDF formats using language
specific converters.
- -->
+Not sure where to put this section, perhaps as a note in the File system chapter?
Kernel and File Systems
@@ -773,62 +779,32 @@ Comment out for now. If needed, can be a
character sets, and chosen &os; filesystem character sets.
Refer to &man.mount.msdosfs.8; for details.
+ -->
- Compiling i18n Programs
-
- The &os; &os;
- Ports Collection contains programs which provide
- application support for wide or multibyte characters for several
- languages. Refer to the i18n documentation
- in the respective &os; port for more information on how to
- configure the application correctly or to determine which
- compile options to use when building the port.
-
- Some things to keep in mind are:
+ Finding i18n Applications
-
-
- Language specific single C chars character sets such as
- ISO8859-1, ISO8859-15, KOI8-R, and CP437. These are
- described in &man.multibyte.3;.
-
-
-
- Wide or multibyte encodings such as EUC and Big5.
-
-
-
- The active list of character sets can be found at the IANA
- Registry.
-
-
- &os; uses Xorg-compatible locale encodings instead.
-
-
- In the &os; Ports Collection, i18n
- applications include i18n in their names for
+ i18n applications are programmed using
+ i18n kits under libraries. These allow
+ developers to write a simple file and translate displayed menus
+ and texts to each language.
+ The &os;
+ Ports Collection contains many
+ applications with built-in support for wide or multibyte characters for several
+ languages. Such applications include i18n in their names for
easy identification. However, they do not always support the
language needed.
- Many applications in the &os; Ports Collection have been
- ported with i18n support. Some of these
- include -i18n in the port name. These
- and many other programs have built in support for
- i18n and need no special
- consideration.
-
-
- MySQL
-
- However, some applications such as
- MySQL need to have their
- Makefile configured with the specific
+ Some applications can be compiled
+ with the specific
charset. This is usually done in the port's
Makefile or by passing a value to
- configure in the source.
+ configure. Refer to the i18n documentation
+ in the respective &os; port's source for more information on how to
+ determine the needed configure value
+ or the port's Makefile to determine which
+ compile options to use when building the port.
@@ -853,8 +829,13 @@ Comment out for now. If needed, can be a
Russian
+ This section shows the specific settings needed to
+ localize a &os; system for the Russian language. Refer to
+ Using Localization for
+ a more complete description of each type of setting.
+
To set this locale for the login shell, add the following
- lines into each user's
+ lines to each user's
~/.login_conf:me:My Account:\
@@ -944,25 +925,23 @@ Option "XkbOptions" "grp:toggle"
The Russian XKB keyboard may not work with
- non-localized applications.
-
-
- Minimally localized applications should call a
+ non-localized applications. Minimally localized applications should call a
XtSetLanguageProc (NULL, NULL, NULL);
function early in the program.
+
- See
- KOI8-R for X Window for more instructions on
+ See http://koi8.pp.ru/xwin.html
+ for more instructions on
localizing Xorg applications. For
more general information about KOI8-R encoding, refer to
- KOI8-R -
- Russian Net Character Set.
+ http://koi8.pp.ru/.Additional Language-Specific Resources
- Some intro text here...
+ This section lists some additional resources for
+ configuring other locales.localization
@@ -992,11 +971,7 @@ Option "XkbOptions" "grp:toggle"
The &os;-Taiwan Project has a Chinese HOWTO for &os;
at http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/
- using many Chinese ports. The current editor for the
- &os; Chinese HOWTO is Shen
- Chuan-Hsing
- statue@freebsd.sinica.edu.tw.
+ xlink:href="http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/">http://netlab.cse.yzu.edu.tw/~statue/freebsd/zh-tut/.
@@ -1005,9 +980,9 @@ Option "XkbOptions" "grp:toggle"
- Slaven eserte@cs.tu-berlin.de wrote a
- tutorial on using umlauts on &os;. The tutorial is
- written in German and is available at A
+ tutorial on using umlauts on &os; is
+ available in German at http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html.
@@ -1016,9 +991,8 @@ Option "XkbOptions" "grp:toggle"Greek Language Localization
- Nikos Kokkalis nickkokkalis@gmail.com
- has written a complete article on Greek support in &os;.
- It is available A complete article on Greek support in &os;
+ is available here,
in Greek only, as part of the official &os; Greek
documentation.
@@ -1043,7 +1017,7 @@ Option "XkbOptions" "grp:toggle"Some &os; contributors have translated parts of the
&os; documentation to other languages. They are
available through links on the main site or
+ xlink:href="&url.base;/index.html">&os; web site or
in /usr/share/doc.
From owner-svn-doc-head@FreeBSD.ORG Wed Feb 12 16:48:57 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 2EEE7456;
Wed, 12 Feb 2014 16:48:57 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 0CC8C1653;
Wed, 12 Feb 2014 16:48:57 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CGmuaV081763;
Wed, 12 Feb 2014 16:48:56 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CGmulB081762;
Wed, 12 Feb 2014 16:48:56 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402121648.s1CGmulB081762@svn.freebsd.org>
From: Dru Lavigne
Date: Wed, 12 Feb 2014 16:48:56 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43884 - head/en_US.ISO8859-1/books/handbook/l10n
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 12 Feb 2014 16:48:57 -0000
Author: dru
Date: Wed Feb 12 16:48:56 2014
New Revision: 43884
URL: http://svnweb.freebsd.org/changeset/doc/43884
Log:
White space fix only. Translators can ignore.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Wed Feb 12 16:37:35 2014 (r43883)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml Wed Feb 12 16:48:56 2014 (r43884)
@@ -27,11 +27,11 @@
&os; is a distributed project with users and contributors
located all over the world. As such, &os; supports localization
- into many languages, allowing users to view, input, or
- process data in non-English languages. One can
- choose from most of the major languages, including, but not
- limited to: Chinese, German, Japanese, Korean, French, Russian,
- and Vietnamese.
+ into many languages, allowing users to view, input, or process
+ data in non-English languages. One can choose from most of the
+ major languages, including, but not limited to: Chinese,
+ German, Japanese, Korean, French, Russian, and
+ Vietnamese.
internationalization
@@ -41,7 +41,8 @@
The term internationalization has been shortened to
i18n, which represents the number of letters
- between the first and the last letters of internationalization.
+ between the first and the last letters of
+ internationalization.
L10n uses the same naming scheme, but from
localization. The
i18n/L10n methods,
@@ -72,7 +73,8 @@
- How to find i18n-compliant applications.
+ How to find i18n-compliant
+ applications.
@@ -148,34 +150,36 @@
To determine the current locale setting:&prompt.user; locale
+
encodingsASCII
- Language specific character sets, such as
- ISO8859-1, ISO8859-15, KOI8-R, and CP437, are
- described in &man.multibyte.3;. The active list of character sets can be found at the IANA
- Registry.
+ Language specific character sets, such as ISO8859-1,
+ ISO8859-15, KOI8-R, and CP437, are described in
+ &man.multibyte.3;. The active list of character sets can be
+ found at the IANA
+ Registry.Some languages, such as Chinese or Japanese, cannot be
- represented using ASCII characters and require an extended
- language encoding using either wide or multibyte characters.
- Examples of wide or multibyte encodings include EUC and Big5.
- Older applications may mistake these encodings for control
- characters while newer applications usually recognize these
- characters. Depending on the implementation, users may be
- required to compile an application with wide or multibyte
- character support, or to configure it correctly.
-
-
- &os; uses Xorg-compatible locale encodings.
-
-
- The rest of
- this section describes the various methods for configuring the
- locale on a &os; system. The next section will discuss the
- considerations for finding and compiling applications with i18n
- support.
+ represented using ASCII characters and
+ require an extended language encoding using either wide or
+ multibyte characters. Examples of wide or multibyte encodings
+ include EUC and Big5. Older applications may mistake these
+ encodings for control characters while newer applications
+ usually recognize these characters. Depending on the
+ implementation, users may be required to compile an
+ application with wide or multibyte character support, or to
+ configure it correctly.
+
+
+ &os; uses Xorg-compatible locale encodings.
+
+
+ The rest of this section describes the various methods for
+ configuring the locale on a &os; system. The next section
+ will discuss the considerations for finding and compiling
+ applications with i18n support.Setting Locale for Login Shell
@@ -199,15 +203,16 @@
MIME
- MM_CHARSET, which sets the MIME
- character set used by applications
+ MM_CHARSET, which sets the
+ MIME character set used by
+ applicationsIn addition to the user's shell configuration, these
- variables should also be set for
- specific application configuration and
- Xorg configuration.
+ variables should also be set for specific application
+ configuration and Xorg
+ configuration.
localelogin class
@@ -224,9 +229,10 @@
This first method is the recommended method as it
assigns the required environment variables for locale name
- and MIME character sets for every possible shell. This
- setup can either be performed by each user or it can be
- configured for all users by the superuser.
+ and MIME character sets for every
+ possible shell. This setup can either be performed by each
+ user or it can be configured for all users by the
+ superuser.
This minimal example sets both variables for Latin-1
encoding in the .login_conf of an
@@ -342,10 +348,10 @@ me:\
Shell Startup File Method
- This second method is not recommended as each shell that is
- used requires manual configuration, where each shell has a
- different configuration file and differing syntax. As an
- example, to set the German language for the
+ This second method is not recommended as each shell
+ that is used requires manual configuration, where each
+ shell has a different configuration file and differing
+ syntax. As an example, to set the German language for the
sh shell, these lines could be added to
~/.profile to set the shell for that
user only. These lines could also be added to
@@ -789,22 +795,23 @@ Not sure where to put this section, perh
i18n kits under libraries. These allow
developers to write a simple file and translate displayed menus
and texts to each language.
+
The &os;
- Ports Collection contains many
- applications with built-in support for wide or multibyte characters for several
- languages. Such applications include i18n in their names for
- easy identification. However, they do not always support the
- language needed.
+ Ports Collection contains many applications with
+ built-in support for wide or multibyte characters for several
+ languages. Such applications include i18n in
+ their names for easy identification. However, they do not
+ always support the language needed.
- Some applications can be compiled
- with the specific
+ Some applications can be compiled with the specific
charset. This is usually done in the port's
Makefile or by passing a value to
- configure. Refer to the i18n documentation
- in the respective &os; port's source for more information on how to
- determine the needed configure value
- or the port's Makefile to determine which
- compile options to use when building the port.
+ configure. Refer to the
+ i18n documentation in the respective &os;
+ port's source for more information on how to determine the
+ needed configure value or the port's
+ Makefile to determine which compile options
+ to use when building the port.
@@ -831,8 +838,9 @@ Not sure where to put this section, perh
This section shows the specific settings needed to
localize a &os; system for the Russian language. Refer to
- Using Localization for
- a more complete description of each type of setting.
+ Using Localization
+ for a more complete description of each type of
+ setting.
To set this locale for the login shell, add the following
lines to each user's
@@ -925,16 +933,18 @@ Option "XkbOptions" "grp:toggle"
The Russian XKB keyboard may not work with
- non-localized applications. Minimally localized applications should call a
- XtSetLanguageProc (NULL, NULL, NULL);
- function early in the program.
+ non-localized applications. Minimally localized
+ applications should call a XtSetLanguageProc
+ (NULL, NULL, NULL); function early in the
+ program.
- See http://koi8.pp.ru/xwin.html
- for more instructions on
- localizing Xorg applications. For
- more general information about KOI8-R encoding, refer to
- http://koi8.pp.ru/.
+ See http://koi8.pp.ru/xwin.html
+ for more instructions on localizing
+ Xorg applications. For more
+ general information about KOI8-R encoding, refer to http://koi8.pp.ru/.
@@ -1017,8 +1027,9 @@ Option "XkbOptions" "grp:toggle"Some &os; contributors have translated parts of the
&os; documentation to other languages. They are
available through links on the &os; web site or
- in /usr/share/doc.
+ xlink:href="&url.base;/index.html">&os; web
+ site or in
+ /usr/share/doc.
From owner-svn-doc-head@FreeBSD.ORG Wed Feb 12 19:08:16 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 9B76B13B;
Wed, 12 Feb 2014 19:08:16 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 854CD130E;
Wed, 12 Feb 2014 19:08:16 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CJ8G72037207;
Wed, 12 Feb 2014 19:08:16 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CJ8Ged037206;
Wed, 12 Feb 2014 19:08:16 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402121908.s1CJ8Ged037206@svn.freebsd.org>
From: Dru Lavigne
Date: Wed, 12 Feb 2014 19:08:16 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43885 - head/en_US.ISO8859-1/books/handbook/mirrors
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 12 Feb 2014 19:08:16 -0000
Author: dru
Date: Wed Feb 12 19:08:16 2014
New Revision: 43885
URL: http://svnweb.freebsd.org/changeset/doc/43885
Log:
First pass at improving the flow of this chapter.
More commits to come.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml Wed Feb 12 16:48:56 2014 (r43884)
+++ head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml Wed Feb 12 19:08:16 2014 (r43885)
@@ -84,26 +84,26 @@
- FTP Sites
+ FTP SitesThe official sources for &os; are available via anonymous
- FTP from a worldwide set of mirror sites. The site
+ FTP from a worldwide set of mirror sites. The site
ftp://ftp.FreeBSD.org/pub/FreeBSD/ is well
connected and allows a large number of connections to it, but
you are probably better off finding a closer
mirror site (especially if you decide to set up some sort of
mirror site).
- Additionally, &os; is available via anonymous FTP from the
+ Additionally, &os; is available via anonymous FTP from the
following mirror sites. If you choose to obtain &os; via
- anonymous FTP, please try to use a site near you. The mirror
+ anonymous FTP, please try to use a site near you. The mirror
sites listed as Primary Mirror Sites typically
have the entire &os; archive (all the currently available
versions for each of the architectures) but you will probably
have faster download times from a site that is in your country
or region. The regional sites carry the most recent versions
for the most popular architecture(s) but might not carry the
- entire &os; archive. All sites provide access via anonymous FTP
+ entire &os; archive. All sites provide access via anonymous FTP
but some sites also provide access via other methods. The
access methods available for each site are provided in
parentheses after the hostname.
@@ -138,99 +138,117 @@
CTM is a method for keeping a
- remote directory tree in sync with a central one. It has been
- developed for usage with &os;'s source trees, though other
- people may find it useful for other purposes as time goes by.
- Little, if any, documentation currently exists at this time on
- the process of creating deltas, so contact the
- &a.ctm-users.name; mailing list for more information and if you
- wish to use CTM for other
- things.
+ remote directory tree in sync with a central one. It is built into &os;
+ and can be used to synchronize a system with &os;'s source repositories.
+ It supports synchronization of an entire repository or just the specified branches.
+
+ CTM is specifically designed for use on
+ lousy or non-existent TCP/IP connections. It provides the ability
+ for changes to be automatically sent by email. It requires the user
+ to obtain up to three deltas per day for the most active
+ branches. Update sizes are always kept as
+ small as possible and are typically less than 5K. About one in very ten
+ update is 10-50K in size and rarely there will be an update
+ larger than 100K+.
-
- Why Should I Use CTM?
+ When using CTM to track &os; development,
+ refer to the
+ caveats related to working directly from the development
+ sources rather than a pre-packaged release. These are discussed
+ in Tracking a Development Branch.
- CTM will give you a local copy
- of the &os; source trees. There are a number of
- flavors of the tree available. Whether you
- wish to track the entire CVS tree or just one of the branches,
- CTM can provide you the
- information. If you are an active developer on &os;, but have
- lousy or non-existent TCP/IP connectivity, or simply wish to
- have the changes automatically sent to you,
- CTM was made for you. You will
- need to obtain up to three deltas per day for the most active
- branches. However, you should consider having them sent by
- automatic email. The sizes of the updates are always kept as
- small as possible. This is typically less than 5K, with an
- occasional (one in ten) being 10-50K and every now and then a
- large 100K+ or more coming around.
+ Little documentation exists on
+ the process of creating deltas or using CTM
+ for other purposes. Contact the
+ &a.ctm-users.name; mailing list for questions on using
+ CTM.
- You will also need to make yourself aware of the various
- caveats related to working directly from the development
- sources rather than a pre-packaged release. This is
- particularly true if you choose the current
- sources. It is recommended that you read Staying current with &os;.
-
+
+ Getting Deltas
-
- What Do I Need to Use
- CTM?
+ The deltas used by
+ CTM can be obtained either through
+ anonymous FTP or
+ email.
+
+ FTP deltas can be obtained from the following mirror sites.
+ Download the relevant directory and read its
+ README. When using anonymous FTP to obtain CTM deltas,
+ select a geographically close mirror.
+ In case of problems, contact the &a.ctm-users.name;
+ mailing list.
- You will need two things: The
- CTM program, and the initial deltas
- to feed it (to get up to current
- levels).
+
+
+ California, Bay Area, official source
+
+
+
+
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CTM/
+
+
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/CTM/
+
+
+
+
- The CTM program has been part
- of &os; ever since version 2.0 was released, and lives in
- /usr/src/usr.sbin/ctm if you have a copy
- of the source available.
+
+ South Africa, backup server for old deltas
- The deltas you feed
- CTM can be had two ways, FTP or
- email. If you have general FTP access to the Internet then
- the following FTP sites support access to
- CTM:
+
+
+
+ ftp://ftp.za.FreeBSD.org/pub/FreeBSD/CTM/
+
+
+
+
- ftp://ftp.FreeBSD.org/pub/FreeBSD/CTM/
+
+ Taiwan/R.O.C.
- or see section mirrors.
+
+
+
+ ftp://ctm.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
+
- FTP the relevant directory and fetch the
- README file, starting from there.
+
+ ftp://ctm2.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
+
- If you wish to get your deltas via email:
+
+ ftp://ctm3.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
+
+
+
+
+
- Subscribe to one of the
+ To instead receive deltas through email, subscribe to one of the
CTM distribution lists.
- &a.ctm-src-cur.name; supports the entire Subversion tree.
- &a.ctm-src-cur.name; supports the head of the development
- branch. &a.ctm-src-9.name; supports the 9.X release branch,
- etc.. (If you do not know how to subscribe yourself to a
- list, click on the list name above or go to
- &a.mailman.lists.link; and click on the list that you wish to
- subscribe to. The list page should contain all of the
- necessary subscription instructions.)
-
- When you begin receiving your
- CTM updates in the mail, you may
- use the ctm_rmail program to unpack and
- apply them. You can actually use the
- ctm_rmail program directly from a entry in
- /etc/aliases if you want to have the
- process run in a fully automated fashion. Check the
- ctm_rmail manual page for more
+ &a.ctm-src-cur.name; supports the entire source tree,
+ &a.ctm-src-cur.name; supports the HEAD of the development
+ branch, and &a.ctm-src-9.name; supports the 9.X release branch.
+
+ As
+ CTM updates arrive through email,
+ use ctm_rmail to unpack and
+ apply them. This command can be run directly from an entry in
+ /etc/aliases in order to
+ automate this process. Refer to
+ &man.ctm.rmail.1; for more
details.
- No matter what method you use to get the
- CTM deltas, you should subscribe
- to the &a.ctm-announce.name; mailing list. In the future,
- this will be the only place where announcements concerning
- the operations of the CTM system
- will be posted. Click on the list name above and follow the
- instructions to subscribe to the list.
+ Regardless of the method which is used to get deltas,
+ CTM users should subscribe
+ to the &a.ctm-announce.name; mailing list as
+ this is the only place where announcements concerning
+ the operation of the CTM system
+ are posted.
@@ -238,18 +256,11 @@
Using CTM for the First
Time
- Before you can start using CTM
- deltas, you will need to get to a starting point for the
- deltas produced subsequently to it.
-
- First you should determine what you already have.
- Everyone can start from an empty directory.
- You must use an initial Empty delta to start
- off your CTM supported tree. At
- some point it is intended that one of these
- started deltas be distributed on the CD for
- your convenience, however, this does not currently
- happen.
+ Before CTM
+ deltas can be used, a starting point for the
+ deltas must be produced from an empty directory.
+ An initial Empty delta is used to start
+ the local CTM-supported tree.Since the trees are many tens of megabytes, you should
prefer to start from something already at hand. If you have a
@@ -409,76 +420,11 @@
counter intuitive.
-
-
-
- Miscellaneous StuffThere is a sequence of deltas for the
ports collection too, but interest has not
been all that high yet.
-
-
- CTM Mirrors
-
- CTM/&os; is available via
- anonymous FTP from the following mirror sites. If you choose
- to obtain CTM via anonymous FTP,
- please try to use a site near you.
-
- In case of problems, please contact the &a.ctm-users.name;
- mailing list.
-
-
-
- California, Bay Area, official source
-
-
-
-
- ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CTM/
-
-
-
-
-
-
- South Africa, backup server for old deltas
-
-
-
-
- ftp://ftp.za.FreeBSD.org/pub/FreeBSD/CTM/
-
-
-
-
-
-
- Taiwan/R.O.C.
-
-
-
-
- ftp://ctm.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
-
-
-
- ftp://ctm2.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
-
-
-
- ftp://ctm3.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
-
-
-
-
-
-
- If you did not find a mirror near to you or the mirror is
- incomplete, try to use a search engine such as alltheweb.
-
@@ -2507,7 +2453,7 @@ usr.bin/
which transfers only the differences between two sets of files,
thus greatly speeding up the synchronization over the network.
This is most useful if you are a mirror site for the
- &os; FTP server, or the CVS repository. The
+ &os; FTP server, or the CVS repository. The
rsync suite is available for many
operating systems, on &os;, see the
net/rsync
@@ -2523,12 +2469,12 @@ usr.bin/
Available collections:
- ftp: A partial mirror of the &os; FTP
+ ftp: A partial mirror of the &os; FTP
server.
- &os;: A full mirror of the &os; FTP server.
+ &os;: A full mirror of the &os; FTP server.
@@ -2543,7 +2489,7 @@ usr.bin/
Available collections:
- &os;: A full mirror of the &os; FTP server.
+ &os;: A full mirror of the &os; FTP server.
@@ -2559,7 +2505,7 @@ usr.bin/
- &os;: A full mirror of the &os; FTP server.
+ &os;: A full mirror of the &os; FTP server.
@@ -2569,7 +2515,7 @@ usr.bin/
&os;-Archive: The mirror of &os; Archive
- FTP server.
+ FTP server.
@@ -2584,7 +2530,7 @@ usr.bin/
Available collections:
- &os;: A full mirror of the &os; FTP server.
+ &os;: A full mirror of the &os; FTP server.
@@ -2603,7 +2549,7 @@ usr.bin/
Available collections:
- &os;: A full mirror of the &os; FTP server.
+ &os;: A full mirror of the &os; FTP server.
@@ -2619,7 +2565,7 @@ usr.bin/
ftp.freebsd.org: A full mirror of the &os;
- FTP server.
+ FTP server.
@@ -2636,7 +2582,7 @@ usr.bin/
Available collections:
- &os;: The master archive of the &os; FTP
+ &os;: The master archive of the &os; FTP
server.
@@ -2651,7 +2597,7 @@ usr.bin/
- &os;: A full mirror of the &os; FTP server.
+ &os;: A full mirror of the &os; FTP server.
From owner-svn-doc-head@FreeBSD.ORG Wed Feb 12 19:38:42 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id BA149513;
Wed, 12 Feb 2014 19:38:42 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 8AE1215F8;
Wed, 12 Feb 2014 19:38:42 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CJcgRp053159;
Wed, 12 Feb 2014 19:38:42 GMT (envelope-from jgh@svn.freebsd.org)
Received: (from jgh@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CJcgAZ053158;
Wed, 12 Feb 2014 19:38:42 GMT (envelope-from jgh@svn.freebsd.org)
Message-Id: <201402121938.s1CJcgAZ053158@svn.freebsd.org>
From: Jason Helfman
Date: Wed, 12 Feb 2014 19:38:42 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43886 - head/en_US.ISO8859-1/books/handbook/ports
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 12 Feb 2014 19:38:42 -0000
Author: jgh
Date: Wed Feb 12 19:38:42 2014
New Revision: 43886
URL: http://svnweb.freebsd.org/changeset/doc/43886
Log:
- consolidate instructions for pkg installation of subversion
- while here, place FQDN in tags
Submitted by: lamproschaidas@aol.com (doc@ mailing list)
Approved by: wblock (mentor)
Modified:
head/en_US.ISO8859-1/books/handbook/ports/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/ports/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Wed Feb 12 19:08:16 2014 (r43885)
+++ head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Wed Feb 12 19:38:42 2014 (r43886)
@@ -952,17 +952,13 @@ Deinstalling ca_root_nss-3.15.1_1... don
&prompt.root; cd /usr/ports/devel/subversion
&prompt.root; make install clean
- If the ports tree is not available,
- Subversion can be installed as
- a package:
+ If the ports tree is not available, or
+ pkgng is being used to manage
+ packages, Subversion can be
+ installed as a package:&prompt.root; pkg install subversion
- If pkgng is being used to
- manage packages, Subversion can
- be installed with it instead:
-
- &prompt.root; pkg install subversion
@@ -973,7 +969,7 @@ Deinstalling ca_root_nss-3.15.1_1... don
xlink:href="&url.books.handbook;/svn-mirrors.html">Subversion
mirror close to your geographic location:
- &prompt.root; svn checkout https://svn0.us-east.FreeBSD.org/ports/head /usr/ports
+ &prompt.root; svn checkout https://svn0.us-east.FreeBSD.org/ports/head /usr/ports
From owner-svn-doc-head@FreeBSD.ORG Wed Feb 12 21:01:00 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id 065C4F8D;
Wed, 12 Feb 2014 21:01:00 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id D75091CC8;
Wed, 12 Feb 2014 21:00:59 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CL0xoE085738;
Wed, 12 Feb 2014 21:00:59 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CL0xpL085737;
Wed, 12 Feb 2014 21:00:59 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402122100.s1CL0xpL085737@svn.freebsd.org>
From: Dru Lavigne
Date: Wed, 12 Feb 2014 21:00:59 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43887 - head/en_US.ISO8859-1/books/handbook/mirrors
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 12 Feb 2014 21:01:00 -0000
Author: dru
Date: Wed Feb 12 21:00:59 2014
New Revision: 43887
URL: http://svnweb.freebsd.org/changeset/doc/43887
Log:
Finish initial pass through CTM chapter.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml Wed Feb 12 19:38:42 2014 (r43886)
+++ head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml Wed Feb 12 21:00:59 2014 (r43887)
@@ -148,7 +148,7 @@
to obtain up to three deltas per day for the most active
branches. Update sizes are always kept as
small as possible and are typically less than 5K. About one in very ten
- update is 10-50K in size and rarely there will be an update
+ updates is 10-50K in size, and there will occasionally be an update
larger than 100K+.
When using CTM to track &os; development,
@@ -172,8 +172,7 @@
email.FTP deltas can be obtained from the following mirror sites.
- Download the relevant directory and read its
- README. When using anonymous FTP to obtain CTM deltas,
+ When using anonymous FTP to obtain CTM deltas,
select a geographically close mirror.
In case of problems, contact the &a.ctm-users.name;
mailing list.
@@ -228,10 +227,10 @@
To instead receive deltas through email, subscribe to one of the
- CTM distribution lists.
- &a.ctm-src-cur.name; supports the entire source tree,
+ ctm-src distribution lists available from
+ http://lists.freebsd.org/mailman/listinfo. For example,
&a.ctm-src-cur.name; supports the HEAD of the development
- branch, and &a.ctm-src-9.name; supports the 9.X release branch.
+ branch and &a.ctm-src-9.name; supports the 9.X release branch.
As
CTM updates arrive through email,
@@ -253,154 +252,142 @@
- Using CTM for the First
- Time
+ CTM UsageBefore CTM
- deltas can be used, a starting point for the
- deltas must be produced from an empty directory.
- An initial Empty delta is used to start
- the local CTM-supported tree.
-
- Since the trees are many tens of megabytes, you should
- prefer to start from something already at hand. If you have a
- -RELEASE CD, you can copy or extract an initial source from
- it. This will save a significant transfer of data.
-
- You can recognize these starter deltas by
- the X appended to the number
- (src-cur.3210XEmpty.gz for instance).
+ deltas can be used for the first time, a starting point
+ must be produced.
+
+ One method is to apply a starter delta to an
+ empty directory. A
+ starter delta can be recognized by
+ the XEmpty in its name, such as
+ src-cur.3210XEmpty.gz.
The designation following the X corresponds
- to the origin of your initial seed.
- Empty is an empty directory. As a rule a
+ to the origin of the initial seed, where
+ Empty is an empty directory. As a rule, a
base transition from Empty is produced
- every 100 deltas. By the way, they are large! 70 to 80
+ every 100 deltas. Be aware that starter deltas are large and
+ 70 to 80
Megabytes of gzip'd data is common for the
XEmpty deltas.
- Once you have picked a base delta to start from, you will
- also need all deltas with higher numbers following it.
-
-
-
- Using CTM in Your Daily
- Life
-
- To apply the deltas, simply say:
-
- &prompt.root; cd /where/ever/you/want/the/stuff
-&prompt.root; ctm -v -v /where/you/store/your/deltas/src-xxx.*
-
- CTM understands deltas which
- have been put through gzip, so you do not
- need to gunzip them first, this saves disk
+ Another method is to copy or extract an initial source from
+ a
+ RELEASE media as this can
+ save a significant transfer of data from the Internet.
+
+ Once a base delta has been created, apply
+ all deltas with higher numbers. To apply the deltas:
+
+ &prompt.root; cd /directory/to/store/the/stuff
+&prompt.root; ctm -v -v /directory/which/stores/the/deltas/src-xxx.*
+
+ Multiple deltas can be applied at one time as they
+ will be processed one at a time and any deltas that are already
+ applied will be ignored. CTM understands deltas which
+ have been put through gzip, which saves disk
space.
- Unless it feels very secure about the entire process,
- CTM will not touch your tree. To
- verify a delta you can also use the flag
- and CTM will not actually touch
- your tree; it will merely verify the integrity of the delta
- and see if it would apply cleanly to your current tree.
-
- There are other options to CTM
- as well, see the manual pages or look in the sources for more
- information.
-
- That is really all there is to it. Every time you get a
- new delta, just run it through CTM
- to keep your sources up to date.
-
- Do not remove the deltas if they are hard to download
- again. You just might want to keep them around in case
- something bad happens. Even if you only have floppy disks,
- consider using fdwrite to make a
- copy.
+ To
+ verify a delta without applying it, include .
+ CTM will not actually touch
+ the local tree but will instead verify the integrity of the delta
+ to see if it would apply cleanly. Refer to &man.ctm.1; for
+ more information about available switches and an overview of
+ the process CTM uses when applying
+ deltas.
+
+ To keep the local source tree up-to-date, every time a
+ new delta becomes available, apply it through CTM.
+
+ Once applied, it is recommended to not delete the deltas if it is a burden to download
+ them again. This way, a local copy is available in case
+ something bad happens.
- Keeping Your Local Changes
+ Keeping Local Changes
- As a developer one would like to experiment with and
- change files in the source tree.
+ Developers often experiment with and
+ change files in thier local source tree.
CTM supports local modifications in
- a limited way: before checking for the presence of a file
- foo, it first looks for
- foo.ctm. If this file exists,
- CTM will operate on it instead of
- foo.
-
- This behavior gives us a simple way to maintain local
- changes: simply copy the files you plan to modify to the
- corresponding file names with a .ctm
- suffix. Then you can freely hack the code, while
- CTM keeps the
- .ctm file up-to-date.
+ a limited way: before checking for the presence of a file,
+ it first looks for a file with the same name and a
+ .ctm extension. If this file exists,
+ CTM will operate on it instead of the
+ original filename.
+
+ This behavior provides a simple way to maintain local
+ changes. Before modifying a file, make a copy with a
+ .ctm
+ suffix. Make any changes to the original filename, knowing that
+ CTM will only apply updates to the file with the
+ .ctm suffix.
- Other Interesting CTM
+ Other CTM
Options
-
- Finding Out Exactly What Would Be Touched by an
- Update
-
- You can determine the list of changes that
- CTM will make on your source
- repository using the option to
- CTM.
-
- This is useful if you would like to keep logs of the
- changes, pre- or post- process the modified files in any
- manner, or just are feeling a tad paranoid.
-
+
+
+ Finding Out Exactly What Would Be Touched by an
+ Update
-
- Making Backups Before Updating
+
+ To determine the list of changes that
+ CTM will make to the local source
+ repository, use . This option is useful for creating logs of the
+ changes or when performing pre- or post-processing on any of the modified files.
+
+
- Sometimes you may want to backup all the files that
- would be changed by a CTM
- update.
+
+ Making Backups Before Updating
- Specifying the option
- causes CTM to backup all files
- that would be touched by a given
+
+ To backup all of the files that
+ would be changed by a CTM
+ update, specify . This option
+ tells CTM to backup all files
+ touched by the applied
CTM delta to
backup-file.
-
+
+
-
- Restricting the Files Touched by an Update
+
+ Restricting the Files Touched by an Update
- Sometimes you would be interested in restricting the
+
+ To restrict the
scope of a given CTM update, or
- may be interested in extracting just a few files from a
- sequence of deltas.
-
- You can control the list of files that
- CTM would operate on by
- specifying filtering regular expressions using the
- and options.
+ to extract just a few files from a
+ sequence of deltas,
+ filtering regular expressions can be specified using
+ , which specifies which files to process, or , which specifies which files to ignore.For example, to extract an up-to-date copy of
- lib/libc/Makefile from your collection
- of saved CTM deltas, run the
- commands:
+ lib/libc/Makefile from a collection
+ of saved CTM deltas:
- &prompt.root; cd /where/ever/you/want/to/extract/it/
-&prompt.root; ctm -e '^lib/libc/Makefile' ~ctm/src-xxx.*
+ &prompt.root; cd /directory/to/extract/to/
+&prompt.root; ctm -e '^lib/libc/Makefile' /directory/which/stores/the/deltas/src-xxx.*For every file specified in a
- CTM delta, the
- and options are
- applied in the order given on the command line. The file is
+ CTM delta,
+ and are
+ applied in the order given on the command line. A file is
processed by CTM only if it is
- marked as eligible after all the and
- options are applied to it.
-
+ marked as eligible after all and
+ options are applied.
+
+
+
-
+
From owner-svn-doc-head@FreeBSD.ORG Wed Feb 12 21:31:34 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id EF244AD3;
Wed, 12 Feb 2014 21:31:34 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id D691510A2;
Wed, 12 Feb 2014 21:31:34 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CLVYbY000202;
Wed, 12 Feb 2014 21:31:34 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CLVY5S000200;
Wed, 12 Feb 2014 21:31:34 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402122131.s1CLVY5S000200@svn.freebsd.org>
From: Dru Lavigne
Date: Wed, 12 Feb 2014 21:31:34 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43888 - head/en_US.ISO8859-1/books/handbook/mirrors
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 12 Feb 2014 21:31:35 -0000
Author: dru
Date: Wed Feb 12 21:31:34 2014
New Revision: 43888
URL: http://svnweb.freebsd.org/changeset/doc/43888
Log:
White space fix only. Translators can ignore.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml Wed Feb 12 21:00:59 2014 (r43887)
+++ head/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml Wed Feb 12 21:31:34 2014 (r43888)
@@ -28,7 +28,8 @@
Phone: +1 925 240-6652
Fax: +1 925 674-0821
Email: info@freebsdmall.com
- WWW: http://www.freebsdmall.com/
+ WWW: http://www.freebsdmall.com/
@@ -39,7 +40,8 @@
D-81371MünchenGermany
Phone: (0177) 428 419 0
- WWW: http://www.hinner.de/linux/freebsd.html
+ WWW: http://www.hinner.de/linux/freebsd.html
@@ -50,7 +52,8 @@
MargateCT9 2TBUnited Kingdom
- WWW: https://linux-distro.co.uk/
+ WWW: https://linux-distro.co.uk/
@@ -63,7 +66,8 @@
United Kingdom
Phone: +44 (0)247 615 8121
Fax: +44 1491 837016
- WWW: http://www.linuxemporium.co.uk/products/bsd/
+ WWW: http://www.linuxemporium.co.uk/products/bsd/
@@ -76,7 +80,8 @@
Russia
Phone: +7-812-3125208
Email: info@linuxcenter.ru
- WWW: http://linuxcenter.ru/shop/freebsd
+ WWW: http://linuxcenter.ru/shop/freebsd
@@ -87,26 +92,28 @@
FTP SitesThe official sources for &os; are available via anonymous
- FTP from a worldwide set of mirror sites. The site
- ftp://ftp.FreeBSD.org/pub/FreeBSD/ is well
- connected and allows a large number of connections to it, but
- you are probably better off finding a closer
- mirror site (especially if you decide to set up some sort of
- mirror site).
-
- Additionally, &os; is available via anonymous FTP from the
- following mirror sites. If you choose to obtain &os; via
- anonymous FTP, please try to use a site near you. The mirror
- sites listed as Primary Mirror Sites typically
- have the entire &os; archive (all the currently available
- versions for each of the architectures) but you will probably
- have faster download times from a site that is in your country
- or region. The regional sites carry the most recent versions
- for the most popular architecture(s) but might not carry the
- entire &os; archive. All sites provide access via anonymous FTP
- but some sites also provide access via other methods. The
- access methods available for each site are provided in
- parentheses after the hostname.
+ FTP from a worldwide set of mirror sites.
+ The site ftp://ftp.FreeBSD.org/pub/FreeBSD/
+ is well connected and allows a large number of connections to
+ it, but you are probably better off finding a
+ closer mirror site (especially if you decide to
+ set up some sort of mirror site).
+
+ Additionally, &os; is available via anonymous
+ FTP from the following mirror sites. If you
+ choose to obtain &os; via anonymous FTP,
+ please try to use a site near you. The mirror sites listed as
+ Primary Mirror Sites typically have the entire
+ &os; archive (all the currently available versions for each of
+ the architectures) but you will probably have faster download
+ times from a site that is in your country or region. The
+ regional sites carry the most recent versions for the most
+ popular architecture(s) but might not carry the entire &os;
+ archive. All sites provide access via anonymous
+ FTP but some sites also provide access via
+ other methods. The access methods available for each site are
+ provided in parentheses after the hostname.
&chap.mirrors.ftp.index.inc;
@@ -123,8 +130,8 @@
CVS has been deprecated by the project, and its use is
- not recommended.
- Subversion
+ not recommended. Subversion
should be used instead.
@@ -138,44 +145,44 @@
CTM is a method for keeping a
- remote directory tree in sync with a central one. It is built into &os;
- and can be used to synchronize a system with &os;'s source repositories.
- It supports synchronization of an entire repository or just the specified branches.
-
- CTM is specifically designed for use on
- lousy or non-existent TCP/IP connections. It provides the ability
- for changes to be automatically sent by email. It requires the user
- to obtain up to three deltas per day for the most active
- branches. Update sizes are always kept as
- small as possible and are typically less than 5K. About one in very ten
- updates is 10-50K in size, and there will occasionally be an update
- larger than 100K+.
-
- When using CTM to track &os; development,
- refer to the
- caveats related to working directly from the development
- sources rather than a pre-packaged release. These are discussed
- in Tracking a Development Branch.
-
- Little documentation exists on
- the process of creating deltas or using CTM
- for other purposes. Contact the
- &a.ctm-users.name; mailing list for questions on using
- CTM.
+ remote directory tree in sync with a central one. It is built
+ into &os; and can be used to synchronize a system with &os;'s
+ source repositories. It supports synchronization of an entire
+ repository or just the specified branches.
+
+ CTM is specifically designed for
+ use on lousy or non-existent TCP/IP connections. It provides
+ the ability for changes to be automatically sent by email. It
+ requires the user to obtain up to three deltas per day for the
+ most active branches. Update sizes are always kept as small as
+ possible and are typically less than 5K. About one in very ten
+ updates is 10-50K in size, and there will occasionally be an
+ update larger than 100K+.
+
+ When using CTM to track &os;
+ development, refer to the caveats related to working directly
+ from the development sources rather than a pre-packaged release.
+ These are discussed in Tracking
+ a Development Branch.
+
+ Little documentation exists on the process of creating
+ deltas or using CTM for other
+ purposes. Contact the &a.ctm-users.name; mailing list for
+ questions on using CTM.Getting DeltasThe deltas used by
CTM can be obtained either through
- anonymous FTP or
- email.
-
- FTP deltas can be obtained from the following mirror sites.
- When using anonymous FTP to obtain CTM deltas,
- select a geographically close mirror.
- In case of problems, contact the &a.ctm-users.name;
- mailing list.
+ anonymous FTP or email.
+
+ FTP deltas can be obtained from the
+ following mirror sites. When using anonymous
+ FTP to obtain
+ CTM deltas, select a geographically
+ close mirror. In case of problems, contact the
+ &a.ctm-users.name; mailing list.
@@ -184,10 +191,12 @@
- ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CTM/
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CTM/
- ftp://ftp.FreeBSD.org/pub/FreeBSD/CTM/
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/CTM/
@@ -199,7 +208,8 @@
- ftp://ftp.za.FreeBSD.org/pub/FreeBSD/CTM/
+ ftp://ftp.za.FreeBSD.org/pub/FreeBSD/CTM/
@@ -211,99 +221,97 @@
- ftp://ctm.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
+ ftp://ctm.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
- ftp://ctm2.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
+ ftp://ctm2.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
- ftp://ctm3.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
+ ftp://ctm3.tw.FreeBSD.org/pub/FreeBSD/development/CTM/
- To instead receive deltas through email, subscribe to one of the
- ctm-src distribution lists available from
- http://lists.freebsd.org/mailman/listinfo. For example,
- &a.ctm-src-cur.name; supports the HEAD of the development
- branch and &a.ctm-src-9.name; supports the 9.X release branch.
-
- As
- CTM updates arrive through email,
- use ctm_rmail to unpack and
- apply them. This command can be run directly from an entry in
- /etc/aliases in order to
- automate this process. Refer to
- &man.ctm.rmail.1; for more
- details.
+ To instead receive deltas through email, subscribe to one
+ of the ctm-src distribution lists available
+ from http://lists.freebsd.org/mailman/listinfo.
+ For example, &a.ctm-src-cur.name; supports the HEAD of the
+ development branch and &a.ctm-src-9.name; supports the 9.X
+ release branch.
+
+ As CTM updates arrive through
+ email, use ctm_rmail to unpack and apply
+ them. This command can be run directly from an entry in
+ /etc/aliases in order to automate this
+ process. Refer to &man.ctm.rmail.1; for more details.Regardless of the method which is used to get deltas,
CTM users should subscribe
- to the &a.ctm-announce.name; mailing list as
- this is the only place where announcements concerning
- the operation of the CTM system
- are posted.
+ to the &a.ctm-announce.name; mailing list as this is the
+ only place where announcements concerning the operation of
+ the CTM system are posted.
CTM Usage
- Before CTM
- deltas can be used for the first time, a starting point
- must be produced.
-
- One method is to apply a starter delta to an
- empty directory. A
- starter delta can be recognized by
- the XEmpty in its name, such as
- src-cur.3210XEmpty.gz.
- The designation following the X corresponds
- to the origin of the initial seed, where
- Empty is an empty directory. As a rule, a
- base transition from Empty is produced
+ Before CTM deltas can be used
+ for the first time, a starting point must be produced.
+
+ One method is to apply a starter delta to
+ an empty directory. A starter delta can be recognized by the
+ XEmpty in its name, such as
+ src-cur.3210XEmpty.gz. The designation
+ following the X corresponds to the origin
+ of the initial seed, where
+ Empty is an empty directory. As a rule,
+ a base transition from Empty is produced
every 100 deltas. Be aware that starter deltas are large and
- 70 to 80
- Megabytes of gzip'd data is common for the
- XEmpty deltas.
-
- Another method is to copy or extract an initial source from
- a
- RELEASE media as this can
- save a significant transfer of data from the Internet.
+ 70 to 80 Megabytes of gzip'd data is common
+ for the XEmpty deltas.
+
+ Another method is to copy or extract an initial source
+ from a RELEASE media as this can save a significant transfer
+ of data from the Internet.
- Once a base delta has been created, apply
- all deltas with higher numbers. To apply the deltas:
+ Once a base delta has been created, apply all deltas with
+ higher numbers. To apply the deltas:&prompt.root; cd /directory/to/store/the/stuff
&prompt.root; ctm -v -v /directory/which/stores/the/deltas/src-xxx.*
- Multiple deltas can be applied at one time as they
- will be processed one at a time and any deltas that are already
- applied will be ignored. CTM understands deltas which
- have been put through gzip, which saves disk
- space.
-
- To
- verify a delta without applying it, include .
- CTM will not actually touch
- the local tree but will instead verify the integrity of the delta
- to see if it would apply cleanly. Refer to &man.ctm.1; for
- more information about available switches and an overview of
- the process CTM uses when applying
+ Multiple deltas can be applied at one time as they will
+ be processed one at a time and any deltas that are already
+ applied will be ignored. CTM
+ understands deltas which have been put through
+ gzip, which saves disk space.
+
+ To verify a delta without applying it, include
+ . CTM will not
+ actually touch the local tree but will instead verify the
+ integrity of the delta to see if it would apply cleanly.
+ Refer to &man.ctm.1; for more information about available
+ switches and an overview of the process
+ CTM uses when applying
deltas.To keep the local source tree up-to-date, every time a
- new delta becomes available, apply it through CTM.
+ new delta becomes available, apply it through
+ CTM.
- Once applied, it is recommended to not delete the deltas if it is a burden to download
- them again. This way, a local copy is available in case
- something bad happens.
+ Once applied, it is recommended to not delete the deltas
+ if it is a burden to download them again. This way, a loca
+ copy is available in case something bad happens.
@@ -315,76 +323,77 @@
a limited way: before checking for the presence of a file,
it first looks for a file with the same name and a
.ctm extension. If this file exists,
- CTM will operate on it instead of the
- original filename.
+ CTM will operate on it instead of
+ the original filename.
This behavior provides a simple way to maintain local
- changes. Before modifying a file, make a copy with a
- .ctm
- suffix. Make any changes to the original filename, knowing that
- CTM will only apply updates to the file with the
- .ctm suffix.
+ changes. Before modifying a file, make a copy with a
+ .ctm suffix. Make any changes to the
+ original filename, knowing that
+ CTM will only apply updates to the
+ file with the .ctm suffix.
- Other CTM
- Options
+ Other CTM Options
-
- Finding Out Exactly What Would Be Touched by an
- Update
+
+ Finding Out Exactly What Would Be Touched by an
+ Update
-
- To determine the list of changes that
- CTM will make to the local source
- repository, use . This option is useful for creating logs of the
- changes or when performing pre- or post-processing on any of the modified files.
-
-
+
+ To determine the list of changes that
+ CTM will make to the local
+ source repository, use . This option
+ is useful for creating logs of the changes or when
+ performing pre- or post-processing on any of the
+ modified files.
+
+
-
- Making Backups Before Updating
+
+ Making Backups Before Updating
-
- To backup all of the files that
- would be changed by a CTM
- update, specify . This option
- tells CTM to backup all files
- touched by the applied
- CTM delta to
- backup-file.
-
-
+
+ To backup all of the files that would be changed by
+ a CTM update, specify
+ . This option tells
+ CTM to backup all files
+ touched by the applied CTM
+ delta to backup-file.
+
+
-
- Restricting the Files Touched by an Update
+
+ Restricting the Files Touched by an Update
+
+
+ To restrict the scope of a given
+ CTM update, or to extract
+ just a few files from a sequence of deltas, filtering
+ regular expressions can be specified using
+ , which specifies which files to
+ process, or , which specifies which
+ files to ignore.
-
- To restrict the
- scope of a given CTM update, or
- to extract just a few files from a
- sequence of deltas,
- filtering regular expressions can be specified using
- , which specifies which files to process, or , which specifies which files to ignore.
-
- For example, to extract an up-to-date copy of
- lib/libc/Makefile from a collection
- of saved CTM deltas:
+ For example, to extract an up-to-date copy of
+ lib/libc/Makefile from a collection
+ of saved CTM deltas:
- &prompt.root; cd /directory/to/extract/to/
+ &prompt.root; cd /directory/to/extract/to/
&prompt.root; ctm -e '^lib/libc/Makefile' /directory/which/stores/the/deltas/src-xxx.*
- For every file specified in a
- CTM delta,
- and are
- applied in the order given on the command line. A file is
- processed by CTM only if it is
- marked as eligible after all and
- options are applied.
-
-
-
+ For every file specified in a
+ CTM delta,
+ and are
+ applied in the order given on the command line. A file
+ is processed by CTM only if
+ it is marked as eligible after all
+ and options are applied.
+
+
+
Common Address Redundancy Protocol
(CARP)
From owner-svn-doc-head@FreeBSD.ORG Wed Feb 12 23:20:57 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id D07C1A6C;
Wed, 12 Feb 2014 23:20:57 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id B9F0B19C8;
Wed, 12 Feb 2014 23:20:57 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CNKv6b042859;
Wed, 12 Feb 2014 23:20:57 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CNKvuF042812;
Wed, 12 Feb 2014 23:20:57 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402122320.s1CNKvuF042812@svn.freebsd.org>
From: Dru Lavigne
Date: Wed, 12 Feb 2014 23:20:57 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43892 -
head/en_US.ISO8859-1/books/handbook/advanced-networking
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Wed, 12 Feb 2014 23:20:57 -0000
Author: dru
Date: Wed Feb 12 23:20:57 2014
New Revision: 43892
URL: http://svnweb.freebsd.org/changeset/doc/43892
Log:
White space fix only. Translators can ignore.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Wed Feb 12 22:32:41 2014 (r43891)
+++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Wed Feb 12 23:20:57 2014 (r43892)
@@ -86,14 +86,15 @@
- Gateways and Routes
-
- CoranthGryphonContributed by
+
+ Gateways and Routes
+
+
+ CoranthGryphonContributed
+ by
-
-
routinggatewaysubnet
@@ -151,12 +152,13 @@ host2.example.com link#1 UC
EthernetMAC address
- The addresses beginning with 0:e0: are Ethernet hardware addresses,
- also known as MAC addresses. &os; will
- automatically identify any hosts, test0 in
- the example, on the local Ethernet and add a route for that
- host over the Ethernet interface,
- ed0. This type of route has a
+ The addresses beginning with 0:e0: are Ethernet
+ hardware addresses, also known as MAC
+ addresses. &os; will automatically identify any hosts,
+ test0 in the example, on the local
+ Ethernet and add a route for that host over the Ethernet
+ interface, ed0. This type of route has a
timeout, seen in the Expire column, which
is used if the host does not respond in a specific amount of
time. When this happens, the route to this host will be
@@ -168,10 +170,11 @@ host2.example.com link#1 UC
subnet&os; will add subnet routes for the local subnet.
- 10.20.30.255 is the broadcast
- address for the subnet 10.20.30
- and example.com is the
- domain name associated with that subnet. The designation
+ 10.20.30.255 is the
+ broadcast address for the subnet 10.20.30 and example.com is the domain
+ name associated with that subnet. The designation
link#1 refers to the first Ethernet card in
the machine.
@@ -189,13 +192,14 @@ host2.example.com link#1 UC
The two host2 lines represent aliases
which were created using &man.ifconfig.8;. The
=> symbol after the
- lo0 interface says that an alias
- has been set in addition to the loopback address. Such routes
- only show up on the host that supports the alias; all other
- hosts on the local network will have a
+ lo0 interface says that an alias has been
+ set in addition to the loopback address. Such routes only
+ show up on the host that supports the alias; all other hosts
+ on the local network will have a
link#1 line for such routes.
- The final line (destination subnet 224) deals with
+ The final line (destination subnet 224) deals with
multicasting.Finally, various attributes of each route can be seen in
@@ -332,25 +336,28 @@ host2.example.com link#1 UC
A common question is Why is
- T1-GW configured as the default gateway for
- Local1, rather than the
+ T1-GW configured as the default
+ gateway for Local1, rather than the
ISP server it is connected
to?.Since the PPP interface is using an
- address on the ISP's local network for
- the local side of the connection, routes for any other
- machines on the ISP's local network will
- be automatically generated. The system already knows how
- to reach the T1-GW machine, so there is no
- need for the intermediate step of sending traffic to the
+ address on the ISP's local network for the
+ local side of the connection, routes for any other machines on
+ the ISP's local network will be
+ automatically generated. The system already knows how to
+ reach the T1-GW machine, so there is
+ no need for the intermediate step of sending traffic to the
ISP's server.
- It is common to use the address X.X.X.1 as the gateway address for
- the local network. So, if the local class C address space is
- 10.20.30 and the
- ISP is using 10.9.9, the default routes would
- be:
+ It is common to use the address X.X.X.1 as the gateway
+ address for the local network. So, if the local class C
+ address space is 10.20.30 and the
+ ISP is using 10.9.9, the default routes
+ would be:
@@ -452,13 +459,15 @@ host2.example.com link#1 UC
- Setting Up Static Routes
+
+ Setting Up Static Routes
+
- AlHoangContributed by
+ AlHoangContributed
+ by
-
Manual Configuration
@@ -497,14 +506,18 @@ host2.example.com link#1 UC
- In this scenario, RouterA is a &os;
- machine that is acting as a router to the rest of the
- Internet. It has a default route set to 10.0.0.1 which allows it to
- connect with the outside world. RouterB is
- already configured properly as it uses 192.168.1.1 as the gateway.
+ In this scenario, RouterA is a
+ &os; machine that is acting as a router to the rest of the
+ Internet. It has a default route set to 10.0.0.1 which allows it to
+ connect with the outside world.
+ RouterB is already configured
+ properly as it uses 192.168.1.1 as the
+ gateway.
- The routing table on RouterA looks
- something like this:
+ The routing table on RouterA
+ looks something like this:&prompt.user; netstat -nr
Routing tables
@@ -516,17 +529,20 @@ default 10.0.0.1 UG
10.0.0.0/24 link#1 UC 0 0 xl0
192.168.1.0/24 link#2 UC 0 0 xl1
- With the current routing table, RouterA
- cannot reach Internal Net 2 as it does not have a route for
- 192.168.2.0/24. The
+ With the current routing table,
+ RouterA cannot reach Internal Net
+ 2 as it does not have a route for 192.168.2.0/24. The
following command adds the Internal Net 2 network to
- RouterA's routing table using 192.168.1.2 as the next
- hop:
+ RouterA's routing table using
+ 192.168.1.2 as
+ the next hop:&prompt.root; route add -net 192.168.2.0/24 192.168.1.2
- Now RouterA can reach any hosts on the
- 192.168.2.0/24
+ Now RouterA can reach any hosts
+ on the 192.168.2.0/24
network.
@@ -558,8 +574,9 @@ route_internalnet2="-net 192.168.2.0/24
Using more than one string in
static_routes creates multiple static
routes. The following shows an example of adding static
- routes for the 192.168.0.0/24
- and 192.168.1.0/24
+ routes for the 192.168.0.0/24 and
+ 192.168.1.0/24
networks:static_routes="net1 net2"
@@ -644,13 +661,16 @@ route_net2="-net 192.168.1.0/24 192.168.
which has largely been replaced by &man.pim.4; in many
multicast installations. &man.mrouted.8; and the related
&man.map-mbone.8; and &man.mrinfo.8; utilities are available
- in the &os; Ports Collection as net/mrouted.
+ in the &os; Ports Collection as
+ net/mrouted.
- Wireless Networking
+
+ Wireless Networking
+
Loader
@@ -659,7 +679,6 @@ route_net2="-net 192.168.1.0/24 192.168.
MurrayStokely
-
wireless networking
@@ -800,11 +819,13 @@ route_net2="-net 192.168.1.0/24 192.168.
changed according to the configuration. A list of
available wireless drivers and supported adapters can be
found in the &os; Hardware Notes, available on
- the Release
+ the Release
Information page of the &os; website. If a
native &os; driver for the wireless device does not
exist, it may be possible to use the &windows; driver
- with the help of the NDIS driver
+ with the help of the NDIS driver
wrapper.
@@ -980,7 +1001,8 @@ freebsdap 00:11:95:c3:0d:ac 1
This section provides a simple example of how to make
the wireless network adapter work in &os; without
encryption. Once familiar with these concepts, it is
- strongly recommend to use WPA to set up
+ strongly recommend to use WPA to set up
the wireless network.There are three basic steps to configure a wireless
@@ -1057,7 +1079,8 @@ ifconfig_wlan0="mode 11gWPA-PSK, also
known as WPA Personal, which is
- described in .
+ described in .
If using an &apple; &airport; Extreme base
@@ -1079,7 +1102,8 @@ ifconfig_wlan0="authmode shared wepmode
with legacy devices, it is better to use
WEP with open
authentication. More information regarding
- WEP can be found in .
+ WEP can be found in .
@@ -1339,17 +1363,19 @@ wlan0: flags=8843<UP,BROADCAST,RUNNIN
(EAP-TLS) is a well-supported
wireless authentication protocol since it was the
first EAP method to be certified
- by the Wi-Fi alliance.
- EAP-TLS requires three certificates
- to run: the certificate of the Certificate Authority
- (CA) installed on all machines, the
- server certificate for the authentication server, and
- one client certificate for each wireless client. In
- this EAP method, both the
- authentication server and wireless client authenticate
- each other by presenting their respective certificates,
- and then verify that these certificates were signed by
- the organization's CA.
+ by the Wi-Fi
+ alliance. EAP-TLS requires
+ three certificates to run: the certificate of the
+ Certificate Authority (CA) installed
+ on all machines, the server certificate for the
+ authentication server, and one client certificate for
+ each wireless client. In this EAP
+ method, both the authentication server and wireless
+ client authenticate each other by presenting their
+ respective certificates, and then verify that these
+ certificates were signed by the organization's
+ CA.
As previously, the configuration is done via
/etc/wpa_supplicant.conf:
@@ -1742,8 +1768,8 @@ Associated with 00:13:46:49:41:76IBSS mode, also called ad-hoc mode, is
designed for point to point connections. For example, to
establish an ad-hoc network between the machines
- A and B, choose two
- IP addresses and a
+ A and B,
+ choose two IP addresses and a
SSID.
On A:
@@ -1773,8 +1799,8 @@ Associated with 00:13:46:49:41:76The I in the output confirms that
A is in ad-hoc mode. Now, configure
- B with a different IP
- address:
+ B with a different
+ IP address:
&prompt.root; ifconfig wlan0 inet 192.168.0.2 netmask 255.255.255.0 ssid freebsdap
&prompt.root; ifconfig wlan0
@@ -1787,8 +1813,9 @@ Associated with 00:13:46:49:41:76
- Both A and B are now
- ready to exchange information.
+ Both A and
+ B are now ready to exchange
+ information.
@@ -1807,7 +1834,8 @@ Associated with 00:13:46:49:41:76AP, the kernel must be configured with
the appropriate networking support for the wireless card
as well as the security protocols being used. For more
- details, see .
+ details, see .
The NDIS driver wrapper for
@@ -1914,8 +1942,8 @@ freebsdap 00:11:95:c3:0d:ac 1
AP using the WPA
security protocol. More details regarding
WPA and the configuration of
- WPA-based
- wireless clients can be found in .
+ WPA-based wireless clients can be found
+ in .
The &man.hostapd.8; daemon is used to deal with client
authentication and key management on the
@@ -1931,7 +1959,8 @@ freebsdap 00:11:95:c3:0d:ac 1
hostapd_enable="YES"Before trying to configure &man.hostapd.8;, first
- configure the basic settings introduced in .
+ configure the basic settings introduced in .WPA-PSK
@@ -2042,10 +2071,10 @@ wpa_pairwise=CCMP TKIP for more details.
- It is possible to see the stations associated with the
- AP using ifconfig
- wlan0 list
+ clients can associate with it. See for more details. It
+ is possible to see the stations associated with the
+ AP using ifconfig wlan0 list
sta.
@@ -2112,7 +2141,8 @@ freebsdap 00:11:95:c3:0d:ac 1
In this example, the client machine found the
AP and can associate with it using the
- correct parameters. See for more details.
+ correct parameters. See for more details.
@@ -2131,8 +2161,10 @@ freebsdap 00:11:95:c3:0d:ac 1
and the operating system switches automatically when the link
state changes.
- Link aggregation and failover is covered in and an example for using
- both wired and wireless connections is provided at .
+ Link aggregation and failover is covered in and an example for using
+ both wired and wireless connections is provided at .
@@ -2228,16 +2260,17 @@ freebsdap 00:11:95:c3:0d:ac 1
- Bluetooth
+
+ Bluetooth
+
- PavLucistnikWritten by
+ PavLucistnikWritten
+ by pav@FreeBSD.org
-
-
BluetoothIntroduction
@@ -2804,8 +2837,9 @@ Success, response: OK, Success (0x20)In order to provide the OPUSH service,
&man.sdpd.8; must be running and a root folder, where all
incoming objects will be stored, must be created. The
- default path to the root folder is /var/spool/obex. Finally,
- start the OBEX server on a valid
+ default path to the root folder is
+ /var/spool/obex. Finally, start the
+ OBEX server on a valid
RFCOMM channel number. The
OBEX server will automatically register
the OPUSH service with the local
@@ -2877,12 +2911,14 @@ rfcomm_sppd[94692]: Starting on /dev/tty
- Bridging
+
+ Bridging
+
- AndrewThompsonWritten by
+ AndrewThompsonWritten
+ by
-
Introduction
@@ -3206,23 +3242,25 @@ bridge0: flags=8843<UP,BROADCAST,RUNN
forwarding table. Clients learned on a particular segment
of the bridge can not roam to another segment.
- Another example of using sticky addresses is to
- combine the bridge with VLANs to create
- a router where customer networks are isolated without
- wasting IP address space. Consider that
- CustomerA is on
- vlan100 and CustomerB is on
+ Another example of using sticky addresses is to combine
+ the bridge with VLANs to create a router
+ where customer networks are isolated without wasting
+ IP address space. Consider that
+ CustomerA is
+ on vlan100 and CustomerB is on
vlan101. The bridge has the address
- 192.168.0.1 and is also an
- Internet router.
+ 192.168.0.1 and
+ is also an Internet router.&prompt.root; ifconfig bridge0 addm vlan100 sticky vlan100 addm vlan101 sticky vlan101
&prompt.root; ifconfig bridge0 inet 192.168.0.1/24
- In this example, both clients see 192.168.0.1 as their default
- gateway. Since the bridge cache is sticky, one host can not
- spoof the MAC address of the other
- customer in order to intercept their traffic.
+ In this example, both clients see 192.168.0.1 as their
+ default gateway. Since the bridge cache is sticky, one host
+ can not spoof the MAC address of the
+ other customer in order to intercept their traffic.Any communication between the VLANs
can be blocked using a firewall or, as seen in this example,
@@ -3231,8 +3269,8 @@ bridge0: flags=8843<UP,BROADCAST,RUNN
&prompt.root; ifconfig bridge0 private vlan100 private vlan101The customers are completely isolated from each other
- and the full /24 address
- range can be allocated without subnetting.
+ and the full /24
+ address range can be allocated without subnetting.
@@ -3245,7 +3283,8 @@ bridge0: flags=8843<UP,BROADCAST,RUNN
is removed.
The following example sets the maximum number of
- Ethernet devices for CustomerA on
+ Ethernet devices for CustomerA on
vlan100 to 10:&prompt.root; ifconfig bridge0 ifmaxaddr vlan100 10
@@ -3272,11 +3311,13 @@ bridge0: flags=8843<UP,BROADCAST,RUNN
information.
The following examples use the
- Net-SNMP software (net-mgmt/net-snmp) to query a
- bridge from a client system. The net-mgmt/bsnmptools port can
- also be used. From the SNMP client
- which is running Net-SNMP, add
- the following lines to
+ Net-SNMP software
+ (net-mgmt/net-snmp) to query a bridge
+ from a client system. The
+ net-mgmt/bsnmptools port can also be
+ used. From the SNMP client which is
+ running Net-SNMP, add the
+ following lines to
$HOME/.snmp/snmp.conf in order to
import the bridge MIB definitions:
@@ -3340,12 +3381,14 @@ BEGEMOT-BRIDGE-MIB::begemotBridgeDefault
- Link Aggregation and Failover
+
+ Link Aggregation and Failover
+
- AndrewThompsonWritten by
+ AndrewThompsonWritten
+ by
-
laggfailover
@@ -3685,15 +3728,18 @@ ifconfig_lagg0="laggp
- Diskless Operation
+
+ Diskless Operation
+
- Jean-FrançoisDockèsUpdated by
+ Jean-FrançoisDockèsUpdated
+ by
- AlexDupreReorganized and enhanced by
+ AlexDupreReorganized
+ and enhanced by
-
diskless workstationdiskless operation
@@ -3717,8 +3763,9 @@ ifconfig_lagg0="laggp
file system on the server. The script will probably require
a little customization.
- Standard system startup files exist in /etc to detect and support a
- diskless system startup.
+ Standard system startup files exist in
+ /etc to detect and support a diskless
+ system startup.Swapping, if needed, can be done either to an
NFS file or to a local disk.
@@ -3736,10 +3783,10 @@ ifconfig_lagg0="laggp
/ and
/usr.
- The root file system is a copy of a standard &os;
- root, with some configuration files overridden by ones
- specific to diskless operation or, possibly, to the
- workstation they belong to.
+ The root file system is a copy of a standard &os; root,
+ with some configuration files overridden by ones specific to
+ diskless operation or, possibly, to the workstation they
+ belong to.The parts of the root which have to be writable are
overlaid with &man.md.4; file systems. Any changes will be
@@ -3855,8 +3902,9 @@ ifconfig_lagg0="laggp
answer both BOOTP and
DHCP requests.
- ISC DHCP is not part of
- the base system. Install the net/isc-dhcp42-server port or
+ ISC DHCP is not part of the
+ base system. Install the
+ net/isc-dhcp42-server port or
package.Once ISC DHCP is installed,
@@ -3980,7 +4028,8 @@ subnet 192.168.4.0 netmask 255.255.255.0
Create a directory from which &man.tftpd.8; will
- serve the files, such as /tftpboot.
+ serve the files, such as
+ /tftpboot.
@@ -4152,7 +4201,8 @@ cd /usr/src/etc; make distributionMiscellaneous Issues
- Running with a Read-only /usr
+ Running with a Read-only
+ /usrdiskless operation
@@ -4162,7 +4212,8 @@ cd /usr/src/etc; make distributionIf the diskless workstation is configured to run
&xorg;, adjust the
XDM configuration file as it
- puts the error log on /usr by default.
+ puts the error log on /usr by
+ default.
@@ -4174,27 +4225,28 @@ cd /usr/src/etc; make distribution
In this situation, there are sometimes problems with
- the special files in /dev, due to differing
- major/minor integer sizes. A solution to this problem
- is to export a directory from the non-&os; server, mount
- this directory onto a &os; machine, and use &man.devfs.5;
- to allocate device nodes transparently for the
- user.
+ the special files in /dev, due to
+ differing major/minor integer sizes. A solution to this
+ problem is to export a directory from the non-&os; server,
+ mount this directory onto a &os; machine, and use
+ &man.devfs.5; to allocate device nodes transparently for
+ the user.
- PXE Booting with an NFS Root File
+
+ PXE Booting with an NFS Root File
System
+
CraigRodrigues
rodrigc@FreeBSD.org
Written by
-
The &intel; Preboot eXecution Environment
(PXE) allows booting the operating system
@@ -4211,7 +4263,8 @@ cd /usr/src/etc; make distributionTFTP. After the host computer
receives this information, it downloads the boot loader via
TFTP and then executes the boot loader.
- This is documented in section 2.2.1 of the Preboot
+ This is documented in section 2.2.1 of the Preboot
Execution Environment (PXE)
Specification. In &os;, the boot loader retrieved
during the PXE process is
@@ -4229,8 +4282,9 @@ cd /usr/src/etc; make distribution
Choose a directory which will have a &os;
installation which will be NFS
- mountable. For example, a directory such as /b/tftpboot/FreeBSD/install
- can be used.
+ mountable. For example, a directory such as
+ /b/tftpboot/FreeBSD/install can be
+ used.&prompt.root; export NFSROOTDIR=/b/tftpboot/FreeBSD/install
&prompt.root; mkdir -p ${NFSROOTDIR}
@@ -4238,7 +4292,8 @@ cd /usr/src/etc; make distribution
Enable the NFS server by following
- the instructions in .
+ the instructions in .
@@ -4274,7 +4329,8 @@ cd /usr/src/etc; make distribution
- Rebuild the &os; kernel and userland ():
+ Rebuild the &os; kernel and userland ():&prompt.root; cd /usr/src
&prompt.root; make buildworld
@@ -4358,17 +4414,19 @@ myhost.example.com:/b/tftpboot/FreeBSD/i
NFS boot and runs
/etc/rc.initdiskless. Read the comments
in this script to understand what is going on. In this case,
- /etc and /var need to be memory backed
- file systems so that these directories are writable but the
- NFS root directory is read-only:
+ /etc and /var need
+ to be memory backed file systems so that these directories are
+ writable but the NFS root directory is
+ read-only:
&prompt.root; chroot ${NFSROOTDIR}
&prompt.root; mkdir -p conf/base
&prompt.root; tar -c -v -f conf/base/etc.cpio.gz --format cpio --gzip etc
&prompt.root; tar -c -v -f conf/base/var.cpio.gz --format cpio --gzip var
- When the system boots, memory file systems for /etc and /var will be created and
- mounted and the contents of the
+ When the system boots, memory file systems for
+ /etc and /var will
+ be created and mounted and the contents of the
cpio.gz files will be copied into
them.
@@ -4385,7 +4443,8 @@ myhost.example.com:/b/tftpboot/FreeBSD/i
Install the DHCP server by
- following the instructions documented at . Make sure that
+ following the instructions documented at . Make sure that
/etc/rc.conf and
/usr/local/etc/dhcpd.conf are
correctly configured.
@@ -4443,7 +4502,8 @@ myhost.example.com:/b/tftpboot/FreeBSD/i
Use the net/wireshark package or
port to debug the network traffic involved during the
PXE booting process, as illustrated
- in the diagram below. In , an example
+ in the diagram below. In , an example
configuration is shown where the DHCP,
TFTP, and NFS
servers are on the same machine. However, these
@@ -4456,11 +4516,16 @@ myhost.example.com:/b/tftpboot/FreeBSD/i
-
-
-
-
-
+
+
+
+
+
@@ -4547,12 +4612,14 @@ Received 264951 bytes in 0.1 seconds
- Network Address Translation
+
+ Network Address Translation
+
- ChernLeeContributed by
+ ChernLeeContributed
+ by
-
Overview
@@ -4768,20 +4835,27 @@ redirect_port tcp 192.168.0.3:80 80Each machine and interface behind the
LAN should be assigned
IP addresses in the private network space,
- as defined by RFC
+ as defined by RFC
1918, and have a default gateway of the
&man.natd.8; machine's internal IP
address.For example, client A and
- B behind the LAN have
- IP addresses of 192.168.0.2 and 192.168.0.3, while the &man.natd.8;
- machine's LAN interface has an
- IP address of 192.168.0.1. The default gateway
- of clients A and B must be
- set to that of the &man.natd.8; machine, 192.168.0.1. The &man.natd.8;
- machine's external Internet interface does not require any
- special modification for &man.natd.8; to work.
+ B behind the LAN
+ have IP addresses of 192.168.0.2 and 192.168.0.3, while the
+ &man.natd.8; machine's LAN interface has an
+ IP address of 192.168.0.1. The default
+ gateway of clients A and
+ B must be set to that of the
+ &man.natd.8; machine, 192.168.0.1. The
+ &man.natd.8; machine's external Internet interface does not
+ require any special modification for &man.natd.8; to
+ work.
@@ -4798,10 +4872,10 @@ redirect_port tcp 192.168.0.3:80 80
For example, an IRC server runs on
- client A and a web server runs on client
- B. For this to work properly, connections
- received on ports 6667 (IRC) and 80
- (HTTP) must be redirected to the
+ client A and a web server runs on
+ client B. For this to work properly,
+ connections received on ports 6667 (IRC)
+ and 80 (HTTP) must be redirected to the
respective machines.The syntax for is as
@@ -4823,7 +4897,8 @@ redirect_port tcp 192.168.0.3:80 80-redirect_port. For example,
tcp 192.168.0.2:2000-3000 2000-3000
would redirect all connections received on ports 2000 to 3000
- to ports 2000 to 3000 on client A.
+ to ports 2000 to 3000 on client
+ A.
These options can be used when directly running
&man.natd.8;, placed within the
@@ -4849,12 +4924,17 @@ redirect_port tcp 192.168.0.3:80 80IP address
back to the specific LAN client. This is
also known as static NAT. For example,
- if IP addresses 128.1.1.1, 128.1.1.2, and 128.1.1.3 are available, 128.1.1.1 can be used as the
- &man.natd.8; machine's external IP
- address, while 128.1.1.2 and
- 128.1.1.3 are forwarded back
- to LAN clients A and
- B.
+ if IP addresses 128.1.1.1, 128.1.1.2, and 128.1.1.3 are available,
+ 128.1.1.1 can be
+ used as the &man.natd.8; machine's external
+ IP address, while 128.1.1.2 and 128.1.1.3 are forwarded back
+ to LAN clients A
+ and B.
The syntax is as
follows:
@@ -4901,25 +4981,29 @@ redirect_port tcp 192.168.0.3:80 80
- IPv6
+
+ IPv6
+
- AaronKaplanOriginally Written by
+ AaronKaplanOriginally
+ Written by
- TomRhodesRestructured and Added by
+ TomRhodesRestructured
+ and Added by
- BradDavisExtended by
+ BradDavisExtended
+ by
-
-
IPv6, also known as
IPng IP next
generation, is the new version of the well known
IP protocol, also known as
- IPv4. &os; includes the KAME
+ IPv4. &os; includes the KAME
IPv6 reference implementation. &os; comes
with everything needed to use IPv6. This
section focuses on getting IPv6 configured
@@ -4933,16 +5017,17 @@ redirect_port tcp 192.168.0.3:80 80
Running out of addresses. For years the use of
- RFC1918 private address space
- (10.0.0.0/8,
- 172.16.0.0/12, and
- 192.168.0.0/16) and NAT
+ RFC1918 private address space (10.0.0.0/8, 172.16.0.0/12, and
+ 192.168.0.0/16) and NAT
has slowed down the exhaustion. Even though, there are
very few remaining IPv4 addresses. The Internet
Assigned Numbers Authority (IANA) has
issued the last of the available major blocks to the
Regional Registries. Once each Regional Registry runs
- out, there will be no more available and switching to
+ out, there will be no more available and switching to
IPv6 will be critical.
@@ -4978,7 +5063,8 @@ redirect_port tcp 192.168.0.3:80 80
- Address autoconfiguration (RFC2462).
+ Address autoconfiguration (RFC2462).
@@ -5014,7 +5100,8 @@ redirect_port tcp 192.168.0.3:80 80
- KAME.net
+ KAME.net
@@ -5040,8 +5127,9 @@ redirect_port tcp 192.168.0.3:80 80
The IPv4 broadcast address, usually
- xxx.xxx.xxx.255, is expressed
- by multicast addresses in IPv6.
+ xxx.xxx.xxx.255,
+ is expressed by multicast addresses in
+ IPv6.
4.4BSD Documents: This is a
- hypertext version of the 4.4BSD documents from
- /usr/share/doc, where you will find the
- documents on a FreeBSD machine (if you install the doc
- distribution).
-
-
Info Documents: This is a
- hypertext version of the Info documents from
- /usr/share/info, where you will find
- the Info documents on a FreeBSD machine (if you install the info
- distribution).
+ Useful pfctl Options
+
+
+
+
+ Command
+ Purpose
+
+
+
+
+
+ pfctl
+ -e
+ Enable PF.
+
+
+
+ pfctl
+ -d
+ Disable PF.
+
+
+
+ pfctl -F all
+ -f /etc/pf.conf
+ Flush all NAT, filter, state, and table
+ rules and reload
+ /etc/pf.conf.
+
+
+
+ pfctl -s [ rules | nat
+ state ]
+ Report on the filter rules, NAT rules, or state
+ table.
+
+
+
+ pfctl -vnf
+ /etc/pf.conf
+ Check /etc/pf.conf for
+ errors, but do not load ruleset.
+
+
+
+
+
+
+ security/sudo is useful for running
+ commands like pfctl that require elevated
+ privileges. It can be installed from the Ports
+ Collection.
+
@@ -434,93 +522,9 @@ options ALTQ_PRIQ # Priori
xlink:href="http://www.openbsd.org/faq/pf/queueing.html">http://www.openbsd.org/faq/pf/queueing.html.
-
- Creating Filtering Rules
-
- By default, PF reads its
- configuration rules from /etc/pf.conf and
- modifies, drops, or passes packets according to the rules or
- definitions specified in this file. The &os; installation
- includes several sample files located in
- /usr/share/examples/pf/. Refer to the
- PF
- FAQ for complete coverage of
- PF rulesets.
-
-
- When reading the PF FAQ,
- keep in mind that different versions of &os; contain
- different versions of PF. Currently,
- &os; 8.X is using the same
- version of PF
- OpenBSD 4.1. &os; 9.X
- and later is using the same version of
- PF as OpenBSD 4.5.
-
-
- The &a.pf; is a good place to ask questions about
- configuring and running the PF
- firewall. Do not forget to check the mailing list archives
- before asking questions.
-
- To control PF, use
- &man.pfctl.8;. Below are some useful options to this command.
- Review &man.pfctl.8; for a description of all available
- options:
-
-
-
-
-
- Command
- Purpose
-
-
-
-
-
- pfctl
- -e
- Enable PF.
-
-
-
- pfctl
- -d
- Disable PF.
-
-
-
- pfctl -F all
- -f /etc/pf.conf
- Flush all NAT, filter, state, and table
- rules and reload
- /etc/pf.conf.
-
-
-
- pfctl -s [ rules | nat
- state ]
- Report on the filter rules, NAT rules, or state
- table.
-
-
-
- pfctl -vnf
- /etc/pf.conf
- Check /etc/pf.conf for
- errors, but do not load ruleset.
-
-
-
-
-
-
- PF Rule Sets and
- Tools
+ PF Rulesets
@@ -534,21 +538,8 @@ options ALTQ_PRIQ # Priori
- This section demonstrates some useful
- PF features and
- PF related tools in a series of
- examples. A more thorough tutorial is available at http://home.nuug.no/~peter/pf/.
-
-
- security/sudo is useful for running
- commands like pfctl that require elevated
- privileges. It can be installed from the Ports
- Collection.
-
-
-
- The Simplest Rule Set Ever
+ This section demonstrates how to create a customized
+ ruleset, using several examples.The simplest possible setup is for a single machine
which will not run any services, and which will talk to one
@@ -566,10 +557,6 @@ pass out all keep state
trusted. The rule set can be loaded with&prompt.root; pfctl -e ; pfctl -f /etc/pf.conf
-
-
-
- Tighter and More ElegantFor a slightly more structured and complete setup, we
start by denying everything and then allowing only those
@@ -653,7 +640,6 @@ pass proto udp to any port $udp_services
exactly the way they will be loaded. This is extremely
useful when debugging rules.
- A Simple Gateway with NAT
@@ -664,10 +650,6 @@ pass proto udp to any port $udp_services
which is running PF and also acts
as a gateway for at least one other machine.
-
- Gateways and the Pitfalls of in,
- out and on
-
In the single machine setup, life is relatively
simple. Traffic created on it should either pass out to
the rest of the world or not, and the administrator
@@ -724,7 +706,6 @@ pass proto udp to any port $udp_services
For the remainder of this section, with some
exceptions, we will keep the rules as simple as possible
for readability.
- What is the Local Network, Anyway?
From owner-svn-doc-head@FreeBSD.ORG Fri Feb 14 18:53:20 2014
Return-Path:
Delivered-To: svn-doc-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTPS id AC761CDB;
Fri, 14 Feb 2014 18:53:20 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id 8CC041A17;
Fri, 14 Feb 2014 18:53:20 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1EIrKTU081419;
Fri, 14 Feb 2014 18:53:20 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1EIrKgt081418;
Fri, 14 Feb 2014 18:53:20 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201402141853.s1EIrKgt081418@svn.freebsd.org>
From: Dru Lavigne
Date: Fri, 14 Feb 2014 18:53:20 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r43927 - head/en_US.ISO8859-1/books/handbook/firewalls
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-head@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SVN commit messages for the doc tree for head
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Fri, 14 Feb 2014 18:53:20 -0000
Author: dru
Date: Fri Feb 14 18:53:20 2014
New Revision: 43927
URL: http://svnweb.freebsd.org/changeset/doc/43927
Log:
White space fix only. Translators can ignore.
Sponsored by: iXsystems
Modified:
head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml Fri Feb 14 18:45:03 2014 (r43926)
+++ head/en_US.ISO8859-1/books/handbook/firewalls/chapter.xml Fri Feb 14 18:53:20 2014 (r43927)
@@ -218,28 +218,29 @@
ALTQ (Alternate Queuing), which
provides Quality of Service (QoS).
- The OpenBSD Project maintains the definitive
- reference for PF in the The OpenBSD Project maintains the definitive reference for
+ PF in the PF FAQ.
- Peter Hansteen maintains a thorough PF tutorial at http://home.nuug.no/~peter/pf/.
-
-
- When reading the PF FAQ,
- keep in mind that different versions of &os; contain
- different versions of PF.
- &os; 8.X uses the same
- version of PF as
- OpenBSD 4.1 and &os; 9.X
- and later uses the same version of
- PF as OpenBSD 4.5.
-
+ Peter Hansteen maintains a thorough
+ PF tutorial at http://home.nuug.no/~peter/pf/.
+
+
+ When reading the PF FAQ,
+ keep in mind that different versions of &os; contain
+ different versions of PF.
+ &os; 8.X uses the same
+ version of PF as
+ OpenBSD 4.1 and &os; 9.X
+ and later uses the same version of
+ PF as OpenBSD 4.5.
+ The &a.pf; is a good place to ask questions about
- configuring and running the PF
- firewall. Check the mailing list archives
- before asking a question as it may have already been answered.
+ configuring and running the PF
+ firewall. Check the mailing list archives before asking a
+ question as it may have already been answered.
More information about porting PF
to &os; can be found at
-->
- By default, PF reads its
+ By default, PF reads its
configuration rules from /etc/pf.conf and
modifies, drops, or passes packets according to the rules or
definitions specified in this file. The &os; installation
includes several sample files located in
/usr/share/examples/pf/. Refer to the
PF
- FAQ for complete coverage of
- PF rulesets.
+ FAQ for complete coverage
+ of PF rulesets.To control PF, use
- pfctl. summarizes some useful options to this command.
- Refer to &man.pfctl.8; for a description of all available
- options:
+ pfctl. summarizes
+ some useful options to this command. Refer to &man.pfctl.8;
+ for a description of all available options: