Date: Fri, 13 Oct 2006 22:19:55 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 107846 for review Message-ID: <200610132219.k9DMJtCW062017@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107846 Change 107846 by jb@jb_freebsd8 on 2006/10/13 22:19:19 IFC. Drop my changes to hvcons. I'll do those in a separate branch. Affected files ... .. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml#8 integrate .. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/book.sgml#5 integrate .. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml#9 integrate .. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml#9 integrate .. //depot/projects/dtrace/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml#27 integrate .. //depot/projects/dtrace/doc/en_US.ISO8859-1/share/sgml/mailing-lists.ent#4 integrate .. //depot/projects/dtrace/doc/zh_TW.Big5/books/fdp-primer/the-website/chapter.sgml#3 integrate .. //depot/projects/dtrace/ports/Mk/bsd.python.mk#6 integrate .. //depot/projects/dtrace/src/bin/cp/cp.c#7 integrate .. //depot/projects/dtrace/src/bin/ls/ls.1#5 integrate .. //depot/projects/dtrace/src/gnu/lib/libgcc/Makefile#4 integrate .. //depot/projects/dtrace/src/gnu/usr.bin/gdb/kgdb/kgdb.1#4 integrate .. //depot/projects/dtrace/src/gnu/usr.bin/grep/grep.1#5 integrate .. //depot/projects/dtrace/src/lib/libc/gen/basename.3#4 integrate .. //depot/projects/dtrace/src/lib/libc/gen/dirname.3#4 integrate .. //depot/projects/dtrace/src/lib/libc/gen/msgsnd.3#4 integrate .. //depot/projects/dtrace/src/lib/libc/sparc64/fpu/fpu_emu.h#4 integrate .. //depot/projects/dtrace/src/lib/libc/stdlib/getenv.3#4 integrate .. //depot/projects/dtrace/src/lib/libc/string/ffs.3#4 integrate .. //depot/projects/dtrace/src/lib/libc/sys/Makefile.inc#4 integrate .. //depot/projects/dtrace/src/lib/libc/sys/intro.2#4 integrate .. //depot/projects/dtrace/src/lib/libc/sys/read.2#4 integrate .. //depot/projects/dtrace/src/lib/libc/sys/stat.2#4 integrate .. //depot/projects/dtrace/src/lib/libpam/modules/pam_unix/pam_unix.8#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/hardware/common/artheader.sgml#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/hardware/common/dev.sgml#6 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/hardware/common/hw.ent#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/installation/Makefile#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/installation/alpha/Makefile#4 delete .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/installation/alpha/article.sgml#4 delete .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/installation/common/artheader.sgml#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/installation/common/install.sgml#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/installation/common/layout.sgml#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/relnotes/Makefile#4 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/relnotes/alpha/Makefile#4 delete .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/relnotes/alpha/article.sgml#4 delete .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/relnotes/common/new.sgml#6 integrate .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/relnotes/powerpc/Makefile#1 branch .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/relnotes/powerpc/article.sgml#1 branch .. //depot/projects/dtrace/src/release/doc/zh_CN.GB2312/relnotes/sparc64/Makefile#4 integrate .. //depot/projects/dtrace/src/sbin/bsdlabel/bsdlabel.8#5 integrate .. //depot/projects/dtrace/src/sbin/dump/main.c#5 integrate .. //depot/projects/dtrace/src/sbin/restore/restore.8#4 integrate .. //depot/projects/dtrace/src/sbin/sysctl/sysctl.c#9 integrate .. //depot/projects/dtrace/src/share/man/man4/ddb.4#9 integrate .. //depot/projects/dtrace/src/share/man/man4/if_bridge.4#10 integrate .. //depot/projects/dtrace/src/share/man/man4/man4.i386/ndis.4#4 integrate .. //depot/projects/dtrace/src/sys/amd64/amd64/intr_machdep.c#6 integrate .. //depot/projects/dtrace/src/sys/amd64/amd64/machdep.c#12 integrate .. //depot/projects/dtrace/src/sys/boot/common/help.common#5 integrate .. //depot/projects/dtrace/src/sys/boot/common/loader.8#6 integrate .. //depot/projects/dtrace/src/sys/boot/forth/support.4th#4 integrate .. //depot/projects/dtrace/src/sys/conf/NOTES#21 integrate .. //depot/projects/dtrace/src/sys/dev/bce/if_bce.c#9 integrate .. //depot/projects/dtrace/src/sys/dev/ipmi/ipmi.c#6 integrate .. //depot/projects/dtrace/src/sys/dev/sound/pci/hda/hdac.c#6 integrate .. //depot/projects/dtrace/src/sys/kern/kern_conf.c#5 integrate .. //depot/projects/dtrace/src/sys/netgraph/ng_nat.c#4 integrate .. //depot/projects/dtrace/src/sys/netinet6/in6_ifattach.c#7 integrate .. //depot/projects/dtrace/src/sys/netinet6/in6_proto.c#5 integrate .. //depot/projects/dtrace/src/sys/sparc64/pci/ofw_pcib.c#4 integrate .. //depot/projects/dtrace/src/sys/sparc64/pci/ofw_pcib_subr.c#4 integrate .. //depot/projects/dtrace/src/sys/sun4v/conf/NOTES#5 integrate .. //depot/projects/dtrace/src/sys/sun4v/sun4v/fpemu.c#3 delete .. //depot/projects/dtrace/src/sys/sun4v/sun4v/genassym.c#5 delete .. //depot/projects/dtrace/src/sys/sun4v/sun4v/hvcons.c#5 integrate .. //depot/projects/dtrace/src/sys/sys/rwlock.h#5 integrate .. //depot/projects/dtrace/src/sys/vm/vm_contig.c#6 integrate .. //depot/projects/dtrace/src/tools/tools/tinybsd/tinybsd#4 integrate .. //depot/projects/dtrace/src/usr.bin/calendar/calendars/calendar.holiday#5 integrate .. //depot/projects/dtrace/src/usr.bin/systat/systat.1#6 integrate .. //depot/projects/dtrace/src/usr.bin/tput/tput.c#4 integrate .. //depot/projects/dtrace/src/usr.sbin/syslogd/syslog.conf.5#6 integrate .. //depot/projects/dtrace/src/usr.sbin/wicontrol/wicontrol.8#4 integrate .. //depot/projects/dtrace/src/usr.sbin/wicontrol/wicontrol.c#4 integrate .. //depot/projects/dtrace/www/en/about.sgml#6 integrate .. //depot/projects/dtrace/www/en/applications.sgml#4 integrate .. //depot/projects/dtrace/www/en/gnome/Makefile#5 integrate .. //depot/projects/dtrace/www/share/sgml/press.xml#6 integrate Differences ... ==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml#8 (text+ko) ==== @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v 1.385 2006/09/05 20:03:48 ru Exp $ + $FreeBSD: doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v 1.386 2006/10/13 10:53:53 trhodes Exp $ --> <chapter id="advanced-networking"> @@ -2506,12 +2506,29 @@ information on configuring the bridge as a firewall.</para> <para>If you need to allow non-IP packets (such as ARP) to flow - through the bridge, there is a firewall option that - must be set. This option is - <literal>IPFIREWALL_DEFAULT_TO_ACCEPT</literal>. Note that this - changes the default rule for the firewall to accept any packet. - Make sure you know how this changes the meaning of your ruleset - before you set it.</para> + through the bridge, there are three options available. + The first is to add the following option to the kernel and + rebuild:<para> + + <programlisting>option IPFIREWALL_DEFAULT_TO_ACCEPT</programlisting> + + <para>The second is to set the firewall type to accept in the + <filename>rc.conf</filename> file:</para> + + <programlisting>firewall_type="open"</programlisting> + + <para>Note that these options will make the firewall seem completely + transparent; any packet or connection will be permitted by default. + This may require significant changes to the firewall ruleset.</para> + + <para>The third option is to apply the following &man.ipfw.8; + rule:</para> + + <screen>&prompt.root; <userinput>ipfw add allow mac-type arp layer2</userinput></screen> + + <para>Or add it to the current firewall ruleset. This rule effectively + allows &man.arp.8; packets through, so it must be be applied near the + beginning of the ruleset for early evaluation.</para> </sect3> <sect3> ==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/book.sgml#5 (text+ko) ==== @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO8859-1/books/handbook/book.sgml,v 1.166 2006/05/16 14:01:06 keramida Exp $ + $FreeBSD: doc/en_US.ISO8859-1/books/handbook/book.sgml,v 1.168 2006/10/13 11:56:10 trhodes Exp $ --> <!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ @@ -124,8 +124,8 @@ to day use of <emphasis>FreeBSD &rel2.current;-RELEASE</emphasis> and <emphasis>FreeBSD &rel.current;-RELEASE</emphasis>. This manual is a <emphasis>work in progress</emphasis> and is the work - of many individuals. Many sections do not yet exist and some of those - that do exist need to be updated. If you are interested in helping + of many individuals. As such, some sections may become dated and + require updating. If you are interested in helping out with this project, send email to the &a.doc;. The latest version of this document is always available from the <ulink url="http://www.FreeBSD.org/">FreeBSD web site</ulink> ==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml#9 (text+ko) ==== @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml,v 1.89 2006/09/24 14:17:15 danger Exp $ + $FreeBSD: doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml,v 1.91 2006/10/13 14:11:00 remko Exp $ --> <chapter id="network-servers"> @@ -822,6 +822,32 @@ </sect2> <sect2> + <title>Locking</title> + + <para>Some applications (e.g. <application>mutt</application>) + require file locking to operate correctly. In the case of + <acronym>NFS</acronym>, <application>rpc.lockd</application> + can be used for file locking. To enable it, add the following + to the <filename>/etc/rc.conf</filename> file on both client + and server (it is assumed that the <acronym>NFS</acronym> + client and server are configured already):</para> + + <programlisting>rpc_lockd_enable="YES" +rpc_statd_enable="YES"</programlisting> + + <para>Start the application by using:</para> + + <screen>&prompt.root; <userinput>/etc/rc.d/nfslocking start</userinput></screen> + + <para>If real locking between the <acronym>NFS</acronym> clients + and <acronym>NFS</acronym> server is not required, it is + possible to let the <acronym>NFS</acronym>client do locking + locally by passing <option>-L</option> to &man.mount.nfs.8;. + Refer to the &man.mount.nfs.8; manual page for further details. + </para> + </sect2> + + <sect2> <title>Practical Uses</title> <para><acronym>NFS</acronym> has many practical uses. Some of @@ -4489,15 +4515,16 @@ backend is used, the <filename>/usr/local/private/smbpasswd</filename> file must be created to allow <application>Samba</application> to - authenticate clients. If you would like to give all of + authenticate clients. If you would like to give your &unix; user accounts access from &windows; clients, use the following command:</para> - <screen>&prompt.root; <userinput>grep -v "^#" /etc/passwd | make_smbpasswd > /usr/local/private/smbpasswd</userinput> -&prompt.root; <userinput>chmod 600 /usr/local/private/smbpasswd</userinput></screen> + <screen>&prompt.root; <userinput>smbpasswd -a username</userinput></screen> - <para>Please see the <application>Samba</application> - documentation for additional information about configuration + <para>Please see the + <ulink + url="http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/">Official Samba HOWTO</ulink> + for additional information about configuration options. With the basics outlined here, you should have everything you need to start running <application>Samba</application>.</para> ==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml#9 (text+ko) ==== @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml,v 1.299 2006/10/10 02:43:40 trhodes Exp $ + $FreeBSD: doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml,v 1.301 2006/10/13 09:14:54 remko Exp $ --> <chapter id="security"> @@ -3422,18 +3422,20 @@ configured using &man.ifconfig.8;.</para> <para>On the gateway machine on network #1 you would run the - following two commands to configure the tunnel.</para> + following commands to configure the tunnel.</para> - <programlisting>ifconfig gif0 A.B.C.D W.X.Y.Z -ifconfig gif0 inet 192.168.1.1 192.168.2.1 netmask 0xffffffff - </programlisting> - + <screen>&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> create</userinput> +&prompt.root; <userinput>ifconfig tunnel <replaceable>gif0</replaceable> <replaceable>A.B.C.D</replaceable> <replaceable>W.X.Y.Z</replaceable></userinput> +&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> inet <replaceable>192.168.1.1</replaceable> <replaceable>192.168.2.1</replaceable> netmask <replaceable>0xffffffff</replaceable></userinput> + </screen> + <para>On the other gateway machine you run the same commands, but with the order of the IP addresses reversed.</para> - - <programlisting>ifconfig gif0 W.X.Y.Z A.B.C.D -ifconfig gif0 inet 192.168.2.1 192.168.1.1 netmask 0xffffffff - </programlisting> + + <screen>&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> create</userinput> +&prompt.root; <userinput>ifconfig tunnel <replaceable>gif0</replaceable> <replaceable>W.X.Y.Z</replaceable> <replaceable>A.B.C.D</replaceable></userinput> +&prompt.root; <userinput>ifconfig <replaceable>gif0</replaceable> inet <replaceable>192.168.2.1</replaceable> <replaceable>192.168.1.1</replaceable> netmask <replaceable>0xffffffff</replaceable></userinput> + </screen> <para>You can then run:</para> @@ -3443,11 +3445,11 @@ gateway, you would see this:</para> <screen>&prompt.root; <userinput>ifconfig gif0</userinput> -gif0: flags=8011<UP,POINTTOPOINT,MULTICAST> mtu 1280 -inet 192.168.1.1 --> 192.168.2.1 netmask 0xffffffff -physical address inet A.B.C.D --> W.X.Y.Z +gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280 + tunnel inet A.B.C.D --> W.X.Y.Z + inet 192.168.1.1 --> 192.168.2.1 netmask 0xffffffff </screen> - + <para>As you can see, a tunnel has been created between the physical addresses <hostid role="ipaddr">A.B.C.D</hostid> and <hostid role="ipaddr">W.X.Y.Z</hostid>, and the traffic allowed @@ -3565,7 +3567,8 @@ <para>Edit <filename>/etc/rc.conf</filename> on gateway host #1 and add the following lines (replacing IP addresses as necessary).</para> - <programlisting>gifconfig_gif0="A.B.C.D W.X.Y.Z" + <programlisting>gif_interfaces="gif0" +gifconfig_gif0="A.B.C.D W.X.Y.Z" ifconfig_gif0="inet 192.168.1.1 192.168.2.1 netmask 0xffffffff" static_routes="vpn" route_vpn="192.168.2.0 192.168.2.1 netmask 0xffffff00" ==== //depot/projects/dtrace/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml#27 (text+ko) ==== @@ -1,7 +1,7 @@ <!-- The FreeBSD Documentation Project - $FreeBSD: doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v 1.759 2006/10/07 20:55:22 pav Exp $ + $FreeBSD: doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v 1.760 2006/10/13 11:27:53 remko Exp $ --> <!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ @@ -4729,7 +4729,7 @@ changes.</para> <para>The exception to this rule is when the relevant directory does not - exist. In such case, using author's id as + exist or the distfile does not exist in the directory. In such case, using author's id as <makevar>MASTER_SITE_SUBDIR</makevar> is allowed.</para> <table frame="none"> ==== //depot/projects/dtrace/doc/en_US.ISO8859-1/share/sgml/mailing-lists.ent#4 (text+ko) ==== @@ -1,7 +1,7 @@ <!-- Names of FreeBSD mailing lists and related software. - $FreeBSD: doc/en_US.ISO8859-1/share/sgml/mailing-lists.ent,v 1.51 2006/06/18 21:02:22 linimon Exp $ + $FreeBSD: doc/en_US.ISO8859-1/share/sgml/mailing-lists.ent,v 1.53 2006/10/13 08:50:33 remko Exp $ --> <!ENTITY a.mailman.listinfo "http://lists.FreeBSD.org/mailman/listinfo"> @@ -231,7 +231,7 @@ <!ENTITY a.jobs "<ulink url='&a.jobs.url;'>FreeBSD related employment mailing list</ulink>"> <!ENTITY a.jobs.name "<ulink url='&a.jobs.url;'>freebsd-jobs</ulink>"> -<!ENTITY a.kde.url "http://freebsd.kde.org/mailman/listinfo/kde-freebsd"> +<!ENTITY a.kde.url "http://kf.liquidneon.com/mailman/listinfo/kde-freebsd"> <!ENTITY a.kde "<ulink url='&a.kde.url;'>FreeBSD KDE/Qt and KDE applications mailing list</ulink>"> <!ENTITY a.kde.name "<ulink url='&a.kde.url;'>freebsd-kde</ulink>"> ==== //depot/projects/dtrace/doc/zh_TW.Big5/books/fdp-primer/the-website/chapter.sgml#3 (text+ko) ==== @@ -27,44 +27,43 @@ ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - $FreeBSD: doc/zh_TW.Big5/books/fdp-primer/the-website/chapter.sgml,v 1.2 2006/01/31 01:31:01 vanilla Exp $ + $FreeBSD: doc/zh_TW.Big5/books/fdp-primer/the-website/chapter.sgml,v 1.3 2006/10/13 16:10:00 chinsan Exp $ Original revision: 1.22 --> <chapter id="the-website"> - <title>The Website</title> + <title>建構 Website</title> <sect1 id="the-website-prep"> - <title>Preparation</title> + <title>事前準備</title> - <para>Get 200MB free disk space. You will need the disk space for the - SGML tools, a subset of the CVS tree, temporary build space and the - installed web pages. If you already have installed the SGML tools and - the CVS tree, you need only ~100MB free disk space.</para> + <para>請先準備約 200MB 空間,這些是要用來放 SGML 工具程式、CVS tree、 + 臨時編譯用的空間,以及編譯好的網頁存放空間。若事先已有裝 SGML 工具程式、 + CVS tree 的話,那麼只需頂多約 100MB 空間即可。</para> <note> - <para>Make sure your documentation ports are up to date! When in - doubt, remove the old ports using &man.pkg.delete.1; command before - installing the port. For example, we currently depend on - jade-1.2 and if you have installed jade-1.1, please do:</para> + <para>請確認一下你的相關文件製作所會用到的 ports 都是最新版! + 若不清楚所裝的版本為何,那麼就先以 &man.pkg.delete.1; 指令來移除舊版, + 接著才去裝 port。 舉例來說,若已裝的是 jade-1.1, + 但是我們目前需要的卻是 jade-1.2,那麼先用下列方式來移除舊版:</para> <screen>&prompt.root; <userinput>pkg_delete jade-1.1</userinput></screen> </note> - <para>Set up a CVS repository. You need the directories www, doc and - ports in the CVS tree (plus the CVSROOT of course). Please read the - <ulink url="&url.books.handbook;/synching.html#CVSUP">CVSup introduction</ulink> - on how to mirror a CVS tree or parts of a CVS tree.</para> + <para>接著,就是設定 CVS repository。需要至少 www, doc, ports 這三樣 + CVS tree(當然還要加上 CVSROOT)。 請參閱 + <ulink url="&url.books.handbook;/synching.html#CVSUP">CVSup 簡介</ulink> + 以瞭解如何來 mirror a CVS tree 或部分 CVS tree。</para> - <para>The essential cvsup collections are: <literal>www</literal>, - <literal>doc-all</literal>, <literal>cvs-base</literal>, and - <literal>ports-base</literal>.</para> + <para>最低需求的 cvsup collections 為:<literal>www</literal>, + <literal>doc-all</literal>, <literal>cvs-base</literal> 以及 + <literal>ports-base</literal>。</para> - <para>These collections require ~105MB free disk space.</para> + <para>剛講的這些需要約 105MB 空間。</para> - <para>A full CVS tree - including <literal>src</literal>, - <literal>doc</literal>, <literal>www</literal>, and - <literal>ports</literal> - is currently 940MB.</para> + <para>而完整的 CVS tree - 包括 <literal>src</literal>, + <literal>doc</literal>, <literal>www</literal> 以及 + <literal>ports</literal> - 目前約為 940MB。</para> </sect1> <sect1 id="the-website-build"> @@ -72,23 +71,21 @@ <procedure> <step> - <para>Create and change directory into a build directory with at least 60MB of free - space.</para> + <para>先建立要編譯的目錄(至少要有 60MB 空間),並切換到該目錄。</para> <screen>&prompt.root; <userinput>mkdir /var/tmp/webbuild</userinput> &prompt.root; <userinput>cd /var/tmp/webbuild</userinput></screen> </step> <step> - <para>Checkout the SGML files from the CVS tree.</para> + <para>從 CVS tree 內 checkout 相關的 SGML 檔。</para> <screen>&prompt.root; <userinput>cvs -R co www doc</userinput></screen> </step> <step> - <para>Change into the <filename role="directory">www/en</filename> directory, and run - the &man.make.1; <maketarget>all</maketarget> target, to create - the web pages.</para> + <para>切到 <filename role="directory">www/en</filename> 目錄,然後打 + &man.make.1; <maketarget>all</maketarget> 來產生網頁。</para> <screen>&prompt.root; <userinput>cd en</userinput> &prompt.root; <userinput>make all</userinput></screen> @@ -97,30 +94,28 @@ </sect1> <sect1 id="the-website-install"> - <title>Install the web pages into your web server</title> + <title>在你的網頁伺服器上安裝網頁</title> <procedure> <step> - <para>If you have moved out of the <filename>en</filename> - directory, change back to it.</para> + <para>如果你已經離開 <filename>en</filename> + 這個目錄,請切換回這個目錄中。</para> <screen>&prompt.root; <userinput>cd <replaceable>path</replaceable>/www/en</userinput></screen> </step> <step> - <para>Run the &man.make.1; <maketarget>install</maketarget> target, - setting the <makevar>DESTDIR</makevar> variable to the name of the - directory you want to install the files to.</para> + <para>執行 &man.make.1; <maketarget>install</maketarget> , + 並將 <makevar>DESTDIR</makevar> 設定為你想安裝檔案的目錄名稱。</para> <screen>&prompt.root; <userinput>make DESTDIR=<replaceable>/usr/local/www</replaceable> install</userinput></screen> </step> <step> - <para>If you have previously installed the web pages into the same - directory the install process will not have deleted any old or - outdated pages. For example, if you build and install a new copy - of the site every day, this command will find and delete all - files that have not been updated in three days.</para> + <para>如果你之前已經在相同的目錄中安裝了這些網頁, + 安裝過程並不會刪除任何既有或過期的網頁。 + 舉例來說,如果你每日建構和安裝新的網頁副本, + 這個指令將會搜尋並刪除在三天內沒有更新的檔案。</para> <screen>&prompt.root; <userinput>find <replaceable>/usr/local/www</replaceable> -ctime 3 -print0 | xargs -0 rm</userinput></screen> </step> @@ -128,14 +123,14 @@ </sect1> <sect1 id="the-website-env"> - <title>Environment variables</title> + <title>環境變數</title> <variablelist> <varlistentry> <term><envar>CVSROOT</envar></term> <listitem> - <para>Location of the CVS tree. Essential.</para> + <para>設定 CVS tree 的位置,此為必備條件。</para> <screen><userinput>&prompt.root; CVSROOT=/home/ncvs; export CVSROOT</userinput></screen> </listitem> @@ -145,16 +140,15 @@ <term><makevar>ENGLISH_ONLY</makevar></term> <listitem> - <para>If set and not empty, the makefiles will build and - install only the English documents. All translations will be - ignored. E.g.:</para> + <para>如果設定這個環境變數,而且值不為空白, + makefiles 將只會建構和安裝英文文件。 + 所以將會略過其他的各國翻譯。例如:</para> <screen>&prompt.root; <userinput>make ENGLISH_ONLY=YES all install</userinput></screen> - <para>If you want to unset the variable - <makevar>ENGLISH_ONLY</makevar> and build all pages, including - translations, set the variable <makevar>ENGLISH_ONLY</makevar> - to an empty value:</para> + <para>如果你想要取消變數 <makevar>ENGLISH_ONLY</makevar> + 以及建構所有的頁面並包括翻譯,只要將變數 <makevar>ENGLISH_ONLY</makevar> + 的值設定成空白即可。</para> <screen>&prompt.root; <userinput>make ENGLISH_ONLY="" all install clean</userinput></screen> </listitem> @@ -164,10 +158,10 @@ <term><makevar>WEB_ONLY</makevar></term> <listitem> - <para>If set and not empty, the makefiles will build and install - only the HTML pages from the www directory. All documents from - the doc directory (Handbook, FAQ, Tutorials) will be ignored. - E.g.:</para> + <para>如果有設定這個變數的話, + makefiles 將只會從 www 目錄建構及安裝 HTML 頁面。 + 所有從 doc 目錄下的文件全部都會被忽略 (Handbook, FAQ, Tutorials)。 + 例如:</para> <screen>&prompt.root; <userinput>make WEB_ONLY=YES all install</userinput></screen> </listitem> @@ -177,22 +171,22 @@ <term><makevar>NOPORTSCVS</makevar></term> <listitem> - <para>If set, the makefiles will not checkout files from the ports - cvs repository. Instead, it will copy the files from - <filename>/usr/ports</filename> (or where the variable - <envar>PORTSBASE</envar> points to).</para> + <para>如果設了這個變數,makefiles 就不會從 ports cvs repository + 取出檔案。 取而代之會從 + <filename>/usr/ports</filename> (或是 <envar>PORTSBASE</envar> + 所設定的值) 內複製檔案。</para> </listitem> </varlistentry> </variablelist> - <para><envar>CVSROOT</envar> is an environment variable. You must set it - on the command line or in your dot files (e.g., ~/.profile).</para> + <para><envar>CVSROOT</envar> 是環境變數。 + 你必須直接使用指令或是在 dot files (如: ~/.profile) 中 + 設定這個環境變數。</para> - <para><makevar>WEB_ONLY</makevar>, <makevar>ENGLISH_ONLY</makevar> and - <makevar>NOPORTSCVS</makevar> are makefile variables. You can set the - variables in <filename>/etc/make.conf</filename>, - <filename>Makefile.inc</filename>, as environment variables on the - command line, or in your dot files.</para> + <para><makevar>WEB_ONLY</makevar>、<makevar>ENGLISH_ONLY</makevar> 及 + <makevar>NOPORTSCVS</makevar> 都是 makefile 變數。 + 你可以在 <filename>/etc/make.conf</filename>、<filename>Makefile.inc</filename> + 中設定這些變數,作法就像是用命令列或使用 dot files 來設定環境變數一般。</para> </sect1> </chapter> ==== //depot/projects/dtrace/ports/Mk/bsd.python.mk#6 (text+ko) ==== @@ -1,7 +1,7 @@ # -*- mode: Makefile; tab-width: 4; -*- # ex: ts=4 # -# $FreeBSD: ports/Mk/bsd.python.mk,v 1.84 2006/10/09 14:27:26 perky Exp $ +# $FreeBSD: ports/Mk/bsd.python.mk,v 1.85 2006/10/13 07:16:44 perky Exp $ # .if !defined(_POSTMKINCLUDED) && !defined(Python_Pre_Include) @@ -159,8 +159,8 @@ # specific version of zope. # -_PYTHON_PORTBRANCH= 2.5 -_PYTHON_ALLBRANCHES= 2.5 2.4 2.3 2.2 2.1 # preferred first +_PYTHON_PORTBRANCH= 2.4 +_PYTHON_ALLBRANCHES= 2.4 2.5 2.3 2.2 2.1 # preferred first _ZOPE_PORTBRANCH= 2.7 _ZOPE_ALLBRANCHES= 2.7 2.8 2.9 3.2 @@ -358,8 +358,8 @@ @${ECHO} " python2.1" @${ECHO} " python2.2" @${ECHO} " python2.3" - @${ECHO} " python2.4" - @${ECHO} " python2.5 (default)" + @${ECHO} " python2.4 (default)" + @${ECHO} " python2.5" @${FALSE} .endif ==== //depot/projects/dtrace/src/bin/cp/cp.c#7 (text+ko) ==== @@ -42,7 +42,7 @@ #endif /* not lint */ #endif #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/bin/cp/cp.c,v 1.56 2006/10/07 22:14:43 trhodes Exp $"); +__FBSDID("$FreeBSD: src/bin/cp/cp.c,v 1.57 2006/10/11 10:26:34 trhodes Exp $"); /* * Cp copies source files to target files. @@ -155,12 +155,9 @@ usage(); fts_options = FTS_NOCHDIR | FTS_PHYSICAL; - if (rflag) { - if (Rflag) - errx(1, - "the -R and -r options may not be specified together."); - } - if (rflag && !Hflag && !Pflag) + if (Rflag && rflag) + errx(1, "the -R and -r options may not be specified together"); + if (rflag) Rflag = 1; if (Rflag) { if (Hflag) @@ -230,7 +227,7 @@ else lstat(*argv, &tmp_stat); - if (S_ISDIR(tmp_stat.st_mode) && (Rflag)) + if (S_ISDIR(tmp_stat.st_mode) && Rflag) type = DIR_TO_DNE; else type = FILE_TO_FILE; ==== //depot/projects/dtrace/src/bin/ls/ls.1#5 (text+ko) ==== @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)ls.1 8.7 (Berkeley) 7/29/94 -.\" $FreeBSD: src/bin/ls/ls.1,v 1.99 2006/09/17 17:40:06 ru Exp $ +.\" $FreeBSD: src/bin/ls/ls.1,v 1.100 2006/10/12 10:08:52 ru Exp $ .\" -.Dd March 24, 2006 +.Dd October 12, 2006 .Dt LS 1 .Os .Sh NAME @@ -68,7 +68,10 @@ The following options are available: .Bl -tag -width indent .It Fl A -List all entries except for +Include directory entries whose names begin with a +dot +.Pq Sq Pa \&. +except for .Pa \&. and .Pa .. . @@ -159,7 +162,7 @@ .It Fl a Include directory entries whose names begin with a dot -.Pq Pa \&. . +.Pq Sq Pa \&. . .It Fl b As .Fl B , @@ -364,6 +367,8 @@ follows: .Pp .Bl -tag -width 4n -offset indent -compact +.It Sy \- +Regular file. .It Sy b Block special file. .It Sy c @@ -372,12 +377,12 @@ Directory. .It Sy l Symbolic link. -.It Sy s -Socket link. .It Sy p .Tn FIFO . -.It Sy \- -Regular file. +.It Sy s +Socket. +.It Sy w +Whiteout. .El .Pp The next three fields ==== //depot/projects/dtrace/src/gnu/lib/libgcc/Makefile#4 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/gnu/lib/libgcc/Makefile,v 1.55 2006/03/18 21:37:03 ru Exp $ +# $FreeBSD: src/gnu/lib/libgcc/Makefile,v 1.56 2006/10/12 16:43:15 cognet Exp $ .include <bsd.own.mk> .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt" @@ -98,7 +98,7 @@ # from config/arm/t-strongarm-elf CFLAGS+= -Dinhibit_libc -fno-inline LIB1ASMSRC = lib1funcs.asm -LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func +LIB1ASMFUNCS = _dvmd_tls _bb_init_func OBJS+= dp-bit.o fp-bit.o # We want fine grained libraries, so use the new code to build the # floating point emulation libraries. ==== //depot/projects/dtrace/src/gnu/usr.bin/gdb/kgdb/kgdb.1#4 (text+ko) ==== @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/gnu/usr.bin/gdb/kgdb/kgdb.1,v 1.8 2005/07/28 15:59:52 keramida Exp $ +.\" $FreeBSD: src/gnu/usr.bin/gdb/kgdb/kgdb.1,v 1.9 2006/10/11 14:42:43 obrien Exp $ .Dd March 2, 2005 .Os .Dt KGDB 1 @@ -34,6 +34,7 @@ .Op Fl a | Fl f | Fl fullname .Op Fl q | Fl quiet .Op Fl v +.Op Fl w .Op Fl d Ar crashdir .Op Fl c Ar core | Fl n Ar dumpnr | Fl r Ar device .Op Ar kernel Op Ar core @@ -67,6 +68,13 @@ form is supported for compatibility as well. .It Fl v Increase verbosity. +.It Fl w +Opens kmem-based targets in read-write mode. +(This is identical to what +.Fl -wcore +used to do in previous +gdb versions for +.Fx . ) .It Fl d Ar crashdir Use .Ar crashdir ==== //depot/projects/dtrace/src/gnu/usr.bin/grep/grep.1#5 (text+ko) ==== @@ -1,5 +1,5 @@ .\" grep man page -.\" $FreeBSD: src/gnu/usr.bin/grep/grep.1,v 1.29 2006/10/10 01:57:25 trhodes Exp $ +.\" $FreeBSD: src/gnu/usr.bin/grep/grep.1,v 1.30 2006/10/11 09:52:32 trhodes Exp $ .if !\n(.g \{\ . if !\w|\*(lq| \{\ . ds lq `` @@ -202,6 +202,12 @@ as a list of fixed strings, separated by newlines, any of which is to be matched. .TP +.BR \-P ", " \-\^\-perl-regexp +Interpret +.I PATTERN +as a Perl regular expression. +This option is not supported in FreeBSD. +.TP .BI \-f " FILE" "\fR,\fP \-\^\-file=" FILE Obtain patterns from .IR FILE , ==== //depot/projects/dtrace/src/lib/libc/gen/basename.3#4 (text+ko) ==== @@ -25,9 +25,9 @@ .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $OpenBSD: basename.3,v 1.12 2000/04/18 03:01:25 aaron Exp $ -.\" $FreeBSD: src/lib/libc/gen/basename.3,v 1.7 2004/07/02 23:52:10 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/basename.3,v 1.8 2006/10/12 14:31:17 ru Exp $ .\" -.Dd August 17, 1997 +.Dd October 12, 2006 .Dt BASENAME 3 .Os .Sh NAME @@ -58,6 +58,13 @@ is a null pointer or the empty string, a pointer to the string .Qq \&. is returned. +.Sh IMPLEMENTATION NOTES +The +.Fn basename +function +returns a pointer to internal storage space allocated on the first call +that will be overwritten +by subsequent calls. .Sh RETURN VALUES On successful completion, .Fn basename @@ -77,12 +84,6 @@ The path component to be returned was larger than .Dv MAXPATHLEN . .El -.Sh WARNINGS -The -.Fn basename -function -returns a pointer to internal static storage space that will be overwritten -by subsequent calls. .Sh SEE ALSO .Xr basename 1 , .Xr dirname 1 , ==== //depot/projects/dtrace/src/lib/libc/gen/dirname.3#4 (text+ko) ==== @@ -25,9 +25,9 @@ .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" $OpenBSD: dirname.3,v 1.9 2000/04/18 03:01:25 aaron Exp $ -.\" $FreeBSD: src/lib/libc/gen/dirname.3,v 1.8 2004/07/02 23:52:10 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/dirname.3,v 1.9 2006/10/12 14:31:17 ru Exp $ .\" -.Dd August 17, 1997 +.Dd October 12, 2006 .Dt DIRNAME 3 .Os .Sh NAME @@ -58,6 +58,20 @@ returns a pointer to the string .Qq \&. , signifying the current directory. +.Sh IMPLEMENTATION NOTES +The +.Fn dirname +function +returns a pointer to internal storage space allocated on the first call +that will be overwritten +by subsequent calls. +.Pp +Other vendor implementations of +.Fn dirname +may modify the contents of the string passed to +.Fn dirname ; +this should be taken into account when writing code which calls this function +if portability is desired. .Sh RETURN VALUES On successful completion, .Fn dirname @@ -77,19 +91,6 @@ The path component to be returned was larger than .Dv MAXPATHLEN . .El -.Sh WARNINGS -The -.Fn dirname -function -returns a pointer to internal static storage space that will be overwritten -by subsequent calls (each function has its own separate storage). -.Pp -Other vendor implementations of -.Fn dirname -may modify the contents of the string passed to -.Fn dirname ; -this should be taken into account when writing code which calls this function -if portability is desired. .Sh SEE ALSO .Xr basename 1 , .Xr dirname 1 , ==== //depot/projects/dtrace/src/lib/libc/gen/msgsnd.3#4 (text+ko) ==== @@ -29,9 +29,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/gen/msgsnd.3,v 1.20 2005/01/20 09:17:02 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/msgsnd.3,v 1.21 2006/10/12 11:42:41 ru Exp $ .\" -.Dd November 24, 1997 +.Dd October 12, 2006 .Dt MSGSND 3 .Os .Sh NAME @@ -65,8 +65,13 @@ is an integer greater than 0 that can be used for selecting messages (see .Xr msgrcv 3 ) , .Va mtext -is an array of bytes, with a size up to that of the system limit -.Pf ( Dv MSGMAX ) . +is an array of +.Fa msgsz +bytes. +The argument +.Fa msgsz +can range from 0 to a system-imposed maximum, +.Dv MSGMAX . .Pp If the number of bytes already on the message queue plus .Fa msgsz @@ -144,7 +149,7 @@ The .Fa msgsz argument -is less than 0, or greater than +is greater than .Va msg_qbytes . .Pp The ==== //depot/projects/dtrace/src/lib/libc/sparc64/fpu/fpu_emu.h#4 (text+ko) ==== @@ -41,7 +41,7 @@ * * @(#)fpu_emu.h 8.1 (Berkeley) 6/11/93 * $NetBSD: fpu_emu.h,v 1.4 2000/08/03 18:32:07 eeh Exp $ - * $FreeBSD: src/lib/libc/sparc64/fpu/fpu_emu.h,v 1.4 2002/03/22 23:41:59 obrien Exp $ + * $FreeBSD: src/lib/libc/sparc64/fpu/fpu_emu.h,v 1.5 2006/10/12 04:38:41 kmacy Exp $ */ /* @@ -157,6 +157,7 @@ struct fpemu { u_long fe_fsr; /* fsr copy (modified during op) */ int fe_cx; /* exceptions */ + int pad; /* align access to following fields */ struct fpn fe_f1; /* operand 1 */ struct fpn fe_f2; /* operand 2, if required */ struct fpn fe_f3; /* available storage for result */ ==== //depot/projects/dtrace/src/lib/libc/stdlib/getenv.3#4 (text+ko) ==== @@ -34,9 +34,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)getenv.3 8.2 (Berkeley) 12/11/93 -.\" $FreeBSD: src/lib/libc/stdlib/getenv.3,v 1.18 2006/10/07 21:27:21 trhodes Exp $ +.\" $FreeBSD: src/lib/libc/stdlib/getenv.3,v 1.19 2006/10/12 08:39:24 trhodes Exp $ .\" -.Dd December 11, 1993 +.Dd October 12, 2006 .Dt GETENV 3 .Os .Sh NAME @@ -75,6 +75,10 @@ .Fn getenv function obtains the current value of the environment variable, .Fa name . +The application should not modify the string pointed +to by the +.Fn getenv +function. .Pp The .Fn setenv ==== //depot/projects/dtrace/src/lib/libc/string/ffs.3#4 (text+ko) ==== @@ -32,9 +32,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)ffs.3 8.2 (Berkeley) 4/19/94 -.\" $FreeBSD: src/lib/libc/string/ffs.3,v 1.9 2004/06/30 20:09:09 ru Exp $ +.\" $FreeBSD: src/lib/libc/string/ffs.3,v 1.10 2006/10/12 15:08:41 ru Exp $ .\" -.Dd January 13, 2004 +.Dd October 12, 2006 .Dt FFS 3 .Os .Sh NAME @@ -60,7 +60,9 @@ .Fn ffs and .Fn ffsl -functions find the first bit set in +functions find the first bit set +(beginning with the least significant bit) +in .Fa value and return the index of that bit. .Pp @@ -72,8 +74,7 @@ .Fa value and return the index of that bit. .Pp -Bits are numbered starting from 1, starting at the right-most -(least significant) bit. +Bits are numbered starting at 1 (the least significant bit). A return value of zero from any of these functions means that the argument was zero. .Sh SEE ALSO ==== //depot/projects/dtrace/src/lib/libc/sys/Makefile.inc#4 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile.inc 8.3 (Berkeley) 10/24/94 -# $FreeBSD: src/lib/libc/sys/Makefile.inc,v 1.121 2006/03/13 01:15:00 deischen Exp $ +# $FreeBSD: src/lib/libc/sys/Makefile.inc,v 1.122 2006/10/12 13:46:33 ru Exp $ # sys sources >>> TRUNCATED FOR MAIL (1000 lines) <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610132219.k9DMJtCW062017>