[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#688080: unblock: tomoyo-tools/2.5.0-2012-0414-10



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hi,

 Please unblock tomoyo-tools package since it helps users with introduce
 debconf, no manual configuration would be needed.

 debdiff is attached below, most of lines are changelog, po files and
 rename {pre,post}{inst,rm} files. Except it, 100-200 lines in maintainer
 script.



diff -Nru tomoyo-tools-2.5.0-20120414/debian/README.Debian tomoyo-tools-2.5.0-20120414/debian/README.Debian
--- tomoyo-tools-2.5.0-20120414/debian/README.Debian	2012-05-26 06:21:49.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/README.Debian	2012-06-03 14:22:54.000000000 +0900
@@ -1,6 +1,11 @@
-Kernel Support
+Kernel parameter 
 -------------------
 
-To enable Tomoyo as the MAC security, please add "security=tomoyo"
-on the kernel command line. By default, you should specify it in 
-/etc/default/grub file as "GRUB_CMDLINE_LINUX" and execute "update-grub"
+To enable Tomoyo as the MAC security, please specify parameter to the kernel.
+By default, it will be done by package.
+.
+If you should specify it by hand, in /etc/default/grub file as 
+"GRUB_CMDLINE_LINUX="security=tomoyo"" and execute "update-grub"
+
+ -- Hideki Yamane <henrich@debian.org>  Sat, 02 Jun 2012 12:59:34 +0900
+
diff -Nru tomoyo-tools-2.5.0-20120414/debian/changelog tomoyo-tools-2.5.0-20120414/debian/changelog
--- tomoyo-tools-2.5.0-20120414/debian/changelog	2012-05-28 08:25:05.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/changelog	2012-08-06 10:59:11.000000000 +0900
@@ -1,3 +1,52 @@
+tomoyo-tools (2.5.0-20120414-4) unstable; urgency=low
+
+  [ Christian Perrier ]
+  * Debconf templates and debian/control reviewed by the debian-l10n-
+    english team as part of the Smith review project. Closes: #680088
+
+  [Debconf translation updates]
+  * Slovak (Ivan Masár).  Closes: #681956
+  * Russian (Yuri Kozlov).  Closes: #682131
+  * Polish (Michał Kułach).  Closes: #682324
+  * Portuguese (Pedro Ribeiro).  Closes: #682377
+  * Danish (Joe Hansen).  Closes: #682387
+  * German (Chris Leick).  Closes: #682484
+  * French (Julien Patriarca).  Closes: #682498
+  * Spanish; (# traductor (campo Last-Translator) y ponga en copia a la
+    lista de Javier Fernández-Sanguino).  Closes: #682559
+  * Swedish (Martin Bagge / brother).  Closes: #682565
+  * Czech (Miroslav Kure).  Closes: #682690
+  * Italian (Beatrice Torracca).  Closes: #682988
+
+  [ Hideki Yamane ]
+  * upload to unstable.
+
+ -- Hideki Yamane <henrich@debian.org>  Mon, 06 Aug 2012 10:58:37 +0900
+
+tomoyo-tools (2.5.0-20120414-3) unstable; urgency=low
+
+  * debian/rules
+    - add override_dh_install to exclude files
+    - exec debconf-updatepo in override_dh_clean
+  * debian/tomoyo-tools.{pre,post}{inst,rm}
+    - add stat.conf to CONFFILE
+    - rename to tomoyo-tools.* 
+  * With this release, you can enable tomoyo automatically with debconf.
+    It set /etc/default/grub and exec update-grub.
+    - debian/tomoyo-tools.post{inst,rm}
+      + add some line for debconf
+    - debian/tomoyo-tools.{templates,config}
+      + add it to enable debconf
+    - debian/control
+      + add "Build-Depends: po-debconf" and "Pre-Depends: debconf"
+    - debian/README.Debian
+      + update it 
+  * debian/{tomoyo-tools,libtomoyotools3}.lintian-overrides
+    - add it to override "no-upstream-changelog" warning, upstream changelog
+      is provided as README.tomoyo file
+
+ -- Hideki Yamane <henrich@debian.org>  Fri, 15 Jun 2012 09:08:23 +0900
+
 tomoyo-tools (2.5.0-20120414-2) unstable; urgency=low
 
   * debian/control
@@ -47,6 +96,7 @@
 tomoyo-tools (2.4.0-20111025-1) experimental; urgency=low
 
   * New upstream release (Closes: #651267)
+    - deal with /run transition (Closes: #644328)  
   * debian/patches
     - drop ld--as-needed.patch as merged to upstream
   * debian/control,libtomoyotools2.{symbols,install}
diff -Nru tomoyo-tools-2.5.0-20120414/debian/control tomoyo-tools-2.5.0-20120414/debian/control
--- tomoyo-tools-2.5.0-20120414/debian/control	2012-05-28 08:17:40.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/control	2012-07-04 09:44:24.000000000 +0900
@@ -3,24 +3,26 @@
 Priority: extra
 Maintainer: Hideki Yamane <henrich@debian.org>
 Homepage: http://tomoyo.sourceforge.jp/
-Build-Depends: debhelper (>= 9), libncurses5-dev, libreadline-dev
+Build-Depends: debhelper (>= 9), libncurses5-dev, libreadline-dev, po-debconf
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/collab-maint/tomoyo-tools.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/tomoyo-tools.git
 
 Package: tomoyo-tools
 Architecture: linux-any
+Pre-Depends: debconf
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Conflicts: tomoyo-ccstools, tomoyo-ccstools1.7
 Replaces: tomoyo-ccstools, tomoyo-ccstools1.7
-Description: Lightweight and easy-use Mandatory Access Control for Linux
- TOMOYO Linux is Lightweight and Usable Mandatory Access Control with
-  - "automatic policy configuring" feature by "LEARNING mode"
-  - administrators friendly policy language
-  - no need libselinux nor userland program modifications
+Description: lightweight Linux Mandatory Access Control system
+ TOMOYO Linux is a lightweight and easy-to-use path-based Mandatory
+ Access Control (MAC) implementation with:
+  * automatic policy configuration via "learning" mode;
+  * an administrator-friendly policy language;
+  * no need for SELinux, or userland program modifications.
  .
- TOMOYO Linux consists of patches to Linux kernel and administrative 
- utilities, and this package contains its audit daemon and tools.
+ This package provides the audit daemon and administrative utilities for
+ use on a Linux kernel with TOMOYO support (standard in Debian kernels).
 
 Package: libtomoyotools3
 Section: libs
@@ -28,13 +30,12 @@
 Conflicts: libtomoyotools1, libtomoyotools2
 Architecture: linux-any
 Recommends: tomoyo-tools
-Description: Lightweight and easy-use Mandatory Access Control for Linux (shared libraries)
- TOMOYO Linux is Lightweight and Usable Mandatory Access Control with
-  - "automatic policy configuring" feature by "LEARNING mode"
-  - administrators friendly policy language
-  - no need libselinux nor userland program modifications
+Description: lightweight Linux Mandatory Access Control system - library
+ TOMOYO Linux is a lightweight and easy-to-use path-based Mandatory
+ Access Control (MAC) implementation with:
+  * automatic policy configuration via "learning" mode;
+  * an administrator-friendly policy language;
+  * no need for SELinux, or userland program modifications.
  .
- TOMOYO Linux consists of patches to Linux kernel and administrative 
- utilities, and this package contains its audit daemon and tools.
- .
- Shared library used by the utilities in the tomoyo-tools package.
+ This package provides the shared library used by the utilities in the
+ tomoyo-tools package.
diff -Nru tomoyo-tools-2.5.0-20120414/debian/libtomoyotools3.lintian-overrides tomoyo-tools-2.5.0-20120414/debian/libtomoyotools3.lintian-overrides
--- tomoyo-tools-2.5.0-20120414/debian/libtomoyotools3.lintian-overrides	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/libtomoyotools3.lintian-overrides	2012-07-01 12:24:44.000000000 +0900
@@ -0,0 +1 @@
+no-upstream-changelog
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/POTFILES.in tomoyo-tools-2.5.0-20120414/debian/po/POTFILES.in
--- tomoyo-tools-2.5.0-20120414/debian/po/POTFILES.in	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/POTFILES.in	2012-06-15 05:54:48.000000000 +0900
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] tomoyo-tools.templates
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/cs.po tomoyo-tools-2.5.0-20120414/debian/po/cs.po
--- tomoyo-tools-2.5.0-20120414/debian/po/cs.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/cs.po	2012-07-25 11:45:38.000000000 +0900
@@ -0,0 +1,47 @@
+# Czech translation of tomoyo-tools debconf messages.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the tomoyo-tools package.
+# Miroslav Kure <kurem@debian.cz>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-24 19:27+0200\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Povolit při zavádění systému TOMOYO Linux?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Pro povolení TOMOYO Linuxu je nutné jádru při zavádění předat příslušný "
+"parametr. Toho můžete docílit například nastavením GRUB_CMDLINE_LINUX="
+"\"security=tomoyo\" v souboru /etc/default/grub a následným spuštěním "
+"příkazu grub-update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Odpovíte-li zde kladně, provedou se příslušné změny automaticky a TOMOYO "
+"Linux bude funkční od příštího restartu."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/da.po tomoyo-tools-2.5.0-20120414/debian/po/da.po
--- tomoyo-tools-2.5.0-20120414/debian/po/da.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/da.po	2012-07-23 08:44:49.000000000 +0900
@@ -0,0 +1,47 @@
+# Danish translation tomoyo-tools.
+# Copyright (C) 2012 tomoyo-tools & nedenstående oversættere.
+# This file is distributed under the same license as the tomoyo-tools package.
+# Joe Hansen <joedalton2@yahoo.dk>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-22 23:51+0200\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish@lists.debian.org>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Aktiver TOMOYO Linux ved opstart?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Aktivering af TOMOYO Linux-funktionalitet i den kørende kerne kræver en "
+"passende kernekommandolinje ved opstart. Denne kan konfigureres ved at "
+"angive GRUB_CMDLINE_LINUX=\"security=tomoyo\" i /etc/default/grub og køre "
+"grub-update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Hvis du accepterer her, så vil disse handlinger blive udført automatisk og "
+"TOMOYO Linux vil være aktiveret ved næste opstart."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/de.po tomoyo-tools-2.5.0-20120414/debian/po/de.po
--- tomoyo-tools-2.5.0-20120414/debian/po/de.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/de.po	2012-07-23 22:18:13.000000000 +0900
@@ -0,0 +1,47 @@
+# Translation of the tomoyo-tools debconf template to German
+# Copyright (C) 2009 Hideki Yamane.
+# This file is distributed under the same license as the tomoyo-tools package.
+# Chris Leick <c.leick@vollbio.de>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools 2.5.0-20120414-4\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-18 21:23+0100\n"
+"Last-Translator: Chris Leick <c.leick@vollbio.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "TOMOYO Linux beim Hochfahren aktivieren?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Aktivieren der TOMOYO-Linux-Funktionalität im laufenden Kernel erfordert "
+"eine geeignete Kernel-Befehlszeile beim Hochfahren. Dies kann durch Setzen "
+"von GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub und "
+"Ausführen von grub-update konfiguriert werden."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Falls Sie hier zustimmen, werden diese Aktionen automatisch durchgeführt und "
+"TOMOYO Linux wird beim nächsten Hochfahren aktiviert."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/es.po tomoyo-tools-2.5.0-20120414/debian/po/es.po
--- tomoyo-tools-2.5.0-20120414/debian/po/es.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/es.po	2012-07-24 10:25:50.000000000 +0900
@@ -0,0 +1,92 @@
+# tomoyo-tools po-debconf translation to Spanish
+# Copyright (C) 2012 Software in the Public Interest, SPI Inc.
+# This file is distributed under the same license as the tomoyo-tools package.
+#
+# Changes:
+# - Initial translation
+#       Javier Fernández-Sanguino <jfs@debian.org>, 2012
+# - Revision
+#       Camaleón <noelamac@gmail.com>, 2012
+#
+#
+#  Traductores, si no conoce el formato PO, merece la pena leer la 
+#  documentación de gettext, especialmente las secciones dedicadas a este
+#  formato, por ejemplo ejecutando:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+#   http://www.debian.org/intl/spanish/
+#   especialmente las notas y normas de traducción en
+#   http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+#   /usr/share/doc/po-debconf/README-trans
+#   o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Si tiene dudas o consultas sobre esta traducción consulte con el último
+# traductor (campo Last-Translator) y ponga en copia a la lista de
+# traducción de Debian al español (<debian-l10n-spanish@lists.debian.org>)
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-23 22:29+0200\n"
+"Last-Translator: Javier Fernández-Sanguino <jfs@debian.org>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-POFile-SpellExtra: grub default Tomoyo update GRUBCMDLINELINUX tomoyo\n"
+"X-POFile-SpellExtra: security\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "¿Desea habilitar TOMOYO Linux en el arranque?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Para habilitar la funcionalidad de TOMOYO para Linux es necesario configurar "
+"la opción correcta de la línea de órdenes del núcleo en el momento del "
+"arranque. Esto puede realizarse definiendo «GRUB_CMDLINE_LINUX="
+"\"security=tomoyo\"» en «/etc/default/grub» y ejecutar «grub-update»."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Si acepta ahora, estas acciones se harán de forma automática y TOMOYO para "
+"Linux quedará habilitado automáticamente en el siguiente arranque."
+
+#~ msgid ""
+#~ "To enable Tomoyo, you should set GRUB_CMDLINE_LINUX=\"security=tomoyo\" "
+#~ "in /etc/default/grub and run grub-update to use it with your Linux kernel "
+#~ "in next boot time. This config will enable it automatically."
+#~ msgstr ""
+#~ "Para habilitar Tomoyo debe definir «GRUB_CMDLINE_LINUX=\"security=tomoyo"
+#~ "\"» en «/etc/default/grub» y ejecutar «grub-update» de forma que se use "
+#~ "en su núcleo de Linux en el próximo arranque. Este programa de "
+#~ "configuración lo habilitará automáticamente si así lo desea."
+
+#~ msgid ""
+#~ "If you would not accept it, you should set it by your own hand later."
+#~ msgstr ""
+#~ "Si no desea hacerlo ahora, debería configurarlo manualmente más adelante."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/fr.po tomoyo-tools-2.5.0-20120414/debian/po/fr.po
--- tomoyo-tools-2.5.0-20120414/debian/po/fr.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/fr.po	2012-07-23 22:18:30.000000000 +0900
@@ -0,0 +1,47 @@
+# Translation of tomoyo-tools debconf templates to French.
+# Copyright (C) 2012, French l10n Team <debian-l10n-french@lists.debian.org>
+# This file is distributed under the same license as the tomoyo-tools package.
+# Julien Patriarca <patriarcaj@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-21 12:07+0100\n"
+"Last-Translator: Julien Patriarca <patriarcaj@gmail.com>\n"
+"Language-Team: FRENCH <debian-l10n-french@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Activer TOMOYO Linux au démarrage de la machine ?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"La mise en oeuvre de TOMOYO Linux dans le noyau utilisé actuellement "
+"nécessite une commande adéquate à exécuter au démarrage. Cela peut être "
+"configuré en positionnant la valeur GRUB_CMDLINE_LINUX= « security=tomoyo » "
+"dans /etc/default/grub/ puis en exécutant « grub-update »."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Si vous choisissez cette option, ces actions seront automatiquement "
+"exécutées et TOMOYO Linux sera activé au prochain démarrage."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/it.po tomoyo-tools-2.5.0-20120414/debian/po/it.po
--- tomoyo-tools-2.5.0-20120414/debian/po/it.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/it.po	2012-07-29 06:56:16.000000000 +0900
@@ -0,0 +1,48 @@
+# Italian translation of tomoyo-tools debconf messages.
+# Copyright (C) 2012, tomoyo-tools package copyright holder.
+# This file is distributed under the same license as the tomoyo-tools package.
+# Beatrice Torracca <beatricet@libero.it>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-27 21:16+0200\n"
+"Last-Translator: Beatrice Torracca <beatricet@libero.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Abilitare TOMOYO Linux all'avvio?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Per abilitare la funzionalità TOMOYO Linux nel kernel in esecuzione è "
+"necessario un'appropriata riga di comando per il kernel all'avvio che può "
+"essere configurata impostando GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/"
+"default/grub ed eseguendo grub-update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Se si accetta qui questa opzione, queste azioni verranno effettuate "
+"automaticamente e TOMOYO Linux sarà abilitato al prossimo avvio."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/pl.po tomoyo-tools-2.5.0-20120414/debian/po/pl.po
--- tomoyo-tools-2.5.0-20120414/debian/po/pl.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/pl.po	2012-07-22 12:36:20.000000000 +0900
@@ -0,0 +1,51 @@
+# Translation of tomoyo-tools debconf templates to Polish.
+# Copyright (C) 2012
+# This file is distributed under the same license as the tomoyo-tools package.
+#
+# Michał Kułach <michal.kulach@gmail.com>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-18 18:30+0200\n"
+"Last-Translator: Michał Kułach <michal.kulach@gmail.com>\n"
+"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.4\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Włączać TOMOYO Linux w trakcie rozruchu?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Włączenie funkcji TOMOYO Linux w działającym jądrze, wymaga podania "
+"odpowiedniego polecenia do jądra w trakcie rozruchu. Można to uczynić "
+"tworząc wpis GRUB_CMDLINE_LINUX=\"security=tomoyo\" w /etc/default/grub i "
+"wykonując polecenie grub-update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Jeśli ta opcja zostanie teraz zaakceptowana, powyższe działania zostaną "
+"przeprowadzone automatycznie, a TOMOYO Linux zostanie włączone przy "
+"następnym uruchomieniu systemu."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/pt.po tomoyo-tools-2.5.0-20120414/debian/po/pt.po
--- tomoyo-tools-2.5.0-20120414/debian/po/pt.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/pt.po	2012-07-23 08:44:30.000000000 +0900
@@ -0,0 +1,47 @@
+# tomoyo-tools' debconf portuguese translations.
+# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the tomoyo-tools package.
+# Pedro Ribeiro <p.m42.ribeiro@gmail.com>, 2012
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-20 22:44+0000\n"
+"Last-Translator: Pedro Ribeiro <p.m42.ribeiro@gmail.com>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Ativar o TOMOYO Linux no arranque?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Ativar a funcionalidade TOMOYO Linux no kernel requer um argumento da linha "
+"de comandos do kernel apropriado. Isto pode ser configurado através da "
+"definição de GRUB_CMDLINE_LINUX=\"security=tomoyo\" no /etc/default/grub e "
+"executar grub-update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Se aceitar, estas ações serão automaticamente executadas e o TOMOYO Linux "
+"ficará ativo no próximo arranque."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/ru.po tomoyo-tools-2.5.0-20120414/debian/po/ru.po
--- tomoyo-tools-2.5.0-20120414/debian/po/ru.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/ru.po	2012-07-20 09:21:46.000000000 +0900
@@ -0,0 +1,49 @@
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the tomoyo-tools package.
+#
+# Yuri Kozlov <yuray@komyakino.ru>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools 2.5.0-20120414-4\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-19 21:10+0400\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.4\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Включить TOMOYO Linux при загрузке?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Для того, чтобы включить функции TOMOYO Linux, при загрузке ядра требуется "
+"указать специальный параметр. Это можно сделать вручную, дописав "
+"GRUB_CMDLINE_LINUX=\"security=tomoyo\" в файл /etc/default/grub и запустив "
+"grub-update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Если вы ответите утвердительно, то эти действия будут выполнены "
+"автоматически и TOMOYO Linux включится при следующей загрузке машины."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/sk.po tomoyo-tools-2.5.0-20120414/debian/po/sk.po
--- tomoyo-tools-2.5.0-20120414/debian/po/sk.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/sk.po	2012-07-19 06:37:07.000000000 +0900
@@ -0,0 +1,47 @@
+# Slovak translation of tomoyo-tools debconf templates.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the tomoyo-tools package.
+# Ivan Masár <helix84@centrum.sk>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-18 10:04+0100\n"
+"Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
+"Language-Team: Slovak <debian-l10n-slovak@lists.debian.org>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Zapnúť TOMOYO Linux pri štarte systému?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"Zapnutie funkcií TOMOYO Linux v bežiacom jadre vyžaduje uvedenie príslušnej "
+"voľby jadra v čase zavedenia systému. Tú môžete nastaviť uvedením "
+"GRUB_CMDLINE_LINUX=\"security=tomoyo\" v /etc/default/grub a spustením grub-"
+"update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Tu môžete prijať automatické vykonanie týchto opercií a zapnutí TOMOYO Linux "
+"pri ďalšom štarte systému."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/sv.po tomoyo-tools-2.5.0-20120414/debian/po/sv.po
--- tomoyo-tools-2.5.0-20120414/debian/po/sv.po	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/sv.po	2012-07-24 04:24:33.000000000 +0900
@@ -0,0 +1,49 @@
+# Translation of tomoyo-tools debconf template to Swedish
+# Copyright (C) 2012 Martin Bagge <brother@bsnet.se>
+# This file is distributed under the same license as the tomoyo-tools package.
+#
+# Martin Bagge <brother@bsnet.se>, 2012
+msgid ""
+msgstr ""
+"Project-Id-Version: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\n"
+"PO-Revision-Date: 2012-07-23 19:58+0100\n"
+"Last-Translator: Martin Bagge / brother <brother@bsnet.se>\n"
+"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Swedish\n"
+"X-Poedit-Country: Sweden\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr "Ska TOMOYO-linux aktiveras vid systemets uppstart?"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+"För att aktivera TOMOYO-linux-funktioner i den aktuella kärnan behövs en "
+"korret kommandorad för kärnan vid uppstart. Detta kan skötas automatiskt "
+"genom att addera GRUB_CMDLINE_LINUX=\"security=tomoyo\" i /etc/default/grub "
+"och därefter köra grub-update."
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
+"Om du väljer att aktivera detta nu kommer åtgärden att utföras automatiskt "
+"och TOMOYO-linux aktiveras vid nästa uppstart."
diff -Nru tomoyo-tools-2.5.0-20120414/debian/po/templates.pot tomoyo-tools-2.5.0-20120414/debian/po/templates.pot
--- tomoyo-tools-2.5.0-20120414/debian/po/templates.pot	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/po/templates.pot	2012-07-18 10:17:08.000000000 +0900
@@ -0,0 +1,42 @@
+# 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: tomoyo-tools\n"
+"Report-Msgid-Bugs-To: tomoyo-tools@packages.debian.org\n"
+"POT-Creation-Date: 2012-07-17 19:17-0600\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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid "Enable TOMOYO Linux at boot time?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"Enabling TOMOYO Linux functionality in the running kernel requires an "
+"appropriate kernel command line at boot time. This can be configured by "
+"setting GRUB_CMDLINE_LINUX=\"security=tomoyo\" in /etc/default/grub and "
+"running grub-update."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../tomoyo-tools.templates:2001
+msgid ""
+"If you accept here, these actions will be performed automatically and TOMOYO "
+"Linux will be enabled at next boot."
+msgstr ""
diff -Nru tomoyo-tools-2.5.0-20120414/debian/postinst tomoyo-tools-2.5.0-20120414/debian/postinst
--- tomoyo-tools-2.5.0-20120414/debian/postinst	2011-12-16 23:03:24.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/postinst	1970-01-01 09:00:00.000000000 +0900
@@ -1,57 +0,0 @@
-#!/bin/sh
-# postinst script for ccstools
-#
-# see: dh_installdeb(1)
-
-CONFDIR="/etc/tomoyo/tools"
-CONFFILES="audit.conf editpolic.conf notifyd.conf patternize.conf"
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    configure)
-	if [ -d $CONFDIR ]; then cd $CONFDIR &&
-        for file in $CONFFILES
-        do
-          if [ -f $file ]; then
-            echo "check $file..."
-          else
-            echo "Policy file does NOT exist. Now initialised..."
-            /usr/lib/tomoyo/init_policy
-	    break
-          fi
-        done
-	fi
-
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff -Nru tomoyo-tools-2.5.0-20120414/debian/postrm tomoyo-tools-2.5.0-20120414/debian/postrm
--- tomoyo-tools-2.5.0-20120414/debian/postrm	2011-12-10 20:38:30.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/postrm	1970-01-01 09:00:00.000000000 +0900
@@ -1,57 +0,0 @@
-#!/bin/sh
-# postrm script for ccstools
-#
-# see: dh_installdeb(1)
-
-set -e
-
-CONFDIR="/etc/tomoyo"
-CONFFILES="domain_policy.conf exception_policy.conf manager.conf profile.conf meminfo.conf"
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <overwriter>
-#          <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-    ;;
-
-    remove)
-    ;;
-
-    purge)
-    for conffile in $CONFFILES
-    do
-      if [ -f $CONFDIR/$conffile ]; then
-        rm $CONFDIR/$conffile
-      fi
-    done
-    if [ -d /etc/tomoyo/policy ]; then
-        rm -rf /etc/tomoyo/policy
-    fi
-    ;;
-
-   *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff -Nru tomoyo-tools-2.5.0-20120414/debian/preinst tomoyo-tools-2.5.0-20120414/debian/preinst
--- tomoyo-tools-2.5.0-20120414/debian/preinst	2011-12-10 20:26:33.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/preinst	1970-01-01 09:00:00.000000000 +0900
@@ -1,47 +0,0 @@
-#!/bin/sh -e
-
-# This script can be called in the following ways:
-#
-# Before the package is installed:
-#       <new-preinst> install
-#
-# Before removed package is upgraded:
-#       <new-preinst> install <old-version>
-#
-# Before the package is upgraded:
-#       <new-preinst> upgrade <old-version>
-#
-#
-# If postrm fails during upgrade or fails on failed upgrade:
-#       <old-preinst> abort-upgrade <new-version>
-
-set -e
-
-case "$1" in
-    install)
-        ;;
-
-    upgrade)
-        # 2.3.0 is not compatible with 2.2.x. Thus we need to create a new db.
-		# Otherwise, the kernel will panic on boot
-        if dpkg --compare-versions "$2" lt 2.4.0-20111025-1; then
-				if [ -d /etc/tomoyo ]; then
-						mv -f /etc/tomoyo /etc/tomoyo.old.$2;
-				fi
-        fi
-		;;
-
-    abort-upgrade)
-        ;;
-
-
-    *)
-        echo "$0 called with unknown argument \`$1'" 1>&2
-        exit 1
-        ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
diff -Nru tomoyo-tools-2.5.0-20120414/debian/rules tomoyo-tools-2.5.0-20120414/debian/rules
--- tomoyo-tools-2.5.0-20120414/debian/rules	2012-05-26 05:23:15.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/rules	2012-06-30 09:18:54.000000000 +0900
@@ -5,14 +5,19 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-	dh $@;
+	dh $@
 
 override_dh_auto_install:
 	dh_auto_install -- INSTALLDIR=$(CURDIR)/debian/tmp
-	-rm $(CURDIR)/debian/tmp/usr/lib/tomoyo/COPYING.tomoyo \
-            $(CURDIR)/debian/tmp/usr/lib/tomoyo/README.tomoyo
 
-PKG_VERS=$(shell dpkg-parsechangelog | grep ^Version: | cut -d '-' -f-2 | cut -d ' ' -f2)
+override_dh_install:
+	dh_install -XCOPYING.tomoyo -XREADME.tomoyo
+
+override_dh_clean:
+	dh_clean
+	debconf-updatepo
+
+PKG_VERS=$(shell dpkg-parsechangelog | grep ^Version: | cut -d'-' -f-2 | cut -d' ' -f2)
 
 get-orig-source:
 	uscan --force-download --rename --repack --download-version=$(PKG_VERS) --destdir=.
diff -Nru tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.config tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.config
--- tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.config	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.config	2012-06-18 16:53:46.000000000 +0900
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+GRUBFILE="/etc/default/grub"
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+if [ -f $GRUBFILE ]; then
+  db_set tomoyo-tools/grub true
+fi
+
+db_input medium tomoyo-tools/grub || true
+db_go
+
+exit 0
diff -Nru tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.lintian-overrides tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.lintian-overrides
--- tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.lintian-overrides	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.lintian-overrides	2012-07-01 12:24:40.000000000 +0900
@@ -0,0 +1 @@
+no-upstream-changelog
diff -Nru tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postinst tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postinst
--- tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postinst	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postinst	2012-06-18 17:07:26.000000000 +0900
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+CONFDIR="/etc/tomoyo/tool"
+CONFFILES="audit.conf editpolic.conf notifyd.conf patternize.conf stat.conf"
+
+set -e
+
+case "$1" in
+    install|configure)
+	if [ -d $CONFDIR ]; then cd $CONFDIR &&
+        for file in $CONFFILES
+        do
+          if [ -f $file ]; then
+            echo "check $file..."
+          else
+            echo "Policy file does NOT exist. Now initialised..."
+            /usr/lib/tomoyo/init_policy
+	    break
+          fi
+        done
+	fi
+
+	# enable tomoyo
+        . /usr/share/debconf/confmodule
+        db_version 2.0
+        db_get tomoyo-tools/grub
+        db_stop
+
+        if [ -f /etc/default/grub ] && [ -x /usr/sbin/update-grub ]; then
+            if [ $RET = true ]; then
+                sed -e s/^GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"security=tomoyo\"/ \
+                -i /etc/default/grub && update-grub
+            elif [ $RET = false ]; then
+                sed -e s/^GRUB_CMDLINE_LINUX=\"security=tomoyo\"/^GRUB_CMDLINE_LINUX=\"\"/ \
+                -i /etc/default/grub && update-grub
+            fi
+         fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postrm tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postrm
--- tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postrm	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.postrm	2012-06-15 09:25:39.000000000 +0900
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+set -e
+
+CONFDIR="/etc/tomoyo"
+CONFFILES="domain_policy.conf exception_policy.conf manager.conf profile.conf meminfo.conf stat.conf"
+
+case "$1" in
+    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    remove)
+    if [ -f /etc/default/grub ] && [ -x /usr/sbin/update-grub ]; then
+      sed -e s/GRUB_CMDLINE_LINUX=\"security=tomoyo\"/GRUB_CMDLINE_LINUX=\"\"/ \
+	  -i /etc/default/grub && update-grub
+    fi
+    ;;
+
+    purge)
+    for conffile in $CONFFILES
+    do
+      if [ -f $CONFDIR/$conffile ]; then
+        rm $CONFDIR/$conffile
+      fi
+    done
+    if [ -d /etc/tomoyo/policy ]; then
+        rm -rf /etc/tomoyo/policy
+    fi
+
+    if [ -f /etc/default/grub ] && [ -x /usr/sbin/update-grub ]; then
+      sed -e s/GRUB_CMDLINE_LINUX=\"security=tomoyo\"/GRUB_CMDLINE_LINUX=\"\"/ \
+	  -i /etc/default/grub && update-grub
+    fi
+    ;;
+
+   *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff -Nru tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.preinst tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.preinst
--- tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.preinst	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.preinst	2011-12-10 20:26:33.000000000 +0900
@@ -0,0 +1,47 @@
+#!/bin/sh -e
+
+# This script can be called in the following ways:
+#
+# Before the package is installed:
+#       <new-preinst> install
+#
+# Before removed package is upgraded:
+#       <new-preinst> install <old-version>
+#
+# Before the package is upgraded:
+#       <new-preinst> upgrade <old-version>
+#
+#
+# If postrm fails during upgrade or fails on failed upgrade:
+#       <old-preinst> abort-upgrade <new-version>
+
+set -e
+
+case "$1" in
+    install)
+        ;;
+
+    upgrade)
+        # 2.3.0 is not compatible with 2.2.x. Thus we need to create a new db.
+		# Otherwise, the kernel will panic on boot
+        if dpkg --compare-versions "$2" lt 2.4.0-20111025-1; then
+				if [ -d /etc/tomoyo ]; then
+						mv -f /etc/tomoyo /etc/tomoyo.old.$2;
+				fi
+        fi
+		;;
+
+    abort-upgrade)
+        ;;
+
+
+    *)
+        echo "$0 called with unknown argument \`$1'" 1>&2
+        exit 1
+        ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
diff -Nru tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.templates tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.templates
--- tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.templates	1970-01-01 09:00:00.000000000 +0900
+++ tomoyo-tools-2.5.0-20120414/debian/tomoyo-tools.templates	2012-07-13 04:12:44.000000000 +0900
@@ -0,0 +1,20 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: tomoyo-tools/grub
+Type: boolean
+Default: false
+_Description: Enable TOMOYO Linux at boot time?
+ Enabling TOMOYO Linux functionality in the running kernel requires an
+ appropriate kernel command line at boot time. This can be configured by
+ setting GRUB_CMDLINE_LINUX="security=tomoyo" in /etc/default/grub and
+ running grub-update.
+ .
+ If you accept here, these actions will be performed automatically and
+ TOMOYO Linux will be enabled at next boot.


Reply to: