]> asedeno.scripts.mit.edu Git - 1ts-debian.git/commitdiff
zephyr (2.1.20010518.SNAPSHOT-16) unstable; urgency=low
authorkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Mon, 16 Oct 2006 07:31:20 +0000 (07:31 +0000)
committerkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Mon, 16 Oct 2006 07:31:20 +0000 (07:31 +0000)
  * Tweak zhm and postinst scripts to not flush subs on restart.
  (it will happen one last time on upgrade, sorry)
Closes: #148870
  * Avoid possible doubling of zephyr-server name in configuration.
Closes: #177477
  * Add Swedish debconf template.  Closes: #343756
  * Update Spanish debconf template.  Closes: #385052
  * Fixup build-depends for new X world.
  * Make debconf templates lintian compliant (short titles instead of
    questions, "for internal use" instead of "You should never see this")
  * LSB init info
  * invoke init.d scripts properly
  * Assert Standards-Version: 3.7.2

 -- Karl Ramm <kcr@debian.org>  Mon, 16 Oct 2006 02:41:22 -0400

git-svn-id: svn://svn.1ts.org/debian/branches/pre_sourceforge_packages@196 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f

22 files changed:
zephyr/debian/changelog
zephyr/debian/control
zephyr/debian/po/cs.po
zephyr/debian/po/de.po
zephyr/debian/po/es.po
zephyr/debian/po/fr.po
zephyr/debian/po/pt_BR.po
zephyr/debian/po/ru.po
zephyr/debian/po/sv.po [new file with mode: 0644]
zephyr/debian/po/templates.pot
zephyr/debian/po/vi.po
zephyr/debian/rules
zephyr/debian/zephyr-clients.init
zephyr/debian/zephyr-clients.postinst
zephyr/debian/zephyr-clients.preinst [deleted file]
zephyr/debian/zephyr-clients.prerm
zephyr/debian/zephyr-clients.templates
zephyr/debian/zephyr-server-krb.init
zephyr/debian/zephyr-server.config
zephyr/debian/zephyr-server.init
zephyr/debian/zephyr-server.templates
zephyr/zhm/zhm.c

index 8a294c833f6f4ba42ac0785fa9f669873a6f7976..88f168d23423e4798c45b3f1dd1db24c719a3222 100644 (file)
@@ -1,3 +1,21 @@
+zephyr (2.1.20010518.SNAPSHOT-16) unstable; urgency=low
+
+  * Tweak zhm and postinst scripts to not flush subs on restart.
+  (it will happen one last time on upgrade, sorry)
+  Closes: #148870
+  * Avoid possible doubling of zephyr-server name in configuration.
+  Closes: #177477
+  * Add Swedish debconf template.  Closes: #343756
+  * Update Spanish debconf template.  Closes: #385052
+  * Fixup build-depends for new X world.
+  * Make debconf templates lintian compliant (short titles instead of
+    questions, "for internal use" instead of "You should never see this")
+  * LSB init info
+  * invoke init.d scripts properly
+  * Assert Standards-Version: 3.7.2
+
+ -- Karl Ramm <kcr@debian.org>  Mon, 16 Oct 2006 02:41:22 -0400
+
 zephyr (2.1.20010518.SNAPSHOT-15) unstable; urgency=low
 
   * fix X build-deps for upcoming xorg transition. Closes: #346863
index 5f0d0a607eb89dbe82618989e4a4bbcdd15ff58a..a9d725751f4603cc1e3e68c30a9e282b2b7864e8 100644 (file)
@@ -3,8 +3,8 @@ Section: net
 Priority: optional
 Maintainer: Karl Ramm <kcr@debian.org>
 Uploaders: Karl Ramm <kcr@debian.org>, Sam Hartman <hartmans@debian.org>
-Build-Depends: debhelper (>= 3), libares-dev, libkrb5-dev (>= 1.2.2-4), comerr-dev, ss-dev, libreadline5-dev | libreadline4-dev, libx11-dev | xlibs-dev, libxt-dev | xlibs-dev, x-dev | xlibs-dev, libxaw7-dev, libncurses5-dev, bison, libhesiod-dev
-Standards-Version: 3.5.9.0
+Build-Depends: debhelper (>= 3), libares-dev, libkrb5-dev (>= 1.2.2-4), comerr-dev, ss-dev, libreadline5-dev, libx11-dev, libxt-dev, x-dev, libxaw8-dev | libxaw7-dev, libxmu-dev, libncurses5-dev, bison, libhesiod-dev
+Standards-Version: 3.7.2
 
 Package: libzephyr3
 Section: libs
index 7f77f9d006161a179bbf6105a1030802b82fba0b..3fa269fa599bfe3c1ae2456f14d62ec59f35c613 100644 (file)
@@ -14,8 +14,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: zephyr\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
 "PO-Revision-Date: 2005-03-16 20:16+0100\n"
 "Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
 "Language-Team: Czech <debian-l10n-czech@debian.org>\n"
@@ -26,8 +26,8 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
-msgstr "Jaké jsou va¹e zephyr servery?"
+msgid "Zephyr servers:"
+msgstr ""
 
 #. Type: string
 #. Description
@@ -42,8 +42,8 @@ msgstr ""
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
-msgstr "Toto jste nikdy nemìli vidìt"
+msgid "for internal use"
+msgstr ""
 
 #. Type: boolean
 #. Description
@@ -91,3 +91,9 @@ msgid ""
 msgstr ""
 "Zadejte mezerami oddìlená celá jména va¹ich zephyr serverù (mù¾e to být i "
 "nadmno¾ina toho, co sdìlujete klientùm)."
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "Jaké jsou va¹e zephyr servery?"
+
+#~ msgid "You should never see this"
+#~ msgstr "Toto jste nikdy nemìli vidìt"
index 556b5b503533748474a517eb727851a2bd4dd30d..d10580bd996e4615157119d1562bfac4a1a93da1 100644 (file)
@@ -13,8 +13,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: zephyr\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
 "PO-Revision-Date: 2005-03-16 20:25+0100\n"
 "Last-Translator: Tobias Toedter <t.toedter@gmx.net>\n"
 "Language-Team: German <debian-l10n-german@lists.debian.org>\n"
@@ -26,8 +26,8 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
-msgstr "Wie heißen Ihre zephyr-Server?"
+msgid "Zephyr servers:"
+msgstr ""
 
 #. Type: string
 #. Description
@@ -43,8 +43,8 @@ msgstr ""
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
-msgstr "Dies sollten Sie niemals sehen"
+msgid "for internal use"
+msgstr ""
 
 #. Type: boolean
 #. Description
@@ -96,3 +96,9 @@ msgstr ""
 "Bitte geben Sie die vollständigen Namen Ihrer zephyr-Server durch "
 "Leerzeichen getrennt ein. (Beachten Sie, dass dies eine Obermenge von dem "
 "sein kann, was Sie den Clients angeben.)"
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "Wie heißen Ihre zephyr-Server?"
+
+#~ msgid "You should never see this"
+#~ msgstr "Dies sollten Sie niemals sehen"
index ed7f3efa17efc4b9430760ecb618944945e65627..1284f9a757da2ff83784944ced3bd9978817621e 100644 (file)
@@ -1,3 +1,10 @@
+# zephyr debconf translation to spanish
+# Copyright (C) 2001, 2006 Software in the Public Interest
+# This file is distributed under the same license as the zephyr package.
+#
+# Changes:
+# - Initial translation
+#        Carlos Valdivia Yagüe <valyag@dat.etsit.upm.es>, 2001, 2006
 #
 #    Translators, if you are not familiar with the PO format, gettext
 #    documentation is worth reading, especially sections dedicated to
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zephyr\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
-"PO-Revision-Date: 2003-07-02 16:26+0200\n"
-"Last-Translator: Unknown <debian-l10n-spanish@lists.debian.org>\n"
-"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"Project-Id-Version: zephyr 2.1.20010518.SNAPSHOT-15\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
+"PO-Revision-Date: 2006-08-28 19:30+0200\n"
+"Last-Translator: Carlos Valdivia Yagüe <valyag@dat.etsit.upm.es>\n"
+"Language-Team: Debian L10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-15\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -26,8 +33,8 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
-msgstr "¿Cuáles son sus servidores zephyr?"
+msgid "Zephyr servers:"
+msgstr ""
 
 #. Type: string
 #. Description
@@ -36,15 +43,15 @@ msgid ""
 "Please type the full names of your zephyr servers, separated by spaces. "
 "(note that this can be a subset of what you're telling the servers)"
 msgstr ""
-"Por favor, introduzca los nombres completos de sus servidores zephyr "
-"separados por espacios. (tenga en cuenta que se puede tratar de sólo una "
-"parte de lo que usted considera los servidores)"
+"Por favor, introduzca los nombres completos de los servidores zephyr "
+"separados por espacios (tenga en cuenta que se puede tratar de un conjunto "
+"más amplio de lo que usted considera como los servidores)."
 
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
-msgstr "No debería poder leer esto"
+msgid "for internal use"
+msgstr ""
 
 #. Type: boolean
 #. Description
@@ -58,7 +65,7 @@ msgid ""
 "postinst runs."
 msgstr ""
 "Para averiguar qué cambios ha realizado el usuario manualmente en el fichero "
-"de configuración, hay que mirar en el fichero que hay en el script de "
+"de configuración, es preciso mirar en el fichero que hay en el script de "
 "configuración. Sin embargo, si se trata de preconfigurar el paquete, dicho "
 "script se ejecuta dos veces antes de que lo haga el posterior a la "
 "instalación. De ese modo, es posible obtener un valor equivocado antes de "
@@ -70,7 +77,7 @@ msgstr ""
 #. Description
 #: ../zephyr-clients.templates:20
 msgid "You have no zephyr servers specified for the client"
-msgstr ""
+msgstr "No ha especificado servidores zephyr para el cliente"
 
 #. Type: note
 #. Description
@@ -81,6 +88,10 @@ msgid ""
 "add the names of your zephyr servers, separated by spaces to the zhm_args "
 "variable."
 msgstr ""
+"Por algún motivo el paquete zephyr-clients no tiene configurado ningún "
+"servidor zephyr. Por favor, edite el fichero /etc/default/zephyr-clients y "
+"añada los nombres de los servidores zephyr separados por espacios en la "
+"variable zhm_args."
 
 #. Type: string
 #. Description
@@ -89,6 +100,12 @@ msgid ""
 "Please type the full names of your zephyr servers, separated by spaces. "
 "(Note that this can be a superset of that you're telling the clients.)"
 msgstr ""
-"Por favor, introduzca los nombres completos de sus servidores zephyr "
-"separados por espacios. (tenga en cuenta que se puede tratar de un conjunto "
-"más amplio de lo que usted considera los clientes)"
+"Por favor, introduzca los nombres completos de los servidores zephyr "
+"separados por espacios (tenga en cuenta que se puede tratar de un conjunto "
+"más amplio de lo que usted considera como los clientes)."
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "¿Cuáles son sus servidores zephyr?"
+
+#~ msgid "You should never see this"
+#~ msgstr "No debería llegar a leer esto nunca"
index 16aa802d5aee0e4ca074f432307def47dd45002d..54a2d379c5735e8eca4c6cb59039928ab864962d 100644 (file)
@@ -13,8 +13,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: zephyr_2.1.20010518.SNAPSHOT-10\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
 "PO-Revision-Date: 2005-03-11 18:36+0100\n"
 "Last-Translator: Michel Grentzinger <mic.grentz@online.fr>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
@@ -26,8 +26,8 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
-msgstr "Serveurs Zephyr :"
+msgid "Zephyr servers:"
+msgstr ""
 
 #. Type: string
 #. Description
@@ -43,8 +43,8 @@ msgstr ""
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
-msgstr "Vous ne devriez jamais voir cela"
+msgid "for internal use"
+msgstr ""
 
 #. Type: boolean
 #. Description
@@ -96,3 +96,9 @@ msgstr ""
 "Veuillez indiquer les noms complets de vos serveurs Zephyr, séparés par des "
 "espaces (remarquez que cela peut être un sur-ensemble de ce que vous "
 "indiquez aux clients)."
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "Serveurs Zephyr :"
+
+#~ msgid "You should never see this"
+#~ msgstr "Vous ne devriez jamais voir cela"
index 1af5e8762a1cacb7afde8ea2e61008196762b4b1..08f0ed28d81bb98f123f63ba447819630f39fef8 100644 (file)
@@ -13,8 +13,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: zephyr 2.1\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
 "PO-Revision-Date: 2005-03-21 23:30-0300\n"
 "Last-Translator: Felipe Augusto van de Wiel (faw) <felipe@cathedrallabs."
 "org>\n"
@@ -28,8 +28,8 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
-msgstr "Quais são os seus servidores zephyr?"
+msgid "Zephyr servers:"
+msgstr ""
 
 #. Type: string
 #. Description
@@ -45,8 +45,8 @@ msgstr ""
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
-msgstr "Você nunca deveria ter visto isso"
+msgid "for internal use"
+msgstr ""
 
 #. Type: boolean
 #. Description
@@ -96,3 +96,9 @@ msgstr ""
 "Por favor digite os nomes completos de seus servidores zephyr, separado por "
 "espaços. (Note que isso pode ser um subconjunto daquilo que você está "
 "dizendo aos clientes.)"
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "Quais são os seus servidores zephyr?"
+
+#~ msgid "You should never see this"
+#~ msgstr "Você nunca deveria ter visto isso"
index 06879ff82d1d616f100da880934d8ed13d67828b..9f8638a40613a6f1d288dc245032efddf45cfdc5 100644 (file)
@@ -14,8 +14,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: zephyr\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
 "PO-Revision-Date: 2003-07-02 16:26+0200\n"
 "Last-Translator: Unknown <debian-l10n-russian@lists.debian.org>\n"
 "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
@@ -26,8 +26,8 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
-msgstr "ëÁË ÎÁÚÙ×ÁÀÔÓÑ ×ÁÛÉ ÓÅÒ×ÅÒÁ zephyr?"
+msgid "Zephyr servers:"
+msgstr ""
 
 #. Type: string
 #. Description
@@ -43,8 +43,8 @@ msgstr ""
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
-msgstr "÷Ù ÎÉËÏÇÄÁ ÎÅ ÄÏÌÖÎÙ ×ÉÄÅÔØ ÜÔÏ"
+msgid "for internal use"
+msgstr ""
 
 #. Type: boolean
 #. Description
@@ -95,3 +95,9 @@ msgstr ""
 "÷×ÅÄÉÔÅ  ÐÏÌÎÙÅ  ÉÍÅÎÁ  ×ÁÛÉÈ  ÓÅÒ×ÅÒÏ× zephyr, ÒÁÚÄÅÌÅÎÎÙÅ ÐÒÏÂÅÌÁÍÉ. "
 "(úÁÍÅÔØÔÅ,  ÞÔÏ  ÜÔÏ  ÍÏÖÅÔ  ÂÙÔØ  ÓÕÐÅÒÎÁÂÏÒ  ÔÏÇÏ,  ÞÔÏ  ×Ù ÇÏ×ÏÒÉÔÅ "
 "ËÌÉÅÎÔÁÍ)."
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "ëÁË ÎÁÚÙ×ÁÀÔÓÑ ×ÁÛÉ ÓÅÒ×ÅÒÁ zephyr?"
+
+#~ msgid "You should never see this"
+#~ msgstr "÷Ù ÎÉËÏÇÄÁ ÎÅ ÄÏÌÖÎÙ ×ÉÄÅÔØ ÜÔÏ"
diff --git a/zephyr/debian/po/sv.po b/zephyr/debian/po/sv.po
new file mode 100644 (file)
index 0000000..6af072f
--- /dev/null
@@ -0,0 +1,100 @@
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+# Developers do not need to manually edit POT or PO files.
+# , fuzzy
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zephyr 2.1.20010518.SNAPSHOT-13\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
+"PO-Revision-Date: 2005-12-17 23:27+0100\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
+msgid "Zephyr servers:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../zephyr-clients.templates:3
+msgid ""
+"Please type the full names of your zephyr servers, separated by spaces. "
+"(note that this can be a subset of what you're telling the servers)"
+msgstr ""
+"Vänligen ange hela namnen för dina zephyr-servrar, separerade med "
+"mellanslag. (notera att detta kan vara ett subset av vad du berättar för "
+"servrarna)"
+
+#. Type: boolean
+#. Description
+#: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
+msgid "for internal use"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
+msgid ""
+"We want to try and capture user changes when they edit a config file "
+"manually.  To do this we look at the file in the config script. However, in "
+"the case of preconfigure, the config script is run twice before the postinst "
+"is run.  Thus we may read the wrong value before the edited value is written "
+"out in postinst. If this is false we skip reading config files until "
+"postinst runs."
+msgstr ""
+"Vi vill försöka att fånga in användarändringar när de redigerar en "
+"konfigurationsfil manuellt. För att göra dett ser vi på filen i "
+"konfigurationsskriptet. Hur som helst, i fallet med förkonfigurationer körs "
+"konfigurationsskriptet dubbelt före postinst körs. Därför kan vi läsa av fel "
+"värde före det redigerade värdet har skrivits ut i postinst. Om detta är "
+"falskt hoppar vi över läsning av konfigurationsfiler tills postinst körs."
+
+#. Type: note
+#. Description
+#: ../zephyr-clients.templates:20
+msgid "You have no zephyr servers specified for the client"
+msgstr "Du har inga zephyr-servrar angivna för klienten"
+
+#. Type: note
+#. Description
+#: ../zephyr-clients.templates:20
+msgid ""
+"The zephyr-clients package for whatever reason does not have any zephyr "
+"servers configured.  Please edit the file /etc/default/zephyr-clients and "
+"add the names of your zephyr servers, separated by spaces to the zhm_args "
+"variable."
+msgstr ""
+"Paketet zephyr-clients har av någon anledning inte några zephyr-servrar "
+"konfigurerade. Vänligen redigera filen /etc/default/zephyr-clients och lägg "
+"till namnen för din zephyr-servrar i variabeln zhm_args, separera med "
+"mellanslag."
+
+#. Type: string
+#. Description
+#: ../zephyr-server.templates:3
+msgid ""
+"Please type the full names of your zephyr servers, separated by spaces. "
+"(Note that this can be a superset of that you're telling the clients.)"
+msgstr ""
+"Vänligen ange hela namnen för dina zephyr-servrar, separerade med mellanslag "
+"(Notera att detta kan vara ett superset av vad du berättar för klienterna.)"
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "Vilka är dina zephyr-servrar?"
+
+#~ msgid "You should never see this"
+#~ msgstr "Du bör aldrig se detta"
index c838bfd1beff61ede636da426ade16e2f39e10a3..039487b7c060fbbf7a6b2740f9c8028801c95bae 100644 (file)
@@ -1,22 +1,14 @@
-#
-#    Translators, if you are not familiar with the PO format, gettext
-#    documentation is worth reading, especially sections dedicated to
-#    this format, e.g. by running:
-#         info -n '(gettext)PO Files'
-#         info -n '(gettext)Header Entry'
-#
-#    Some information specific to po-debconf are available at
-#            /usr/share/doc/po-debconf/README-trans
-#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
-#
-#    Developers do not need to manually edit POT or PO files.
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
 #
 #, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\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"
@@ -27,7 +19,7 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
+msgid "Zephyr servers:"
 msgstr ""
 
 #. Type: string
@@ -41,7 +33,7 @@ msgstr ""
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
+msgid "for internal use"
 msgstr ""
 
 #. Type: boolean
index f19d9e5350f84a2193dabb68aac3ed2120811247..88110fb49f142d9e3780bb19b4a6de3746011abe 100644 (file)
@@ -5,8 +5,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: zephyr 2.1.20010518.SNAPSHOT-13\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-03-15 22:17+0100\n"
+"Report-Msgid-Bugs-To: kcr@debian.org\n"
+"POT-Creation-Date: 2006-10-16 01:15-0400\n"
 "PO-Revision-Date: 2005-08-21 21:51+0930\n"
 "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
 "Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
@@ -19,8 +19,8 @@ msgstr ""
 #. Type: string
 #. Description
 #: ../zephyr-clients.templates:3 ../zephyr-server.templates:3
-msgid "What are your zephyr servers?"
-msgstr "Bạn có trình phục vụ zephyr nào?"
+msgid "Zephyr servers:"
+msgstr ""
 
 #. Type: string
 #. Description
@@ -36,8 +36,8 @@ msgstr ""
 #. Type: boolean
 #. Description
 #: ../zephyr-clients.templates:10 ../zephyr-server.templates:10
