OSDN Git Service

nginx 1.21.3: Modify sources to preview again.
authormatsuand <30614168+matsuand@users.noreply.github.com>
Thu, 30 Sep 2021 03:45:51 +0000 (12:45 +0900)
committermatsuand <30614168+matsuand@users.noreply.github.com>
Thu, 30 Sep 2021 03:45:51 +0000 (12:45 +0900)
manual/nginx/Makefile
manual/nginx/draft/man8/nginx.8
manual/nginx/original/getfiles.txt
manual/nginx/original/man8/nginx.8
manual/nginx/po4a/add_ja/copyright/nginx.8.txt
manual/nginx/po4a/ja.po
manual/nginx/po4a/nginx.cfg
manual/nginx/po4a/nginx.pot
manual/nginx/translation_list

index 4b9f94d..71de6e0 100644 (file)
@@ -1,29 +1,21 @@
-PACKAGE = nginx
+PACKAGE_NAME = nginx
 
 THRESH = 100
 EXTFLAGS =
-PO4AFLAGS += -M UTF-8 -k $(THRESH) $(EXTFLAGS)
-PO4ACFG = po4a/$(PACKAGE).cfg
-LANGS = ja
+PO4AFLAGS += -k $(THRESH) $(EXTFLAGS)
+PO4ACFG = po4a/$(PACKAGE_NAME).cfg
+POFILE  = po4a/ja.po
 
-WORK_DIR = .
-
-all:   translate
+all: translate
 
 translate:
-       po4a $(PO4AFLAGS) -v $(PO4ACFG)
+       po4a $(PO4AFLAGS) $(PO4ACFG)
 
 stat:
-       @for l in $(LANGS); do \
-         echo -n "$$l: "; \
-         msgfmt --statistics -o /dev/null po4a/$$l.po; \
-       done
+       @msgfmt -v --statistics -o /dev/null $(POFILE)
 
 page-stat:
-       @LC_ALL=C po4a $(PO4AFLAGS) --force -v -k 0 --variable langs='$(LANGS)' \
-         --previous --srcdir $(WORK_DIR) --destdir $(WORK_DIR) $(PO4ACFG) | \
-         grep translated | \
-         sed -e 's/(\([1-9][0-9]*\) strings)/(\1 of \1 strings)/' \
-             -e 's/[()]//g' \
-             -e 's/^draft\/man[1-9]\///' | \
-         awk '{printf("%-15s: %7s (%3s/%3s)\n",$$1,$$3,$$5,$$7);}'
+       @echo $(POFILE):
+       @po4a --force --no-update -k 0 $(PO4ACFG)
+
+.PHONY: translate stat page-stat
index 125d92d..210960f 100644 (file)
@@ -190,7 +190,7 @@ TCP/UDP プロキシーサーバーです。 高性能、安定性、豊富な
 .Pp
 .Bl -tag -width ".Dv SIGINT , SIGTERM" -compact
 .It Dv SIGINT , SIGTERM
-すぐに終了します。
+すぐにシャットダウンします。
 .It Dv SIGHUP
 設定を再ロードして、 新たな設定を用いた新たなワーカープロセスを起動します。 そして古いワーカープロセスは、 適切にシャットダウンします。
 .It Dv SIGQUIT
@@ -222,7 +222,7 @@ TCP/UDP プロキシーサーバーです。 高性能、安定性、豊富な
 .Pp
 .Bl -tag -width ".Dv SIGINT , SIGTERM" -compact
 .It Dv SIGTERM
-すぐに終了します。
+すぐにシャットダウンします。
 .It Dv SIGQUIT
 適切にシャットダウンします。
 .It Dv SIGUSR1
@@ -234,9 +234,9 @@ TCP/UDP プロキシーサーバーです。 高性能、安定性、豊富な
 .\"O .Nm
 .\"O to build with debugging:
 .Sh デバッグログ
\83\87ã\83\90ã\83\83ã\82°ã\83­ã\82°ã\82\92æ\9c\89å\8a¹ã\81«ã\81\99ã\82\8bã\81\9fã\82\81ã\81«ã\80\81 ã\83\87ã\83\90ã\83\83ã\82°æ©\9fè\83½ã\82\92å\90«ã\82\81ã\81\9f
\83\87ã\83\90ã\83\83ã\82°ã\83­ã\82°ã\82\92æ\9c\89å\8a¹ã\81«ã\81\99ã\82\8bã\81«ã\81¯ã\80\81 ã\83\87ã\83\90ã\83\83ã\82°æ©\9fè\83½ã\81\8cå\90«ã\81¾ã\82\8cã\82\8bã\82\88ã\81\86ã\81«
 .Nm
