From: matsuand <30614168+matsuand@users.noreply.github.com> Date: Thu, 30 Sep 2021 03:45:51 +0000 (+0900) Subject: nginx 1.21.3: Modify sources to preview again. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=827001fe504976638e80dfee739ea00519d8edd2;p=linuxjm%2Fjm.git nginx 1.21.3: Modify sources to preview again. --- diff --git a/manual/nginx/Makefile b/manual/nginx/Makefile index 4b9f94d6..71de6e08 100644 --- a/manual/nginx/Makefile +++ b/manual/nginx/Makefile @@ -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 diff --git a/manual/nginx/draft/man8/nginx.8 b/manual/nginx/draft/man8/nginx.8 index 125d92df..210960f3 100644 --- a/manual/nginx/draft/man8/nginx.8 +++ b/manual/nginx/draft/man8/nginx.8 @@ -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 デバッグログ -デバッグログを有効にするために、 デバッグ機能を含めた +デバッグログを有効にするには、 デバッグ機能が含まれるように .Nm -のビルドの設定を行います。 +ビルドを再構成します。 .\"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 diff --git a/manual/nginx/original/getfiles.txt b/manual/nginx/original/getfiles.txt index 3f51f50c..9732f9bd 100644 --- a/manual/nginx/original/getfiles.txt +++ b/manual/nginx/original/getfiles.txt @@ -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 diff --git a/manual/nginx/original/man8/nginx.8 b/manual/nginx/original/man8/nginx.8 index 9d742259..563b1a10 100644 --- a/manual/nginx/original/man8/nginx.8 +++ b/manual/nginx/original/man8/nginx.8 @@ -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. diff --git a/manual/nginx/po4a/add_ja/copyright/nginx.8.txt b/manual/nginx/po4a/add_ja/copyright/nginx.8.txt index 1c1e1cb5..f5203de9 100644 --- a/manual/nginx/po4a/add_ja/copyright/nginx.8.txt +++ b/manual/nginx/po4a/add_ja/copyright/nginx.8.txt @@ -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 .\" diff --git a/manual/nginx/po4a/ja.po b/manual/nginx/po4a/ja.po index bf9f4584..0f6e729c 100644 --- a/manual/nginx/po4a/ja.po +++ b/manual/nginx/po4a/ja.po @@ -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 \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> と同様です。 " -"ただしこれに加えて、 設定ファイル内容を標準出力に書き出します。 " +"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> は、 設定ファイルの文法チェックを行い、 " -"設定ファイル内から参照されているファイルの読み込みを試します。 " +"実行は行わずに、 設定ファイルのテストだけを行います。 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 "" -"デバッグログを有効にするために、 デバッグ機能を含めた E<.Nm> のビルドの設定を" -"行います。 " +"デバッグログを有効にするには、 デバッグ機能が含まれるように E<.Nm> ビルド" +"を再構成します。 " #. 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 diff --git a/manual/nginx/po4a/nginx.cfg b/manual/nginx/po4a/nginx.cfg index 6e72c259..fce7047c 100644 --- a/manual/nginx/po4a/nginx.cfg +++ b/manual/nginx/po4a/nginx.cfg @@ -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 diff --git a/manual/nginx/po4a/nginx.pot b/manual/nginx/po4a/nginx.pot index 9bb48fb6..9018fe83 100644 --- a/manual/nginx/po4a/nginx.pot +++ b/manual/nginx/po4a/nginx.pot @@ -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 \n" "Language-Team: LANGUAGE \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 diff --git a/manual/nginx/translation_list b/manual/nginx/translation_list index f28df59a..531d9460 100644 --- a/manual/nginx/translation_list +++ b/manual/nginx/translation_list @@ -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: