--- nut-2.2.2.orig/debian/nut-xml.install +++ nut-2.2.2/debian/nut-xml.install @@ -0,0 +1 @@ +debian/tmp/lib/nut/netxml-ups --- nut-2.2.2.orig/debian/nut.dirs +++ nut-2.2.2/debian/nut.dirs @@ -0,0 +1,5 @@ +/etc/nut +/bin +/sbin +/var/lib/nut +/var/run/nut --- nut-2.2.2.orig/debian/copyright +++ nut-2.2.2/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Luca Filipozzi on +Wed Jun 28 19:48:05 PDT 2000 + +It was downloaded from http://random.networkupstools.org/ + +Upstream Authors: + + Russell Kroll + Arnaud Quette + and the NUT Team + +Copyright: + + Copyright (C) 2000-2004 Russell Kroll, Arnaud Quette and the NUT Team + + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301, USA. + + As an exception, linking with OpenSSL libraries is permitted, along with + distributing the resulting binaries. + + On Debian systems, the full text of the GNU General Public License + may be found in /usr/share/common-licenses/GPL. + --- nut-2.2.2.orig/debian/nut-hal-drivers.preinst +++ nut-2.2.2/debian/nut-hal-drivers.preinst @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +if [ "$1" = install ] || [ "$1" = upgrade ]; then + if [ -e "/etc/udev/rules.d/52_nut-usbups.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/52_nut-usbups.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' nut-hal-drivers | sed -n -e \"\\\\' /etc/udev/rules.d/52_nut-usbups.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/52_nut-usbups.rules" + else + mv "/etc/udev/rules.d/52_nut-usbups.rules" "/etc/udev/rules.d/52-nut-usbups.rules" + fi + fi +fi + +#DEBHELPER# --- nut-2.2.2.orig/debian/changelog +++ nut-2.2.2/debian/changelog @@ -0,0 +1,1273 @@ +nut (2.2.2-10ubuntu2) jaunty; urgency=low + + * debian/rules: Install udev rules into /lib/udev/rules, bump versioned + dependency on udev. + * debian/nut.install, debian/nut-hal-drivers.install: Update path + * debian/patches/04-ubuntu-udev-rules-name.dpatch: Use a dash to + separate the name, not an underscore. + * debian/nut.preinst, debian/nut-hal-drivers.preinst: Remove previous + rules if unchanged, otherwise move to new filename. + * debian/control: Add Breaks to ensure we have correct udev version. + + -- Scott James Remnant Tue, 13 Jan 2009 02:50:14 +0000 + +nut (2.2.2-10ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + + debian/control: + - Update maintainer field as per spec. + + debian/nut{-cgi,-hal-drivers}.preinst: + - Add nut user to dialout group. + + debian/nut.install + - Install the configuration files in /etc/nut. + + -- Chuck Short Fri, 28 Nov 2008 23:01:47 +0000 + +nut (2.2.2-10) unstable; urgency=low + + * Merge from Ubuntu (Morten Kjeldgaard): + * debian/compat: changed to 6 + * debian/control: + - bump Build-Depends on debhelper to (>= 6.0.7~) since we are now using + dh_lintian. + - add hal to Build-Depends since configure attempts to locate /usr/lib/hal + in order to define callouts path and device information path + * debian/rules: --prefix is back to /usr, --exec-prefix=/ and --libdir=/lib + instead, which has the desired effect of moving the libraries to /lib. + The many shell commands in debian/rules, for moving files from the + install directory to the package directories have all been replaced by + dh_* calls and matching .* files. + * debian/{libupsclient1-dev.install, libupsclient1-dev.manpages, + libupsclient1.install, nut-cgi.install, nut-cgi.manpages, + nut-hal-drivers.install, nut-snmp.install, nut-snmp.manpages, + nut-xml.install, nut-xml.manpages, nut.install, nut.lintian-overrides, + nut.manpages}: added debhelper files. + * debian/nut.dirs: modified debhelper files + * debian/libupsclient1-dev.links: added to provide a link from + /usr/lib/libupsclient.so -> /lib/libupsclient.so.1.0.0 + This is a transitional measure, to salvage packages that have not yet + been updated to the new library location. Can be removed sometime in the + future. + * debian/patches/03-configure.in.dpatch: patch to configure.in adding + AC_CONFIG_MACRO_DIR([m4]) + + -- Arnaud Quette Thu, 27 Nov 2008 21:43:59 +0100 + +nut (2.2.2-9) unstable; urgency=low + + * debian/rules: also move libupsclient.so to /lib, otherwise the link is + broken (Closes: #505101) + * debian/nut-cgi.postinst: test if /etc/nut exists before chmod'ing (Closes: + #502757) + * debian/nut.TODO.Debian: some update and completion + + -- Arnaud Quette Wed, 15 Oct 2008 17:20:29 +0200 + +nut (2.2.2-8ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + + debian/control: + - Update maintainer field as per spec. + + debian/nut{-cgi,-hal-drivers}.preinst: + - Add nut user to dialout group. + + debian/rules: + - Move the configuration files to /etc/nut from examples. + + -- Chuck Short Wed, 05 Nov 2008 02:59:59 -0400 + +nut (2.2.2-8) unstable; urgency=high + + * debian/nut.links: restored since it's now handled by insserv (Closes: + #500190) + * debian/changelog: fix a typo error + * debian/rules: move libupsclient.so.1 from /usr/lib to /lib (Closes: + #491591) + * debian/nut-cgi.README.Debian: fix the permissions on /etc/nut (Closes: + #492277) + * debian/control: add Vcs-Browser and Vcs-Svn fields + + -- Arnaud Quette Tue, 30 Sep 2008 21:37:59 +0200 + +nut (2.2.2-7) unstable; urgency=high + + * debian/nut.links: removed to satisfy insserv (Closes: #492734) + * debian/po/it.po: add Italian debconf template translation (Closes: + #495781) + * debian/nut.preinst: force the nut user to be part of the extra group nut + (Closes: #493159) + + -- Arnaud Quette Mon, 15 Sep 2008 17:18:28 +0200 + +nut (2.2.2-6ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + + debian/control: + - Update maintainer field as per spec. + + debian/nut{-cgi,-hal-drivers}.preinst: + - Add nut user to dialout group. + + debian/rules: + - Move the configuration files to /etc/nut from examples. + + -- Chuck Short Mon, 14 Jul 2008 00:54:42 +0100 + +nut (2.2.2-6) unstable; urgency=low + + * tag this bug as closed by the 2.2.2 release (Closes: #490048) + * debian/nut.README.Debian: + - fix the serial udev advice (Closes: #490182) + - mention the UPS compatibility list (Closes: #447187) + * debian/po/de.po: update German debconf template translation (Closes: + #490128) + * debian/changelog: fix a typo on 2.2.2-2 release urgency + + -- Arnaud Quette Fri, 11 Jul 2008 11:30:55 +0200 + +nut (2.2.2-5) unstable; urgency=low + + * debian/po/eu.po: add Basque debconf template translation (Closes: + #489580) + * debian/control: + - add a Build-Depends on autoconfi, automake, libtool for the below patch + - bump Depends on udev to 0.124-1 to complete the fix of #489831 + * debian/rules: call autoreconf after patches application + * debian/patches/02_g_timeout_add_seconds_patch.dpatch: fix compilation + issue in the nut-hal-drivers code, when using a Glib older than 2.14 + (Closes: #489742) + * debian/nut.postint: replace the call to udevtrigger by udevadm trigger + (Closes: #489831) + + -- Arnaud Quette Mon, 07 Jul 2008 11:04:52 +0200 + +nut (2.2.2-4) unstabl e; urgency=low + + * debian/rules: fix a Lintian warning + (debian-rules-calls-debhelper-in-odd-order) + * debian/po/fi.po: add Finnish debconf template translation (Closes: + #489123) + * debian/po/ru.po: add Russian debconf template translation (Closes: + #489285) + * debian/po/vi.po: update Vietnamese debconf template translation (Closes: + #489393) + * debian/nut.templates: remove nut/change_system_user since it is not used + anymore (Closes: #486783) + + -- Arnaud Quette Sat, 05 Jul 2008 22:56:35 +0200 + +nut (2.2.2-3ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + + debian/control: + - Update maintainer field as per spec. + + debian/nut{-cgi,-hal-drivers}.preinst: + - Add nut to user to dialout group. + + debian/rules: + - Move the configuation files to /etc/nut from examples. + + -- Chuck Short Tue, 01 Jul 2008 11:57:01 +0100 + +nut (2.2.2-3) unstable; urgency=low + + * debian/rules: reactivate dpatch support + * debian/control: add dpatch back to Build-Depends + * debian/patches/00list: fix the matching of the NUT HAL .fdi file (Closes: + #471828) + * debian/po/fr.po: update French debconf template translation (Closes: + #486740) + * debian.po/de.po: update the German debconf template translation (Closes: + #487187) + * debian/po/sv.po: add Swedish debconf template translation (Closes: #488217) + * debian.po/cs.po: update the Czech debconf template translation (Closes: + #488355) + * debian/po/pt.po: update the Portuguese debconf template translation (Closes: + #488403) + * debian/po/sv.po: add Galician debconf template translation (Closes: #488380) + * debian/nut.config: fix a typo in comment + + -- Arnaud Quette Fri, 27 Jun 2008 16:18:29 +0200 + +nut (2.2.2-2) unstable; urgency=low + + * debian/rules: fix HAL files installation paths (Closes: #486362) + * debian/control: + - fix conflicts (Closes: #486704, #486705) + - update Standards-Version to 3.8.0 + + -- Arnaud Quette Fri, 20 Jun 2008 21:29:31 +0200 + +nut (2.2.2-1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + + debian/control: + - Update maintainer field as per spec. + + debian/nut{-cgi,-hal-drivers}.preinst: + - Add nut to user to dialout group. + + debian/rules: + - Move the configuration files to /etc/nut from examples + + debian/patches/01_fix_megatec_regression.dpatch. + - Dropped no longer since its fixed in this version. + + -- Chuck Short Wed, 18 Jun 2008 11:30:10 -0500 + +nut (2.2.2-1) unstable; urgency=low + + * New upstream release (Closes: #471828, #462468, #334105, #463150) + * acknowledges NMUs (Closes: #469855) + * debian/control: + - add the new nut-xml package and its libneon dependency + - add the new libupsclient1 and libupsclient1-dev packages, with the latter + replacing nut-dev (Closes: #419684) + - remove dpatch dependency + * debian/rules: update according to upstream changes + - replace --with-lib by --with-dev + - update HAL integration + - update for the nut-xml package + - distribute the shared version of libupsclient + - comment dpatch calls + * debian/nut.postinst, debian/nut-hal-drivers.postinst: use udevtrigger to + refresh the devices permissions (Closes: #469601, #475262) + * debian/changelog: fix a typo + * debian/nut.templates: fix the short and long descriptions + * debian/libupsclient1.postinst, debian/libupsclient1.postrm: added to + handle the calls to ldconfig + * debian/nut.init: fix the call to /etc/init.d/reboot by adding the missing + "stop" parameter (Closes: 482022) + * debian/*.template: minor rework of the Debconf templates (Closes: 444151) + + -- Arnaud Quette Wed, 04 Jun 2008 13:35:41 +0200 + +nut (2.2.1-2.1ubuntu7) hardy; urgency=low + + * debian/patches/01_fix_megatec_regression.dpatch + - Fix more megatec_usb driver regressions. (LP: #215389) + + -- Chuck Short Mon, 14 Apr 2008 14:25:48 -0400 + +nut (2.2.1-2.1ubuntu6) hardy; urgency=low + + * debian/patches/01_fix_megatec_regression.dpatch + - Updated patch thanks to Alexander I. Gordeev . (LP: #209001) + + -- Chuck Short Thu, 10 Apr 2008 09:33:53 -0400 + +nut (2.2.1-2.1ubuntu5) hardy; urgency=low + + * debian/patches/01_fix_megatec_regression.dpatch + - Readded support for various USB devices. (LP: #209001) + + -- Chuck Short Mon, 07 Apr 2008 08:46:46 -0400 + +nut (2.2.1-2.1ubuntu4) hardy; urgency=low + + * Use udevtrigger to restart udev. (LP: #204612) + + -- Chuck Short Wed, 26 Mar 2008 13:30:24 -0400 + +nut (2.2.1-2.1ubuntu3) hardy; urgency=low + + * Fix FTBFS. + + -- Chuck Short Sat, 22 Mar 2008 10:00:06 -0400 + +nut (2.2.1-2.1ubuntu2) hardy; urgency=low + + * Fix udev rules. (LP: #204612). + * Cleaned up debian/control. + + -- Chuck Short Fri, 21 Mar 2008 20:30:44 -0400 + +nut (2.2.1-2.1ubuntu1) hardy; urgency=low + + * Merge from debian unstable (LP: #203366), remaining Ubuntu changes: + + debian/rules: + - Move the configuration files to /etc/nut from examples. + + debian/nut{,-cgi,-hal-drivers}.preinst + - Add nut user to dialout group. + + debian/control: + - Updated Maintainer field as per spec. + + -- Luca Falavigna Mon, 17 Mar 2008 23:59:38 +0100 + +nut (2.2.1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Skip udev restart logic within chroots, closes: #469855. + + -- Joe Nahmias Sun, 09 Mar 2008 13:12:12 -0400 + +nut (2.2.1-2ubuntu1) hardy; urgency=low + + * Move the configuration files to /etc/nut from examples. (LP: #85598) + * Add nut user to dialout group. (LP: #157079) + * Updated Maintainer according to specs. + + -- Chuck Short Thu, 28 Feb 2008 10:10:24 -0500 + +nut (2.2.1-2) unstable; urgency=low + + * debian/po/de.po: update the German po-debconf translation (Closes: + #464466) + * nut-hal-drivers.preinst: created to add to HAL user to the NUT group + (Closes: #460392) + * debian/nut-hal-drivers.postinst: created to complete the above by + restarting udev after the rules file installation + * debian/changelog: Fix some Lintian reports (syntax and spelling errors) + * debian/nut.README.Debian: completed a bit more for #334105 + + -- Arnaud Quette Fri, 8 Feb 2008 13:48:23 +0100 + +nut (2.2.1-1) unstable; urgency=low + + * New upstream release (Closes: #439986) + * acknowledges NMUs (Closes: #447961, #445000) + * debian/watch: update the URL to point the 2.2 tree + * debian/rules: + - force --udev-dir to remove udev from Build-Depends while + keeping the feature (complete #447961 fix) + - limit the above fix to linux systems not to break build on + bsd and hurd these architectures (Closes: #460732) + - fix lintian debian-rules-ignores-make-clean-error and do some more + cleanup + - remove the empty directories /usr/{include,lib} from the nut package + * debian/nut.postinst: call invoke-rc.d instead of the udev init script + (Closes: #442331) + * debian/control: + - remove udev from Build-Depends + - update Standards-Version to 3.7.3 + - remove Homepage from description and add it as a tag + - add libsnmp-dev as an alternate Build-Depends to libsnmp9-dev + * debian/po/nl.po: update the Dutch po-debconf translation (Closes: #447720) + * debian/po/fr.po: update the French po-debconf translation (Closes: #442102) + * debian/patches/*: removed since these have been applied upstream + * debian/patches/00list: emptied but kept for future use + + -- Arnaud Quette Wed, 23 Jan 2008 17:13:13 +0100 + +nut (2.2.0-2.1) unstable; urgency=low + + * Non-maintainer upload with Arnaud's permission. + * debian/nut.postinst: restart udev only if it is running already + (Closes: #447961). + * debian/nut.preinst: ignore db_get errors for nut/remove_debian_conf, + thanks to Alexander Gerasiov for the patch (Closes: #445000). + * Fixed typo in the date of the 2.2.0-2 changelog entry (Augl -> Aug). + + -- Sebastian Harl Tue, 8 Jan 2008 13:50:11 +0100 + +nut (2.2.0-2) unstable; urgency=low + + * debian/control: list udev as Build-Depends to allow the udev rules + inclusion (Closes: #437811) + * debian/nut.default: fix a typo error on UPSMON options comment (Closes: + #439407) + * debian/po/: + - add Brazilian Portuguese debconf templates translation (Closes: + #439793) + - update Portuguese debconf templates translation (Closes: 440369) + - update French debconf templates translation (Closes: 440524) + * debian/Makefile.am: update with the missing files + * debian/patches/03_libupsclient-config.dpatch: patch for the missing FLAGS + (Closes: #439985) + + -- Arnaud Quette Wed, 29 Aug 2007 16:14:11 +0200 + +nut (2.2.0-1) unstable; urgency=low + + * New upstream release (Closes: #432909, #420016, #426033) + * debian/control: + - merge the nut-usb package into nut, and update the various needed + fields (Depends, Provides, Conflicts, Suggests and Description) + - requires at least libhal-dev 0.5.8 + - complete the nut-hal-drivers Description (Homepage) + - update to policy 3.7.2 + - add po-debconf to Build-Depends + * debian/rules: + - general rewrite since the upstream now use automake + - force the evaluation of DEB_HOST_ARCH_OS for dh_gencontrol + - force udev to empty on non Linux system, for dh_gencontrol + - remove the DH_COMPAT export + - update the nut-usb specifics, not needed anymore + - nut-hal-drivers also needs the udev rules + - call debconf-updatepo to clean debconf translations + * debian/compat: creation + * debian/nut-usb.*: remove these files, and put the content in the + matching nut.* files + * debian/nut.preinst: remove the old udev rule file (025_nut...) which + was manually installed, and now addressed upstream and called 52_nut. + * debian/nut.postinst: restart udev to apply the USB rules to the + already plugged devices + * debian/nut-hal-drivers.preinst: created to add the HAL user to + the nut group + * debian/po/nl.po: added Dutch po-debconf translation (Closes: #414756) + * debian/po/pt.po: added Portuguese po-debconf translation (Closes: #415189) + * debian/patches/01_udev_rules_subsystem_usb.dpatch: update the patch + * debian/patches/02_libupsclient.dpatch: patch for the missing FLAGS + * debian/nut.templates: rewrite and simplification + * debian/nut.config: rewrite and simplification + * debian/rules: call dh_installinit with the priority set to 50 to (Closes: + #385694) + * debian/nut.default, debian/nut.init: allow to specify options for upsd and + upsmon (Closes: #420020, #434503) + + -- Arnaud Quette Tue, 17 Jul 2007 09:14:11 +0200 + +nut (2.0.5-3) unstable; urgency=low + + * debian/patches/01_udev_rules_subsystem_usb.dpatch: rework that + patch to be more generic + + -- Arnaud Quette Fri, 02 Feb 2007 15:38:59 +0100 + +nut (2.0.5-2) unstable; urgency=low + + * debian/patches/*: add a patch to fix the udev rule SUBSYSTEM from + usb_device to usb (thanks to Joey Hess) (Closes: #409080) + * debian/control: + - replace the udev substvar by udev + - nut Conflicts with nut-{usb,snmps} <= 2.0.4 and nut-{usb,snmp} + Depends upon 2.0.5 (Closes: #407882) + * debian/rules: dh_gencontrol no more calls -V for udev + + -- Arnaud Quette Thu, 01 Feb 2007 14:50:49 +0100 + +nut (2.0.5-1) unstable; urgency=low + + * New upstream release (Closes: #406045, #380304, #399741) + * debian/rules: + - replaces CHANGES by ChangeLog + - replace the dummycons installation by dummy-ups + - integrate the --with-htmlpath option + * debian/nut-cgi.docs: created to install data/html/README + * debian/nut.init: LSB compliance update + * debian/control: add lsb-base (>= 3.0-6) to Depends for LSB compliance + + -- Arnaud Quette Tue, 16 Jan 2007 10:42:36 +0100 + +nut (2.0.4-3) unstable; urgency=high + + * acknowledges NMUs (Closes: #396704, #389350) + * debian/nut-usb.postinst: remove the symlinking of the udev file since it's + not useful anymore (Closes: #400215) + * native udev rules are now used (Closes: #359802, #380304) + * debian/po/de.po: add German po-debconf template translation (Closes: + #400285) + * debian/nut.config: change the medium priorities to high (Closes: #388945) + * debian/nut.init: improve drivers startup report + + -- Arnaud Quette Wed, 20 Dec 2006 11:07:30 +0100 + +nut (2.0.4-2.3) unstable; urgency=high + + * Non-maintainer upload. + * Some polish on top of the previous NMU. + * Remove the hotplug alternative; we no longer support it, so it's no + longer acceptable in place of udev. Correspondingly, rename the + substvar to ${udev}. (Closes: #396704) + * Drop debian/nut-usbups.rules and use upstream's rules instead. Modify + debian/rules correspondigly, patch from Arnaud Quette. + + -- Steinar H. Gunderson Fri, 17 Nov 2006 01:12:54 +0100 + +nut (2.0.4-2.2) unstable; urgency=high + + * Non-maintainer upload. + * In the udev script, replace the RUN actions by MODE and GROUP actions, as + per suggestion from the maintainer; should fix permission issues. + (Closes: #396704) + + -- Steinar H. Gunderson Thu, 16 Nov 2006 15:38:43 +0100 + +nut (2.0.4-2.1) unstable; urgency=low + + * NMU + * not removing nut user on purge (Closes: #389350) + + -- Florian M. Weps Thu, 12 Oct 2006 11:19:37 +0200 + +nut (2.0.4-2) unstable; urgency=low + + * debian/rules: replace $PWD by CURDIR to satisfy buildd + * debian/nut.default, debian/nut.init: make the bug 358696 workaround + optional as it might be dangerous under some circumstances (closes: + #358696) + + -- Arnaud Quette Tue, 01 Aug 2006 08:50:26 +0200 + +nut (2.0.4-1) unstable; urgency=low + + * New upstream release + - driver do not use /var anymore when called for shutdown/poweroff + (closes: #332846) + - fixes the newhidups crash upon device reconnexion (closes: #354305, + #359769) + * debian/nut.preinst: syntax enhancement to avoid issue when the nut user + already exists (closes: #378970) + * debian/nut-cgi.postinst: fix wrong permissions (closes: #378818) + * debian/po/cs.po: update Czech translation of nut debconf messages (closes: + #366738) + * debian/nut.default, debian/nut.init: "poweroff" workaround to deal with + BIOS default of "On/Off state: Last state" and system halting itself + before the UPS cuts power (closes: #358696) + * debian/nut-usbups.rules: fix the broken udev rules (closes: #359801) + + -- Arnaud Quette Thu, 27 Jul 2006 15:20:46 +0200 + +nut (2.0.3-4) unstable; urgency=low + + * debian/nut-usb.postinst: generate the /etc/udev/rules/ file + * debian/rules: + - install the right udev rule file (not the upstream one) + - install the debian/hotplug file as libhidups, as it's compatible + with hotplug and udev styles + + -- Arnaud Quette Mon, 13 Mar 2006 08:52:25 +0100 + +nut (2.0.3-3) unstable; urgency=low + + * debian/rules: + - fix a wrong symlink for the udev rule files (closes: #354262) + - add a temporary workaround to clean drivers/tripplite_usb + + -- Arnaud Quette Mon, 27 Feb 2006 15:35:32 +0100 + +nut (2.0.3-2) unstable; urgency=low + + * debian/nut.init: fix the creation of the PID directory, as /var is now volative. + This bug has been identified in Ubuntu (Launchpad #6679) + * debian/nut-cgi.postrm: suppress the deletion of the nut user as it's not + needed (closes: #319395) + * debian/nut-cgi.preinst: suppress that file as we do not need to check and create + the nut user and group for nut-cgi + * debian/nut-cgi.postinst: enhanced to ensure the /etc/nut directory and nut-cgi + configuration files are readable by others + * debian/nut-cgi.README.Debian: improve the documentation about configuration + files permissions + + -- Arnaud Quette Fri, 24 Feb 2006 10:05:25 +0100 + +nut (2.0.3-1) unstable; urgency=low + + * New upstream release + - include the improved USB driver (closes: #300115) + - fix mge-utalk regression (closes: #315431) + - fix USB device claiming and logging (closes: #322901) + * debian/nut-cgi.config: complete the typo fixes from 2.0.2-1 and remove exit + calls (closes: #308215) + * debian/nut.config: remove exit calls + * debian/hotplug: add this file to manage hotplug and udev style permissions settings + * debian/nut-usbups.rules: embed a modified version of the upstream file + * debian/control: + - make hotplug | udev Depends conditionnal, from rules + - remove libusb-0.1-4 Depends as it is already listed with shlibs:Depends + * debian/rules: + - generate debian/control Depends for hotplug | udev + - also install udev files (closes: #338738, #332939) + - call the clean rule before distclean + * debian/nut.README.Debian: + - update the Installation §2 to reflect udev changes on serial port permissions. + Users need to manually add the nut group to the dialout group (closes: #325878, + #334105) + - some other minor update + + -- Arnaud Quette Tue, 21 Feb 2006 13:57:35 +0100 + +nut (2.0.2-2) unstable; urgency=low + + * debian/nut-cgi.postinst: load confmodule + * debian/nut-hidups/*: remove this unneeded directory + * debian/control: + - Update build dependency from libsnmp5-dev to libsnmp9-dev (closes: + #326410) + - Changes nut-usb wrong dependency from libusb-dev to libusb-0.1-4 (closes: + #320315) + - add debconf (>= 0.5.00) and adduser to nut/nut-cgi Depends + * debian/copyright: update the FSF address and the Authors + * debian/po/vi.po: add the Vietnamese translation for debconf, from Clytie + Siddall ((closes: #316327) + + -- Arnaud Quette Fri, 07 Oct 2005 23:35:55 +0200 + +nut (2.0.2-1) unstable; urgency=low + + * New upstream release: + - build respect LDFLAGS (closes: #265439) + - fix etapro brokeness (closes: #305730) + - fix shutdown/restart problems with mge-shut (closes: #302190) + - fix mge-utalk support for older units (closes: #315431) + * debian/po/fr.po: update the French debconf templates, thanks to Michel + Grentzinger (closes: #306541) + * debian/rules: + - install hotplug files for the newhidups USB driver + - suppress the snmp-ups.8 manpage workaround + * debian/nut-usb.prerm: created to remove hotplug files + * debian/control: + - add hotplug Depends for nut-usb + - upgrade Debian Policy to 3.6.2 + * debian/patches/*: remove all patch and empty 00list as all has + been fixed upstream + * debian/nut-cgi.config: integrate the typo fixes that was blocking + upgrade from woody to sarge + * debian/nut-cgi.preinst: remove an unneeded blank line + * acknowledge NMU from Craig Small (closes: #302189) + + -- Arnaud Quette Mon, 27 Jun 2005 11:29:52 +0200 + +nut (2.0.1-3) unstable; urgency=low + + * debian/patches/01_cleanSourceFromlibupsclient.dpatch: removed as it + has been fixed upstream in 2.0.1 + * debian/patches/00list: re enabled for the below patch + * debian/patches/01_upsstatsCgiNoHostCrash.dpatch: added while waiting + for the upstream fix (closes: #302902) + * debian/nut-cgi.templates: added nut-cgi/major_template_changes + * debian/nut-cgi.config: use nut-cgi/major_template_changes (closes: + #301184) + * debian/nut-cgi.README.Debian: reworked, and mention upgrade and + installation. + * debian/nut.README.Debian: mention the missing UPGRADING file, and complete + the upsmon.conf lines with the mandatory POWERDOWNFLAG and SHUTDOWNCMD + (closes: #302182) + * debian/nut.templates: add nut/2_0_upstream_changes to deal with the new + changes + * debian/nut.config: use the above nut/2_0_upstream_changes (closes: + #301060) + + -- Arnaud Quette Fri, 15 Apr 2005 13:52:32 +0100 + +nut (2.0.1-2.1) unstable; urgency=low + + * Non-maintainer upload + * NUT nows powersdown Closes: #302189 + + -- Craig Small Thu, 7 Apr 2005 11:47:58 +1000 + +nut (2.0.1-2) unstable; urgency=low + + * debian/control: add missing Build-Depends for dpatch, thanks to Kurt + Roeckx (closes: #298218) + + -- Arnaud Quette Mon, 07 Mar 2005 16:29:32 +0100 + +nut (2.0.1-1) unstable; urgency=low + + * New upstream release (closes: #247671, #283539) + * debian/watch: update URL to match the current 2.0 stable tree + * debian/rules: + - change install-misc target to install-lib following the upstream rule + name change + - error reporting enhancements, thanks to Karl Shaul (inserted a set -e at + the start of every for loop ; from Debian Policy §4.5). + - workaround to include dummycons test driver and its manpage in nut-dev + while waiting for an upstream rule + - workaround to remove snmp-ups manpage from the nut package, to avoid a + file conflict with nut-snmp, while waiting for an upstream rule + - remove the workaround from 1.4.2-2 to suppress libupsclient.a and + newhidups upon make clean + - comment the "conf files workaround" as it's no more needed + * debian/control: + - add nut-dev to nut Suggests + - complete nut-dev to include dummycons testing driver + - add libusb (>= 0.1.8) nut-usb Depends to benefit of the kernel driver + unbind feature (needed for USB models other than MGE UPSs) + - suppress libgd1 from Build-Depends to fix a DebCheck warning, as it + is listed in Section oldlibs + * debian/nut.README.Debian: add a section "(3) /etc/nut/upsd.conf" + and add references to sample config files and UPGRADING information + (closes: #269485) + * debian/nut.TODO.Debian: add this file to track planned and unfinished + tasks + * debian/nut-cgi.README.Debian: improve a bit the text + * debian/nut.init: test powerdown flag (upsmon -K) and use the new + upsdrvctl exit codes (thanks to Karl Shaul) + * debian/po/cs.po: add Czech translation of debconf templates (patch from + Miroslav Kure) (closes: #283225) + * debian/patches: add basic infrastructure for dpatch + + -- Arnaud Quette Fri, 04 Mar 2005 11:40:13 +0100 + +nut (1.4.3-2) unstable; urgency=low + + * debian/control: add nut-dev package with NUT lib and headers (closes: + #263937) + * debian/rules: change install-misc for the above nut-dev. + * debian/control: invert apache and httpd in nut-cgi Recommends to solve a + lintian warning + + -- Arnaud Quette Sun, 08 Aug 2004 16:07:04 +0200 + +nut (1.4.3-1) unstable; urgency=low + + * New upstream release + * debian/control: change Homepage URL to "www" instead of "random" and + remove trailing slash / dot (closes: #254084) + * debian/control: add apache to nut-cgi Recommends to have a non-virtual + package alternative + + -- Arnaud Quette Thu, 29 Jul 2004 22:58:03 +0200 + +nut (1.4.2-3) unstable; urgency=low + + * debian/control: add libusb-dev version in Build-Depends (closes: #248952) + * debian/copyright: update upstream URL and copyright owners (closes: + #242422) + * debian/po/ca.po: add Catalan translation of debconf templates (patch from + Aleix Badia i Bosch) (closes: #248741) + * debian/nut-cgi.README.Debian: added to describe nut-cgi configuration + (thanks to Marius Gedminas) (closes: #249825) + * debian/nut.README.Debian: minor change + + -- Arnaud Quette Fri, 28 May 2004 13:10:01 +0200 + +nut (1.4.2-2) unstable; urgency=low + + * debian/control: add libusb-dev to Build-Depends (closes: #240586) + * debian/rules: workaround to clean libupsclient.a and newhidups (complete + the above) + + -- Arnaud Quette Sun, 28 Mar 2004 18:30:01 +0100 + +nut (1.4.2-1) unstable; urgency=low + + * New upstream release + * Fixes mge-shut settings and shutdown problems (closes: #232402, #234037) + * debian/nut.init: fixes powerdown rule to prevent from forced UPS shutoff + upon normal shutdown, and add a warning when POWERDOWN flags isn't + defined, thanks to Loic Le Loarer (closes: #236092) + * debian/control: update nut-usb Description to reflect the add of newhidups + and energizerups drivers. + * debian/rules: update nut-usb build and install rules to match the new ones + + -- Arnaud Quette Thu, 25 Mar 2004 16:30:01 +0100 + +nut (1.4.1-release-2) unstable; urgency=low + + * recall previously malformed closed bug (closes: #227965, #227964) + * debian/control: Build-Depends to allow libgd*-noxpm (closes: #231153) + * debian/control: update Homepage address + * debian/watch: update target address + + -- Arnaud Quette Thu, 05 Feb 2004 19:19:56 +0100 + +nut (1.4.1-release-1) unstable; urgency=low + + * New upstream release + * debian/po/*: add gettext support for debconf templates (patch from Michel + Grentzinger) (Close: #227965) + * debian/po/fr.po: add French translation of debconf templates (patch from + Michel Grentzinger) (Close: #227964) + + -- Arnaud Quette Sun, 18 Jan 2004 21:19:56 +0100 + +nut (1.4.1-pre3-5) unstable; urgency=low + + * debian/nut.postrm: fix inverted test with -z (fix a purge error) + * debian/nut.postrm: same as above + * debian/nut.postrm: suppress check_and_delete_group() as it is not useful + * debian/nut-cgi.postrm: same as above + * debian/nut.postinst: test if /etc/nut exists before chmod'ing (fix an + install error) + + -- Arnaud Quette Sat, 15 Nov 2003 22:10:23 +0100 + +nut (1.4.1-pre3-4) unstable; urgency=low + + * debian/nut.preinst: wider check for user/group creation (closes: #217980) + * debian/nut.postrm: rework purge rule for user/group deletion (2nd part of + the above fix) + * debian/nut-cgi.postrm: rework purge rule for user/group deletion (2nd part of + the above fix) + * debian/nut-cgi.preinst: wider check for user/group creation (same as + above) + * debian/rules: suppress {nut,nut-cgi}/etc/nut/*.sample that were wrongly + installed (linked to #172217) + * debian/nut.examples: created to complete above fix + * debian/nut-cgi.examples: created to complete above fix + * debian/nut.postrm: suppress /etc/nut/*.sample file (to correct above + problem) + * debian/nut-cgi.postrm: suppress /etc/nut/*.sample file (same as above) + * Maintainer upload (forgotten previously), closes: #200182, #203061 + + -- Arnaud Quette Sat, 15 Nov 2003 10:10:23 +0100 + +nut (1.4.1-pre3-3) unstable; urgency=low + + * clients/Makefile.in: install parseconf.h to fix compilation error with wmnut + * man/Makefile.in: fix a broken upstream rule (hidups manpages installed two + times) that prevent from installing nut-usb package. This will be fixed in + the next upstream + + -- Arnaud Quette Mon, 10 Nov 2003 17:10:23 +0100 + +nut (1.4.1-pre3-2) unstable; urgency=low + + * man/Makefile.in: fix a broken upstream rule (powernet and snmp-ups + manpages installed two times) that prevent from installing nut-snmp package + + -- Arnaud Quette Mon, 10 Nov 2003 12:59:23 +0100 + +nut (1.4.1-pre3-1) unstable; urgency=low + + * New upstream release + * clients/Makefile.in: suppress the one line patch to install parseconf.o + (from 1.4.1-pre2-1). This is now cleanly addressed by the upstream source + by installing libupsclient.a (closes: #216496) + * debian/rules: change dh_shlibdeps's exclude from upsfetch.o to libupsclient.a + * debian/nut.preinst: fix install rule to catch all cases of nut user and group + needed creation. Previously, post purge install case was not (closes: #217980) + * debian/rules: suppress the work-around for nut-usb package following + the upstream correction (from 1.4.1-pre1-2) + * debian/control: Final package take over ; switch Luca Filipozzi as + co maintainer, and Arnaud Quette as new maintainer. + * debian/watch: point the authoritative download server (penguin.harrison) + and stable releases ("nut/release/1.4/" directory ; it won't work for + final 1.4.1, but for 1.4.2) + * debian/nut.postrm: rework purge rule to suppress a warning + + -- Arnaud Quette Sat, 8 Nov 2003 12:15:23 +0100 + +nut (1.4.1-pre2-1) unstable; urgency=low + + * New upstream release + * debian/control: created package nut-usb for finer deps management + * debian/rules: added rules for nut-usb package, and a work-around + for install directories creation while waiting for upstream correction. + * drivers/Makefile.in: suppressed hidups from PROGS, thanks to the above + * debian/control: repeat Homepage for every sub-package + * debian/control: completed nut Suggests + * debian/control: changed Arnaud Quette address to the good Debian one + * debian/rules: suppress the work-around for nut-snmp package following + the upstream correction(from 1.4.1-pre1-1) + * debian/nut-cgi.preinst: always test if nut user exist as nut-cgi + can be installed without nut, so not having nut user created (closes: + Bug#213730) + * debian/nut-cgi.postinst: chown root:nut to address a potential security + issue (see 1.2.1-2) + * clients/Makefile.in: one line patch to install parseconf.o. This solve + a problem with wmnut package (can't build anymore due to unresolved + symbols). This point will be more cleanly address in next upstream + + -- Arnaud Quette Sat, 18 Oct 2003 09:05:01 +0200 + +nut (1.4.1-pre1-2) unstable; urgency=low + + * debian/control: rewrotte descriptions to follow Debian Policy. A + further enhancement will be to use debian/nut.substvars (thanks + to Shaul Karl) (closes: Bug#209569) + * drivers/Makefile.in: added back hidups to PROGS (closes: Bug#208248) + * debian/control: added libgd2-* to Build-Depends to allow more choices + * debian/control: added Shaul Karl as co-maintainer + * debian/control: changed Arnaud Quette address to Debian's one + + -- Arnaud Quette Sun, 14 Sep 2003 12:11:45 +0200 + +nut (1.4.1-pre1-1) unstable; urgency=low + + * New upstream release (closes: Bug#203856) + * recall ignored 1.4.0-2 changes (closes: Bug#204193, Bug#199895) + * debian/nut.preinst: already solved bug in 1.4.0-3 (closes:Bug#206229) + * debian/control: created package nut-snmp (closes: Bug#195645) + * debian/rules: added rules for nut-snmp package, and a work-around + for install directories creation while waiting for upstream correction. + * debian/control: change Build-Depends to "libgd-xpm-dev | libgd-dev" to + allow easy woody backport (thanks to Martin Maney) + * debian/nut.prerm: wait for upsd stop before calling the remove tempo + + -- Arnaud Quette Sat, 23 Aug 2003 13:55:32 +0200 + +nut (1.4.0-3) unstable; urgency=low + + * debian/nut.prerm: fix a post removal warning by adding a tempo + (1 sec) before removing /var/run/nut + * debian/nut.preinst: reworked install rule (thanks Shaul) (closes:Bug#204153) + + -- Arnaud Quette Fri, 8 Aug 2003 23:14:26 +0200 + +nut (1.4.0-2) unstable; urgency=low + + * debian/watch: update URL to point NUT 1.4 (thanks to Shaul Karl) + * debian/nut.dirs: add /var/run/nut (thanks Shaul) (closes: Bug#204193) + * debian/nut-cgi.preinst: created for allowing separate installation + (without nut) (closes: Bug#199895) + * debian/rules: remove the "--with-group=nut" call to configure as it + is obsolete (thanks Shaul) + * debian/control: add Arnaud Quette as co-maintainer + + -- Arnaud Quette Thu, 7 Aug 2003 20:14:26 +0200 + +nut (1.4.0-1) unstable; urgency=low + + * New upstream release (closes: Bug#203061) + * debian/nut.init: change Init-script ordering (start_stop_server) to + address data stale warning (closes: Bug#200182) + + -- Arnaud Quette Fri, 1 Aug 2003 18:42:22 +0200 + +nut (1.2.2-1) unstable; urgency=low + + * New upstream release + * debian/rules: gidNumber of group 'nobody' is 65534 not 65535 + (thanks Shaul) (closes: Bug#180532) + + -- Luca Filipozzi Fri, 18 Apr 2003 20:12:17 -0700 + +nut (1.2.1-2) unstable; urgency=low + + * debian/nut.README.Debian: s/smartapc/apcsmart/ (closes: Bug#177713) + * debian/nut.postinst: chown root:nut instead of chown nut:nut for files + in /etc/nut/* and for the dirs /etc/nut, /var/run/nut, /var/lib/nut; + this addresses a potential security issue as described in the comments + contained in /etc/nut/upsmon.conf (closes: Bug#180059) + * debian/nut.init: sysadmins might modify POWERDOWNFLAG in + /etc/nut/upsmon.conf without realizing that it is hard coded in the + /etc/init.d/nut init script; fix the init script to parse the + configuration file for the value of POWERDOWNFLAG (closes: Bug#179686) + * debian/nut.init: print a message prior to shutdown (closes: Bug#180242) + + -- Luca Filipozzi Sat, 8 Feb 2003 18:12:11 -0800 + +nut (1.2.1-1) unstable; urgency=low + + * New upstream release + * debian/control: nut provides/conflicts ups-monitor (closes: Bug#170655) + * debian/nut.postinst and debian/nut-cgi.postinst: + test -f file before chown/chmod (closes: Bug#170553) + * debian/nut.postinst: fix permissions on /var/lib/nut (closes: Bug#173318) + * debian/nut.preinst: change how the 'nut' user/group are detected and + created (closes: Bug#173321) + * between 1.1.11-1 incorrectly installed conffiles into /etc/nut + with the extension .sample; fortunately, this release of the package + did not migrate to testing and since 1.1.11-2 the .sample extension + has not been used (closes: Bug#172217) + * debian/nut.preinst: change the way the nut user/group are detected + before adduser is called (closes: Bug#170653) + * debian/nut.README.Debian: fixed minor doc error (Closes: Bug#173673) + + -- Luca Filipozzi Wed, 11 Dec 2002 19:39:02 -0800 + +nut (1.2.0-1) unstable; urgency=low + + * New upstream release + * debian/nut-cgi.postinst: fix permissions on /etc/nut/hosts.conf and + /etc/nut/upsset.conf so that they are world readable (Closes: Bug#167332) + * debian/nut.init: added sleep 5 to allow for an orderly restart (thanks + to Shaul Karl for pointing this out) + + -- Luca Filipozzi Tue, 19 Nov 2002 09:44:25 -0800 + +nut (1.1.12-1) unstable; urgency=high + + * New upstream release (urgency high due to SECURITY FIX) + * SECURITY FIX: a file permission problem potentially exposes + non-system usernames/passwords in /etc/nut/upsd.users that can be used + to DoS a machine running nut by contacting the nut daemon and instructing + it to power off the machine; fixed. + * debian/nut.postinst: change permissions of /etc/nut/upsd.users and + other conffiles to 640 (Closes: Bug#165445) + * debian/nut.config: use db_fset to reset the boolean question that prompts + users to accept whether to continue with the installation of this version + of nut should they answer no (Closes: Bug#165376) + * debian/control: make nut-cgi Replace nut so that conflicting files + can be installed (Closes: Bug#165049) + * drivers/Makefile.in: restored original version that doesn't build + hidups, snmp-ups or powernet; hidups doesn't build on m68k; snmp-ups + and powernet require libsnmp5-dev but libsnmp5-dev requires OpenSSL; + unfortunately, upstream's license doesn't have the OpenSSL exclusion + clause... work is proceeding on porting to gnutls + * drivers/Makefile.in + debian/rules: figured out a mechanism to build + hidups on those architectures that have /usr/include/linux/hiddev.h + * debian/control: build-depend on libgd-xpm-dev (really closes Bug#164832) + + -- Luca Filipozzi Sat, 19 Oct 2002 16:47:35 -0700 + +nut (1.1.11-2) unstable; urgency=low + + * changed build dependencies to avoid depending on a pure-virtual package + without providing a default (thanks Junichi Uekawa) (Closes: Bug#164832) + * debian/rules calls $(MAKE) install-misc so that the header and the .o file + are released with the nut package (too small for a nut-dev package?) + + -- Luca Filipozzi Tue, 15 Oct 2002 08:50:18 -0700 + +nut (1.1.11-1) unstable; urgency=low + + * New upstream release + (Closes: Bug#151047, Bug#155943, Bug#153174, Bug#160178, Bug#164024) + * the "Hey Dorothy, you aren't in Kansas anymore" release + * warning: significant changes since nut 0.45.5; specifically: + - upsd listens on a different port (was 3305; now 3493 (IANA-assigned)) + - configuration file formats have changed + - ups driver internals haved changed: 'common main.c' + upsdrvctl + - some ups drivers that were not ported to the new common model have + been dropped by the upstream author (submit a patch to rectify) + - the init script is significantly simpler + - the daemons will NOT restart on upgrade from from 0.45.5 or earlier + - there is an /etc/default/nut file that defines whether the daemons + will be started + - removed nut-doc package... far too small to merit being on its own + + -- Luca Filipozzi Mon, 14 Oct 2002 13:33:58 -0700 + +nut (0.45.5-rel-3) unstable; urgency=low + + * "unlink .sock file before starting up; this was keeping the drivers down + after a system crash where the .sock files remained" -- upstream + (Closes: Bug#149150, Bug#139859) + + -- Luca Filipozzi Fri, 7 Jun 2002 22:34:53 -0700 + +nut (0.45.5-rel-2) unstable; urgency=low + + * debian/control: nut and nut-cgi suggest rather than recommend + the documentation package, nut-doc (Closes: Bug#144763) + * debian/nut-cgi.dirs: change absolute paths to relative (Closes: Bug#144746) + * debian/rules: remove upsdrvctl.8 from package (Closes: Bug#143099) + + -- Luca Filipozzi Sun, 2 Jun 2002 21:39:14 -0700 + +nut (0.45.5-rel-1) unstable; urgency=low + + * New upstream release + * debian/rules: moved model daemons to /lib/nut to reduce chance of + namespace conflicts (Closes: Bug#141209) + * debian/rules: moved sample configuration files to + /usr/share/doc/nut/examples (Closes: Bug#140472) + # debian/postinst: change mode and ownership of files in /etc/nut/ on + configure to allow ready by nut/nut (Closes: Bug#142116) + + -- Luca Filipozzi Sun, 14 Apr 2002 13:37:13 -0700 + +nut (0.45.4-rel-3) unstable; urgency=low + + * added runtime dependency on adduser (Closes: Bug#137887) + + -- Luca Filipozzi Sat, 16 Mar 2002 21:41:53 -0800 + +nut (0.45.4-rel-2) unstable; urgency=low + + * Changed debian/rules to call install-misc which installs the development + files upsfetch.[oh]. There are too few development files to merit a + nut-dev package. + + -- Luca Filipozzi Sun, 24 Feb 2002 15:47:56 -0800 + +nut (0.45.4-rel-1) unstable; urgency=low + + * New upstream release + + -- Luca Filipozzi Sun, 24 Feb 2002 11:56:46 -0800 + +nut (0.45.4-pre5-1) unstable; urgency=low + + * New upstream release (Closes: Bug#131673) + + -- Luca Filipozzi Sun, 17 Feb 2002 17:31:32 -0800 + +nut (0.45.1-release-2) unstable; urgency=low + + * applied POWERDOWNFLAG upstream-patch (Closes: Bug#111979) + * applied apcsmart calibration user-patch (Closes: Bug#111978) + * modified models/main.c so that it does a forceshutdown *before* + attempting to chdir into /var/lib/nut (Closes: Bug#112540) + + -- Luca Filipozzi Tue, 23 Oct 2001 16:22:57 -0700 + +nut (0.45.1-release-1) unstable; urgency=low + + * New upstream release + * Fixed conffile problem with nut-cgi package (Closes: #108687) + + -- Luca Filipozzi Sat, 18 Aug 2001 11:58:57 -0700 + +nut (0.45.1-pre4-1) unstable; urgency=low + + * New upstream release (Closes: #101105) + + -- Luca Filipozzi Sun, 5 Aug 2001 13:59:12 -0700 + +nut (0.44.3-pre6-3) unstable; urgency=low + + * Init script now poweroffs the UPS' correctly. (Closes: #96790) + * Changed section of nut-doc to 'doc' (Closes: #94842) + * Not upgrading to new upstream source (0.45.0) until it is released. + * Not upgrading to upstream source (0.44.3) since (0.45.0) is coming soon. + + -- Luca Filipozzi Sun, 3 Jun 2001 16:05:01 -0700 + +nut (0.44.3-pre6-2) unstable; urgency=low + + * init script follows policy (Closes: #90346) + + -- Luca Filipozzi Mon, 19 Mar 2001 15:21:44 -0800 + +nut (0.44.3-pre6-1) unstable; urgency=low + + * New upstream release + * modified configure.in so that it doesn't produce an error when it tests + for the existance of group "nut" (Closes: #88126) + + -- Luca Filipozzi Sun, 11 Mar 2001 11:48:54 -0800 + +nut (0.44.3-pre4-1) unstable; urgency=low + + * New upstream release + * create pidfile modifications reworked to use upstream's writepid() function + * modified init script to support these changes... note that users MUST + follow the convention for the UPS directives in the sample upsd.conf; + a warning has been placed in said file + + -- Luca Filipozzi Sun, 25 Feb 2001 19:19:29 -0800 + +nut (0.44.2-6) unstable; urgency=low + + * modified prerm and postinst so that the daemon(s) is restarted only in the + postinst rather than stopped in prerm and started later in postinst thereby + stopping the daemon(s) shortest possible time (Closes: #83614) + * modified all the daemon(s)' source code so that they create pidfiles + * modified the init script so that it uses the pidfiles + + -- Luca Filipozzi Sun, 11 Feb 2001 18:23:44 -0800 + +nut (0.44.2-5) unstable; urgency=low + + * removed "function" keyword from init script (Closes: #83569) + * modified the pre and post scripts so that #DEBHELPER# is at the bottom + * modified debian/rules so that nut-doc is created (Closes: #85059) + * added support for MGE UPS (thanks to Ryan Murray) (Closes: #83743) + + -- Luca Filipozzi Sat, 10 Feb 2001 20:09:35 -0800 + +nut (0.44.2-4) unstable; urgency=low + + * control file changed such that arch=any for nut-doc (Closes: #83323) + + -- Luca Filipozzi Tue, 23 Jan 2001 17:49:25 -0800 + +nut (0.44.2-3) unstable; urgency=low + + * Added a build conflict against libgd-gif1-dev because it provides + libgd-dev but does not have PNG support. (Closes: #82607) + * Fixed a path problem in debian/rules that had manpages installing + in /share/man/man8 instead of /usr/share/man/man8. + + -- Luca Filipozzi Wed, 17 Jan 2001 19:11:56 -0800 + +nut (0.44.2-2) unstable; urgency=low + + * Modified README.Debian to address bad doc path (Closes: #82460) + * Slight improvements to README.Debian, as well. + + -- Luca Filipozzi Mon, 15 Jan 2001 21:11:39 -0800 + +nut (0.44.2-1) unstable; urgency=low + + * New upstream release + + -- Luca Filipozzi Tue, 9 Jan 2001 08:33:56 -0800 + +nut (0.44.1-4) unstable; urgency=low + + * fixed path problem with cgi files; they *are* in /usr/lib/cgi-bin/nut now + + -- Luca Filipozzi Wed, 22 Nov 2000 08:47:54 -0800 + +nut (0.44.1-3) unstable; urgency=low + + * the following changes suggested by Patrik Rak (Closes: #77144, #77195) + * added better preinst(install) checks for group membership + * modified upstream upsd.conf to use correct paths in the UPS directives + * modified upstream upsd.conf to have better ACCESS directive examples + * modified upstream upsmon.conf to have better MONITOR directive examples + * modified upstream upsmon.conf to use a different POWERDOWNFLAG location + (location must be on the root filesystem... otherwise powerdownflag is + not found!) + * modified init script to parse upsmon.conf for the POWERDOWNFLAG location + * modified init script's poweroff section so that all args are recognized + * improved the documentation, primarily README.Debian + * installation scripts modified so that the dependency on adduser >= 3.14 + can be removed; this allows for the creation of potato packages + * the nut user is no longer part of the dialout group; users will have to + manually change the permissions on the serial port devices; + a nut group is created at the same time as the nut user; users should use + the nut group for the serial port permissions: chown root.nut /dev/ttyS0 + (suggested by Shaul Karl and Patrik Rak) + * the cgi scripts are moved to /usr/lib/cgi-bin/nut/* + (suggested by Shaul Karl) + * init script changed significantly to address argument passing problems + (reported by Shaul Karl) + + -- Luca Filipozzi Thu, 16 Nov 2000 11:42:42 -0800 + +nut (0.44.1-2) unstable; urgency=low + + * removed else clause on detection of existing "nut" user (Closes: #76721) + "install" creates the user nut; "remove" doesn't remove it, "purge" does; + a re-"install" would find an existing "nut" user and exit on error; fixed + * fixed a possible bashism (Closes: #72711) + + -- Luca Filipozzi Fri, 10 Nov 2000 10:06:05 -0800 + +nut (0.44.1-1) unstable; urgency=low + + * New upstream release + * serious repurcussion to existing users of nut... the configuration files + have changed somewhat... a critical debconf warning informs the user of + this fact + * binaries are to remains in /sbin (Closes: #69525) + * init script no longer relies on /usr being mounted (Closes: #70033) + * + + -- Luca Filipozzi Fri, 10 Nov 2000 10:05:55 -0800 + +nut (0.44.0-4) unstable; urgency=low + + * Moved man pages from section 1 to section 8. (Closes: #68819) + * nut-doc suggest rather than recommends nut and nut-cgi. (Closes: #69400) + + -- Luca Filipozzi Fri, 18 Aug 2000 23:15:18 -0700 + +nut (0.44.0-3) unstable; urgency=low + + * Minor fixes to packaging scripts (Closes: #67649). + * Created new doc package: nut-doc. + + -- Luca Filipozzi Mon, 24 Jul 2000 10:18:19 -0700 + +nut (0.44.0-2) unstable; urgency=low + + * Minor fixes to init script and to list of undocumented binaries. + + -- Luca Filipozzi Sat, 22 Jul 2000 19:11:42 -0700 + +nut (0.44.0-1) unstable; urgency=low + + * New upstream release + + -- Luca Filipozzi Thu, 20 Jul 2000 09:26:04 -0700 + +nut (0.43.2-2) unstable; urgency=low + + * fixes: Bug#67316: nut: default permissions could reveal passwords + Files in /etc/nut are now 600 by default. + * fixes: Bug#67314: nut: uses old FHS directory /var/state + Now uses /var/lib as per FHS guidelines. + * fixes: Bug#66988: nut_0.43.2-1(unstable): Missing build dependencies + Added debhelper to the build dependencies. + + -- Luca Filipozzi Tue, 18 Jul 2000 14:55:03 -0700 + +nut (0.43.2-1) unstable; urgency=low + + * Initial Release. + * Modification to upstream source: configure.in, common/common.c, + and models/upscommon.c changed to support different configuration + options... --with-user and --with-group which accept a username + and a groupname (rather than a uid/gid as before). + * Modification to upstream source: /var/state/nut is used instead + of /var/state/ups in conf/upsd.conf. + + -- Luca Filipozzi Wed, 3 May 2000 20:50:30 -0700 + +Local variables: +mode: debian-changelog +End: + --- nut-2.2.2.orig/debian/nut-cgi.preinst +++ nut-2.2.2/debian/nut-cgi.preinst @@ -0,0 +1,46 @@ +#!/bin/sh -e + +# source the debconf library +. /usr/share/debconf/confmodule + +check_and_create_group() { + if [ -z `getent group nut` ]; then + addgroup --quiet --system nut +# else +# printf "error: user \"nut\" already exists... see /usr/share/doc/nut/README.Debian\n" && exit 1 + fi +} + +check_and_create_user() { + if [ -z `getent passwd nut` ]; then + adduser --quiet --system --ingroup nut --home /var/lib/nut --no-create-home nut + if [ `getent passwd nut | cut -f3 -d:` -lt 500 ]; + then + adduser nut dialout + fi + adduser --quiet --add_extra_groups nut nut +# else +# printf "error: user \"nut\" already exists... see /usr/share/doc/nut/README.Debian\n" && exit 1 + fi +} + +case "$1" in + + install|upgrade) + # Check for existing nut system account, and create it if needed + check_and_create_group + check_and_create_user + ;; + + abort-upgrade) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; +esac + +#DEBHELPER# +db_stop --- nut-2.2.2.orig/debian/nut.init +++ nut-2.2.2/debian/nut.init @@ -0,0 +1,159 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: nut +# Required-Start: $local_fs $syslog $network +# Required-Stop: $local_fs $syslog $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Network UPS Tools initscript +# Description: This script take care of starting and stopping the +# Network UPS Tools components. When needed, it also +# handle the UPS hardware shutdown. +### END INIT INFO + +# Author: Arnaud Quette + +PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin +NAME=nut +DESC="Network UPS Tools" +DEFAULT=/etc/default/nut +. /lib/lsb/init-functions + +[ -f $DEFAULT ] || exit 0 +. $DEFAULT + +pid_dir=/var/run/nut +upsmon_pid=${pid_dir}/upsmon.pid +upsd_pid=${pid_dir}/upsd.pid +upsd=/sbin/upsd +upsmon=/sbin/upsmon +log=">/dev/null 2>/dev/null" + +# Check if /var/run/nut exists and has the correct perms +check_var_directory() { + [ ! -d ${pid_dir} ] && mkdir -p ${pid_dir} \ + && chown root:nut ${pid_dir} \ + && chmod 770 ${pid_dir} +} + +start_stop_server () { + case "$START_UPSD" in + y|Y|yes|YES|Yes) + case "$1" in + start) + ! /sbin/upsdrvctl start >/dev/null 2>&1 && \ + log_progress_msg "(upsdrvctl failed)" || log_progress_msg "upsdrvctl" + start-stop-daemon -S -q -p $upsd_pid -x $upsd \ + -- $UPSD_OPTIONS >/dev/null 2>&1 + ;; + stop) + start-stop-daemon -K -o -q -p $upsd_pid -n upsd >/dev/null 2>&1 + ! /sbin/upsdrvctl stop >/dev/null 2>&1 && \ + log_progress_msg "(upsdrvctl failed)" || log_progress_msg "upsdrvctl" + ;; + esac + ;; + n|N|no|NO|No|*) + return 1 + ;; + esac +} + +start_stop_client () { + case "$START_UPSMON" in + y|Y|yes|YES|Yes) + case "$1" in + start) + start-stop-daemon -S -q -p $upsmon_pid -x $upsmon \ + -- $UPSMON_OPTIONS >/dev/null 2>&1 + ;; + stop) + start-stop-daemon -K -o -q -p $upsmon_pid -n upsmon >/dev/null 2>&1 + ;; + esac + ;; + n|N|no|NO|No|*) + return 1 + ;; + esac +} + +case "$1" in + + start) + log_daemon_msg "Starting $DESC" + check_var_directory + start_stop_server start && log_progress_msg "upsd" + start_stop_client start && log_progress_msg "upsmon" + log_end_msg 0 + ;; + + stop) + log_daemon_msg "Stopping $DESC" + start_stop_server stop && log_progress_msg "upsd" + start_stop_client stop && log_progress_msg "upsmon" + log_end_msg 0 + ;; + + reload) + $upsd -c reload >/dev/null 2>&1 + $upsmon -c reload >/dev/null 2>&1 + ;; + + restart|force-reload) + log_daemon_msg "Restarting $DESC" + start_stop_client stop + start_stop_server stop + sleep 5 + check_var_directory + start_stop_server start && log_progress_msg "upsd" + start_stop_client start && log_progress_msg "upsmon" + log_end_msg 0 + ;; + + poweroff) + flag=`sed -ne 's#^ *POWERDOWNFLAG *\(.*\)$#\1#p' /etc/nut/upsmon.conf` + wait_delay=`sed -ne 's#^ *POWEROFF_WAIT= *\(.*\)$#\1#p' /etc/default/nut` + if [ -f "$flag" ] ; then + if /sbin/upsmon -K >/dev/null 2>&1 ; then + log_daemon_msg "Shutting down the UPS ..." + sleep 1 + if /sbin/upsdrvctl shutdown ; then + sleep 5 + log_progress_msg "Waiting for UPS to cut the power" + log_end_msg 0 + else + log_progress_msg "Shutdown failed." + log_progress_msg "Waiting for UPS batteries to run down" + log_end_msg 0 + fi + if [ "$wait_delay" ] ; then + log_daemon_msg " (will reboot after $wait_delay) ..." + sleep "$wait_delay" + /etc/init.d/reboot stop + fi + else + log_daemon_msg "Power down flag is not set (UPS shutdown not needed)" + fi + else + if [ -z "$flag" ] ; then + log_daemon_msg "##########################################################" + log_progress_msg "## POWERDOWNFLAG is not defined in /etc/nut/upsmon.conf ##" + log_progress_msg "## ##" + log_progress_msg "## Please read the Manual page upsmon.conf(5) ##" + log_progress_msg "##########################################################" + log_end_msg 0 + fi + fi + ;; + + *) + N=/etc/init.d/$NAME + log_daemon_msg "Usage" "$N {start|stop|reload|restart|force-reload|poweroff}" >&2 + log_end_msg 0 + exit 1 + ;; + +esac + +exit 0 --- nut-2.2.2.orig/debian/libupsclient1-dev.links +++ nut-2.2.2/debian/libupsclient1-dev.links @@ -0,0 +1 @@ +/lib/libupsclient.so.1.0.0 /usr/lib/libupsclient.so --- nut-2.2.2.orig/debian/libupsclient1.install +++ nut-2.2.2/debian/libupsclient1.install @@ -0,0 +1 @@ +debian/tmp/lib/libupsclient.so.* --- nut-2.2.2.orig/debian/nut-cgi.templates +++ nut-2.2.2/debian/nut-cgi.templates @@ -0,0 +1,13 @@ +Template: nut-cgi/major_template_changes +Type: note +_Description: Please manually copy the new HTML template + This is a serious advisory. Please take note. + . + There have been significant changes by the upstream author to the + behaviour of this software. Specifically, the HTML templates in + /etc/nut are different, due to a naming scheme change. + . + If you continue with the installation of this package, upsstats*.cgi + will not work until you manually copy the new HTML template from + /usr/share/doc/nut-cgi/examples/. Please read the instructions in + /usr/share/doc/nut-cgi/README.Debian. --- nut-2.2.2.orig/debian/nut.README.Debian +++ nut-2.2.2/debian/nut.README.Debian @@ -0,0 +1,142 @@ +Network UPS Tools - Quick Start for Debian +------------------------------------------ + +If you have been directed here because of one of the following error messages: + user "nut" already exists + group "nut" already exists +then a previous installation of the nut package was not purged successfully or +you already have a user or group named nut that has nothing to do with the nut +package. The fix is to delete or rename the existing nut user/group. + +Anyway, here are the quick start instructions for using nut: + +These Quick Start instructions are useful for a UPS connected to a single +machine. For a UPS connected to multiple machines, additional steps must be +taken, as outlined at the end of this file, including the notice regarding +SECURITY CONSIDERATIONS. + +(I) Upgrading +============= + +In case of upgrading, follow instructions given in: +/usr/share/doc/nut/UPGRADING + +(II) Installation +================= + +IMPORTANT NOTES: +- sample configuration files are provided in: + /usr/share/doc/nut/examples/ +Simply copy these under /etc/nut and follow the below information for tuning. +- to select the driver you need, take a look at the UPS compatibility list: + /usr/share/nut/driver.list + +(1) /etc/nut/ups.conf (see 'man 5 ups.conf' for more information) + Edit /etc/nut/ups.conf and add something like: + [myups] + driver = mge-utalk + port = /dev/ttyS1 + Use the appropriate driver for your UPS and select the correct port. + If you wish to test manually whether your configuration of ups.conf is + correct, you may invoke upsdrvctl by hand: + /sbin/upsdrvctl start [myups] + /sbin/upsdrvctl stop [myups] + +(2) serial port permissions + The nut user need to be able to access the serial port both for + reading and writing. + + There are two possibilities: + + a) You can add the nut user to the dialout group. + The following command accomplishes this: + addgroup nut dialout + + This is not done by default for security reason. + + b) Another solution, for system supporting udev, is to create a file + (for example /etc/udev/rules.d/52_nut-serialups.rules), placed + after 020_permissions.rules and to add something like: + KERNEL=="ttyS1", GROUP="nut" + + where 'ttyS1' has to be replaced by the exact name of your serial port. + + Note that the USB device permission are automatically set by the + 52_nut-usbups.rules udev rules file. + +(3) /etc/nut/upsd.conf (see 'man 5 upsd.conf' for more information) + Edit /etc/nut/upsd.conf and add something like the following: + ACL all 0.0.0.0/0 + ACL localhost 127.0.0.1/32 + ACCEPT localhost + REJECT all + This will allow local access to upsd data. + Ensure that the permissions of upsd.conf do not permit the world to + read it. It should already be thus, but the following command + accomplishes this: + chown root:nut /etc/nut/upsd.conf + chmod 640 /etc/nut/upsd.conf + +(4) /etc/nut/upsd.users (see 'man 5 upsd.users' for more information) + Edit /etc/nut/upsd.users and add something like the following, + without the comments, in order to define a user: + [monmaster] + password = blah + allowfrom = localhost + upsmon master + Please use *different* usernames and passwords than you use on your + system; see the note regarding SECURITY CONSIDERATIONS at the end + of this file. + Ensure that the permissions of upsd.users do not permit the world to + read it. It should already be thus, but the following command + accomplishes this: + chown root:nut /etc/nut/upsd.users + chmod 640 /etc/nut/upsd.users + +(5) /etc/nut/upsmon.conf (see 'man 5 upsmon.conf' for more information) + Edit /etc/nut/upsmon.conf and add something like the following: + MONITOR myups@localhost 1 monmaster blah master + POWERDOWNFLAG /etc/killpower + SHUTDOWNCMD "/sbin/shutdown -h +0" + Ensure that the permissions of upsmon.conf do not permit the world to + read it. It should already be thus, but the following commands + accomplishes this: + chown root:nut /etc/nut/upsmon.conf + chmod 640 /etc/nut/upsmon.conf + +(6) /etc/default/nut + Edit /etc/default/nut and change START_UPSD and START_UPSMON from + 'no' to 'yes'. For example: + START_UPSD=yes + START_UPSMON=yes + +(7) start the daemon + Invoke '/etc/init.d/nut start' to start the daemon(s). Check + /var/log/syslog to ensure that upsd, appropriate drivers, and upsmon + started up correctly. + + +Additional Notes for Sharing a UPS +---------------------------------- +If you have multiple machines connected to the same UPS, you will need to +(a) modify the access control lists in upsd.conf on the server; +(b) add additional users to upsd.users on the server; and +(c) configure upsmon.conf on the clients. + +Please note that upsmon on a client machine and upsd on a server machine need +to communicate via your network. This means that you need to ensure that all +the networking equipment (hub, switch, router, etc.) between the client and the +server is powered by the UPS. Otherwise, when the power goes down, the network +connection between the client machine will be broken and the client will not +be told to shut down. + +SECURITY CONSIDERATIONS +----------------------- +Finally, please be aware of the following SECURITY CONSIDERATIONS: the TCP +communications between the client daemon, upsmon, and the server daemon, upsd, +send the username and passwords defined in upsd.users and used in upsmon.conf +over the wire UNENCRYPTED. This means that somebody could sniff the username +and password. A version that encrypts the connection using SSL should be +available someday. + +Please see the documentation in /usr/share/doc/nut/docs for more information. --- nut-2.2.2.orig/debian/nut.config +++ nut-2.2.2/debian/nut.config @@ -0,0 +1,24 @@ +#!/bin/sh -e + +# source the debconf library +. /usr/share/debconf/confmodule + +case "$1" in + + configure) + # ask this if upgrading to 2.2.0 or later + if dpkg --compare-versions "$2" lt-nl "2.2.0" ; then + db_input critical nut/major_upstream_changes || true + db_go + db_get nut/major_upstream_changes + if [ "$RET" = "false" ] ; then + db_fset nut/major_upstream_changes seen false + fi + fi + ;; + + *) + ;; + +esac + --- nut-2.2.2.orig/debian/nut-cgi.docs +++ nut-2.2.2/debian/nut-cgi.docs @@ -0,0 +1 @@ +data/html/README --- nut-2.2.2.orig/debian/nut-hal-drivers.docs +++ nut-2.2.2/debian/nut-hal-drivers.docs @@ -0,0 +1 @@ +docs/nut-hal.txt --- nut-2.2.2.orig/debian/nut-hal-drivers.install +++ nut-2.2.2/debian/nut-hal-drivers.install @@ -0,0 +1,3 @@ +debian/tmp/lib/hal/ /usr/lib/ +debian/tmp/usr/share/hal +debian/tmp/lib/udev/ --- nut-2.2.2.orig/debian/nut.docs +++ nut-2.2.2/debian/nut.docs @@ -0,0 +1,5 @@ +AUTHORS +MAINTAINERS +README +UPGRADING +docs --- nut-2.2.2.orig/debian/nut.default +++ nut-2.2.2/debian/nut.default @@ -0,0 +1,33 @@ +# start upsd +START_UPSD=no + +# set upsd specific options. use "man upsd" for more info +UPSD_OPTIONS="" + +# start upsmon +START_UPSMON=no + +# set upsmon specific options. use "man upsmon" for more info +UPSMON_OPTIONS="" + +# At the end of an emergency system halt, the upsmon master will signal the +# UPS to switch off. This may fail for any number of reasons, however, most +# notably if line power returns during the shutdown process. (See the +# section "Power races" in /usr/share/doc/nut/docs/shutdown.txt.gz) +# +# The system will wait this long for the UPS to cut power, and then reboot. +# It should be long enough to exhaust the batteries (in case line power +# continues to be unavailable), but not so long that the system remains +# offline for an unreasonable amount of time (if line power has returned). +# +# See the sleep(1) man page for compatible time syntax. If you specify the +# time in seconds, use the "s" suffix. +# +########################################################################### +################################# WARNING ################################# +########################################################################### +# this workaround might be dangerous under some circumstances +# Please read http://bugs.debian.org/358696 for more details +# +#POWEROFF_WAIT=15m + --- nut-2.2.2.orig/debian/nut.preinst +++ nut-2.2.2/debian/nut.preinst @@ -0,0 +1,95 @@ +#!/bin/sh -e + +# source the debconf library +. /usr/share/debconf/confmodule + +check_and_create_group() { + if [ ! "`getent group nut`" ]; then + addgroup --quiet --system nut +# else +# printf "error: user \"nut\" already exists... see /usr/share/doc/nut/README.Debian\n" && exit 1 + fi +} + +check_and_create_user() { + if [ ! "`getent passwd nut`" ]; then + adduser --quiet --system --ingroup nut --home /var/lib/nut --no-create-home nut + if [ `getent passwd nut | cut -f3 -d:` -lt 500 ]; + then + adduser nut dialout + fi + adduser --quiet --add_extra_groups nut nut +# else +# printf "error: user \"nut\" already exists... see /usr/share/doc/nut/README.Debian\n" && exit 1 + fi +} + +case "$1" in + + install) + # Check for existing nut system account, and create it if needed + check_and_create_group + check_and_create_user + ;; + + upgrade) + # Check for existing nut system account, and create it if needed + check_and_create_group + check_and_create_user + + # remove the obsolete config file (upgrading from nut < 0.44.0) + db_get nut/remove_debian_conf || true + if [ "$RET" = "true" ] ; then + rm -f /etc/nut/debian.conf + fi + + # modify the nut user's home dir (upgrading from nut < 0.44.0) + if dpkg --compare-versions "$2" lt-nl "0.44.0" ; then + usermod -d /var/lib/nut -m nut + fi + + # modify the nut user again (upgrading from nut < 0.44.1-3) + if dpkg --compare-versions "$2" lt-nl "0.44.1-3" ; then + # remove the nut user for the dialout group + usermod -G "" nut + # try to make a nut group with gid equal to uid of the nut user + if ! [ `addgroup --gid \`id -u nut\` nut` ] ; then + # oh well, gid and uid will not be the same + addgroup nut + fi + # change the nut user's primary grou + usermod -g nut nut + fi + + # stop the daemon (upgrading from nut < 1.1.11) + if dpkg --compare-versions "$2" lt-nl "1.1.11" ; then + [ -x /etc/init.d/nut ] && /etc/init.d/nut stop + fi + + # remove the obsolete udev file + [ -f /etc/udev/rules.d/025_nut-usbups.rules ] && rm -f /etc/udev/rules.d/025_nut-usbups.rules + + + if [ -e "/etc/udev/rules.d/52_nut-usbups.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/52_nut-usbups.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' nut | sed -n -e \"\\\\' /etc/udev/rules.d/52_nut-usbups.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/52_nut-usbups.rules" + else + mv "/etc/udev/rules.d/52_nut-usbups.rules" "/etc/udev/rules.d/52-nut-usbups.rules" + fi + fi + ;; + + abort-upgrade) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; +esac + +#DEBHELPER# +db_stop --- nut-2.2.2.orig/debian/nut-cgi.postinst +++ nut-2.2.2/debian/nut-cgi.postinst @@ -0,0 +1,43 @@ +#!/bin/sh -e + +# source the debconf library +. /usr/share/debconf/confmodule + +case "$1" in + + configure) + # Ensure /etc/nut is readable/crossable for others + if [ -d /etc/nut/ ] ; then + chmod 755 /etc/nut + fi + + # Ensure nut-cgi configuration files are readable by others + for file in upsset.conf hosts.conf upsstats.html upsstats-single.html ; do + if [ -f /etc/nut/$file ] ; then + chmod 644 /etc/nut/$file + fi + done + ;; + + abort-upgrade) + # do nothing + ;; + + abort-remove) + # do nothing + ;; + + abort-deconfigure) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + +exit 0 --- nut-2.2.2.orig/debian/nut.install +++ nut-2.2.2/debian/nut.install @@ -0,0 +1,49 @@ +debian/tmp/bin/upslog +debian/tmp/bin/upsc +debian/tmp/bin/upsrw +debian/tmp/bin/upscmd +debian/tmp/sbin/ +debian/tmp/usr/share/nut/ +debian/tmp/lib/udev/ +debian/tmp/lib/nut/energizerups +debian/tmp/lib/nut/genericups +debian/tmp/lib/nut/mge-shut +debian/tmp/lib/nut/cyberpower +debian/tmp/lib/nut/rhino +debian/tmp/lib/nut/bestups +debian/tmp/lib/nut/usbhid-ups +debian/tmp/lib/nut/apcsmart +debian/tmp/lib/nut/belkin +debian/tmp/lib/nut/al175 +debian/tmp/lib/nut/metasys +debian/tmp/lib/nut/etapro +debian/tmp/lib/nut/tripplite_usb +debian/tmp/lib/nut/bcmxcp +debian/tmp/lib/nut/bestuferrups +debian/tmp/lib/nut/gamatronic +debian/tmp/lib/nut/newmge-shut +debian/tmp/lib/nut/safenet +debian/tmp/lib/nut/isbmex +debian/tmp/lib/nut/masterguard +debian/tmp/lib/nut/belkinunv +debian/tmp/lib/nut/tripplite +debian/tmp/lib/nut/upscode2 +debian/tmp/lib/nut/solis +debian/tmp/lib/nut/oneac +debian/tmp/lib/nut/mge-utalk +debian/tmp/lib/nut/nitram +debian/tmp/lib/nut/powerpanel +debian/tmp/lib/nut/bestfcom +debian/tmp/lib/nut/liebert +debian/tmp/lib/nut/powercom +debian/tmp/lib/nut/cpsups +debian/tmp/lib/nut/bcmxcp_usb +debian/tmp/lib/nut/victronups +debian/tmp/lib/nut/tripplitesu +debian/tmp/lib/nut/optiups +debian/tmp/lib/nut/megatec_usb +debian/tmp/lib/nut/upsdrvctl /sbin +debian/tmp/lib/nut/megatec +debian/tmp/lib/nut/everups +debian/tmp/lib/nut/dummy-ups +debian/tmp/etc/* --- nut-2.2.2.orig/debian/libupsclient1-dev.install +++ nut-2.2.2/debian/libupsclient1-dev.install @@ -0,0 +1,5 @@ +debian/tmp/lib/libupsclient.so +debian/tmp/lib/libupsclient.a +debian/tmp/lib/libupsclient.la +debian/tmp/usr/lib/pkgconfig/ +debian/tmp/usr/include --- nut-2.2.2.orig/debian/nut.postinst +++ nut-2.2.2/debian/nut.postinst @@ -0,0 +1,57 @@ +#!/bin/sh -e + +# source the debconf library +. /usr/share/debconf/confmodule + +case "$1" in + + configure) + if [ -d /etc/nut/ ] ; then + chown root:nut /etc/nut/ + fi + for file in ups.conf upsd.conf upsmon.conf upsd.users upssched.conf ; do + if [ -f /etc/nut/$file ] ; then + chown root:nut /etc/nut/$file + chmod 640 /etc/nut/$file + fi + done + chown root:nut /var/run/nut /var/lib/nut + chmod 770 /var/run/nut /var/lib/nut + + # restart udev to apply the USB rules to the already plugged devices + # only if it's already running in this environment + udevd_pid=$(pidof udevd 2>/dev/null) || true + if [ -x /etc/init.d/udev ] && [ -n "$udevd_pid" ]; then + if [ "$(/usr/bin/stat -c %d/%i /)" = "$(/usr/bin/stat -Lc %d/%i /proc/$udevd_pid/root 2>/dev/null)" ]; + then + # coldplug replay on the USB bus only + udevadm trigger --subsystem-match=usb_device + fi + fi + ;; + + abort-upgrade) + # do nothing + ;; + + abort-remove) + # do nothing + ;; + + abort-deconfigure) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +/etc/init.d/nut stop +#DEBHELPER# + +# handle upsmon failing to close +# all inherited file descriptors +db_stop --- nut-2.2.2.orig/debian/libupsclient1-dev.dirs +++ nut-2.2.2/debian/libupsclient1-dev.dirs @@ -0,0 +1 @@ +/lib --- nut-2.2.2.orig/debian/libupsclient1-dev.manpages +++ nut-2.2.2/debian/libupsclient1-dev.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man3/*.3 --- nut-2.2.2.orig/debian/Makefile.am +++ nut-2.2.2/debian/Makefile.am @@ -0,0 +1,8 @@ +EXTRA_DIST = changelog control copyright description.subst hotplug \ + nut-cgi.config nut-cgi.docs nut-cgi.examples nut-cgi.postinst nut-cgi.postrm \ + nut-cgi.preinst nut-cgi.README.Debian nut-cgi.templates nut.config \ + nut.default nut.dirs nut.docs nut.examples nut-hal-drivers.docs \ + nut.init nut.links nut.postinst nut.postrm nut.preinst nut.prerm \ + nut.README.Debian nut.templates nut.TODO.Debian \ + rules watch po/ca.po po/cs.po po/de.po po/fr.po po/POTFILES.in \ + po/pt.po po/pt_BR.po po/templates.pot po/vi.po --- nut-2.2.2.orig/debian/compat +++ nut-2.2.2/debian/compat @@ -0,0 +1 @@ +6 --- nut-2.2.2.orig/debian/nut-hal-drivers.postinst.UBUNTU +++ nut-2.2.2/debian/nut-hal-drivers.postinst.UBUNTU @@ -0,0 +1,33 @@ +#!/bin/sh -e + +# source the debconf library +. /usr/share/debconf/confmodule + +case "$1" in + + configure) + # restart udev to apply the USB rules to the already plugged devices + [ -x /etc/init.d/udev ] && pidof udevd > /dev/null \ + && udevtrigger --subsystem-match=usb_device + ;; + + abort-upgrade) + # do nothing + ;; + + abort-remove) + # do nothing + ;; + + abort-deconfigure) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# --- nut-2.2.2.orig/debian/Makefile.in +++ nut-2.2.2/debian/Makefile.in @@ -0,0 +1,381 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +subdir = packaging/debian +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ax_create_stdint_h.m4 \ + $(top_srcdir)/m4/nut_arg_with.m4 \ + $(top_srcdir)/m4/nut_check_hiddev.m4 \ + $(top_srcdir)/m4/nut_check_ipv6.m4 \ + $(top_srcdir)/m4/nut_check_libgd.m4 \ + $(top_srcdir)/m4/nut_check_libhal.m4 \ + $(top_srcdir)/m4/nut_check_libneon.m4 \ + $(top_srcdir)/m4/nut_check_libnetsnmp.m4 \ + $(top_srcdir)/m4/nut_check_libssl.m4 \ + $(top_srcdir)/m4/nut_check_libusb.m4 \ + $(top_srcdir)/m4/nut_report_feature.m4 \ + $(top_srcdir)/m4/nut_type_socklen_t.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CONFPATH = @CONFPATH@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@ +DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@ +DRIVER_MAN_LIST = @DRIVER_MAN_LIST@ +DSYMUTIL = @DSYMUTIL@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +GREP = @GREP@ +HAL_CALLOUTS_PATH = @HAL_CALLOUTS_PATH@ +HAL_FDI_PATH = @HAL_FDI_PATH@ +HAL_USER = @HAL_USER@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBGD_CFLAGS = @LIBGD_CFLAGS@ +LIBGD_LDFLAGS = @LIBGD_LDFLAGS@ +LIBHAL_CFLAGS = @LIBHAL_CFLAGS@ +LIBHAL_LDFLAGS = @LIBHAL_LDFLAGS@ +LIBNEON_CFLAGS = @LIBNEON_CFLAGS@ +LIBNEON_LDFLAGS = @LIBNEON_LDFLAGS@ +LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@ +LIBNETSNMP_LDFLAGS = @LIBNETSNMP_LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBSSL_CFLAGS = @LIBSSL_CFLAGS@ +LIBSSL_LDFLAGS = @LIBSSL_LDFLAGS@ +LIBTOOL = @LIBTOOL@ +LIBUSB_CFLAGS = @LIBUSB_CFLAGS@ +LIBUSB_LDFLAGS = @LIBUSB_LDFLAGS@ +LINUX_HIDDEV = @LINUX_HIDDEV@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +NETLIBS = @NETLIBS@ +NMEDIT = @NMEDIT@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +RUN_AS_GROUP = @RUN_AS_GROUP@ +RUN_AS_USER = @RUN_AS_USER@ +SED = @SED@ +SERLIBS = @SERLIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STATEPATH = @STATEPATH@ +STRIP = @STRIP@ +SUN_LIBUSB = @SUN_LIBUSB@ +VERSION = @VERSION@ +WORDS_BIGENDIAN = @WORDS_BIGENDIAN@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +cgiexecdir = @cgiexecdir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +driverexecdir = @driverexecdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +hotplugdir = @hotplugdir@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgconfigdir = @pkgconfigdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +udevdir = @udevdir@ +EXTRA_DIST = changelog control copyright description.subst hotplug \ + nut-cgi.config nut-cgi.docs nut-cgi.examples nut-cgi.postinst nut-cgi.postrm \ + nut-cgi.preinst nut-cgi.README.Debian nut-cgi.templates nut.config \ + nut.default nut.dirs nut.docs nut.examples nut-hal-drivers.docs \ + nut.init nut.links nut.postinst nut.postrm nut.preinst nut.prerm \ + nut.README.Debian nut.templates nut.TODO.Debian \ + rules watch po/ca.po po/cs.po po/de.po po/fr.po po/POTFILES.in \ + po/pt.po po/pt_BR.po po/templates.pot po/vi.po + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packaging/debian/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu packaging/debian/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- nut-2.2.2.orig/debian/control +++ nut-2.2.2/debian/control @@ -0,0 +1,114 @@ +Source: nut +Section: admin +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Arnaud Quette +Uploaders: Luca Filipozzi , Shaul Karl +Build-Depends: debhelper (>= 6.0.7~), autoconf, automake, libtool, dpatch, libgd2-xpm-dev | libgd2-noxpm-dev, libsnmp-dev | libsnmp9-dev, libusb-dev (>= 0.1.8), libhal-dev (>= 0.5.8), hal, libdbus-1-dev, libdbus-glib-1-dev, libglib2.0-dev, po-debconf, libneon27-gnutls-dev | libneon26-gnutls-dev | libneon-dev | libneon27-dev | libneon26-dev +Standards-Version: 3.8.0 +Homepage: http://www.networkupstools.org +Vcs-Browser: http://svn.debian.org/wsvn/nut +Vcs-Svn: svn://svn.debian.org/nut/trunk + +Package: nut +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, debconf (>= 0.5.00), lsb-base (>= 3.0-6), ${udev} +Suggests: nut-cgi, nut-snmp, nut-dev, nut-xml +Provides: ups-monitor, nut-doc, nut-usb +Conflicts: ups-monitor, nut-doc, nut-hal-drivers, nut-usb (<< 2.1.0-3), nut-dev (<< 2.2.2) +Replaces: nut-doc +Description: The core system of the nut - Network UPS Tools + nut is a client/server uninterruptible power supply (UPS) monitoring system + that permits the sharing of one (or more) UPS between several machines. The + 'server' monitors the UPS and notifies the 'clients' when the UPS is on + or has a low battery. + . + This package contains the core system, and the serial and USB UPS drivers. + In most cases it is sufficient for a basic UPS monitoring system. + +Package: nut-cgi +Architecture: any +Depends: ${shlibs:Depends}, adduser, debconf (>= 0.5.00) +Recommends: apache | httpd +Suggests: nut +Replaces: nut (<< 1.1.11) +Description: A web interface sub system for the nut - Network UPS Tools + nut is a client/server uninterruptible power supply (UPS) monitoring system + that permits the sharing of one (or more) UPS between several machines. The + 'server' monitors the UPS and notifies the 'clients' when the UPS is on + or has a low battery. + . + This package contains the web interface for Network UPS Tools. It adds + http interface to the core nut system so that one is able to monitor + the core system with a web browser. + +Package: nut-snmp +Architecture: any +Depends: ${shlibs:Depends}, nut (>= 1.4.1-pre1) +Conflicts: nut (<= 1.4.0) +Description: A meta SNMP Driver subsystem for the nut - Network UPS Tools + nut is a client/server uninterruptible power supply (UPS) monitoring system + that permits the sharing of one (or more) UPS between several machines. The + 'server' monitors the UPS and notifies the 'clients' when the UPS is on + or has a low battery. + . + This package contains snmp-ups, the Meta SNMP UPS Driver, which support + different MIBS (IETF, MGE, APC) for Network UPS Tools. It adds an SNMP + Manager interface to the core system. You probably don't need it if + you don't understand what this is all about. + +Package: nut-hal-drivers +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: nut +Provides: hal-ups-support +Breaks: udev (<< 136-1) +Description: HAL interface for NUT - Network UPS Tools + nut is a client/server uninterruptible power supply (UPS) monitoring system + that permits the sharing of one (or more) UPS between several machines. The + 'server' monitors the UPS and notifies the 'clients' when the UPS is on + or has a low battery. + . + This package contains addons for the hardware abstraction layer (HAL) that + allow desktop environments to monitor locally-connected UPS equipment. The + HAL drivers cannot be used at the same time as the normal NUT upsd. + +Package: nut-xml +Architecture: any +Depends: ${shlibs:Depends}, nut (>= 2.2.2) +Description: MGE XML/HTTP Driver subsystem for the nut - Network UPS Tools + nut is a client/server uninterruptible power supply (UPS) monitoring system + that permits the sharing of one (or more) UPS between several machines. The + 'server' monitors the UPS and notifies the 'clients' when the UPS is on + or has a low battery. + . + This package contains netxml-ups, which support all recent MGE models which + use a Network Management Card or Proxy (MGE XML/HTTP protocol based). This + applies to both MGE Office Protection Systems and to MGE UPS SYSTEMS. + You probably don't need it if you don't understand what this is all about. + +Package: libupsclient1 +Architecture: any +Depends: ${shlibs:Depends} +Description: Client library for the nut - Network UPS Tools + nut is a client/server uninterruptible power supply (UPS) monitoring system + that permits the sharing of one (or more) UPS between several machines. The + 'server' monitors the UPS and notifies the 'clients' when the UPS is on + or has a low battery. + . + This package contains the shared client library. + +Package: libupsclient1-dev +Section: libdevel +Architecture: any +Depends: libupsclient1 (= ${binary:Version}), ${shlibs:Depends} +Provides: nut-dev +Conflicts: nut-dev (<< 2.2.2) +Description: Development files for NUT - Network UPS Tools + nut is a client/server uninterruptible power supply (UPS) monitoring system + that permits the sharing of one (or more) UPS between several machines. The + 'server' monitors the UPS and notifies the 'clients' when the UPS is on + or has a low battery. + . + This package contains the development files. + --- nut-2.2.2.orig/debian/nut-cgi.config +++ nut-2.2.2/debian/nut-cgi.config @@ -0,0 +1,24 @@ +#!/bin/sh -e + +# source the debconf library +. /usr/share/debconf/confmodule + +case "$1" in + + configure) + # ask this if upgrading to 2.0.0 or later + if dpkg --compare-versions "$2" lt-nl "2.0.1" ; then + db_input critical nut-cgi/major_template_changes || true + db_go + db_get nut-cgi/major_template_changes + if [ "$RET" = "false" ] ; then + db_fset nut-cgi/major_template_changes seen false + fi + fi + ;; + + *) + ;; + +esac + --- nut-2.2.2.orig/debian/nut-snmp.manpages +++ nut-2.2.2/debian/nut-snmp.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man8/snmp-ups.8 --- nut-2.2.2.orig/debian/nut.manpages +++ nut-2.2.2/debian/nut.manpages @@ -0,0 +1,53 @@ +debian/tmp/usr/share/man/man5/ups.conf.5 +debian/tmp/usr/share/man/man5/upsd.conf.5 +debian/tmp/usr/share/man/man5/upsd.users.5 +debian/tmp/usr/share/man/man5/upsmon.conf.5 +debian/tmp/usr/share/man/man5/upssched.conf.5 +debian/tmp/usr/share/man/man8/al175.8 +debian/tmp/usr/share/man/man8/apcsmart.8 +debian/tmp/usr/share/man/man8/bcmxcp.8 +debian/tmp/usr/share/man/man8/bcmxcp_usb.8 +debian/tmp/usr/share/man/man8/belkin.8 +debian/tmp/usr/share/man/man8/belkinunv.8 +debian/tmp/usr/share/man/man8/bestfcom.8 +debian/tmp/usr/share/man/man8/bestuferrups.8 +debian/tmp/usr/share/man/man8/bestups.8 +debian/tmp/usr/share/man/man8/cpsups.8 +debian/tmp/usr/share/man/man8/cyberpower.8 +debian/tmp/usr/share/man/man8/dummy-ups.8 +debian/tmp/usr/share/man/man8/energizerups.8 +debian/tmp/usr/share/man/man8/etapro.8 +debian/tmp/usr/share/man/man8/everups.8 +debian/tmp/usr/share/man/man8/gamatronic.8 +debian/tmp/usr/share/man/man8/genericups.8 +debian/tmp/usr/share/man/man8/isbmex.8 +debian/tmp/usr/share/man/man8/liebert.8 +debian/tmp/usr/share/man/man8/masterguard.8 +debian/tmp/usr/share/man/man8/megatec.8 +debian/tmp/usr/share/man/man8/megatec_usb.8 +debian/tmp/usr/share/man/man8/metasys.8 +debian/tmp/usr/share/man/man8/mge-shut.8 +debian/tmp/usr/share/man/man8/mge-utalk.8 +debian/tmp/usr/share/man/man8/nitram.8 +debian/tmp/usr/share/man/man8/nutupsdrv.8 +debian/tmp/usr/share/man/man8/oneac.8 +debian/tmp/usr/share/man/man8/optiups.8 +debian/tmp/usr/share/man/man8/powercom.8 +debian/tmp/usr/share/man/man8/powerpanel.8 +debian/tmp/usr/share/man/man8/rhino.8 +debian/tmp/usr/share/man/man8/safenet.8 +debian/tmp/usr/share/man/man8/solis.8 +debian/tmp/usr/share/man/man8/tripplite.8 +debian/tmp/usr/share/man/man8/tripplitesu.8 +debian/tmp/usr/share/man/man8/tripplite_usb.8 +debian/tmp/usr/share/man/man8/upsc.8 +debian/tmp/usr/share/man/man8/upscmd.8 +debian/tmp/usr/share/man/man8/upscode2.8 +debian/tmp/usr/share/man/man8/upsd.8 +debian/tmp/usr/share/man/man8/upsdrvctl.8 +debian/tmp/usr/share/man/man8/upslog.8 +debian/tmp/usr/share/man/man8/upsmon.8 +debian/tmp/usr/share/man/man8/upsrw.8 +debian/tmp/usr/share/man/man8/upssched.8 +debian/tmp/usr/share/man/man8/usbhid-ups.8 +debian/tmp/usr/share/man/man8/victronups.8 --- nut-2.2.2.orig/debian/nut-cgi.README.Debian +++ nut-2.2.2/debian/nut-cgi.README.Debian @@ -0,0 +1,38 @@ +Network UPS Tools - CGI Interface - Quick Start for Debian +---------------------------------------------------------- + +(I) Upgrading +============= + +When upgrading from 1.4 or older release to 2.0 or newer +release, you will need to apply the Installation procedure +below. + +(II) Installation +================= + +1) Copy example files from /usr/share/doc/nut-cgi/examples +to /etc/nut, and edit hosts.conf, and optionaly upsset.conf, +files to match your configuration. + +2) Ensure these configuration files are readable by others + + chmod 755 /etc/nut + chmod 644 /etc/nut/upsset.conf + chmod 644 /etc/nut/hosts.conf + chmod 644 /etc/nut/upsstats.html + chmod 644 /etc/nut/upsstats-single.html + +3) You will then be able to access NUT CGI through a Web +browser. The URL, which depends on your httpd +configuration, is: + + http://localhost/cgi-bin/nut/upsstats.cgi + + +For more information on nut-cgi configuration, +have a look at the following manual pages: +- upsstats.html (5) +- hosts.conf (5) +- upsset.conf (5) + --- nut-2.2.2.orig/debian/nut-snmp.install +++ nut-2.2.2/debian/nut-snmp.install @@ -0,0 +1 @@ +debian/tmp/lib/nut/snmp-ups --- nut-2.2.2.orig/debian/nut.lintian-overrides +++ nut-2.2.2/debian/nut.lintian-overrides @@ -0,0 +1 @@ +nut: script-in-etc-init.d-not-registered-via-update-rc.d --- nut-2.2.2.orig/debian/nut-cgi.install +++ nut-2.2.2/debian/nut-cgi.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/cgi-bin/ +debian/tmp/var/www --- nut-2.2.2.orig/debian/nut-cgi.examples +++ nut-2.2.2/debian/nut-cgi.examples @@ -0,0 +1,4 @@ +conf/hosts.conf.sample +conf/upsset.conf.sample +conf/upsstats-single.html.sample +conf/upsstats.html.sample --- nut-2.2.2.orig/debian/hotplug +++ nut-2.2.2/debian/hotplug @@ -0,0 +1,24 @@ +#!/bin/bash +# taken from libgphoto2 + +GROUP=nut + +# for previous udev versions +if [ "$ACTION" = "add" ] && [ -f "$DEVICE" ] +then + # check if $GROUP really exists + if getent group $GROUP > /dev/null; then + chmod 660 "$DEVICE" + chown root:$GROUP "$DEVICE" + fi +fi + +# for recent udev versions +if [ "$ACTION" = "add" ] && [ -r "$DEVNAME" ] +then + # check if $GROUP really exists + if getent group $GROUP > /dev/null; then + chmod 660 "$DEVNAME" + chown root:$GROUP "$DEVNAME" + fi +fi --- nut-2.2.2.orig/debian/nut.postrm +++ nut-2.2.2/debian/nut.postrm @@ -0,0 +1,54 @@ +#!/bin/sh -e + +check_and_delete_user() { + if [ `getent passwd nut` ]; then + deluser --quiet nut + fi +} + +case "$1" in + + remove) + # remove sample file if those were previously (wrongly) installed + for file in ups.conf upsd.conf upsmon.conf upsd.users upssched.conf ; do + if [ -f /etc/nut/${file}.sample ] ; then + rm -f /etc/nut/${file}.sample + fi + done + ;; + + purge) + # check_and_delete_user + # handle a dpkg bug + [ -d /etc/nut ] && rmdir --ignore-fail-on-non-empty /etc/nut >/dev/null 2>&1 + ;; + + upgrade) + # do nothing + ;; + + failed-upgrade) + # do nothing + ;; + + abort-install) + # do nothing + ;; + + abort-upgrade) + # do nothing + ;; + + disappear) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + --- nut-2.2.2.orig/debian/rules +++ nut-2.2.2/debian/rules @@ -0,0 +1,126 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 +export DH_OPTIONS= + +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) +CFLAGS+=$(if $(findstring debug,$(DEB_BUILD_OPTIONS)),-g) +CFLAGS+=$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2) +CONFIGUREFLAGS+=$(if $(findstring nostrip,$(DEB_BUILD_OPTIONS)),,--enable-strip) +CONFIGUREFLAGS+=--build=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +CONFIGUREFLAGS+=--host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +CONFIGUREFLAGS+=$(if $(wildcard /usr/include/linux/hiddev.h),--with-linux-hiddev=/usr/include/linux/hiddev.h,--without-linux-hiddev) +ifeq (linux,$(DEB_HOST_ARCH_OS)) + CONFIGUREFLAGS+=--with-udev-dir=/lib/udev +endif + +configure: patch configure-stamp +configure-stamp: + dh_testdir + CFLAGS='$(CFLAGS)' ./configure $(CONFIGUREFLAGS) \ + --prefix=/usr \ + --exec-prefix=/ \ + --sysconfdir=/etc/nut \ + --mandir=/usr/share/man \ + --libdir=/lib \ + --includedir=/usr/include \ + --without-ssl \ + --with-hal \ + --with-cgi \ + --with-dev \ + --enable-static \ + --with-statepath=/var/run/nut \ + --with-altpidpath=/var/run/nut \ + --with-drvpath=/lib/nut \ + --with-cgipath=/usr/lib/cgi-bin/nut \ + --with-htmlpath=/var/www/nut \ + --with-pidpath=/var/run/nut \ + --datadir=/usr/share/nut \ + --with-pkgconfig-dir=/usr/lib/pkgconfig \ + --with-user=nut --with-group=nut + touch $@ + +build: configure +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + debconf-updatepo +# -test -r /usr/share/misc/config.sub && \ +# cp -f /usr/share/misc/config.sub config.sub +# -test -r /usr/share/misc/config.guess && \ +# cp -f /usr/share/misc/config.guess config.guess + +patch: patch-stamp +patch-stamp: + dpatch apply-all + touch $@ + # run autoreconf for #489742 dpatch + autoreconf + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +uninstall: + dh_testdir + dh_testroot + rm -f install-stamp + dh_clean -k + +install: build +install: install-stamp +install-stamp: DH_OPTIONS= +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install \ + DESTDIR=$(CURDIR)/debian/tmp RUNUID=65534 RUNGID=65534 + + dh_installchangelogs ChangeLog + dh_installinit -- start 50 2 3 4 5 . stop 50 0 1 6 . + dh_install + dh_installman + dh_installdocs + dh_installexamples -XMakefile + dh_link + touch $@ + +binary-indep: DH_OPTIONS=-i +binary-indep: install + +binary-arch: DH_OPTIONS=-a +binary-arch: install + dh_testdir + dh_testroot + dh_installdebconf + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_lintian -pnut + dh_installdeb + dh_shlibdeps +# dh_shlibdeps -Xlibupsclient.a +ifeq (linux,$(DEB_HOST_ARCH_OS)) + dh_gencontrol -- -Vudev="udev (>= 136-1)" +else + dh_gencontrol -- -Vudev="" +endif + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary configure install uninstall patch unpatch --- nut-2.2.2.orig/debian/description.subst +++ nut-2.2.2/debian/description.subst @@ -0,0 +1 @@ +description=nut is a client/server uninterruptible power supply (UPS) monitoring system${Newline}${Space}that permits the sharing of one (or more) UPS between several machines. The${Newline}${Space}'server' monitors the UPS and notifies the 'clients' when the UPS is on${Newline}${Space}battery or has a low battery. --- nut-2.2.2.orig/debian/nut-xml.manpages +++ nut-2.2.2/debian/nut-xml.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man8/netxml-ups.8 --- nut-2.2.2.orig/debian/nut-cgi.postrm +++ nut-2.2.2/debian/nut-cgi.postrm @@ -0,0 +1,46 @@ +#!/bin/sh -e + +case "$1" in + + remove) + # remove sample file if those were previously (wrongly) installed + for file in upsset.conf hosts.conf upsstats.html upsstats-single.html ; do + if [ -f /etc/nut/${file}.sample ] ; then + rm -f /etc/nut/${file}.sample + fi + done + ;; + + purge) + # do nothing + ;; + + upgrade) + # do nothing + ;; + + failed-upgrade) + # do nothing + ;; + + abort-install) + # do nothing + ;; + + abort-upgrade) + # do nothing + ;; + + disappear) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + --- nut-2.2.2.orig/debian/libupsclient1.postinst +++ nut-2.2.2/debian/libupsclient1.postinst @@ -0,0 +1,29 @@ +#!/bin/sh -e + +case "$1" in + + configure) + ldconfig + ;; + + abort-upgrade) + # do nothing + ;; + + abort-remove) + # do nothing + ;; + + abort-deconfigure) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + --- nut-2.2.2.orig/debian/nut.templates +++ nut-2.2.2/debian/nut.templates @@ -0,0 +1,13 @@ +Template: nut/major_upstream_changes +Type: note +_Description: Please manually modify your configuration files + This is a serious advisory. Please take note. + . + There have been significant changes by the upstream authors to the + behaviour of this software. Specifically, the configuration files in + /etc/nut are different, some drivers have been renamed, ... + . + If you continue with the installation of this package, NUT will NOT + restart unless you manually change your configuration files and edit + /etc/default/nut. You have been warned! + Please read /usr/share/doc/nut/UPGRADING.gz for the upgrading procedure. --- nut-2.2.2.orig/debian/nut.examples +++ nut-2.2.2/debian/nut.examples @@ -0,0 +1,5 @@ +conf/ups.conf.sample +conf/upsd.conf.sample +conf/upsd.users.sample +conf/upsmon.conf.sample +conf/upssched.conf.sample --- nut-2.2.2.orig/debian/libupsclient1.postrm +++ nut-2.2.2/debian/libupsclient1.postrm @@ -0,0 +1,41 @@ +#!/bin/sh -e + +case "$1" in + + remove) + ldconfig + ;; + + purge) + # do nothing + ;; + + upgrade) + # do nothing + ;; + + failed-upgrade) + # do nothing + ;; + + abort-install) + # do nothing + ;; + + abort-upgrade) + # do nothing + ;; + + disappear) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + --- nut-2.2.2.orig/debian/nut.TODO.Debian +++ nut-2.2.2/debian/nut.TODO.Debian @@ -0,0 +1,7 @@ +- install the bash completion file +- audit and solve the lintian reports... +- factorise install rules (possibly use CDBS) +- consider an SSL/TLS set of packages (ie nut-ssl, ...) +- apply when available the NUT Packaging Standard (NPS) +- consider joining the powermgt effort: + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=55123 --- nut-2.2.2.orig/debian/nut.prerm +++ nut-2.2.2/debian/nut.prerm @@ -0,0 +1,42 @@ +#!/bin/sh -e + +# the DEBHELPER token is purposely not used +# because we don't want the daemon to be +# stopped during an upgrade + +case "$1" in + + remove) + # nut-usb specifics + [ -f /etc/hotplug/usb/libhid.usermap ] && rm -f /etc/hotplug/usb/libhid.usermap + [ -f /etc/hotplug/usb/libhidups ] && rm -f /etc/hotplug/usb/libhidups + + [ -L /usr/doc/nut ] && rm -f /usr/doc/nut + # do stop the daemon on remove + /etc/init.d/nut stop && sleep 1 + [ -d /var/run/nut ] && rm -f /var/run/nut/*.pid + ;; + + upgrade) + [ -L /usr/doc/nut ] && rm -f /usr/doc/nut + # do not stop the daemon on upgrade + ;; + + failed-upgrade) + # do nothing + ;; + + deconfigure) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + +exit 0 --- nut-2.2.2.orig/debian/watch +++ nut-2.2.2/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://random.networkupstools.org/source/2.2/nut-(.*)\.tar\.gz debian uupdate --- nut-2.2.2.orig/debian/nut-cgi.manpages +++ nut-2.2.2/debian/nut-cgi.manpages @@ -0,0 +1,6 @@ +debian/tmp/usr/share/man/man5/hosts.conf.5 +debian/tmp/usr/share/man/man5/upsset.conf.5 +debian/tmp/usr/share/man/man5/upsstats.html.5 +debian/tmp/usr/share/man/man8/upsimage.cgi.8 +debian/tmp/usr/share/man/man8/upsset.cgi.8 +debian/tmp/usr/share/man/man8/upsstats.cgi.8 --- nut-2.2.2.orig/debian/po/pt_BR.po +++ nut-2.2.2/debian/po/pt_BR.po @@ -0,0 +1,79 @@ +# nut Brazilian Portuguese translation +# Copyright (c) 2007 nut's PACKAGE COPYRIGHT HOLDER +# This file is distributed under the same license as the nut package. +# Eder L. Marques , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: nut_2.2.0-1\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2007-08-18 20:26-0300\n" +"Last-Translator: Eder L. Marques \n" +"Language-Team: l10n Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +#, fuzzy +#| msgid "Please manually modify your configuration files! Continue?" +msgid "Please manually modify your configuration files" +msgstr "" +"Por favor, modifique manualmente seus arquivos de configuração! Continuar?" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Este é um alerta sério. Por favor, tome nota." + +#. Type: note +#. Description +#: ../nut.templates:1001 +#, fuzzy +#| msgid "" +#| "There have been significant changes by the upstream authors to the " +#| "behaviour of this software. Specifically, the configuration files in /etc/" +#| "nut are different, some ups drivers have been renamed, ..." +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Existem mudanças significantes entre os autores upstream para o " +"comportamento deste aplicativo. Especificamente, os arquivos de configuração " +"em /etc/nut são diferentes, alguns drivers foram renomeados, ..." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Se você continuar com a instalação deste pacote, NUT Não irá reinicializar a " +"menos que você mude manualmente seus arquivos de configuração e edite /etc/" +"default/nut. Você foi avisado! Por favor, leia /usr/share/doc/nut/UPGRADING." +"gz para os procedimentos de atualização." + +#, fuzzy +#~| msgid "Remove user \"nut\" from dialout group. Continue?" +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Remover o usuário \"nut\" do grupo dialout. Continuar?" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "O usuário de sistema, \"nut\", será removido do grupo dialout. Um novo " +#~ "grupo de sistema, \"nut\", será criado. Usuários devem modificar " +#~ "manualmente as permissões nos dispositivos de porta serial, /dev/ttyS*, " +#~ "para permitir o acesso pelo grupo nut." --- nut-2.2.2.orig/debian/po/pt.po +++ nut-2.2.2/debian/po/pt.po @@ -0,0 +1,68 @@ +# Portuguese translation of nut's debconf messages. +# Copyright (C) 2007 +# This file is distributed under the same license as the nut package. +# Luísa Lourenço , 2007-2008. +# +msgid "" +msgstr "" +"Project-Id-Version: nut 2.0.5-3\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-06-28 18:09+0100\n" +"Last-Translator: Luísa Lourenço \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Por favor modifique manualmente os seus ficheiros de configuração" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Isto é um aviso sério. Por favor tome nota." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Efectuaram-se modificações significativas pelos autores 'upstream' ao " +"comportamento deste software. Especificamente, os ficheiros de configuração " +"em /etc/nut são diferentes, alguns drivers foram renomeados, ..." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Se continuar a instalação deste pacote, o NUT NÃO irá reiniciar a não ser " +"que modifique manualmente os seus ficheiros de configuração e edite o /etc/" +"default/nut. Foi avisado! Por favor leia /usr/share/doc/nut/UPGRADING.gz " +"para o processo de actualização." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Remover o utilizador \"nut\" do grupo dialout." + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "O utilizador do sistema, \"nut\", irá ser removido do grupo dialout. Um " +#~ "novo grupo do sistema, \"nut\", irá ser criado. Os utilizadores têm de " +#~ "mudar manualmente as permissões dos dispositivos de porta em série, /dev/" +#~ "ttyS*, para permitir acesso pelo grupo nut." --- nut-2.2.2.orig/debian/po/POTFILES.in +++ nut-2.2.2/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] nut.templates --- nut-2.2.2.orig/debian/po/sv.po +++ nut-2.2.2/debian/po/sv.po @@ -0,0 +1,70 @@ +# translation of nut_2.2.2-2_templates.po to swedish +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Martin Bagge , 2008. +msgid "" +msgstr "" +"Project-Id-Version: nut_2.2.2-2_templates\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-06-27 09:24+0200\n" +"Last-Translator: Martin Bagge \n" +"Language-Team: swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Ändra konfigurationsfilerna manuellt." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Detta är en allvarlig säkerhetspropå. Läs noga." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Det har gjorts stora ändringar av ursprungsprogrammeraren i hur det här " +"programmet fungerar. Framförallt har konfigurationsfiler i /etc/nut " +"förändrats och en del drivrutiner bytt namn..." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Om du väljer att fortsätta installationen av det här paketet så kommer NUT " +"inte att starta om du inte manuellt redigerar dina konfigurationsfiler och " +"filen /etc/default/nut.\n" +"Nu har du fått uppmaningen, utför åtgärderna och läs gärna mer om " +"uppgraderingsprocessen i /usr/share/doc/nut/UPGRADING.gz." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Tar bort användaren \"nut\" från gruppen \"dialout\"" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Systemanvändaren \"nu\" kommer att tas bort ur gruppen \"dialout\". En ny " +#~ "systemgrupp kallad \"nut\" skapas. Du måste manuellt ställa in " +#~ "rättigheterna för serieportarna i /dev/ttyS* så att gruppen \"nut\" kan " +#~ "använda dem." --- nut-2.2.2.orig/debian/po/ru.po +++ nut-2.2.2/debian/po/ru.po @@ -0,0 +1,71 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2008. +msgid "" +msgstr "" +"Project-Id-Version: nut NEW\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-07-04 21:38+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\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" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Измените самостоятельно ваши файлы настройки" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Это важное замечание. Обратите внимание." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Разработчики программы сделали значительные изменения в поведении своего ПО. " +"Особенно это коснулось файлов настроек в /etc/nut, некоторые драйверы были " +"переименованы и т.д." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Если вы продолжите установку пакета, NUT НЕ перезапустится, пока вы вручную " +"не поправите файлы настройки и отредактируете /etc/default/nut. Вы " +"предупреждены! Процедура обновления описана в файле /usr/share/doc/nut/" +"UPGRADING.gz." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Удаление пользователя \"nut\" из группы dialout" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Системный пользователь \"nut\" будет удалён из группы dialout. Будет " +#~ "создана новая системная группа -- \"nut\". Пользователи должны вручную " +#~ "изменить права на последовательные порты устройств, /dev/ttyS*, чтобы " +#~ "разрешить доступ группе nut." --- nut-2.2.2.orig/debian/po/templates.pot +++ nut-2.2.2/debian/po/templates.pot @@ -0,0 +1,48 @@ +# 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 , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" --- nut-2.2.2.orig/debian/po/ca.po +++ nut-2.2.2/debian/po/ca.po @@ -0,0 +1,145 @@ +# nut (debconf) translation to Catalan. +# Copyright (C) 2004 Free Software Foundation, Inc. +# Aleix Badia i Bosch , 2004 +# +msgid "" +msgstr "" +"Project-Id-Version: nut_1.4.1-release-2_templates\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2004-03-12 19:46GMT\n" +"Last-Translator: Aleix Badia i Bosch \n" +"Language-Team: Catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +#, fuzzy +#| msgid "Please manually modify your configuration files! Continue?" +msgid "Please manually modify your configuration files" +msgstr "Modifiqueu els fitxers de configuració manualment. Voleu continuar?" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "És un avís seriós, tingueu-ho en compte." + +#. Type: note +#. Description +#: ../nut.templates:1001 +#, fuzzy +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"L'autor de l'upstream ha canviat el funcionament del programa. Els fitxers " +"de configuració del directori /etc/nut són completament diferents, s'han " +"tornat a escriure la majoria dels controladors de l'ups (els que no s'han " +"tornat a escriure s'han suprimit) i s'ha modificat el port de TCP vinculat a " +"l'upsd." + +#. Type: note +#. Description +#: ../nut.templates:1001 +#, fuzzy +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Si continueu instal·lant el paquet, l'upsd/upsmon no es reiniciarà si " +"manualment no modifiqueu els fitxers de configuració i editeu el fitxer /etc/" +"default/nut. Esteu avisats." + +#, fuzzy +#~| msgid "Remove user \"nut\" from dialout group. Continue?" +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Se suprimirà l'usuari \"nut\" del grup dialout. Voleu continuar?" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Se suprimirà l'usuari de sistema \"nut\" del grup dialout. Es crearà un " +#~ "nou grup de sistema anomenat \"nut\". Els usuaris han de canviar " +#~ "manualment els permisos dels dispositius del port sèrie /dev/ttyS* per " +#~ "permetre'n l'accés al grup nut." + +#~ msgid "Remove obsolete /etc/nut/debian.conf file?" +#~ msgstr "Voleu suprimir el fitxer obsolet /etc/nut/debian.conf?" + +#~ msgid "" +#~ "The upstream author has changed the behaviour of upsd and upsmon. This " +#~ "has necessited modifications in /etc/init.d/nut, the start up script for " +#~ "the daemons. The init script no longer looks for /etc/nut/debian.conf. " +#~ "Instead it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +#~ msgstr "" +#~ "L'autor de l'upstream ha canviat el funcionament de l'upsd i l'upsmon. " +#~ "Aquests canvis han comportat modificacions en la seqüència d'inici del " +#~ "dimoni /etc/init.d/nut. La seqüència d'inici ja no cercarà el fitxer /etc/" +#~ "nut/debian.conf, sinó que llegirà directament els fitxers /etc/nut/upsd." +#~ "conf i /etc/nut/upsmon.conf." + +#~ msgid "" +#~ "Therefore, /etc/nut/debian.conf will be removed. Note that in order to " +#~ "get upsmon to work, you will have to modify /etc/nut/upsmon.conf by " +#~ "adding a MONITOR line. Please read the instructions in /usr/share/doc/nut/" +#~ "README.Debian." +#~ msgstr "" +#~ "Se suprimirà el fitxer /etc/nut/debian.conf. Recordeu que per fer " +#~ "funcionar l'upsmon haureu de modificar el fitxer /etc/nut/upsmon.conf " +#~ "afegint una línia MONITOR. Llegiu les instruccions a /usr/share/doc/nut/" +#~ "README.Debian." + +#~ msgid "" +#~ "There has been a significant change by the upstream author to the syntax " +#~ "of the UPS lines in the /etc/nut/upsd.conf configuration file. The init " +#~ "script in this package takes advantage of this new syntax. You will need " +#~ "to manually modify your configuration file in order for the init script " +#~ "to work." +#~ msgstr "" +#~ "L'autor de l'upstream ha modificat la sintaxi de les línies de l'UPS del " +#~ "fitxer de configuració /etc/nut/upsd.cnf. La seqüència d'inici del paquet " +#~ "s'aprofita de la nova sintaxi. Per fer funcionar la seqüència d'inici " +#~ "haureu de modificar manualment el fitxer de configuració." + +#~ msgid "" +#~ "There has been a significant change to the syntax of the SHUTDOWNCMD line " +#~ "in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" " +#~ "around the command or only the first word will be invoked. The new style " +#~ "is:\n" +#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" +#~ msgstr "" +#~ "S'ha modificat la sintaxi de la línia SHUTDOWNCMD del fitxer /etc/nut/" +#~ "upsmon.conf. Heu d'utilitzar \"cometes\" per especificar l'ordre de " +#~ "SHUTDOWNCMD o només s'executarà la primera paraula." + +#~ msgid "" +#~ "There have been significant changes by the upstream author to the " +#~ "behaviour of this software. Specifically, the configuration files in /" +#~ "etc/nut are completely different, most of the ups drivers have been " +#~ "rewritten (those that weren't rewritten have been dropped), and the TCP " +#~ "port on which upsd listens has changed." +#~ msgstr "" +#~ "L'autor de l'upstream ha canviat el funcionament del programa. Els " +#~ "fitxers de configuració del directori /etc/nut són completament " +#~ "diferents, s'han tornat a escriure la majoria dels controladors de l'ups " +#~ "(els que no s'han tornat a escriure s'han suprimit) i s'ha modificat el " +#~ "port de TCP vinculat a l'upsd." + +#~ msgid "" +#~ "If you continue with the installation of this package, upsd/upsmon will " +#~ "NOT restart unless you manually change your configuration files and edit /" +#~ "etc/default/nut. You have been warned!" +#~ msgstr "" +#~ "Si continueu instal·lant el paquet, l'upsd/upsmon no es reiniciarà si " +#~ "manualment no modifiqueu els fitxers de configuració i editeu el fitxer /" +#~ "etc/default/nut. Esteu avisats." --- nut-2.2.2.orig/debian/po/cs.po +++ nut-2.2.2/debian/po/cs.po @@ -0,0 +1,143 @@ +# +# 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. +# +msgid "" +msgstr "" +"Project-Id-Version: nut\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-06-28 10:05+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Upravte prosím příslušné konfigurační soubory" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Toto je velmi důležité." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Autor nutu provedl v programu významné změny, které ovlivnily chování tohoto " +"programu. Konkrétně se změnily konfigurační soubory v /etc/nut, některé " +"ovladače byly přejmenovány, atd." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Budete-li pokračovat v instalaci tohoto balíku, NEBUDE NUT restartován, " +"dokud ručně neupravíte konfigurační soubory a /etc/default/nut. Návod pro " +"aktualizaci naleznete v souboru /usr/share/doc/nut/UPGRADING.gz." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Odstranění uživatele „nut“ ze skupiny „dialout“" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Systémový uživatel „nut“ bude odstraněn ze skupiny „dialout“ a bude " +#~ "vytvořena nová systémová skupina „nut“. Uživatelé musí ručně změnit práva " +#~ "na zařízeních pro sériové porty (/dev/ttyS*), aby povolili přístup " +#~ "skupině nut." + +#~ msgid "Remove obsolete /etc/nut/debian.conf file?" +#~ msgstr "Odstranit zastaralý soubor /etc/nut/debian.conf?" + +#~ msgid "" +#~ "The upstream author has changed the behaviour of upsd and upsmon. This " +#~ "has necessited modifications in /etc/init.d/nut, the start up script for " +#~ "the daemons. The init script no longer looks for /etc/nut/debian.conf. " +#~ "Instead it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +#~ msgstr "" +#~ "Autor nutu změnil chování upsd a upsmon, což nutně vyvolalo změny ve " +#~ "startovacím skriptu /etc/init.d/nut. Tento skript již nehledá soubor /etc/" +#~ "nut/debian.conf, ale čte přímo /etc/nut/upsd.conf a /etc/nut/upsmon.conf." + +#~ msgid "" +#~ "Therefore, /etc/nut/debian.conf will be removed. Note that in order to " +#~ "get upsmon to work, you will have to modify /etc/nut/upsmon.conf by " +#~ "adding a MONITOR line. Please read the instructions in /usr/share/doc/nut/" +#~ "README.Debian." +#~ msgstr "" +#~ "Nepotřebný soubor /etc/nut/debian.conf bude odstraněn. Pamatujte, že aby " +#~ "upsmon fungoval, musíte do souboru /etc/nut/upsmon.conf přidat řádek " +#~ "MONITOR. Návod si přečtěte v /usr/share/doc/nut/README.Debian." + +#~ msgid "" +#~ "There has been a significant change by the upstream author to the syntax " +#~ "of the UPS lines in the /etc/nut/upsd.conf configuration file. The init " +#~ "script in this package takes advantage of this new syntax. You will need " +#~ "to manually modify your configuration file in order for the init script " +#~ "to work." +#~ msgstr "" +#~ "Autor nutu změnil v konfiguračním souboru /etc/nut/upsd.conf syntaxi UPS " +#~ "řádek. Spouštěcí skript využívá této nové syntaxe. Aby spouštěcí skript " +#~ "fungoval, budete muset ručně upravit konfigurační soubor." + +#~ msgid "" +#~ "There has been a significant change to the syntax of the SHUTDOWNCMD line " +#~ "in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" " +#~ "around the command or only the first word will be invoked. The new style " +#~ "is:\n" +#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" +#~ msgstr "" +#~ "V konfiguračním souboru /etc/nut/upsmon.conf se významně změnila syntaxe " +#~ "řádku SHUTDOWNCMD. SHUTDOWNCMD nyní musí mít kolem příkazu \"uvozovky\". " +#~ "Zapomenete-li na ně, spustí se pouze první slovo příkazu. Nově tedy řádek " +#~ "vypadá takto:\n" +#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" + +#~ msgid "" +#~ "There have been significant changes by the upstream author to the " +#~ "behaviour of this software. Specifically, the configuration files in /" +#~ "etc/nut are completely different, most of the ups drivers have been " +#~ "rewritten (those that weren't rewritten have been dropped), and the TCP " +#~ "port on which upsd listens has changed." +#~ msgstr "" +#~ "Autor nutu provedl v programu velké změny, které ovlivnily chování tohoto " +#~ "programu. Konkrétně se úplně změnily konfigurační soubory v /etc/nut, " +#~ "většina ovladačů byla přepsána (ty zbývající byly zahozeny) a také se " +#~ "změnil TCP port, na kterém naslouchá upsd." + +#~ msgid "" +#~ "If you continue with the installation of this package, upsd/upsmon will " +#~ "NOT restart unless you manually change your configuration files and edit /" +#~ "etc/default/nut. You have been warned!" +#~ msgstr "" +#~ "Pokud budete pokračovat v instalaci tohoto balíku, upsd/upsmod NEBUDOU " +#~ "restartovány, dokud ručně neupravíte konfigurační soubory a nezměníte /" +#~ "etc/default/nut. Byli jste varováni." --- nut-2.2.2.orig/debian/po/fi.po +++ nut-2.2.2/debian/po/fi.po @@ -0,0 +1,65 @@ +msgid "" +msgstr "" +"Project-Id-Version: nut\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-07-03 09:33-0000\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Asetustiedostoja on muokattava käsin." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Tämä on tärkeä ohje. Huomioi se." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Ohjelman tekijät ovat muuttaneet ohjelman toimintaa merkittävästi. " +"Esimerkiksi asetustiedostot hakemistossa /etc/nut ovat erilaiset, joidenkin " +"ajurien nimiä on muutettu jne." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Jos paketin asennusta jatketaan, NUT ei käynnisty ennen kuin " +"asetustiedostoja muutetaan käsin ja tiedostoa /etc/default/nut muokataan. " +"Lisätietoja päivitysprosessista löytyy tiedostosta /usr/share/doc/nut/" +"UPGRADING.gz." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Käyttäjä ”nut” poistetaan ryhmästä dialout." + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Järjestelmätunnus ”nut” poistetaan ryhmästä dialout. Uusi " +#~ "järjestelmäryhmä ”nut” luodaan. Käyttäjien täytyy käsin muuttaa " +#~ "sarjaporttilaitteiden /dev/ttyS* oikeudet siten, että ryhmällä nut on " +#~ "pääsy niihin." --- nut-2.2.2.orig/debian/po/de.po +++ nut-2.2.2/debian/po/de.po @@ -0,0 +1,55 @@ +# translation of po-debconf template to German +# This file is distributed under the same license as the nut package. +# Copyright (C): +# +# Matthias Julius , 2006 - 2008. +msgid "" +msgstr "" +"Project-Id-Version: nut 2.2.0-2\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-07-09 22:52-0400\n" +"Last-Translator: Matthias Julius \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Bitte passen Sie Ihre Konfigurationsdateien manuell an" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Dies ist ein ernster Hinweis. Bitte beachten Sie ihn." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Es gab bedeutende Änderungen durch die Programmautoren am Verhalten dieser " +"Software. Im Besonderen wurden die Konfigurationsdateien in /etc/nut " +"geändert, manche Treiber wurden umbenannt, ..." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Falls Sie mit der Installation dieses Pakets fortfahren, wird NUT NICHT neu " +"starten, außer Sie ändern Ihre Konfigurationsdateien manuell und passen /etc/" +"default/nut an. Sie wurden gewarnt! Bitte lesen Sie /usr/share/doc/nut/" +"UPGRADING.gz bezüglich der Vorgehensweise beim Upgrade." --- nut-2.2.2.orig/debian/po/it.po +++ nut-2.2.2/debian/po/it.po @@ -0,0 +1,54 @@ +# Italian (it) translation of debconf templates for nut +# Copyright (C) 2008 Software in the Public Interest +# This file is distributed under the same license as the nut package. +# Luca Monducci , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: nut 2.2.2\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-08-16 11:52+0200\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Modificare manualmente i file di configurazione" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Questo è un avviso molto importante. Prenderne nota." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Ci sono delle importanti differenze nel comportamento di questo programma " +"rispetto alla versione in upstream. In particolare i file di configurazione " +"in /etc/nut sono diversi, alcuni driver sono stati rinominati, ecc." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Continuando con l'installazione di questo pacchetto, NON sarà possibile " +"riavviare NUT fino a quando i file di configurazione non vengono cambiati " +"manualmente e /etc/default/nut non viene modificato. Siete stati avvisati! " +"Consultare /usr/share/doc/nut/UPGRADING.gz per la procedura di aggiornamento." --- nut-2.2.2.orig/debian/po/fr.po +++ nut-2.2.2/debian/po/fr.po @@ -0,0 +1,148 @@ +# +# 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. +# +msgid "" +msgstr "" +"Project-Id-Version: nut_2.0.1-3\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2005-04-22 14:18+0200\n" +"Last-Translator: Michel Grentzinger \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Modification nécéssaire des fichiers de configuration" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Ceci est un avertissement important." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"L'auteur amont a apporté des modifications significatives au comportement de " +"ce programme. Plus précisément, les fichiers de configuration dans /etc/nut " +"sont totalement différents, certans pilotes ont été renommés, etc." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Si vous continuez l'installation de ce programme, NUT ne redémarrera PAS " +"tant que vous n'aurez pas changé vous-même le fichier de configuration et " +"modifié /etc/default/nut. Veuillez consulter /usr/share/doc/nut/UPGRADING.gz " +"pour plus de détails sur la procédure de mise à niveau." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Suppression de l'utilisateur « nut » du groupe dialout" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "L'utilisateur système « nut » sera supprimé du groupe dialout. Un nouveau " +#~ "groupe système « nut » sera créé. Les utilisateurs doivent modifier eux-" +#~ "mêmes les permissions des périphériques de port série, dev/ttyS*, pour en " +#~ "permettre l'accès au groupe « nut »." + +#~ msgid "Remove obsolete /etc/nut/debian.conf file?" +#~ msgstr "Faut-il supprimer le fichier obsolète /etc/nut/debian.conf ?" + +#~ msgid "" +#~ "The upstream author has changed the behaviour of upsd and upsmon. This " +#~ "has necessited modifications in /etc/init.d/nut, the start up script for " +#~ "the daemons. The init script no longer looks for /etc/nut/debian.conf. " +#~ "Instead it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +#~ msgstr "" +#~ "L'auteur amont a changé le comportement d'upsd et d'upsmon. Cela a " +#~ "nécessité des changements dans /etc/init.d/nut, le script de lancement " +#~ "des démons. Le script d'initialisation ne consulte plus /etc/nut/debian." +#~ "conf. Au lieu de cela, il lit directement /etc/nut/upsd.conf et /etc/nut/" +#~ "upsmon.conf." + +#~ msgid "" +#~ "Therefore, /etc/nut/debian.conf will be removed. Note that in order to " +#~ "get upsmon to work, you will have to modify /etc/nut/upsmon.conf by " +#~ "adding a MONITOR line. Please read the instructions in /usr/share/doc/nut/" +#~ "README.Debian." +#~ msgstr "" +#~ "Par conséquent, /etc/nut/debian.conf sera supprimé. Veuillez remarquer " +#~ "que pour faire fonctionner upsmon, vous devrez modifier /etc/nut/upsmon." +#~ "conf en ajoutant une ligne MONITOR. Veuillez lire les instructions dans /" +#~ "usr/share/doc/nut/README.Debian." + +#~ msgid "" +#~ "There has been a significant change by the upstream author to the syntax " +#~ "of the UPS lines in the /etc/nut/upsd.conf configuration file. The init " +#~ "script in this package takes advantage of this new syntax. You will need " +#~ "to manually modify your configuration file in order for the init script " +#~ "to work." +#~ msgstr "" +#~ "Une modification significative de la syntaxe des lignes UPS a été " +#~ "introduite par l'auteur amont dans le fichier de configuration /etc/nut/" +#~ "upsd.conf. Le script d'initialisation de ce paquet se sert de cette " +#~ "nouvelle syntaxe. Vous devrez modifier vous-même votre fichier de " +#~ "configuration afin que le script d'initialisation puisse fonctionner." + +#~ msgid "" +#~ "There has been a significant change to the syntax of the SHUTDOWNCMD line " +#~ "in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" " +#~ "around the command or only the first word will be invoked. The new style " +#~ "is:\n" +#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" +#~ msgstr "" +#~ "Une modification significative de la syntaxe de la ligne SHUTDOWNCMD a eu " +#~ "lieu dans le fichier /etc/nut/upsmon.conf. L'instruction SHUTDOWNCMD doit " +#~ "utiliser des guillemets anglais (« \" », ) autour de la commande sinon " +#~ "seul le premier mot sera invoqué. La nouvelle syntaxe est :\n" +#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" + +#~ msgid "" +#~ "There have been significant changes by the upstream author to the " +#~ "behaviour of this software. Specifically, the configuration files in /" +#~ "etc/nut are completely different, most of the ups drivers have been " +#~ "rewritten (those that weren't rewritten have been dropped), and the TCP " +#~ "port on which upsd listens has changed." +#~ msgstr "" +#~ "L'auteur amont a apporté des modifications significatives au comportement " +#~ "de ce programme. Plus précisément, les fichiers de configuration dans /" +#~ "etc/nut sont totalement différents, la plupart des pilotes d'alimentation " +#~ "ininterruptibles (UPS) ont été réécrits (ceux qui n'ont pas été réécrits " +#~ "ont été abandonnés) et le port TCP sur lequel upsd écoute a changé." + +#~ msgid "" +#~ "If you continue with the installation of this package, upsd/upsmon will " +#~ "NOT restart unless you manually change your configuration files and edit /" +#~ "etc/default/nut. You have been warned!" +#~ msgstr "" +#~ "Si vous continuez l'installation de ce programme, upsd/upsmon ne " +#~ "redémarrera PAS tant que vous n'aurez pas changé vous-même votre fichier " +#~ "de configuration et modifié /etc/default/nut. Vous êtes avertis." --- nut-2.2.2.orig/debian/po/gl.po +++ nut-2.2.2/debian/po/gl.po @@ -0,0 +1,67 @@ +# Galician translation of nut's debconf templates +# This file is distributed under the same license as the nut package. +# Jacobo Tarrio , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: nut\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-06-28 14:24+0100\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Modifique manualmente os seus ficheiros de configuración." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Este é un aviso importante. Tome nota." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Os autores deste software fixeron cambios significativos ao comportamento " +"del. En particular, os ficheiros de configuración de /etc/nut son " +"diferentes, cambiouse o nome dalgúns controladores, etc." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Se continúa a instalación deste paquete, nut NON se ha reiniciar ata que " +"cambie manualmente os ficheiros de configuración e edite /etc/default/nut. " +"Consulte /usr/share/doc/nut/UPGRADING.gz para ver o procedemento de " +"actualización." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Eliminar o usuario \"nut\" do grupo \"dialout\"" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Hase eliminar o usuario do sistema \"nut\" do grupo \"dialout\". Hase " +#~ "crear un novo grupo \"nut\". Os usuarios deben cambiar manualmente os " +#~ "permisos dos dispositivos dos portos serie, /dev/ttyS*, para permitir o " +#~ "acceso ao grupo \"nut\"." --- nut-2.2.2.orig/debian/po/vi.po +++ nut-2.2.2/debian/po/vi.po @@ -0,0 +1,70 @@ +# Vietnamese translation for nut. +# Copyright © 2008 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2008. +# +msgid "" +msgstr "" +"Project-Id-Version: nut 2.2.2-2.1\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-07-05 22:13+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.7b3\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Hãy sửa đổi bằng tay các tập tin cấu hình" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Thông báo này là quan trọng: hãy ghi chú." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Tác giả gốc đã thay đổi đáng kể ứng xử của phần mềm này. Cụ thể, những tập " +"tin cấu hình trong thư mục « /etc/nut » đã thay đổi, một số trình điều khiển " +"có tên khác (v.v.)." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Nếu bạn tiếp tục lại tiến trình cài đặt gói này, trình NUT sẽ KHÔNG phải " +"khởi chạy lại nếu bạn không tự sửa đổi các tập tin cấu hình và chỉnh sửa tập " +"tin « /etc/default/nut ». Người dùng đã được cảnh báo trước. Hãy đọc tập tin " +"« /usr/share/doc/nut/UPGRADING.gz » để tìm chi tiết về thủ tục nâng cấp." + +#~| msgid "Remove user \"nut\" from dialout group. Continue?" +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Bỏ người dùng « nut » ra nhóm quay số" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Người dùng hệ thống, « nut », sẽ được gỡ bỏ khỏi nhóm quay số. Một nhóm hệ " +#~ "thống mới, « nut », sẽ được tạo để thay thế. Người dùng cần phải tự sửa " +#~ "đổi quyền hạn trên các thiết bị sử dụng cổng nối tiếp, « /dev/ttyS* », để " +#~ "cho phép nhóm « nut » truy cập." --- nut-2.2.2.orig/debian/po/eu.po +++ nut-2.2.2/debian/po/eu.po @@ -0,0 +1,70 @@ +# translation of nut debconf template to Euskara +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Xabier Bilbao , 2008. +# Piarres Beobide , 2008. +msgid "" +msgstr "" +"Project-Id-Version: nut-eu\n" +"Report-Msgid-Bugs-To: Source: nut@packages.debian.org\n" +"POT-Creation-Date: 2008-07-06 20:04+0200\n" +"PO-Revision-Date: 2008-07-05 22:39+0200\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "Please manually modify your configuration files" +msgstr "Eskuz egokitu konfigurazio fitxategiak" + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "This is a serious advisory. Please take note." +msgstr "Ohar garrantzitsua da hau. Kontuan har ezazu." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"There have been significant changes by the upstream authors to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some drivers have been renamed, ..." +msgstr "" +"Egileek bertsio berrian aldaketa nabarmenak egin dizkiote software honen " +"portaerari. Zehazki, ezberdinak dira /etc/nut-eko konfigurazio fitxategiak, " +"kontrolatzaile batzuen izenak aldatu dira, ..." + +#. Type: note +#. Description +#: ../nut.templates:1001 +msgid "" +"If you continue with the installation of this package, NUT will NOT restart " +"unless you manually change your configuration files and edit /etc/default/" +"nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " +"the upgrading procedure." +msgstr "" +"Pakete honen instalazioarekin aurrera egiten baduzu, NUT EZ da " +"berrabiaraziko ez badituzu lehenago konfigurazio fitxategiak aldatzen eta /" +"etc/default/nut egokitzen. Oharturik zaude! Irakur ezazu /usr/share/doc/nut/" +"UPGRADING.gz bertsio-berritze prozeduraz jakiteko." + +#~ msgid "Remove user \"nut\" from dialout group" +#~ msgstr "Kendu \"nut\" erabiltzailea dialout taldetik" + +#~ msgid "" +#~ "The system user, \"nut\", will be removed from the dialout group. A new " +#~ "system group, \"nut\", will be created. Users must manually change the " +#~ "permissions on the serial port devices, /dev/ttyS*, to permit access by " +#~ "the nut group." +#~ msgstr "" +#~ "Sistemaren \"nut\" erabiltzailea kendu egingo da dialout taldetik. " +#~ "Sisteman \"nut\" izeneko talde berri bat sortuko da. Erabiltzaileek eskuz " +#~ "aldatu behar dituzte serieko ataketako gailuen baimenak, /dev/ttyS*, nut " +#~ "taldearen sarbidea onartzeko." --- nut-2.2.2.orig/debian/patches/00list +++ nut-2.2.2/debian/patches/00list @@ -0,0 +1,4 @@ +01_fdi_info_subsystem_patch +02_g_timeout_add_seconds_patch +03-configure.in +04-ubuntu-udev-rules-name.dpatch --- nut-2.2.2.orig/debian/patches/03-configure.in.dpatch +++ nut-2.2.2/debian/patches/03-configure.in.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## configure.in.dpatch by Morten Kjeldgaard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Define macro dir for configure et al. + +@DPATCH@ +diff -urNad nut-2.2.2~/configure.in nut-2.2.2/configure.in +--- nut-2.2.2~/configure.in 2008-11-23 19:08:25.000000000 +0100 ++++ nut-2.2.2/configure.in 2008-11-23 21:08:25.000000000 +0100 +@@ -9,6 +9,7 @@ + AC_CANONICAL_SYSTEM + AC_CONFIG_HEADER(include/config.h) + AC_PREFIX_DEFAULT(/usr/local/ups) ++AC_CONFIG_MACRO_DIR([m4]) + AM_INIT_AUTOMAKE + + dnl Use "./configure --enable-maintainer-mode" to keep Makefile.in and Makefile --- nut-2.2.2.orig/debian/patches/04-ubuntu-udev-rules-name.dpatch +++ nut-2.2.2/debian/patches/04-ubuntu-udev-rules-name.dpatch @@ -0,0 +1,53 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04-ubuntu-udev-rules-name.dpatch by Scott James Remnant +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad nut-2.2.2~/scripts/udev/Makefile.am nut-2.2.2/scripts/udev/Makefile.am +--- nut-2.2.2~/scripts/udev/Makefile.am 2007-02-24 17:55:57.000000000 +0000 ++++ nut-2.2.2/scripts/udev/Makefile.am 2009-01-13 02:55:40.000000000 +0000 +@@ -1,12 +1,12 @@ + + if WITH_UDEV + udevrulesdir = $(udevdir)/rules.d +- udevrules_DATA = 52_nut-usbups.rules ++ udevrules_DATA = 52-nut-usbups.rules + endif + + EXTRA_DIST = README + +-52_nut-usbups.rules: nut-usbups.rules +- cp nut-usbups.rules 52_nut-usbups.rules ++52-nut-usbups.rules: nut-usbups.rules ++ cp nut-usbups.rules 52-nut-usbups.rules + +-MOSTLYCLEANFILES = 52_nut-usbups.rules ++MOSTLYCLEANFILES = 52-nut-usbups.rules +diff -urNad nut-2.2.2~/scripts/udev/Makefile.in nut-2.2.2/scripts/udev/Makefile.in +--- nut-2.2.2~/scripts/udev/Makefile.in 2008-05-07 10:29:28.000000000 +0100 ++++ nut-2.2.2/scripts/udev/Makefile.in 2009-01-13 02:55:47.000000000 +0000 +@@ -213,9 +213,9 @@ + top_srcdir = @top_srcdir@ + udevdir = @udevdir@ + @WITH_UDEV_TRUE@udevrulesdir = $(udevdir)/rules.d +-@WITH_UDEV_TRUE@udevrules_DATA = 52_nut-usbups.rules ++@WITH_UDEV_TRUE@udevrules_DATA = 52-nut-usbups.rules + EXTRA_DIST = README +-MOSTLYCLEANFILES = 52_nut-usbups.rules ++MOSTLYCLEANFILES = 52-nut-usbups.rules + all: all-am + + .SUFFIXES: +@@ -407,8 +407,8 @@ + uninstall uninstall-am uninstall-udevrulesDATA + + +-52_nut-usbups.rules: nut-usbups.rules +- cp nut-usbups.rules 52_nut-usbups.rules ++52-nut-usbups.rules: nut-usbups.rules ++ cp nut-usbups.rules 52-nut-usbups.rules + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: --- nut-2.2.2.orig/debian/patches/02_g_timeout_add_seconds_patch.dpatch +++ nut-2.2.2/debian/patches/02_g_timeout_add_seconds_patch.dpatch @@ -0,0 +1,54 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_g_timeout_add_seconds_patch.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: g_timeout_add_seconds availability patch + +@DPATCH@ + +--- trunk.orig/m4/nut_check_libhal.m4 (revision 1500) ++++ trunk/m4/nut_check_libhal.m4 (revision 1511) +@@ -143,4 +143,13 @@ + LDFLAGS="${LDFLAGS_ORIG}" + ++ dnl - test for g_timeout_add_seconds availability ++ AC_MSG_CHECKING([if GLib is version 2.14.0 or newer]) ++ if pkg-config --atleast-version=2.14.0 glib-2.0; then ++ AC_DEFINE(HAVE_GLIB_2_14, 1, [Define to 1 if GLib is version 2.14 or newer]) ++ AC_MSG_RESULT(yes) ++ else ++ AC_MSG_RESULT(no) ++ fi ++ + fi + ]) +--- trunk.orig/configure.in (revision 1501) ++++ trunk/configure.in (revision 1511) +@@ -779,4 +779,5 @@ + AC_SUBST(HAL_FDI_PATH) + AC_SUBST(HAL_CALLOUTS_PATH) ++AC_SUBST(HAVE_GLIB_2_14) + AC_SUBST(LIBHAL_CFLAGS) + AC_SUBST(LIBHAL_LDFLAGS) +--- trunk.orig/ChangeLog (revision 1508) ++++ trunk/ChangeLog (revision 1511) +@@ -1,2 +1,7 @@ ++Mon Jul 7 19:00:00 UTC 2008 / Arnaud Quette ++ ++ - m4/nut_check_libhal.m4, drivers/main-hal.c: test for g_timeout_add_seconds ++ availability (need Glib 2.14) (reported by Jordi Mallach, from Debian) ++ + Fri Jul 4 14:15:24 UTC 2008 / Charles Lepple + +--- trunk.orig/drivers/main-hal.c (revision 1484) ++++ trunk/drivers/main-hal.c (revision 1511) +@@ -333,5 +333,9 @@ + + /* add a timer for data update */ ++#ifdef HAVE_GLIB_2_14 + g_timeout_add_seconds (poll_interval, ++#else ++ g_timeout_add (1000 * poll_interval, /* seconds */ ++#endif + (GSourceFunc)update_data, + NULL); --- nut-2.2.2.orig/debian/patches/01_fdi_info_subsystem_patch.dpatch +++ nut-2.2.2/debian/patches/01_fdi_info_subsystem_patch.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_fdi_info_subsystem_patch.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: HAL info matching patch + +@DPATCH@ + +--- nut-2.2.2.orig/scripts/hal/ups-nut-device.fdi 2008-06-30 21:46:17.000000000 +0200 ++++ nut-2.2.2/scripts/hal/ups-nut-device.fdi 2008-06-30 21:47:15.000000000 +0200 +@@ -1,7 +1,7 @@ + + + +- ++ + + + --- nut-2.2.2.orig/packaging/debian/po/templates.pot +++ nut-2.2.2/packaging/debian/po/templates.pot @@ -62,3 +62,87 @@ "nut. You have been warned! Please read /usr/share/doc/nut/UPGRADING.gz for " "the upgrading procedure." msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "Remove obsolete /etc/nut/debian.conf file?" +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"The upstream author has changed the behaviour of upsd and upsmon. This has " +"necessited modifications in /etc/init.d/nut, the start up script for the " +"daemons. The init script no longer looks for /etc/nut/debian.conf. Instead " +"it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"Therefore, /etc/nut/debian.conf will be removed. Note that in order to get " +"upsmon to work, you will have to modify /etc/nut/upsmon.conf by adding a " +"MONITOR line. Please read the instructions in /usr/share/doc/nut/README." +"Debian." +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change by the upstream author to the syntax of " +"the UPS lines in the /etc/nut/upsd.conf configuration file. The init script " +"in this package takes advantage of this new syntax. You will need to " +"manually modify your configuration file in order for the init script to work." +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change to the syntax of the SHUTDOWNCMD line in " +"the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" around " +"the command or only the first word will be invoked. The new style is:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"completely different, most of the ups drivers have been rewritten (those " +"that weren't rewritten have been dropped), and the TCP port on which upsd " +"listens has changed." +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files and edit /etc/" +"default/nut. You have been warned!" +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some ups drivers have been renamed, ..." +msgstr "" + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files. Please read /" +"usr/share/doc/nut/UPGRADING.gz for the upgrading procedure." +msgstr "" --- nut-2.2.2.orig/packaging/debian/po/ca.po +++ nut-2.2.2/packaging/debian/po/ca.po @@ -75,73 +75,119 @@ "manualment no modifiqueu els fitxers de configuració i editeu el fitxer /etc/" "default/nut. Esteu avisats." -#~ msgid "Remove obsolete /etc/nut/debian.conf file?" -#~ msgstr "Voleu suprimir el fitxer obsolet /etc/nut/debian.conf?" +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "Remove obsolete /etc/nut/debian.conf file?" +msgstr "Voleu suprimir el fitxer obsolet /etc/nut/debian.conf?" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"The upstream author has changed the behaviour of upsd and upsmon. This has " +"necessited modifications in /etc/init.d/nut, the start up script for the " +"daemons. The init script no longer looks for /etc/nut/debian.conf. Instead " +"it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +msgstr "" +"L'autor de l'upstream ha canviat el funcionament de l'upsd i l'upsmon. " +"Aquests canvis han comportat modificacions en la seqüència d'inici del " +"dimoni /etc/init.d/nut. La seqüència d'inici ja no cercarà el fitxer /etc/" +"nut/debian.conf, sinó que llegirà directament els fitxers /etc/nut/upsd.conf " +"i /etc/nut/upsmon.conf." + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"Therefore, /etc/nut/debian.conf will be removed. Note that in order to get " +"upsmon to work, you will have to modify /etc/nut/upsmon.conf by adding a " +"MONITOR line. Please read the instructions in /usr/share/doc/nut/README." +"Debian." +msgstr "" +"Se suprimirà el fitxer /etc/nut/debian.conf. Recordeu que per fer funcionar " +"l'upsmon haureu de modificar el fitxer /etc/nut/upsmon.conf afegint una " +"línia MONITOR. Llegiu les instruccions a /usr/share/doc/nut/README.Debian." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change by the upstream author to the syntax of " +"the UPS lines in the /etc/nut/upsd.conf configuration file. The init script " +"in this package takes advantage of this new syntax. You will need to " +"manually modify your configuration file in order for the init script to work." +msgstr "" +"L'autor de l'upstream ha modificat la sintaxi de les línies de l'UPS del " +"fitxer de configuració /etc/nut/upsd.cnf. La seqüència d'inici del paquet " +"s'aprofita de la nova sintaxi. Per fer funcionar la seqüència d'inici " +"haureu de modificar manualment el fitxer de configuració." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change to the syntax of the SHUTDOWNCMD line in " +"the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" around " +"the command or only the first word will be invoked. The new style is:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" +msgstr "" +"S'ha modificat la sintaxi de la línia SHUTDOWNCMD del fitxer /etc/nut/upsmon." +"conf. Heu d'utilitzar \"cometes\" per especificar l'ordre de SHUTDOWNCMD o " +"només s'executarà la primera paraula." + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"completely different, most of the ups drivers have been rewritten (those " +"that weren't rewritten have been dropped), and the TCP port on which upsd " +"listens has changed." +msgstr "" +"L'autor de l'upstream ha canviat el funcionament del programa. Els fitxers " +"de configuració del directori /etc/nut són completament diferents, s'han " +"tornat a escriure la majoria dels controladors de l'ups (els que no s'han " +"tornat a escriure s'han suprimit) i s'ha modificat el port de TCP vinculat a " +"l'upsd." + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files and edit /etc/" +"default/nut. You have been warned!" +msgstr "" +"Si continueu instal·lant el paquet, l'upsd/upsmon no es reiniciarà si " +"manualment no modifiqueu els fitxers de configuració i editeu el fitxer /etc/" +"default/nut. Esteu avisats." -#~ msgid "" -#~ "The upstream author has changed the behaviour of upsd and upsmon. This " -#~ "has necessited modifications in /etc/init.d/nut, the start up script for " -#~ "the daemons. The init script no longer looks for /etc/nut/debian.conf. " -#~ "Instead it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." -#~ msgstr "" -#~ "L'autor de l'upstream ha canviat el funcionament de l'upsd i l'upsmon. " -#~ "Aquests canvis han comportat modificacions en la seqüència d'inici del " -#~ "dimoni /etc/init.d/nut. La seqüència d'inici ja no cercarà el fitxer /etc/" -#~ "nut/debian.conf, sinó que llegirà directament els fitxers /etc/nut/upsd." -#~ "conf i /etc/nut/upsmon.conf." - -#~ msgid "" -#~ "Therefore, /etc/nut/debian.conf will be removed. Note that in order to " -#~ "get upsmon to work, you will have to modify /etc/nut/upsmon.conf by " -#~ "adding a MONITOR line. Please read the instructions in /usr/share/doc/nut/" -#~ "README.Debian." -#~ msgstr "" -#~ "Se suprimirà el fitxer /etc/nut/debian.conf. Recordeu que per fer " -#~ "funcionar l'upsmon haureu de modificar el fitxer /etc/nut/upsmon.conf " -#~ "afegint una línia MONITOR. Llegiu les instruccions a /usr/share/doc/nut/" -#~ "README.Debian." - -#~ msgid "" -#~ "There has been a significant change by the upstream author to the syntax " -#~ "of the UPS lines in the /etc/nut/upsd.conf configuration file. The init " -#~ "script in this package takes advantage of this new syntax. You will need " -#~ "to manually modify your configuration file in order for the init script " -#~ "to work." -#~ msgstr "" -#~ "L'autor de l'upstream ha modificat la sintaxi de les línies de l'UPS del " -#~ "fitxer de configuració /etc/nut/upsd.cnf. La seqüència d'inici del paquet " -#~ "s'aprofita de la nova sintaxi. Per fer funcionar la seqüència d'inici " -#~ "haureu de modificar manualment el fitxer de configuració." - -#~ msgid "" -#~ "There has been a significant change to the syntax of the SHUTDOWNCMD line " -#~ "in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" " -#~ "around the command or only the first word will be invoked. The new style " -#~ "is:\n" -#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" -#~ msgstr "" -#~ "S'ha modificat la sintaxi de la línia SHUTDOWNCMD del fitxer /etc/nut/" -#~ "upsmon.conf. Heu d'utilitzar \"cometes\" per especificar l'ordre de " -#~ "SHUTDOWNCMD o només s'executarà la primera paraula." - -#~ msgid "" -#~ "There have been significant changes by the upstream author to the " -#~ "behaviour of this software. Specifically, the configuration files in /" -#~ "etc/nut are completely different, most of the ups drivers have been " -#~ "rewritten (those that weren't rewritten have been dropped), and the TCP " -#~ "port on which upsd listens has changed." -#~ msgstr "" -#~ "L'autor de l'upstream ha canviat el funcionament del programa. Els " -#~ "fitxers de configuració del directori /etc/nut són completament " -#~ "diferents, s'han tornat a escriure la majoria dels controladors de l'ups " -#~ "(els que no s'han tornat a escriure s'han suprimit) i s'ha modificat el " -#~ "port de TCP vinculat a l'upsd." - -#~ msgid "" -#~ "If you continue with the installation of this package, upsd/upsmon will " -#~ "NOT restart unless you manually change your configuration files and edit /" -#~ "etc/default/nut. You have been warned!" -#~ msgstr "" -#~ "Si continueu instal·lant el paquet, l'upsd/upsmon no es reiniciarà si " -#~ "manualment no modifiqueu els fitxers de configuració i editeu el fitxer /" -#~ "etc/default/nut. Esteu avisats." +#. Type: boolean +#. Description +#: ../nut.templates:55 +#, fuzzy +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some ups drivers have been renamed, ..." +msgstr "" +"L'autor de l'upstream ha canviat el funcionament del programa. Els fitxers " +"de configuració del directori /etc/nut són completament diferents, s'han " +"tornat a escriure la majoria dels controladors de l'ups (els que no s'han " +"tornat a escriure s'han suprimit) i s'ha modificat el port de TCP vinculat a " +"l'upsd." + +#. Type: boolean +#. Description +#: ../nut.templates:55 +#, fuzzy +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files. Please read /" +"usr/share/doc/nut/UPGRADING.gz for the upgrading procedure." +msgstr "" +"Si continueu instal·lant el paquet, l'upsd/upsmon no es reiniciarà si " +"manualment no modifiqueu els fitxers de configuració i editeu el fitxer /etc/" +"default/nut. Esteu avisats." --- nut-2.2.2.orig/packaging/debian/po/cs.po +++ nut-2.2.2/packaging/debian/po/cs.po @@ -82,70 +82,113 @@ "restartovány, dokud ručně neupravíte konfigurační soubory. Návod pro " "aktualizaci naleznete v souboru /usr/share/doc/nut/UPGRADING.gz." -#~ msgid "Remove obsolete /etc/nut/debian.conf file?" -#~ msgstr "Odstranit zastaralý soubor /etc/nut/debian.conf?" - -#~ msgid "" -#~ "The upstream author has changed the behaviour of upsd and upsmon. This " -#~ "has necessited modifications in /etc/init.d/nut, the start up script for " -#~ "the daemons. The init script no longer looks for /etc/nut/debian.conf. " -#~ "Instead it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." -#~ msgstr "" -#~ "Autor nutu změnil chování upsd a upsmon, což nutně vyvolalo změny ve " -#~ "startovacím skriptu /etc/init.d/nut. Tento skript již nehledá soubor /etc/" -#~ "nut/debian.conf, ale čte přímo /etc/nut/upsd.conf a /etc/nut/upsmon.conf." - -#~ msgid "" -#~ "Therefore, /etc/nut/debian.conf will be removed. Note that in order to " -#~ "get upsmon to work, you will have to modify /etc/nut/upsmon.conf by " -#~ "adding a MONITOR line. Please read the instructions in /usr/share/doc/nut/" -#~ "README.Debian." -#~ msgstr "" -#~ "Nepotřebný soubor /etc/nut/debian.conf bude odstraněn. Pamatujte, že aby " -#~ "upsmon fungoval, musíte do souboru /etc/nut/upsmon.conf přidat řádek " -#~ "MONITOR. Návod si přečtěte v /usr/share/doc/nut/README.Debian." - -#~ msgid "" -#~ "There has been a significant change by the upstream author to the syntax " -#~ "of the UPS lines in the /etc/nut/upsd.conf configuration file. The init " -#~ "script in this package takes advantage of this new syntax. You will need " -#~ "to manually modify your configuration file in order for the init script " -#~ "to work." -#~ msgstr "" -#~ "Autor nutu změnil v konfiguračním souboru /etc/nut/upsd.conf syntaxi UPS " -#~ "řádek. Spouštěcí skript využívá této nové syntaxe. Aby spouštěcí skript " -#~ "fungoval, budete muset ručně upravit konfigurační soubor." - -#~ msgid "" -#~ "There has been a significant change to the syntax of the SHUTDOWNCMD line " -#~ "in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" " -#~ "around the command or only the first word will be invoked. The new style " -#~ "is:\n" -#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" -#~ msgstr "" -#~ "V konfiguračním souboru /etc/nut/upsmon.conf se významně změnila syntaxe " -#~ "řádku SHUTDOWNCMD. SHUTDOWNCMD nyní musí mít kolem příkazu \"uvozovky\". " -#~ "Zapomenete-li na ně, spustí se pouze první slovo příkazu. Nově tedy řádek " -#~ "vypadá takto:\n" -#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" - -#~ msgid "" -#~ "There have been significant changes by the upstream author to the " -#~ "behaviour of this software. Specifically, the configuration files in /" -#~ "etc/nut are completely different, most of the ups drivers have been " -#~ "rewritten (those that weren't rewritten have been dropped), and the TCP " -#~ "port on which upsd listens has changed." -#~ msgstr "" -#~ "Autor nutu provedl v programu velké změny, které ovlivnily chování tohoto " -#~ "programu. Konkrétně se úplně změnily konfigurační soubory v /etc/nut, " -#~ "většina ovladačů byla přepsána (ty zbývající byly zahozeny) a také se " -#~ "změnil TCP port, na kterém naslouchá upsd." - -#~ msgid "" -#~ "If you continue with the installation of this package, upsd/upsmon will " -#~ "NOT restart unless you manually change your configuration files and edit /" -#~ "etc/default/nut. You have been warned!" -#~ msgstr "" -#~ "Pokud budete pokračovat v instalaci tohoto balíku, upsd/upsmod NEBUDOU " -#~ "restartovány, dokud ručně neupravíte konfigurační soubory a nezměníte /" -#~ "etc/default/nut. Byli jste varováni." +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "Remove obsolete /etc/nut/debian.conf file?" +msgstr "Odstranit zastaralý soubor /etc/nut/debian.conf?" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"The upstream author has changed the behaviour of upsd and upsmon. This has " +"necessited modifications in /etc/init.d/nut, the start up script for the " +"daemons. The init script no longer looks for /etc/nut/debian.conf. Instead " +"it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +msgstr "" +"Autor nutu změnil chování upsd a upsmon, což nutně vyvolalo změny ve " +"startovacím skriptu /etc/init.d/nut. Tento skript již nehledá soubor /etc/" +"nut/debian.conf, ale čte přímo /etc/nut/upsd.conf a /etc/nut/upsmon.conf." + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"Therefore, /etc/nut/debian.conf will be removed. Note that in order to get " +"upsmon to work, you will have to modify /etc/nut/upsmon.conf by adding a " +"MONITOR line. Please read the instructions in /usr/share/doc/nut/README." +"Debian." +msgstr "" +"Nepotřebný soubor /etc/nut/debian.conf bude odstraněn. Pamatujte, že aby " +"upsmon fungoval, musíte do souboru /etc/nut/upsmon.conf přidat řádek " +"MONITOR. Návod si přečtěte v /usr/share/doc/nut/README.Debian." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change by the upstream author to the syntax of " +"the UPS lines in the /etc/nut/upsd.conf configuration file. The init script " +"in this package takes advantage of this new syntax. You will need to " +"manually modify your configuration file in order for the init script to work." +msgstr "" +"Autor nutu změnil v konfiguračním souboru /etc/nut/upsd.conf syntaxi UPS " +"řádek. Spouštěcí skript využívá této nové syntaxe. Aby spouštěcí skript " +"fungoval, budete muset ručně upravit konfigurační soubor." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change to the syntax of the SHUTDOWNCMD line in " +"the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" around " +"the command or only the first word will be invoked. The new style is:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" +msgstr "" +"V konfiguračním souboru /etc/nut/upsmon.conf se významně změnila syntaxe " +"řádku SHUTDOWNCMD. SHUTDOWNCMD nyní musí mít kolem příkazu \"uvozovky\". " +"Zapomenete-li na ně, spustí se pouze první slovo příkazu. Nově tedy řádek " +"vypadá takto:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"completely different, most of the ups drivers have been rewritten (those " +"that weren't rewritten have been dropped), and the TCP port on which upsd " +"listens has changed." +msgstr "" +"Autor nutu provedl v programu velké změny, které ovlivnily chování tohoto " +"programu. Konkrétně se úplně změnily konfigurační soubory v /etc/nut, " +"většina ovladačů byla přepsána (ty zbývající byly zahozeny) a také se změnil " +"TCP port, na kterém naslouchá upsd." + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files and edit /etc/" +"default/nut. You have been warned!" +msgstr "" +"Pokud budete pokračovat v instalaci tohoto balíku, upsd/upsmod NEBUDOU " +"restartovány, dokud ručně neupravíte konfigurační soubory a nezměníte /etc/" +"default/nut. Byli jste varováni." + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some ups drivers have been renamed, ..." +msgstr "" +"Autor nutu provedl v programu významné změny, které ovlivnily chování tohoto " +"programu. Konkrétně se změnily konfigurační soubory v /etc/nut, některé " +"ovladače byly přejmenovány, atd." + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files. Please read /" +"usr/share/doc/nut/UPGRADING.gz for the upgrading procedure." +msgstr "" +"Budete-li pokračovat v instalaci tohoto balíku, upsd/upsmod NEBUDOU " +"restartovány, dokud ručně neupravíte konfigurační soubory. Návod pro " +"aktualizaci naleznete v souboru /usr/share/doc/nut/UPGRADING.gz." --- nut-2.2.2.orig/packaging/debian/po/de.po +++ nut-2.2.2/packaging/debian/po/de.po @@ -73,3 +73,119 @@ "starten, außer Sie ändern Ihre Konfigurationsdateien manuell und passen /etc/" "default/nut an. Sie wurden gewarnt! Bitte lesen Sie /usr/share/doc/nut/" "UPGRADING.gz bezüglich der Vorgehensweise beim Upgrade." + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "Remove obsolete /etc/nut/debian.conf file?" +msgstr "Veraltete Datei /etc/nut/debian.conf entfernen?" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"The upstream author has changed the behaviour of upsd and upsmon. This has " +"necessited modifications in /etc/init.d/nut, the start up script for the " +"daemons. The init script no longer looks for /etc/nut/debian.conf. Instead " +"it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +msgstr "" +"Der Originalautor hat das Verhalten von upsd und upsmon geändert. Dies hat " +"Änderungen in /etc/init.d/nut, dem Startskript der Daemons, erforderlich " +"gemacht. Das Startskript verwendet /etc/nut/debian.conf nicht mehr. " +"Stattdessen liest es /etc/nut/upsd.conf und /etc/nut/upsmon.conf direkt." + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"Therefore, /etc/nut/debian.conf will be removed. Note that in order to get " +"upsmon to work, you will have to modify /etc/nut/upsmon.conf by adding a " +"MONITOR line. Please read the instructions in /usr/share/doc/nut/README." +"Debian." +msgstr "" +"Deshalb wird /etc/nut/debian.conf entfernt. Beachten Sie, dass Sie /etc/nut/" +"upsmon.conf durch Hinzufügen einer »MONITOR«-Zeile anpassen müssen, damit " +"upsmon funktioniert. Bitte lesen Sie die Anleitung in /usr/share/doc/nut/" +"README.Debian." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change by the upstream author to the syntax of " +"the UPS lines in the /etc/nut/upsd.conf configuration file. The init script " +"in this package takes advantage of this new syntax. You will need to " +"manually modify your configuration file in order for the init script to work." +msgstr "" +"Es gab eine bedeutende Änderung in der Syntax der »UPS«-Zeilen in der " +"Konfigurationsdatei /etc/nut/upsd.conf durch den Programmautor. Das " +"Startskript in diesem Paket nutzt diese neue Syntax. Sie müssen Ihre " +"Konfigurationsdatei manuell anpassen, damit das Startskript funktioniert." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change to the syntax of the SHUTDOWNCMD line in " +"the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" around " +"the command or only the first word will be invoked. The new style is:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" +msgstr "" +"Es gab eine bedeutende Änderung an der Syntax der »SHUTDOWNCMD«-Zeile in der " +"Datei /etc/nut/upsmon.conf. Das SHUTDOWNCMD muss Anführungszeichen (\") um " +"das Kommando verwenden, oder nur das erste Wort wird aufgerufen. Die neue " +"Form ist:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"completely different, most of the ups drivers have been rewritten (those " +"that weren't rewritten have been dropped), and the TCP port on which upsd " +"listens has changed." +msgstr "" +"Es gab bedeutende Änderungen durch den Programmautor am Verhalten dieser " +"Software. Im Besonderen wurden die Konfigurationsdateien in /etc/nut " +"komplettgeändert, die meisten der ups-Treiber wurden neu geschrieben " +"(diejenigen, die nicht neu geschrieben wurden, wurden weggelassen) und der " +"TCP-Port, an dem upsd Verbindungen erwartet, hat sich geändert." + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files and edit /etc/" +"default/nut. You have been warned!" +msgstr "" +"Falls Sie mit der Installation dieses Pakets fortfahren, werden upsd/upsmon " +"NICHT neu starten, bis Sie Ihre Konfigurationsdateien manuell ändern und /" +"etc/default/nut anpassen. Sie wurden gewarnt!" + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some ups drivers have been renamed, ..." +msgstr "" +"Es gab bedeutende Änderungen durch den Programmautor am Verhalten dieser " +"Software. Im Besonderen wurden die Konfigurationsdateien in /etc/nut " +"geändert, manche ups-Treiber wurden umbenannt, ..." + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files. Please read /" +"usr/share/doc/nut/UPGRADING.gz for the upgrading procedure." +msgstr "" +"Wenn Sie mit der Installation dieses Pakets fortfahren, werden upsd/upsmon " +"NICHT neu starten, bis Sie Ihre Konfigurationsdateien manuell ändern. Bitte " +"lesen Sie /usr/share/doc/nut/UPGRADING.gz bezüglich der Vorgehensweise beim " +"Upgrade." --- nut-2.2.2.orig/packaging/debian/po/fr.po +++ nut-2.2.2/packaging/debian/po/fr.po @@ -81,76 +81,120 @@ "modifié /etc/default/nut. Veuillez consulter /usr/share/doc/nut/UPGRADING.gz " "pour plus de détails sur la procédure de mise à niveau." -#~ msgid "Remove obsolete /etc/nut/debian.conf file?" -#~ msgstr "Faut-il supprimer le fichier obsolète /etc/nut/debian.conf ?" - -#~ msgid "" -#~ "The upstream author has changed the behaviour of upsd and upsmon. This " -#~ "has necessited modifications in /etc/init.d/nut, the start up script for " -#~ "the daemons. The init script no longer looks for /etc/nut/debian.conf. " -#~ "Instead it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." -#~ msgstr "" -#~ "L'auteur amont a changé le comportement d'upsd et d'upsmon. Cela a " -#~ "nécessité des changements dans /etc/init.d/nut, le script de lancement " -#~ "des démons. Le script d'initialisation ne consulte plus /etc/nut/debian." -#~ "conf. Au lieu de cela, il lit directement /etc/nut/upsd.conf et /etc/nut/" -#~ "upsmon.conf." - -#~ msgid "" -#~ "Therefore, /etc/nut/debian.conf will be removed. Note that in order to " -#~ "get upsmon to work, you will have to modify /etc/nut/upsmon.conf by " -#~ "adding a MONITOR line. Please read the instructions in /usr/share/doc/nut/" -#~ "README.Debian." -#~ msgstr "" -#~ "Par conséquent, /etc/nut/debian.conf sera supprimé. Veuillez remarquer " -#~ "que pour faire fonctionner upsmon, vous devrez modifier /etc/nut/upsmon." -#~ "conf en ajoutant une ligne MONITOR. Veuillez lire les instructions dans /" -#~ "usr/share/doc/nut/README.Debian." - -#~ msgid "" -#~ "There has been a significant change by the upstream author to the syntax " -#~ "of the UPS lines in the /etc/nut/upsd.conf configuration file. The init " -#~ "script in this package takes advantage of this new syntax. You will need " -#~ "to manually modify your configuration file in order for the init script " -#~ "to work." -#~ msgstr "" -#~ "Une modification significative de la syntaxe des lignes UPS a été " -#~ "introduite par l'auteur amont dans le fichier de configuration /etc/nut/" -#~ "upsd.conf. Le script d'initialisation de ce paquet se sert de cette " -#~ "nouvelle syntaxe. Vous devrez modifier vous-même votre fichier de " -#~ "configuration afin que le script d'initialisation puisse fonctionner." - -#~ msgid "" -#~ "There has been a significant change to the syntax of the SHUTDOWNCMD line " -#~ "in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" " -#~ "around the command or only the first word will be invoked. The new style " -#~ "is:\n" -#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" -#~ msgstr "" -#~ "Une modification significative de la syntaxe de la ligne SHUTDOWNCMD a eu " -#~ "lieu dans le fichier /etc/nut/upsmon.conf. L'instruction SHUTDOWNCMD doit " -#~ "utiliser des guillemets anglais (« \" », ) autour de la commande sinon " -#~ "seul le premier mot sera invoqué. La nouvelle syntaxe est :\n" -#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" - -#~ msgid "" -#~ "There have been significant changes by the upstream author to the " -#~ "behaviour of this software. Specifically, the configuration files in /" -#~ "etc/nut are completely different, most of the ups drivers have been " -#~ "rewritten (those that weren't rewritten have been dropped), and the TCP " -#~ "port on which upsd listens has changed." -#~ msgstr "" -#~ "L'auteur amont a apporté des modifications significatives au comportement " -#~ "de ce programme. Plus précisément, les fichiers de configuration dans /" -#~ "etc/nut sont totalement différents, la plupart des pilotes d'alimentation " -#~ "ininterruptibles (UPS) ont été réécrits (ceux qui n'ont pas été réécrits " -#~ "ont été abandonnés) et le port TCP sur lequel upsd écoute a changé." - -#~ msgid "" -#~ "If you continue with the installation of this package, upsd/upsmon will " -#~ "NOT restart unless you manually change your configuration files and edit /" -#~ "etc/default/nut. You have been warned!" -#~ msgstr "" -#~ "Si vous continuez l'installation de ce programme, upsd/upsmon ne " -#~ "redémarrera PAS tant que vous n'aurez pas changé vous-même votre fichier " -#~ "de configuration et modifié /etc/default/nut. Vous êtes avertis." +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "Remove obsolete /etc/nut/debian.conf file?" +msgstr "Faut-il supprimer le fichier obsolète /etc/nut/debian.conf ?" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"The upstream author has changed the behaviour of upsd and upsmon. This has " +"necessited modifications in /etc/init.d/nut, the start up script for the " +"daemons. The init script no longer looks for /etc/nut/debian.conf. Instead " +"it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +msgstr "" +"L'auteur amont a changé le comportement d'upsd et d'upsmon. Cela a nécessité " +"des changements dans /etc/init.d/nut, le script de lancement des démons. Le " +"script d'initialisation ne consulte plus /etc/nut/debian.conf. Au lieu de " +"cela, il lit directement /etc/nut/upsd.conf et /etc/nut/upsmon.conf." + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"Therefore, /etc/nut/debian.conf will be removed. Note that in order to get " +"upsmon to work, you will have to modify /etc/nut/upsmon.conf by adding a " +"MONITOR line. Please read the instructions in /usr/share/doc/nut/README." +"Debian." +msgstr "" +"Par conséquent, /etc/nut/debian.conf sera supprimé. Veuillez remarquer que " +"pour faire fonctionner upsmon, vous devrez modifier /etc/nut/upsmon.conf en " +"ajoutant une ligne MONITOR. Veuillez lire les instructions dans /usr/share/" +"doc/nut/README.Debian." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change by the upstream author to the syntax of " +"the UPS lines in the /etc/nut/upsd.conf configuration file. The init script " +"in this package takes advantage of this new syntax. You will need to " +"manually modify your configuration file in order for the init script to work." +msgstr "" +"Une modification significative de la syntaxe des lignes UPS a été introduite " +"par l'auteur amont dans le fichier de configuration /etc/nut/upsd.conf. Le " +"script d'initialisation de ce paquet se sert de cette nouvelle syntaxe. Vous " +"devrez modifier vous-même votre fichier de configuration afin que le script " +"d'initialisation puisse fonctionner." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change to the syntax of the SHUTDOWNCMD line in " +"the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" around " +"the command or only the first word will be invoked. The new style is:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" +msgstr "" +"Une modification significative de la syntaxe de la ligne SHUTDOWNCMD a eu " +"lieu dans le fichier /etc/nut/upsmon.conf. L'instruction SHUTDOWNCMD doit " +"utiliser des guillemets anglais (« \" », ) autour de la commande sinon seul " +"le premier mot sera invoqué. La nouvelle syntaxe est :\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"completely different, most of the ups drivers have been rewritten (those " +"that weren't rewritten have been dropped), and the TCP port on which upsd " +"listens has changed." +msgstr "" +"L'auteur amont a apporté des modifications significatives au comportement de " +"ce programme. Plus précisément, les fichiers de configuration dans /etc/nut " +"sont totalement différents, la plupart des pilotes d'alimentation " +"ininterruptibles (UPS) ont été réécrits (ceux qui n'ont pas été réécrits ont " +"été abandonnés) et le port TCP sur lequel upsd écoute a changé." + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files and edit /etc/" +"default/nut. You have been warned!" +msgstr "" +"Si vous continuez l'installation de ce programme, upsd/upsmon ne redémarrera " +"PAS tant que vous n'aurez pas changé vous-même votre fichier de " +"configuration et modifié /etc/default/nut. Vous êtes avertis." + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some ups drivers have been renamed, ..." +msgstr "" +"L'auteur amont a apport des modifications significatives au comportement de " +"ce programme. Plus prcisment, les fichiers de configuration dans /etc/nut " +"sont totalement diffrents, la plupart des pilotes d'alimentation " +"ininterruptibles (UPS) ont t renomms, etc." + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files. Please read /" +"usr/share/doc/nut/UPGRADING.gz for the upgrading procedure." +msgstr "" +"Si vous continuez l'installation de ce programme, upsd/upsmon ne redmarrera " +"PAS tant que vous n'aurez pas chang vous-mme votre fichier de configuration. " +"Veuillez consulter /usr/share/doc/nut/UPGRADING.gz pour plus de dtails sur " +"la procdure de mise niveau." --- nut-2.2.2.orig/packaging/debian/po/vi.po +++ nut-2.2.2/packaging/debian/po/vi.po @@ -74,73 +74,116 @@ "chạy lại, nếu bạn chưa tự sửa đổi những tập tin cấu hình của bạn. Hãy đọc " "tài liệu nâng cấp «/usr/share/doc/nut/UPGRADING.gz» để tìm chi tiết." -#~ msgid "Remove obsolete /etc/nut/debian.conf file?" -#~ msgstr "Loại bỏ tập tin cấu hình cũ «/etc/nut/debian.conf» không?" - -#~ msgid "" -#~ "The upstream author has changed the behaviour of upsd and upsmon. This " -#~ "has necessited modifications in /etc/init.d/nut, the start up script for " -#~ "the daemons. The init script no longer looks for /etc/nut/debian.conf. " -#~ "Instead it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." -#~ msgstr "" -#~ "Tác giả gốc đã thay đổi hành vi của hai trình upsd và upsmon. Vì vậy đã " -#~ "phải sửa đổi «/etc/init.d/nut», tập lệnh khởi chạy cho hai trình nền " -#~ "(dæmon). Tập lệnh khởi chạy không còn tìm lại thông tin trong tập tin «/" -#~ "etc/nut/debian.conf». Thay vào đó, nó đọc trực tiếp hai tập tin «/etc/nut/" -#~ "upsd.conf» và «/etc/nut/upsmon.conf»." - -#~ msgid "" -#~ "Therefore, /etc/nut/debian.conf will be removed. Note that in order to " -#~ "get upsmon to work, you will have to modify /etc/nut/upsmon.conf by " -#~ "adding a MONITOR line. Please read the instructions in /usr/share/doc/nut/" -#~ "README.Debian." -#~ msgstr "" -#~ "Vì vậy sẽ loại bỏ tập tin cũ «/etc/nut/debian.conf». Hãy ghi chú rằng để " -#~ "hoạt hóa trình upsmon, bạn sẽ phải sửa đổi tập tin «/etc/nut/upsmon.conf " -#~ "» bằng cách thêm một dòng «MONITOR» (theo dõi). Hãy đọc những hướng dẫn " -#~ "trong tập tin «/usr/share/doc/nut/README.Debian»." - -#~ msgid "" -#~ "There has been a significant change by the upstream author to the syntax " -#~ "of the UPS lines in the /etc/nut/upsd.conf configuration file. The init " -#~ "script in this package takes advantage of this new syntax. You will need " -#~ "to manually modify your configuration file in order for the init script " -#~ "to work." -#~ msgstr "" -#~ "Tác giả gốc đã thay đổi một cách quan trọng, cú pháp của những dòng UPS " -#~ "trong tập tin cấu hình «/etc/nut/upsd.conf». Tập lệnh khởi chạy trong gói " -#~ "tin này nhớ dịp có cú pháp mới này. Bạn sẽ phải tự sửa đổi tập tin cấu " -#~ "hình để hoạt hóa tập lệnh khởi chạy ấy." - -#~ msgid "" -#~ "There has been a significant change to the syntax of the SHUTDOWNCMD line " -#~ "in the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" " -#~ "around the command or only the first word will be invoked. The new style " -#~ "is:\n" -#~ " SHUTDOWNCMD \"/sbin/shutdown -h\"" -#~ msgstr "" -#~ "Đã thay đổi một cách quan trọng, cú pháp của dòng «SHUTDOWNCMD» (lệnh " -#~ "tắt) trong tập tin cấu hình «/etc/nut/upsmon.conf». Dòng «SHUTDOWNCMD» " -#~ "phải dùng \"dấu trích dẫn\" chung quanh lệnh ấy: nếu không thì sẽ dùng " -#~ "chỉ từ đầu của nó. Kiểu mới là: SHUTDOWNCMD \"/sbin/shutdown -h\"" - -#~ msgid "" -#~ "There have been significant changes by the upstream author to the " -#~ "behaviour of this software. Specifically, the configuration files in /" -#~ "etc/nut are completely different, most of the ups drivers have been " -#~ "rewritten (those that weren't rewritten have been dropped), and the TCP " -#~ "port on which upsd listens has changed." -#~ msgstr "" -#~ "Tác giả gốc đã thay đổi một cách quan trong hành vi của phần mềm này. Đặc " -#~ "biệt là những tập tin cấu hình trong «/etc/nut» là khác hoàn thành, phần " -#~ "lớn trình điều khiển thiết bị UPS đã bị viết lại (mọi trình không bị viết " -#~ "lại thì bị bỏ), và đã thay đổi cổng TCP nơi trình upsd lắng nghe." - -#~ msgid "" -#~ "If you continue with the installation of this package, upsd/upsmon will " -#~ "NOT restart unless you manually change your configuration files and edit /" -#~ "etc/default/nut. You have been warned!" -#~ msgstr "" -#~ "Nếu bạn tiếp tục cài đặt gói tin này, trình upsd/upsmon sẽ KHÔNG khởi " -#~ "chạy lại nếu bạn chưa tự sửa đổi những tập tin cấu hình và hiệu chỉnh tập " -#~ "tin «/etc/default/nut». ••• Bạn đã nhận cảnh báo rồi. •••" +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "Remove obsolete /etc/nut/debian.conf file?" +msgstr "Loại bỏ tập tin cấu hình cũ «/etc/nut/debian.conf» không?" + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"The upstream author has changed the behaviour of upsd and upsmon. This has " +"necessited modifications in /etc/init.d/nut, the start up script for the " +"daemons. The init script no longer looks for /etc/nut/debian.conf. Instead " +"it reads /etc/nut/upsd.conf and /etc/nut/upsmon.conf directly." +msgstr "" +"Tác giả gốc đã thay đổi hành vi của hai trình upsd và upsmon. Vì vậy đã phải " +"sửa đổi «/etc/init.d/nut», tập lệnh khởi chạy cho hai trình nền (dæmon). Tập " +"lệnh khởi chạy không còn tìm lại thông tin trong tập tin «/etc/nut/debian." +"conf». Thay vào đó, nó đọc trực tiếp hai tập tin «/etc/nut/upsd.conf» và «/" +"etc/nut/upsmon.conf»." + +#. Type: boolean +#. Description +#: ../nut.templates:3 +msgid "" +"Therefore, /etc/nut/debian.conf will be removed. Note that in order to get " +"upsmon to work, you will have to modify /etc/nut/upsmon.conf by adding a " +"MONITOR line. Please read the instructions in /usr/share/doc/nut/README." +"Debian." +msgstr "" +"Vì vậy sẽ loại bỏ tập tin cũ «/etc/nut/debian.conf». Hãy ghi chú rằng để " +"hoạt hóa trình upsmon, bạn sẽ phải sửa đổi tập tin «/etc/nut/upsmon.conf » " +"bằng cách thêm một dòng «MONITOR» (theo dõi). Hãy đọc những hướng dẫn trong " +"tập tin «/usr/share/doc/nut/README.Debian»." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change by the upstream author to the syntax of " +"the UPS lines in the /etc/nut/upsd.conf configuration file. The init script " +"in this package takes advantage of this new syntax. You will need to " +"manually modify your configuration file in order for the init script to work." +msgstr "" +"Tác giả gốc đã thay đổi một cách quan trọng, cú pháp của những dòng UPS " +"trong tập tin cấu hình «/etc/nut/upsd.conf». Tập lệnh khởi chạy trong gói " +"tin này nhớ dịp có cú pháp mới này. Bạn sẽ phải tự sửa đổi tập tin cấu hình " +"để hoạt hóa tập lệnh khởi chạy ấy." + +#. Type: boolean +#. Description +#: ../nut.templates:16 +msgid "" +"There has been a significant change to the syntax of the SHUTDOWNCMD line in " +"the /etc/nut/upsmon.conf file. The SHUTDOWNCMD must use \"quotes\" around " +"the command or only the first word will be invoked. The new style is:\n" +" SHUTDOWNCMD \"/sbin/shutdown -h\"" +msgstr "" +"Đã thay đổi một cách quan trọng, cú pháp của dòng «SHUTDOWNCMD» (lệnh tắt) " +"trong tập tin cấu hình «/etc/nut/upsmon.conf». Dòng «SHUTDOWNCMD» phải dùng " +"\"dấu trích dẫn\" chung quanh lệnh ấy: nếu không thì sẽ dùng chỉ từ đầu của " +"nó. Kiểu mới là: SHUTDOWNCMD \"/sbin/shutdown -h\"" + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"completely different, most of the ups drivers have been rewritten (those " +"that weren't rewritten have been dropped), and the TCP port on which upsd " +"listens has changed." +msgstr "" +"Tác giả gốc đã thay đổi một cách quan trong hành vi của phần mềm này. Đặc " +"biệt là những tập tin cấu hình trong «/etc/nut» là khác hoàn thành, phần lớn " +"trình điều khiển thiết bị UPS đã bị viết lại (mọi trình không bị viết lại " +"thì bị bỏ), và đã thay đổi cổng TCP nơi trình upsd lắng nghe." + +#. Type: boolean +#. Description +#: ../nut.templates:40 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files and edit /etc/" +"default/nut. You have been warned!" +msgstr "" +"Nếu bạn tiếp tục cài đặt gói tin này, trình upsd/upsmon sẽ KHÔNG khởi chạy " +"lại nếu bạn chưa tự sửa đổi những tập tin cấu hình và hiệu chỉnh tập tin «/" +"etc/default/nut». ••• Bạn đã nhận cảnh báo rồi. •••" + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"There have been significant changes by the upstream author to the behaviour " +"of this software. Specifically, the configuration files in /etc/nut are " +"different, some ups drivers have been renamed, ..." +msgstr "" +"Tác giả gốc đã thay đổi hành vi phần mềm này một cách quan trọng. Đặc biệt " +"là những tập tin cấu hình trong «/etc/nut» là khác, một số trình điều khiển " +"thiết bị UPS đã bị thay đổi tên, ..." + +#. Type: boolean +#. Description +#: ../nut.templates:55 +msgid "" +"If you continue with the installation of this package, upsd/upsmon will NOT " +"restart unless you manually change your configuration files. Please read /" +"usr/share/doc/nut/UPGRADING.gz for the upgrading procedure." +msgstr "" +"Nếu bạn tiếp tục cài đặt gói tin này thì trình upsd/upsmon sẽ KHÔNG khởi " +"chạy lại, nếu bạn chưa tự sửa đổi những tập tin cấu hình của bạn. Hãy đọc " +"tài liệu nâng cấp «/usr/share/doc/nut/UPGRADING.gz» để tìm chi tiết."