-msgid "You should never see this"
-msgstr "Bạn không bao giờ nên thấy điều này."
+msgid "for internal use"
+msgstr ""
 
 #. Type: boolean
 #. Description
@@ -88,3 +88,9 @@ msgstr ""
 "Hãy gõ tên đầy đủ của các trình phục vụ zephyr của bạn, định giới bằng dấu "
 "cách (ghi chú: điều này có thể là siêu nhóm của điều mà bạn đang báo những "
 "trình khách)."
+
+#~ msgid "What are your zephyr servers?"
+#~ msgstr "Bạn có trình phục vụ zephyr nào?"
+
+#~ msgid "You should never see this"
+#~ msgstr "Bạn không bao giờ nên thấy điều này."
index e711192e6c8d0ccc90acf67da529e09148a98c46..ba235cc21ed77d5bab3799615fbbf7f4bdb5810f 100755 (executable)
@@ -137,7 +137,7 @@ binary-arch: build install
 #      dh_installmenu
 #      dh_installemacsen
 #      dh_installpam
-       dh_installinit -pzephyr-clients --init-script=zhm
+       dh_installinit -pzephyr-clients --init-script=zhm --no-start
        dh_installinit -pzephyr-server-krb --init-script=zephyrd
        dh_installinit -pzephyr-server --init-script=zephyrd
 #      dh_installcron
index ac4c2a4e085aa53b4d6e79c4bd5ba4440fb0996f..0caa017c9aafba5d2555fedf8bd461516af8cec6 100644 (file)
@@ -60,7 +60,7 @@ EOF
                /var/run/$NAME.pid --exec $DAEMON
        sleep 1
        start-stop-daemon --start --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON -- $zhm_args
+               /var/run/$NAME.pid --exec $DAEMON -- -N $zhm_args
        echo "$NAME."
        ;;
   *)
@@ -72,3 +72,15 @@ EOF
 esac
 
 exit 0
+
+### BEGIN INIT INFO
+# Provides:          zhm
+# Required-Start:    $syslog $network
+# Required-Stop:     $syslog
+# Should-Stop:       $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start the zephyr host manager daemon.
+# Description:       Start the zephyr host manager daemon.
+### END INIT INFO
+
index 88ebe8aad5fae566a3d6de2e586d8ec4d880cd37..ba03ef27231550fe4d2658a8e8e6118ad848e2fa 100644 (file)
@@ -67,6 +67,14 @@ EOF
     ;;
 esac
 
+if [ -x "/etc/init.d/zhm" ]; then
+        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+                invoke-rc.d zhm restart || exit $?
+        else
+                /etc/init.d/zhm restart || exit $?
+        fi
+fi
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 
diff --git a/zephyr/debian/zephyr-clients.preinst b/zephyr/debian/zephyr-clients.preinst
deleted file mode 100755 (executable)
index fdf31a2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if test -x /etc/init.d/zhm
-then
-       /etc/init.d/zhm stop
-fi
-
-#DEBHELPER#
index 5f92d7d89a8caf14c6f13375dadc32d6e4142d0c..69beaac0779478086097729e4928a6b50d8adaba 100644 (file)
@@ -31,6 +31,14 @@ case "$1" in
     ;;
 esac
 
+if [ -x "/etc/init.d/zhm" ] && [ "$1" = remove ]; then
+        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+                invoke-rc.d zhm stop || exit $?
+        else
+                /etc/init.d/zhm stop || exit $?
+        fi
+fi
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 
index 8b733bb3ab272a98d1f63b023b247d62d93f9945..3309ada9b2f1420033753e3f4f46a2f5e689df54 100644 (file)
@@ -1,13 +1,13 @@
 Template: zephyr-clients/servers
 Type: string
