FreeBSD Bugzilla – Attachment 67790 Details for
Bug 99835
[patch] works on zh_TW's porter's handbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 6.00 KB, created by
Cheng-Lung Sung
on 2006-07-06 10:30:16 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Cheng-Lung Sung
Created:
2006-07-06 10:30:16 UTC
Size:
6.00 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /home/dcvs/doc/zh_TW.Big5/books/porters-handbook/book.sgml,v >retrieving revision 1.6 >diff -u -r1.6 book.sgml >--- book.sgml 6 Jul 2006 07:56:11 -0000 1.6 >+++ book.sgml 6 Jul 2006 09:25:50 -0000 >@@ -5307,29 +5307,137 @@ > <tbody> > > <row> >- <entry>USE_APACHE</entry> >+ <entry><makevar>USE_APACHE</makevar></entry> > >- <entry>The port requires Apache.</entry> >+ <entry>The port requires Apache. Possible values: >+ <literal>yes</literal> (gets any version), >+ <literal>1.3</literal>, <literal>2.0</literal>, >+ <literal>2.2</literal>, <literal>2.0+</literal>, >+ etc. Default dependency is on version >+ <literal>1.3</literal>.</entry> > </row> > > <row> >- <entry>WITH_APACHE2</entry> >+ <entry><makevar>WITH_APACHE2</makevar></entry> > > <entry>The port requires Apache 2.0. Without this variable, >- the port will depend on Apache 1.3.</entry> >+ the port will depend on Apache 1.3. This variable is >+ deprecated and should not be used anymore.</entry> > </row> > > <row> >- <entry>APXS</entry> >+ <entry><makevar>APXS</makevar></entry> > >- <entry>Full path to the <command>apxs</command> binary >- (read-only variable).</entry> >+ <entry>Full path to the <command>apxs</command> binary. >+ Can be overriden in your port.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>HTTPD</makevar></entry> >+ >+ <entry>Full path to the <command>httpd</command> binary. >+ Can be overriden in your port.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>APACHE_VERSION</makevar></entry> >+ >+ <entry>The version of present Apache installation (read-only >+ variable). This variable is only available after inclusion >+ of <filename>bsd.port.pre.mk</filename>. Possible values: >+ <literal>13</literal>, <literal>20</literal>, >+ <literal>22</literal>.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>APACHEMODDIR</makevar></entry> >+ >+ <entry>Directory for Apache modules. This variable is >+ automatically expanded in pkg-plist.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>APACHEINCLUDEDIR</makevar></entry> >+ >+ <entry>Directory for Apache headers. This variable is >+ automatically expanded in pkg-plist.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>APACHEETCDIR</makevar></entry> >+ >+ <entry>Directory for Apache configuration files. This >+ variable is automatically expanded in pkg-plist.</entry> > </row> > > </tbody> > </tgroup> > </table> > >+ <table frame="none"> >+ <title>port Apache æ¨¡çµæå¥½ç¨çè®æ¸</title> >+ >+ <tgroup cols="2"> >+ <tbody> >+ >+ <row> >+ <entry><makevar>MODULENAME</makevar></entry> >+ >+ <entry>模çµå稱ã é è¨å¼çº >+ <makevar>PORTNAME</makevar>. ç¯ä¾ï¼ >+ <literal>mod_hello</literal></entry> >+ </row> >+ >+ <row> >+ <entry><makevar>SHORTMODNAME</makevar></entry> >+ >+ <entry>ç°¡åçæ¨¡çµå稱ã èªåå°ç±è®æ¸ >+ <makevar>MODULENAME</makevar> ç¢çï¼ä¸éå¯ä»¥è¦èå®ã >+ ç¯ä¾ï¼ <literal>hello</literal></entry> >+ </row> >+ >+ <row> >+ <entry><makevar>AP_FAST_BUILD</makevar></entry> >+ >+ <entry>ä½¿ç¨ <command>apxs</command> >+ ä¾ç·¨è¯åå®è£é忍¡çµã</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>AP_GENPLIST</makevar></entry> >+ >+ <entry>忍£å°ï¼ä¹æ¯èªåç¢ç >+ <filename>pkg-plist</filename>ã</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>AP_INC</makevar></entry> >+ >+ <entry>å¨ç·¨è¯æéå å ¥ä¸åç®éå°æ¨é æªæå°è·¯å¾ã</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>AP_LIB</makevar></entry> >+ >+ <entry>å¨ç·¨è¯æéå å ¥ä¸åç®éå°å½å¼åº«æå°è·¯å¾ã</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>AP_EXTRAS</makevar></entry> >+ >+ <entry>å³çµ¦ >+ <command>apxs</command> é¡å¤ç flagsã</entry> >+ </row> >+ >+ </tbody> >+ </tgroup> >+ </table> >+ >+ <para>Web æç¨ç¨å¼æè©²å®è£å° >+ <makevar>PREFIX</makevar><filename>/www/<replaceable>appname</replaceable></filename> >+ ï¼åæä¸æè©²åè¨ Apache å·²åå¨äºï¼é¤éä»åææç¢ºå°éè¦ï¼depend onï¼ >+ Apahceã使ç¨è ä¹è¨±å¸æå¨å ¶ä»é Apache ç Web 伺æå¨ä¸å·è¡ã</para> >+ > </sect2> > > <sect2 id="php-variables"> >@@ -5414,13 +5522,6 @@ > > <entry>Want the Apache module or the CGI version of PHP.</entry> > </row> >- >- <row> >- <entry><makevar>WANT_PHP_PEAR</makevar></entry> >- >- <entry>Want the PEAR framework.</entry> >- </row> >- > </tbody> > </tgroup> > </table> >@@ -5441,7 +5542,7 @@ > <filename>pkg-plist</filename>.</para> > > <para>Include >- <filename>${PORTSDIR}/devel/pear-PEAR/Makefile.common</filename> >+ <filename>${PORTSDIR}/devel/pear/bsd.pear.mk</filename> > on the last line of the <filename>Makefile</filename>.</para> > > <example id="pear-makefile"> >@@ -5468,7 +5569,7 @@ > _DOCSDIR= . > > .include <bsd.port.pre.mk> >-.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" >+.include "${PORTSDIR}/devel/pear/bsd.pear.mk" > .include <bsd.port.post.mk></programlisting> > > </example> >@@ -9155,6 +9229,22 @@ > for their files.</para> > </sect1> > >+ <sect1 id="dads-sh-exec"> >+ <title>å¨ wrapper scripts ä¸ä½¿ç¨ <function>exec</function> è¿°å¥</title> >+ >+ <para>è¥æ port çºäºå·è¡å ¶ä»ç¨å¼èå®è£äºä¸å shell scriptï¼ >+ è該ç¨å¼åæä¹æ¯è©² script æå¾ä¸ååä½ï¼é£éº¼éè¦ç¢ºå®è©² script >+ æ¯ç¨ <function>exec</function> è¿°å¥ï¼statementï¼ï¼èä¾èè¨ï¼</para> >+ >+ <programlisting>#!/bin/sh >+exec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/foo.jar "$@"</programlisting> >+ >+ <para><function>exec</function> è¿°å¥ä»¥ææå®çç¨å¼å代äºè©² shell >+ çç¨åºã è¥çç¥ <function>exec</function> ï¼é£éº¼è©² shell ç¨åº >+ å°æå¨ç¨å¼å·è¡ä¸ä¸ç´å卿¼è¨æ¶é«ï¼éç¡çå°æµªè²»äºç³»çµ±è³æºã</para> >+ >+ </sect1> >+ > <sect1 id="dads-uid-and-gids"> > <title>UIDs and GIDs</title>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 99835
: 67790