\81®ã\83\93ã\83«ã\83\89ã\81®è¨­å®\9aã\82\92è¡\8cã\81\84ます。
\83\93ã\83«ã\83\89ã\82\92å\86\8dæ§\8bæ\88\90ã\81\97ます。
 .\"O ----------------------------------------
 .\"O .Pp
 .\"O .Dl "./configure --with-debug ..."
@@ -250,9 +250,9 @@ TCP/UDP プロキシーサーバーです。 高性能、安定性、豊富な
 .\"O .Va error_log :
 .Pp
 そして
-.Cm debug
-レベルを
 .Va error_log
+のログレベルを
+.Cm debug
 に設定します。
 .\"O ----------------------------------------
 .\"O .Pp
@@ -290,7 +290,7 @@ events {
 .\"O ----------------------------------------
 .\"O .Sh FILES
 .\"O .Bl -tag -width indent
-.\"O .It Pa /usr/logs/nginx.pid
+.\"O .It Pa /var/run/nginx.pid
 .\"O Contains the process ID of
 .\"O .Nm .
 .\"O The contents of this file are not sensitive, so it can be world-readable.
@@ -301,7 +301,7 @@ events {
 .\"O .El
 .Sh ファイル
 .Bl -tag -width indent
-.It Pa /usr/logs/nginx.pid
+.It Pa /var/run/nginx.pid
 .Nm
 のプロセス ID を保持します。 このファイルの内容は機密情報ではないため、 だれでも見ることができます (world-readable
 です)。
@@ -362,7 +362,7 @@ nginx -t -c ~/mynginx.conf \e
 .\"O .An Igor Sysoev Aq Mt igor@sysoev.ru .
 .Sh 著者
 .An -nosplit
-.An Igor Sysoev Aq Mt igor@sysoev.ru .
+.An Igor Sysoev Aq Mt igor@sysoev.ru
 .\"O ----------------------------------------
 .\"O .Pp
 .\"O This manual page was originally written by
index 3f51f50..9732f9b 100644 (file)
@@ -2,19 +2,20 @@
 # ソース入手と tarball 伸長
 #------------------------------
 $ cd ~/src
-$ wget -N http://nginx.org/download/nginx-1.21.1.tar.gz
-$ tar xf nginx-1.21.1.tar.gz
+$ wget -N http://nginx.org/download/nginx-1.21.3.tar.gz
+$ tar xf nginx-1.21.3.tar.gz
 $ ls
 nginx-1.21.1
 
 #------------------------------
 # man ページ生成
 #------------------------------
-$ cd nginx-1.21.1
+$ cd nginx-1.21.3
 $ ./configure --prefix=/usr \
         --conf-path=/etc/nginx/nginx.conf \
         --error-log-path=/var/log/error.log \
-        --http-log-path=/var/log/access.log
+        --http-log-path=/var/log/access.log \
+        --pid-path=/var/run/nginx.pid
 $ make -f objs/Makefile objs/nginx.8
 
 #------------------------------
@@ -25,7 +26,7 @@ $ cd $(JMTOP)/manual/nginx/original
 $ cat > getfiles.sh <<"EOF"
 #!/bin/sh
 
-SRCDIR=~/src/nginx-1.21.1
+SRCDIR=~/src/nginx-1.21.3
 
 rm -rf man8
 mkdir  man8
index 9d74225..563b1a1 100644 (file)
@@ -172,7 +172,7 @@ environment variable is used internally by
 and should not be set directly by the user.
 .Sh FILES
 .Bl -tag -width indent
-.It Pa /usr/logs/nginx.pid
+.It Pa /var/run/nginx.pid
 Contains the process ID of
 .Nm .
 The contents of this file are not sensitive, so it can be world-readable.
index 1c1e1cb..f5203de 100644 (file)
@@ -1,5 +1,5 @@
 PO4A-HEADER: mode=before; position=^\.Dd
 .\"
-.\" Translated 2021-08-11 for 1.21.1
+.\" Translated 2021-09-30 for 1.21.3
 .\"    by Michio MATSUYAMA <michio_matsuyama@yahoo.co.jp>
 .\"
index bf9f458..0f6e729 100644 (file)
@@ -5,9 +5,9 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: nginx 1.21.1\n"
-"POT-Creation-Date: 2021-08-11 12:23+0900\n"
-"PO-Revision-Date: 2021-08-11 12:24+0900\n"
+"Project-Id-Version: nginx 1.21.3\n"
+"POT-Creation-Date: 2021-09-30 12:20+0900\n"
+"PO-Revision-Date: 2021-09-30 12:24+0900\n"
 "Last-Translator: michio_matsuyama@yahoo.co.jp\n"
 "Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n"
 "Language: ja\n"
@@ -169,9 +169,9 @@ msgid ""
 "of: E<.Cm stop , quit , reopen , reload>.  The following table shows the "
 "corresponding system signals:"
 msgstr ""
-"マスタープロセスにシグナルを送信します。 "
-"引数 E<.Ar signal> には、 E<.Cm stop , quit , reopen , reload> のいずれかを指定します。 "
-"以下に示す一覧は、 これに対応するシステムシグナルです。 "
+"マスタープロセスにシグナルを送信します。 引数 E<.Ar signal> には、 E<.Cm "
+"stop , quit , reopen , reload> のいずれかを指定します。 以下に示す一覧は、 こ"
+"れに対応するシステムシグナルです。 "
 
 #. type: It
 #: original/man8/nginx.8:84
@@ -229,8 +229,8 @@ msgid ""
 "Same as E<.Fl t>, but additionally dump configuration files to standard "
 "output."
 msgstr ""
-"E<.Fl t> と同様です。 "
-"ã\81\9fã\81 ã\81\97ã\81\93ã\82\8cã\81«å\8a ã\81\88ã\81¦ã\80\81 è¨­å®\9aã\83\95ã\82¡ã\82¤ã\83«å\86\85容ã\82\92æ¨\99æº\96å\87ºå\8a\9bã\81«æ\9b¸ã\81\8då\87ºã\81\97ã\81¾ã\81\99ã\80\82 "
+"E<.Fl t> と同様です。 ただしこれに加えて、 設定ファイル内容を標準出力に書き出"
+"します。 "
 
 #. type: It
 #: original/man8/nginx.8:97
@@ -245,9 +245,9 @@ msgid ""
 "configuration file syntax and then tries to open files referenced in the "
 "configuration file."
 msgstr ""
-"実行は行わずに、 設定ファイルのテストだけを行います。 "
-"E<.Nm> は、 設定ファイルの文法チェックを行い、 "
-"設å®\9aã\83\95ã\82¡ã\82¤ã\83«å\86\85ã\81\8bã\82\89å\8f\82ç\85§ã\81\95ã\82\8cã\81¦ã\81\84ã\82\8bã\83\95ã\82¡ã\82¤ã\83«ã\81®èª­ã\81¿è¾¼ã\81¿ã\82\92試ã\81\97ã\81¾ã\81\99ã\80\82 "
+"実行は行わずに、 設定ファイルのテストだけを行います。 E<.Nm> は、 設定ファイ"
+"ルの文法チェックを行い、 設定ファイル内から参照されているファイルの読み込みを"
+"試します。 "
 
 #. type: It
 #: original/man8/nginx.8:102
@@ -261,8 +261,8 @@ msgid ""
 "Print the E<.Nm> version, compiler version, and E<.Pa configure> script "
 "parameters."
 msgstr ""
-"E<.Nm> のバージョン、 コンパイラーバージョン、 E<.Pa configure> スクリプトのパラメーターを"
-"表示します。 "
+"E<.Nm> のバージョン、 コンパイラーバージョン、 E<.Pa configure> スクリプトの"
+"パラメーターを表示します。 "
 
 #. type: It
 #: original/man8/nginx.8:108
@@ -295,7 +295,7 @@ msgstr "Dv SIGINT , SIGTERM"
 #. type: Plain text
 #: original/man8/nginx.8:121 original/man8/nginx.8:142
 msgid "Shut down quickly."
-msgstr "すぐに終了します。"
+msgstr "すぐにシャットダウンします。"
 
 #. type: It
 #: original/man8/nginx.8:121
@@ -381,8 +381,8 @@ msgstr "デバッグログ"
 #: original/man8/nginx.8:151
 msgid "To enable a debugging log, reconfigure E<.Nm> to build with debugging:"
 msgstr ""
-"ã\83\87ã\83\90ã\83\83ã\82°ã\83­ã\82°ã\82\92æ\9c\89å\8a¹ã\81«ã\81\99ã\82\8bã\81\9fã\82\81ã\81«ã\80\81 ã\83\87ã\83\90ã\83\83ã\82°æ©\9fè\83½ã\82\92å\90«ã\82\81ã\81\9f E<.Nm> ã\81®ã\83\93ã\83«ã\83\89ã\81®è¨­å®\9aã\82\92"
-"行います。 "
+"ã\83\87ã\83\90ã\83\83ã\82°ã\83­ã\82°ã\82\92æ\9c\89å\8a¹ã\81«ã\81\99ã\82\8bã\81«ã\81¯ã\80\81 ã\83\87ã\83\90ã\83\83ã\82°æ©\9fè\83½ã\81\8cå\90«ã\81¾ã\82\8cã\82\8bã\82\88ã\81\86ã\81« E<.Nm> ã\83\93ã\83«ã\83\89"
+"を再構成します。 "
 
 #. type: Dl
 #: original/man8/nginx.8:152
@@ -393,7 +393,7 @@ msgstr "./configure --with-debug ..."
 #. type: Plain text
 #: original/man8/nginx.8:158
 msgid "and then set the E<.Cm debug> level of the E<.Va error_log>:"
-msgstr "そして E<.Cm debug> レベルを E<.Va error_log> に設定します。 "
+msgstr "そして E<.Va error_log> のログレベルを E<.Cm debug> に設定します。 "
 
 #. type: Dl
 #: original/man8/nginx.8:159
@@ -443,8 +443,8 @@ msgstr "ファイル"
 #. type: It
 #: original/man8/nginx.8:175
 #, no-wrap
-msgid "Pa /usr/logs/nginx.pid"
-msgstr "Pa /usr/logs/nginx.pid"
+msgid "Pa /var/run/nginx.pid"
+msgstr "Pa /var/run/nginx.pid"
 
 #. type: Plain text
 #: original/man8/nginx.8:179
@@ -452,9 +452,8 @@ msgid ""
 "Contains the process ID of E<.Nm>.  The contents of this file are not "
 "sensitive, so it can be world-readable."
 msgstr ""
-"E<.Nm> のプロセス ID を保持します。 "
-"このファイルの内容は機密情報ではないため、 "
-"だれでも見ることができます (world-readable です)。 "
+"E<.Nm> のプロセス ID を保持します。 このファイルの内容は機密情報ではないた"
+"め、 だれでも見ることができます (world-readable です)。 "
 
 #. type: It
 #: original/man8/nginx.8:179
@@ -501,9 +500,8 @@ msgid ""
 "Test configuration file E<.Pa ~/mynginx.conf> with global directives for PID "
 "and quantity of worker processes:"
 msgstr ""
-"テストの設定ファイルとして E<.Pa ~/mynginx.conf> を指定します。 "
-"そして PID に対するグローバルディレクティブを用いて、 "
-"ワーカープロセス量を設定します。 "
+"テストの設定ファイルとして E<.Pa ~/mynginx.conf> を指定します。 そして PID に"
+"対するグローバルディレクティブを用いて、 ワーカープロセス量を設定します。 "
 
 #. type: Plain text
 #: original/man8/nginx.8:193
index 6e72c25..fce7047 100644 (file)
@@ -1,5 +1,6 @@
 [po4a_langs] ja
 [po4a_paths] po4a/nginx.pot $lang:po4a/$lang.po
+[po4a_alias: man] man opt:"-v --previous" opt_ja:"-M UTF-8"
 
 [type: man] original/man8/nginx.8 $lang:release/man8/nginx.8 \
        add_$lang:?po4a/add_$lang/copyright/nginx.8.txt
index 9bb48fb..9018fe8 100644 (file)
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2021-08-11 12:23+0900\n"
+"POT-Creation-Date: 2021-09-30 12:20+0900\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -411,7 +411,7 @@ msgstr ""
 #. type: It
 #: original/man8/nginx.8:175
 #, no-wrap
-msgid "Pa /usr/logs/nginx.pid"
+msgid "Pa /var/run/nginx.pid"
 msgstr ""
 
 #. type: Plain text
index f28df59..531d946 100644 (file)
@@ -1 +1 @@
-△:nginx:1.21.1:2021/07/06:nginx:8:2021/08/11::michio_matsuyama@yahoo.co.jp:Michio MATSUYAMA:
+△:nginx:1.21.3:2021/09/07:nginx:8:2021/09/30::michio_matsuyama@yahoo.co.jp:Michio MATSUYAMA: