]> asedeno.scripts.mit.edu Git - 1ts-debian.git/commitdiff
3.0.2-19 origin/tags/hesiod_pre_3.1@497
authorkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Thu, 12 Mar 2009 05:11:07 +0000 (05:11 +0000)
committerkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Thu, 12 Mar 2009 05:11:07 +0000 (05:11 +0000)
git-svn-id: svn://svn.1ts.org/debian/trunk/hesiod@418 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f

debian/changelog
debian/libhesiod0.config
debian/libhesiod0.postinst
debian/po/ja.po [new file with mode: 0644]

index 4587b26a5c6638e50a75526bfb24864689200ba9..20bae1eadf88101f4c362d069e5aa60f75237560 100644 (file)
@@ -1,3 +1,14 @@
+hesiod (3.0.2-19) unstable; urgency=low
+
+  * Acknowledge NMUs.
+  * Only fiddle with hesiod.conf at the configuration stage.  Closes: #435876
+  * Set the debconf priority for rhs to low; Closes: #321530
+    Automatically deal with perhaps the one case ever where the obvious
+    default is wrong.
+  * JA debconf translation, thanks to Hideki Yamane.  Closes: #512866
+
+ -- Karl Ramm <kcr@debian.org>  Thu, 12 Mar 2009 01:08:20 -0400
+
 hesiod (3.0.2-18.3) unstable; urgency=low
 
   * Non-maintainer upload.
index 2f02f7c081687976c74f8391bc7531e766325e21..a736154c75fe67309bb79affba694b016fda8c9b 100644 (file)
@@ -17,10 +17,13 @@ elif [ -f /etc/resolv.conf ]; then
        rhs=`sed -n -e's/^[[:space:]]*search[[:space:]]\+\([^[:space:]]\+\)\([[:space:]]\+.*$\)*/\1/p' \
                < /etc/resolv.conf | head -n 1`
        if [ "$rhs" ]; then
+               if test "$rhs" = "mit.edu"; then
+                       rhs=athena.mit.edu
+               fi
                db_set hesiod/rhs ".$rhs"
        fi
 fi
-db_input medium hesiod/rhs || true
+db_input low hesiod/rhs || true
 db_input low hesiod/lhs || true
 db_input low hesiod/classes || true
 db_go || true
index 03dc6654b17749f87e415cd703631c1e67ef6071..eda61eeb4ebc6fd92656d753e1725dc235303084 100644 (file)
@@ -13,27 +13,28 @@ classes="$RET"
 
 hesconf=/etc/hesiod.conf
 
+if test "$1" = configure -a -z "$2"; then
 # If we don't have a hesiod.conf file yet, go ahead and populate it.
-if [ ! -f $hesconf ]; then
-  echo "# This file determines the behavior of the Hesiod library." > $hesconf
-  echo >> $hesconf
-  echo "# This line should pretty much always be the same, unless you have a" >> $hesconf
-  echo "# funny environment." >> $hesconf
-  echo "lhs=$lhs" >> $hesconf
-  echo >> $hesconf
-  echo "# This determines the Hesiod domain.  You must specify an rhs line." >> $hesconf
-  echo "rhs=$rhs" >> $hesconf
-  echo >> $hesconf
-  echo "# This line specifies the class search order.  You can reverse the" >> $hesconf
-  echo "# order or leave out IN or HS if you want.  Don't add spaces after the" >> $hesconf
-  echo "# beginning of the value." >> $hesconf
-  echo "classes=$classes" >> $hesconf
-else
-  sed -e "s/^lhs=.*/lhs=$lhs/" \
-      -e "s/^rhs=.*/rhs=$rhs/" \
-      -e "s/^classes=.*/classes=$classes/" \
-      < $hesconf > $hesconf.new
-  mv -f $hesconf.new $hesconf
+  if [ ! -f $hesconf ]; then
+    echo "# This file determines the behavior of the Hesiod library." > $hesconf
+    echo >> $hesconf
+    echo "# This line should pretty much always be the same, unless you have a" >> $hesconf
+    echo "# funny environment." >> $hesconf
+    echo "lhs=$lhs" >> $hesconf
+    echo >> $hesconf
+    echo "# This determines the Hesiod domain.  You must specify an rhs line." >> $hesconf
+    echo "rhs=$rhs" >> $hesconf
+    echo >> $hesconf
+    echo "# This line specifies the class search order.  You can reverse the" >> $hesconf
+    echo "# order or leave out IN or HS if you want.  Don't add spaces after the" >> $hesconf
+    echo "# beginning of the value." >> $hesconf
+    echo "classes=$classes" >> $hesconf
+  else
+    sed -e "s/^lhs=.*/lhs=$lhs/" \
+       -e "s/^rhs=.*/rhs=$rhs/" \
+       -e "s/^classes=.*/classes=$classes/" \
+       -i $hesconf
+  fi
 fi
 
 #DEBHELPER#
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644 (file)
index 0000000..f38a7cc
--- /dev/null
@@ -0,0 +1,91 @@
+# Copyright (C) 2007-2009 Karl Ramm <kcr@debian.org>\r
+# This file is distributed under the same license as the hesiod package.\r
+# Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2009.\r
+# \r
+msgid ""
+msgstr ""
+"Project-Id-Version: hesiod 3.0.2-18.3\n"
+"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n"
+"POT-Creation-Date: 2007-12-13 12:21+0530\n"
+"PO-Revision-Date: 2009-01-06 22:26+0900\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:2001
+msgid "Hesiod domain for searches:"
+msgstr "検索対象の Hesiod ドメイン:"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:2001
+msgid "Please enter the Hesiod RHS (right hand-side) to do searches in."
+msgstr "検索対象の Hesiod RHS (right hand-side、右手側) を入力してください。"
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001
+msgid ""
+"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS "
+"will be '.example.org' (note leading periods) and directory lookups will be "
+"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'."
+msgstr ""
+"もし、Hesiod サーバが「ns.example.org」の場合、LHS は「.ns」、RHS は「."
+"example.org」になります。ディレクトリ参照は DNS リクエストのように動作します "
+"(例)「sam.passwd.ns.example.org」。"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:3001
+msgid "Hesiod prefix for searches:"
+msgstr "検索対象の Hesiod プレフィックス:"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:3001
+msgid "Please enter the Hesiod LHS (left hand-side) to do searches in."
+msgstr "検索対象の Hesiod LHS (heft hand-side、左手側) を入力してください。"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:4001
+msgid "DNS class search order:"
+msgstr "DNS クラスの検索順:"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:4001
+msgid ""
+"Hesiod looks up names using DNS TXT records. In addition to using the "
+"standard IN DNS class for Internet names, it also uses by default the "
+"special HS class."
+msgstr ""
+"Hesiod は、DNS TXT レコードを使って名前を検索します。その際はインターネット名"
+"に使われている通常の IN DNS クラスに加えて、デフォルトで特別な HS クラスも使"
+"用します。"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:4001
+msgid ""
+"Please enter the class search order (the default value is suitable for most "
+"sites). There should be no spaces in this search order value."
+msgstr ""
+"クラスの検索順を入力してください (大抵のサイトはデフォルトの挙動が適していま"
+"す)。この検索順の値には空白を入れてはいけません。"
+
+#. Type: string
+#. Description
+#: ../libhesiod0.templates:4001
+msgid ""
+"Sites using older Hesiod installations may need to use the 'HS,IN' search "
+"order."
+msgstr ""
+"古い Hesiod のインストールを使っているサイトでは「HS,IN」という検索順を使う必"
+"要があるでしょう。"