-_Description: What are your zephyr servers?
+_Description: Zephyr servers:
  Please type the full names of your zephyr servers, separated by spaces.
  (note that this can be a subset of what you're telling the servers)
 
 Template: zephyr-clients/read_conf
 Type: boolean
 Default: true
-_Description: You should never see this
+_Description: for internal use
  We want to try and capture user changes when they edit a config file
  manually.  To do this we look at the file in the config script. However,
  in the case of preconfigure, the config script is run twice before the
index 494d815fcd73688071e4cb2e1cde6fb5f6fb5cca..b890a885c89bd8494a28809f7b61093f356b1fc1 100644 (file)
@@ -64,3 +64,14 @@ case "$1" in
 esac
 
 exit 0
+
+### BEGIN INIT INFO
+# Provides:          zephyrd
+# Required-Start:    $syslog $network
+# Required-Stop:     $syslog
+# Should-Stop:       $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start the zephyr server.
+# Description:       Start the zephyr server.
+### END INIT INFO
index 2050dc0ec5f2079079f54d0670fc1b967fa6fd37..0b9cccbedd6b709517f4f177e372ab761df2c7a2 100644 (file)
@@ -10,7 +10,7 @@ then
        # it might know something about servers.
        # else default to just the current host
        z="`hostname --fqdn`"
-       if db_get zephyr-clients/servers && test -n "$RET"
+       if db_get zephyr-clients/servers && test -n "$RET" && ! echo "$RET" | grep -q "$z"
        then
                z="$RET $z"
        fi
index f744631684bb814cf3439beffd70e53c590a5d30..b0c96cdbccf245b8de371937e464bea7c56aff36 100644 (file)
@@ -58,3 +58,15 @@ case "$1" in
 esac
 
 exit 0
+
+### BEGIN INIT INFO
+# Provides:          zephyrd
+# Required-Start:    $syslog $network
+# Required-Stop:     $syslog
+# Should-Stop:       $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start the zephyr server.
+# Description:       Start the zephyr server.
+### END INIT INFO
+
index 1e9fbc426bed2f15be1b8e1e7acb04c2a8a5ee7b..27718f6fc89ca81bcc0bf4003b1a3320e3c93465 100644 (file)
@@ -1,13 +1,13 @@
 Template: zephyr-server/servers
 Type: string
-_Description: What are your zephyr servers?
+_Description: Zephyr servers:
  Please type the full names of your zephyr servers, separated by spaces.
  (Note that this can be a superset of that you're telling the clients.)
 
 Template: zephyr-server/read_conf
 Type: boolean
 Default: true
-_Description: You should never see this
+_Description: for internal use
  We want to try and capture user changes when they edit a config file
  manually.  To do this we look at the file in the config script. However,
  in the case of preconfigure, the config script is run twice before the
index 2b954baddc018efa7d47bc1d2ed600e9d7d59be0..521bfca95b82ef3c82ea9934b0e3d98478d55ef0 100644 (file)
@@ -27,6 +27,7 @@ int use_hesiod = 0;
 int hmdebug, rebootflag, noflushflag, errflg, dieflag, inetd, oldpid, nofork;
 int no_server = 1, nservchang, nserv, nclt;
 int booting = 1, timeout_type, deactivated = 1;
+int bootflag = 1;
 long starttime;
 u_short cli_port;
 struct sockaddr_in cli_sin, serv_sin, from;
@@ -76,7 +77,7 @@ char *argv[];
        exit(-1);
     }
     prim_serv[0] = '\0';
-    while ((opt = getopt(argc, argv, "drhinf")) != EOF)
+    while ((opt = getopt(argc, argv, "drhinfN")) != EOF)
        switch(opt) {
          case 'd':
            hmdebug = 1;
@@ -101,6 +102,9 @@ char *argv[];
          case 'f':
            noflushflag = 1;
            break;
+          case 'N':
+            bootflag = 0;
+            break;
          case '?':
          default:
            errflg++;
@@ -427,7 +431,10 @@ static void init_hm()
          memcpy(&serv_sin.sin_addr, hp->h_addr, 4);
      }
 
-     send_boot_notice(HM_BOOT);
+     if (bootflag)
+          send_boot_notice(HM_BOOT);
+     else
+          send_boot_notice(HM_ATTACH);
      deactivated = 0;
 
 #ifdef _POSIX_VERSION
@@ -600,7 +607,6 @@ static void send_stats(notice, sin)
 void die_gracefully()
 {
      syslog(LOG_INFO, "Terminate signal caught...");
-     send_flush_notice(HM_FLUSH);
      unlink(PidFile);
      closelog();
      exit(0);