Code

Split the "collectd" binary package into "collectd-core" and "collectd".
authorSebastian Harl <sh@tokkee.org>
Sun, 13 Dec 2009 20:01:47 +0000 (21:01 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 13 Dec 2009 20:01:47 +0000 (21:01 +0100)
The former provides the main program file and the plugins while the latter
provides the configuration. This allows for much more flexible setups (e.g.
providing customizations on top of "collectd-core" without modifying the
"collectd" package) and, amongst others, removes the hard dependency on
librrd.

Closes: #495936, #544311
33 files changed:
debian/bin/gen_plugin_deps.pl
debian/changelog
debian/collectd-core.collectd.default [new file with mode: 0644]
debian/collectd-core.collectd.init.d [new file with mode: 0755]
debian/collectd-core.config [new file with mode: 0755]
debian/collectd-core.install [new file with mode: 0644]
debian/collectd-core.overrides [new file with mode: 0644]
debian/collectd-core.postinst [new file with mode: 0755]
debian/collectd-core.postrm [new file with mode: 0755]
debian/collectd-core.templates [new file with mode: 0644]
debian/collectd.config [deleted file]
debian/collectd.default [deleted file]
debian/collectd.init.d [deleted file]
debian/collectd.install
debian/collectd.overrides [deleted file]
debian/collectd.postinst [deleted file]
debian/collectd.postrm [deleted file]
debian/collectd.templates [deleted file]
debian/control
debian/po/POTFILES.in
debian/po/cs.po
debian/po/de.po
debian/po/es.po
debian/po/fr.po
debian/po/gl.po
debian/po/ja.po
debian/po/nl.po
debian/po/pt.po
debian/po/ru.po
debian/po/sv.po
debian/po/templates.pot
debian/po/vi.po
debian/rules

index bda5c8503142ec73f1260fe617fb6d9896302e22..a4c73a0724fb68ac45b5e5b066b8e2d9820362f2 100755 (executable)
@@ -59,7 +59,7 @@ sub print_plugin_deps
        my $pdir = undef;
        my $i    = 0;
 
-       my $plugindir = "debian/collectd/usr/lib/collectd/";
+       my $plugindir = "debian/collectd-core/usr/lib/collectd/";
 
        if (! opendir($pdir, $plugindir)) {
                print STDERR "Could not open directory '$plugindir': $!\n";
index 2fd4c28a44f1880035fcc0a377d22fba7d596c6c..107656d81f620d7adb0f4c4e5e6dbab375fe2e5a 100644 (file)
@@ -1,3 +1,14 @@
+collectd (4.8.1-3) unstable; urgency=low
+
+  * Split the "collectd" binary package into "collectd-core" and "collectd".
+    The former provides the main program file and the plugins while the latter
+    provides the configuration. This allows for much more flexible setups
+    (e.g. providing customizations on top of "collectd-core" without modifying
+    the "collectd" package) and, amongst others, removes the hard dependency
+    on librrd (Closes: #495936, #544311).
+
+ -- Sebastian Harl <tokkee@debian.org>  Sun, 13 Dec 2009 20:54:52 +0100
+
 collectd (4.8.1-2) unstable; urgency=low
 
   * debian/rules:
diff --git a/debian/collectd-core.collectd.default b/debian/collectd-core.collectd.default
new file mode 100644 (file)
index 0000000..284a38b
--- /dev/null
@@ -0,0 +1,18 @@
+# /etc/default/collectd
+
+# 0: start collectd on boot, 1: do not start collectd on boot
+# default: 0
+DISABLE=0
+
+# 0: start collectd in stand-alone mode, 1: monitor collectd using collectdmon
+# default: 1
+USE_COLLECTDMON=1
+
+# number of seconds to wait for collectd to shut down
+# default: 30
+MAXWAIT=30
+
+# 0: do not enable core-files, 1: enable core-files ... if collectd crashes
+# default: 0
+ENABLE_COREFILES=0
+
diff --git a/debian/collectd-core.collectd.init.d b/debian/collectd-core.collectd.init.d
new file mode 100755 (executable)
index 0000000..5e8d29e
--- /dev/null
@@ -0,0 +1,167 @@
+#! /bin/bash
+#
+# collectd - start and stop the statistics collection daemon
+# http://collectd.org/
+#
+# Copyright (C) 2005-2006 Florian Forster <octo@verplant.org>
+# Copyright (C) 2006-2009 Sebastian Harl <tokkee@debian.org>
+#
+
+### BEGIN INIT INFO
+# Provides:          collectd
+# Required-Start:    $local_fs $remote_fs
+# Required-Stop:     $local_fs $remote_fs
+# Should-Start:      $network $named $syslog $time
+# Should-Stop:       $network $named $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: start the statistics collection daemon
+### END INIT INFO
+
+set -e
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+DISABLE=0
+
+DESC="statistics collection and monitoring daemon"
+NAME=collectd
+DAEMON=/usr/sbin/collectd
+
+CONFIGFILE=/etc/collectd/collectd.conf
+PIDFILE=/var/run/collectd.pid
+
+USE_COLLECTDMON=1
+COLLECTDMON_DAEMON=/usr/sbin/collectdmon
+COLLECTDMON_PIDFILE=/var/run/collectdmon.pid
+
+MAXWAIT=30
+
+# Gracefully exit if the package has been removed.
+test -x $DAEMON || exit 0
+
+if [ -r /etc/default/$NAME ]; then
+       . /etc/default/$NAME
+fi
+
+if test "$DISABLE" != 0 -a "$1" == "start"; then
+       echo "$NAME has been disabled - see /etc/default/$NAME."
+       exit 0
+fi
+
+if test "$ENABLE_COREFILES" == 1; then
+       ulimit -c unlimited
+fi
+
+if test "$USE_COLLECTDMON" == 1; then
+       _PIDFILE="$COLLECTDMON_PIDFILE"
+else
+       _PIDFILE="$PIDFILE"
+fi
+
+check_config() {
+       if ! $DAEMON -t -C "$CONFIGFILE"; then
+               if test -n "$1"; then
+                       echo "$1" >&2
+               fi
+               exit 1
+       fi
+}
+
+d_start() {
+       if test "$DISABLE" != 0; then
+               # we get here during restart
+               echo -n " - disabled by /etc/default/$NAME"
+               return 0
+       fi
+
+       check_config
+
+       if test "$USE_COLLECTDMON" == 1; then
+               start-stop-daemon --start --quiet --oknodo --pidfile "$_PIDFILE" \
+                       --exec $COLLECTDMON_DAEMON -- -P "$_PIDFILE" -- -C "$CONFIGFILE"
+       else
+               start-stop-daemon --start --quiet --oknodo --pidfile "$_PIDFILE" \
+                       --exec $DAEMON -- -C "$CONFIGFILE" -P "$_PIDFILE"
+       fi
+}
+
+still_running_warning="
+WARNING: $NAME might still be running.
+In large setups it might take some time to write all pending data to
+the disk. You can adjust the waiting time in /etc/default/collectd."
+
+d_stop() {
+       PID=$( cat "$_PIDFILE" 2> /dev/null ) || true
+
+       start-stop-daemon --stop --quiet --oknodo --pidfile "$_PIDFILE"
+
+       sleep 1
+       if test -n "$PID" && kill -0 $PID 2> /dev/null; then
+               i=0
+               while kill -0 $PID 2> /dev/null; do
+                       i=$(( $i + 2 ))
+                       echo -n " ."
+
+                       if test $i -gt $MAXWAIT; then
+                               echo "$still_running_warning" >&2
+                               return 1
+                       fi
+
+                       sleep 2
+               done
+               return 0
+       fi
+}
+
+d_status() {
+       PID=$( cat "$_PIDFILE" 2> /dev/null ) || true
+
+       if test -n "$PID" && kill -0 $PID 2> /dev/null; then
+               echo "collectd ($PID) is running."
+               exit 0
+       else
+               PID=$( pidof collectd ) || true
+
+               if test -n "$PID"; then
+                       echo "collectd ($PID) is running."
+                       exit 0
+               else
+                       echo "collectd is stopped."
+               fi
+       fi
+       exit 1
+}
+
+case "$1" in
+       start)
+               echo -n "Starting $DESC: $NAME"
+               d_start
+               echo "."
+               ;;
+       stop)
+               echo -n "Stopping $DESC: $NAME"
+               d_stop
+               echo "."
+               ;;
+       status)
+               d_status
+               ;;
+       restart|force-reload)
+               echo -n "Restarting $DESC: $NAME"
+               check_config "Not restarting collectd."
+               d_stop
+               sleep 1
+               d_start
+               echo "."
+               ;;
+       *)
+               echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2
+               exit 1
+               ;;
+esac
+
+exit 0
+
+# vim: syntax=sh noexpandtab sw=4 ts=4 :
+
diff --git a/debian/collectd-core.config b/debian/collectd-core.config
new file mode 100755 (executable)
index 0000000..830f0fd
--- /dev/null
@@ -0,0 +1,42 @@
+#! /bin/sh
+# config script for collectd
+#
+# see: dh_installdebconf(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <preconfigure> `configure' <installed-version>
+#        * <postinst> `configure' <old-version>
+#        * <reconfigure> `reconfigure' <installed-version>
+
+. /usr/share/debconf/confmodule
+
+case "$1" in
+    configure)
+        db_set collectd/auto-migrate-3-4 false
+
+        if dpkg --compare-versions "$2" lt-nl "4.0.0~"; then
+            if perl -e '1' 2> /dev/null && rrdtool > /dev/null 2>&1; then
+                db_input high collectd/auto-migrate-3-4 || true
+                db_go || true
+            else
+                db_input high collectd/migration-3-4 || true
+                db_go || true
+            fi
+        fi
+    ;;
+
+    reconfigure)
+    ;;
+
+    *)
+        echo "config called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+db_stop
+
+exit 0
+
diff --git a/debian/collectd-core.install b/debian/collectd-core.install
new file mode 100644 (file)
index 0000000..1ea08c9
--- /dev/null
@@ -0,0 +1,19 @@
+../../contrib/migrate-3-4.px usr/lib/collectd/utils
+../../contrib/rrd_filter.px usr/lib/collectd/utils
+usr/lib/collectd/*.so
+usr/sbin
+usr/share/collectd
+usr/share/man/man1/collectdmon.1
+usr/share/man/man1/collectd.1
+usr/share/man/man3/Collectd::Unixsock.3pm
+usr/share/man/man5/collectd-unixsock.5
+usr/share/man/man5/collectd-email.5
+usr/share/man/man5/collectd-exec.5
+usr/share/man/man5/collectd-java.5
+usr/share/man/man5/collectd.conf.5
+usr/share/man/man5/collectd-snmp.5
+usr/share/man/man5/collectd-perl.5
+usr/share/man/man5/types.db.5
+usr/share/perl5
+var
+
diff --git a/debian/collectd-core.overrides b/debian/collectd-core.overrides
new file mode 100644 (file)
index 0000000..519ce29
--- /dev/null
@@ -0,0 +1,13 @@
+# This is only done on architectures that support it.
+collectd-core: shlib-with-non-pic-code usr/lib/collectd/netlink.so
+
+# All plugin names are spelled in lower-case.
+collectd-core: spelling-error-in-description apache Apache
+collectd-core: spelling-error-in-description mysql MySQL
+collectd-core: spelling-error-in-description postgresql PostgreSQL
+
+# The "java" plugin uses libjvm.so which can only be found in a non-standard
+# directory. According to the Java guys the path name and the ABI is stable
+# though ...
+collectd-core: binary-or-shlib-defines-rpath ./usr/lib/collectd/java.so /usr/lib/jvm/java-6-openjdk/jre/lib/*
+
diff --git a/debian/collectd-core.postinst b/debian/collectd-core.postinst
new file mode 100755 (executable)
index 0000000..4912af4
--- /dev/null
@@ -0,0 +1,63 @@
+#! /bin/sh
+# postinst script for collectd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+. /usr/share/debconf/confmodule
+
+case "$1" in
+    configure)
+        db_get collectd/auto-migrate-3-4
+        if [ "$RET" = "true" ]; then
+            tmpdir=`mktemp -dt collectd.XXXXXXXXXX`
+            hostname=`hostname`
+
+            if [ -z "$hostname" ]; then hostname="localhost"; fi
+
+            cp -a /var/lib/collectd/ /var/backups/collectd-"$2"
+            /usr/lib/collectd/utils/migrate-3-4.px \
+                --hostname="$hostname" --outdir="$tmpdir" | bash
+
+            rm -rf /var/lib/collectd/
+            mkdir /var/lib/collectd/
+            mv $tmpdir /var/lib/collectd/rrd
+            chmod 0755 /var/lib/collectd/rrd
+
+            # this is only available on Solaris using libkstat
+            rm -f /var/lib/collectd/rrd/$hostname/swap/swap-reserved.rrd
+        fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+db_stop
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/collectd-core.postrm b/debian/collectd-core.postrm
new file mode 100755 (executable)
index 0000000..23ce154
--- /dev/null
@@ -0,0 +1,43 @@
+#! /bin/bash
+# postrm script for collectd
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge)
+        rm -rf /var/lib/collectd
+        rm -rf /etc/collectd
+        ;;
+    
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+        ;;
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
diff --git a/debian/collectd-core.templates b/debian/collectd-core.templates
new file mode 100644 (file)
index 0000000..089e18f
--- /dev/null
@@ -0,0 +1,26 @@
+Template: collectd/migration-3-4
+Type: note
+_Description: Layout of RRD files has changed
+ The layout of the RRD files created by collectd has changed significantly
+ since version 3.x. In order to keep your old data you have to migrate it.
+ This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px.
+ .
+ This step requires both the perl and the rrdtool packages to be installed,
+ which is currently not the case. You need to perform the migration manually.
+ .
+ See /usr/share/doc/collectd-core/NEWS.Debian for details.
+
+Template: collectd/auto-migrate-3-4
+Type: boolean
+Default: false
+_Description: Automatically try to migrate your RRD files?
+ The layout of the RRD files created by collectd has changed significantly
+ since version 3.x. In order to keep your old data you have to migrate it.
+ This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px.
+ .
+ This step can be done automatically. In this case a backup of
+ /var/lib/collectd/ is made in /var/backups/. This script is still
+ experimental, though. Do not expect it to work in all cases.
+ .
+ See /usr/share/doc/collectd-core/NEWS.Debian for details.
+
diff --git a/debian/collectd.config b/debian/collectd.config
deleted file mode 100755 (executable)
index 830f0fd..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh
-# config script for collectd
-#
-# see: dh_installdebconf(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <preconfigure> `configure' <installed-version>
-#        * <postinst> `configure' <old-version>
-#        * <reconfigure> `reconfigure' <installed-version>
-
-. /usr/share/debconf/confmodule
-
-case "$1" in
-    configure)
-        db_set collectd/auto-migrate-3-4 false
-
-        if dpkg --compare-versions "$2" lt-nl "4.0.0~"; then
-            if perl -e '1' 2> /dev/null && rrdtool > /dev/null 2>&1; then
-                db_input high collectd/auto-migrate-3-4 || true
-                db_go || true
-            else
-                db_input high collectd/migration-3-4 || true
-                db_go || true
-            fi
-        fi
-    ;;
-
-    reconfigure)
-    ;;
-
-    *)
-        echo "config called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-db_stop
-
-exit 0
-
diff --git a/debian/collectd.default b/debian/collectd.default
deleted file mode 100644 (file)
index 284a38b..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# /etc/default/collectd
-
-# 0: start collectd on boot, 1: do not start collectd on boot
-# default: 0
-DISABLE=0
-
-# 0: start collectd in stand-alone mode, 1: monitor collectd using collectdmon
-# default: 1
-USE_COLLECTDMON=1
-
-# number of seconds to wait for collectd to shut down
-# default: 30
-MAXWAIT=30
-
-# 0: do not enable core-files, 1: enable core-files ... if collectd crashes
-# default: 0
-ENABLE_COREFILES=0
-
diff --git a/debian/collectd.init.d b/debian/collectd.init.d
deleted file mode 100755 (executable)
index 5e8d29e..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-#! /bin/bash
-#
-# collectd - start and stop the statistics collection daemon
-# http://collectd.org/
-#
-# Copyright (C) 2005-2006 Florian Forster <octo@verplant.org>
-# Copyright (C) 2006-2009 Sebastian Harl <tokkee@debian.org>
-#
-
-### BEGIN INIT INFO
-# Provides:          collectd
-# Required-Start:    $local_fs $remote_fs
-# Required-Stop:     $local_fs $remote_fs
-# Should-Start:      $network $named $syslog $time
-# Should-Stop:       $network $named $syslog
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: start the statistics collection daemon
-### END INIT INFO
-
-set -e
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-
-DISABLE=0
-
-DESC="statistics collection and monitoring daemon"
-NAME=collectd
-DAEMON=/usr/sbin/collectd
-
-CONFIGFILE=/etc/collectd/collectd.conf
-PIDFILE=/var/run/collectd.pid
-
-USE_COLLECTDMON=1
-COLLECTDMON_DAEMON=/usr/sbin/collectdmon
-COLLECTDMON_PIDFILE=/var/run/collectdmon.pid
-
-MAXWAIT=30
-
-# Gracefully exit if the package has been removed.
-test -x $DAEMON || exit 0
-
-if [ -r /etc/default/$NAME ]; then
-       . /etc/default/$NAME
-fi
-
-if test "$DISABLE" != 0 -a "$1" == "start"; then
-       echo "$NAME has been disabled - see /etc/default/$NAME."
-       exit 0
-fi
-
-if test "$ENABLE_COREFILES" == 1; then
-       ulimit -c unlimited
-fi
-
-if test "$USE_COLLECTDMON" == 1; then
-       _PIDFILE="$COLLECTDMON_PIDFILE"
-else
-       _PIDFILE="$PIDFILE"
-fi
-
-check_config() {
-       if ! $DAEMON -t -C "$CONFIGFILE"; then
-               if test -n "$1"; then
-                       echo "$1" >&2
-               fi
-               exit 1
-       fi
-}
-
-d_start() {
-       if test "$DISABLE" != 0; then
-               # we get here during restart
-               echo -n " - disabled by /etc/default/$NAME"
-               return 0
-       fi
-
-       check_config
-
-       if test "$USE_COLLECTDMON" == 1; then
-               start-stop-daemon --start --quiet --oknodo --pidfile "$_PIDFILE" \
-                       --exec $COLLECTDMON_DAEMON -- -P "$_PIDFILE" -- -C "$CONFIGFILE"
-       else
-               start-stop-daemon --start --quiet --oknodo --pidfile "$_PIDFILE" \
-                       --exec $DAEMON -- -C "$CONFIGFILE" -P "$_PIDFILE"
-       fi
-}
-
-still_running_warning="
-WARNING: $NAME might still be running.
-In large setups it might take some time to write all pending data to
-the disk. You can adjust the waiting time in /etc/default/collectd."
-
-d_stop() {
-       PID=$( cat "$_PIDFILE" 2> /dev/null ) || true
-
-       start-stop-daemon --stop --quiet --oknodo --pidfile "$_PIDFILE"
-
-       sleep 1
-       if test -n "$PID" && kill -0 $PID 2> /dev/null; then
-               i=0
-               while kill -0 $PID 2> /dev/null; do
-                       i=$(( $i + 2 ))
-                       echo -n " ."
-
-                       if test $i -gt $MAXWAIT; then
-                               echo "$still_running_warning" >&2
-                               return 1
-                       fi
-
-                       sleep 2
-               done
-               return 0
-       fi
-}
-
-d_status() {
-       PID=$( cat "$_PIDFILE" 2> /dev/null ) || true
-
-       if test -n "$PID" && kill -0 $PID 2> /dev/null; then
-               echo "collectd ($PID) is running."
-               exit 0
-       else
-               PID=$( pidof collectd ) || true
-
-               if test -n "$PID"; then
-                       echo "collectd ($PID) is running."
-                       exit 0
-               else
-                       echo "collectd is stopped."
-               fi
-       fi
-       exit 1
-}
-
-case "$1" in
-       start)
-               echo -n "Starting $DESC: $NAME"
-               d_start
-               echo "."
-               ;;
-       stop)
-               echo -n "Stopping $DESC: $NAME"
-               d_stop
-               echo "."
-               ;;
-       status)
-               d_status
-               ;;
-       restart|force-reload)
-               echo -n "Restarting $DESC: $NAME"
-               check_config "Not restarting collectd."
-               d_stop
-               sleep 1
-               d_start
-               echo "."
-               ;;
-       *)
-               echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2
-               exit 1
-               ;;
-esac
-
-exit 0
-
-# vim: syntax=sh noexpandtab sw=4 ts=4 :
-
index 877c815337c46ef3bbbfe48772f219091a220c3b..9b9d239d9335598e0fa21e76de89e683e389dad8 100644 (file)
@@ -1,21 +1,2 @@
-../../contrib/migrate-3-4.px usr/lib/collectd/utils
-../../contrib/rrd_filter.px usr/lib/collectd/utils
 ../collectd.conf ../collection.conf etc/collectd/
 ../thresholds.conf ../filters.conf etc/collectd/
-usr/lib/collectd/*.so
-usr/sbin
-usr/share/collectd
-usr/share/man/man1/collectdmon.1
-usr/share/man/man1/collectd.1
-usr/share/man/man3/Collectd::Unixsock.3pm
-usr/share/man/man5/collectd-unixsock.5
-usr/share/man/man5/collectd-email.5
-usr/share/man/man5/collectd-exec.5
-usr/share/man/man5/collectd-java.5
-usr/share/man/man5/collectd.conf.5
-usr/share/man/man5/collectd-snmp.5
-usr/share/man/man5/collectd-perl.5
-usr/share/man/man5/types.db.5
-usr/share/perl5
-var
-
diff --git a/debian/collectd.overrides b/debian/collectd.overrides
deleted file mode 100644 (file)
index 2267504..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# This is only done on architectures that support it.
-collectd: shlib-with-non-pic-code usr/lib/collectd/netlink.so
-
-# All plugin names are spelled in lower-case.
-collectd: spelling-error-in-description apache Apache
-collectd: spelling-error-in-description mysql MySQL
-collectd: spelling-error-in-description postgresql PostgreSQL
-
-# The "java" plugin uses libjvm.so which can only be found in a non-standard
-# directory. According to the Java guys the path name and the ABI is stable
-# though ...
-collectd: binary-or-shlib-defines-rpath ./usr/lib/collectd/java.so /usr/lib/jvm/java-6-openjdk/jre/lib/*
-
diff --git a/debian/collectd.postinst b/debian/collectd.postinst
deleted file mode 100755 (executable)
index 4912af4..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#! /bin/sh
-# postinst script for collectd
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-. /usr/share/debconf/confmodule
-
-case "$1" in
-    configure)
-        db_get collectd/auto-migrate-3-4
-        if [ "$RET" = "true" ]; then
-            tmpdir=`mktemp -dt collectd.XXXXXXXXXX`
-            hostname=`hostname`
-
-            if [ -z "$hostname" ]; then hostname="localhost"; fi
-
-            cp -a /var/lib/collectd/ /var/backups/collectd-"$2"
-            /usr/lib/collectd/utils/migrate-3-4.px \
-                --hostname="$hostname" --outdir="$tmpdir" | bash
-
-            rm -rf /var/lib/collectd/
-            mkdir /var/lib/collectd/
-            mv $tmpdir /var/lib/collectd/rrd
-            chmod 0755 /var/lib/collectd/rrd
-
-            # this is only available on Solaris using libkstat
-            rm -f /var/lib/collectd/rrd/$hostname/swap/swap-reserved.rrd
-        fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-db_stop
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/collectd.postrm b/debian/collectd.postrm
deleted file mode 100755 (executable)
index 23ce154..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#! /bin/bash
-# postrm script for collectd
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    purge)
-        rm -rf /var/lib/collectd
-        rm -rf /etc/collectd
-        ;;
-    
-    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-        ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-        ;;
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
diff --git a/debian/collectd.templates b/debian/collectd.templates
deleted file mode 100644 (file)
index 88815d6..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-Template: collectd/migration-3-4
-Type: note
-_Description: Layout of RRD files has changed
- The layout of the RRD files created by collectd has changed significantly
- since version 3.x. In order to keep your old data you have to migrate it.
- This can be done by using /usr/lib/collectd/utils/migrate-3-4.px.
- .
- This step requires both the perl and the rrdtool packages to be installed,
- which is currently not the case. You need to perform the migration manually.
- .
- See /usr/share/doc/collectd/NEWS.Debian for details.
-
-Template: collectd/auto-migrate-3-4
-Type: boolean
-Default: false
-_Description: Automatically try to migrate your RRD files?
- The layout of the RRD files created by collectd has changed significantly
- since version 3.x. In order to keep your old data you have to migrate it.
- This can be done by using /usr/lib/collectd/utils/migrate-3-4.px.
- .
- This step can be done automatically. In this case a backup of
- /var/lib/collectd/ is made in /var/backups/. This script is still
- experimental, though. Do not expect it to work in all cases.
- .
- See /usr/share/doc/collectd/NEWS.Debian for details.
-
index 3088c456c961c32cc4f953e6b2ca71618c57c1ca..e6ae7534929dd2e911290b358178baadaac6e345 100644 (file)
@@ -9,19 +9,20 @@ Homepage: http://collectd.org/
 Vcs-Git: git://git.tokkee.org/pkg-collectd.git
 Vcs-Browser: http://git.tokkee.org/?p=pkg-collectd.git
 
-Package: collectd
+Package: collectd-core
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: perl, rrdtool, lm-sensors, ${shlibs:Recommends}
+Recommends: perl, rrdtool, lm-sensors
 Suggests: collectd-dev, librrds-perl, liburi-perl, libhtml-parser-perl,
- libregexp-common-perl, libconfig-general-perl, httpd-cgi, hddtemp, mbmon
+ libregexp-common-perl, libconfig-general-perl, httpd-cgi, hddtemp, mbmon,
+ ${shlibs:Suggests}
 Conflicts: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql,
  collectd-perl, collectd-ping, collectd-sensors
 Provides: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql,
  collectd-perl, collectd-ping, collectd-sensors
 Replaces: collectd-apache, collectd-dns, collectd-hddtemp, collectd-mysql,
- collectd-perl, collectd-ping, collectd-sensors
-Description: statistics collection and monitoring daemon
+ collectd-perl, collectd-ping, collectd-sensors, collectd (<< 4.8.1-2~)
+Description: statistics collection and monitoring daemon (core system)
  collectd is a small daemon which collects system information periodically and
  provides mechanisms to monitor and store the values in a variety of ways.
  Since the daemon doesn't need to startup every time it wants to update the
@@ -31,9 +32,12 @@ Description: statistics collection and monitoring daemon
  The collected information can be used to find current performance bottlenecks
  (performance analysis) and predict future system load (capacity planning).
  .
- This package contains the main program file and the following plugins (some
+ This package contains the main program file and the plugins listed below (some
  of those plugins require additional libraries - for more details see
- /usr/share/doc/collectd/README.Debian.plugins):
+ /usr/share/doc/collectd/README.Debian.plugins) but no configuration. For a
+ full installation (including configuration), see the "collectd" package. This
+ package allows sites to, e.g., provide customizations (like a custom default
+ configuration) on top of it without having to modify the "collectd" package.
  .
    * Apache and lighttpd statistics provided by mod_status: apache
    * APC UPS's charge, load, input/output/battery voltage, etc.: apcups
@@ -111,6 +115,25 @@ Description: statistics collection and monitoring daemon
    * wireless network stats: wireless
    * send collected values to a web-server: write_http
 
+Package: collectd
+Architecture: any
+Depends: collectd-core, ${misc:Depends}
+Recommends: ${shlibs:Recommends}
+Description: statistics collection and monitoring daemon
+ collectd is a small daemon which collects system information periodically and
+ provides mechanisms to monitor and store the values in a variety of ways.
+ Since the daemon doesn't need to startup every time it wants to update the
+ values it's very fast and easy on the system. Also, the statistics are very
+ fine grained since the files are updated every 10 seconds by default.
+ .
+ The collected information can be used to find current performance bottlenecks
+ (performance analysis) and predict future system load (capacity planning).
+ .
+ This package provides a full installation of the daemon, including the
+ configuration. For the core system, see the "collectd-core" package, which
+ allows sites to, e.g., provide customizations (like a custom default
+ configuration) on top of it without having to modify the "collectd" package.
+
 Package: collectd-utils
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -132,7 +155,7 @@ Package: collectd-dbg
 Section: debug
 Architecture: any
 Priority: extra
-Depends: collectd (= ${binary:Version}), ${misc:Depends}
+Depends: collectd-core (= ${binary:Version}), ${misc:Depends}
 Recommends: collectd-utils (= ${binary:Version}),
  libcollectdclient0 (= ${binary:Version})
 Description: statistics collection and monitoring daemon (debugging symbols)
@@ -146,7 +169,7 @@ Description: statistics collection and monitoring daemon (debugging symbols)
 
 Package: collectd-dev
 Architecture: all
-Depends: collectd (>= ${source:Version}), collectd (<< 4.9~), ${misc:Depends}
+Depends: collectd-core (>= ${source:Version}), collectd-core (<< 4.9~), ${misc:Depends}
 Description: statistics collection and monitoring daemon (development files)
  collectd is a small daemon which collects system information periodically and
  provides mechanisms to monitor and store the values in a variety of ways.
index f201e9d4eed52bb08bfcb04eb254845b9e431f74..22069f7f5fd001eeb53ef4a04c2121ff6a946089 100644 (file)
@@ -1,2 +1,2 @@
-[type: gettext/rfc822deb] collectd.templates
+[type: gettext/rfc822deb] collectd-core.templates
 
index ff7daba8ae99d4d916e576dcd7762658ca52b6ae..6c0fc0802a2ad0f3a9bfb1351e2761e36c458a61 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd 4.6.3-1\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2009-06-22 16:07+0200\n"
 "Last-Translator: Martin Sin <martin.sin@zshk.cz>\n"
 "Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
@@ -16,7 +16,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "Uspořádání souborů RRD se změnilo"
 
@@ -24,19 +24,19 @@ msgstr "Uspořádání souborů RRD se změnilo"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
-"Ve struktuře souborů RRD vytvořených collectd počínaje verzí 3.x došlo "
-"k výrazné změně. Pro uchování vašich dat je nutná jejich migrace. "
-"Tu můžete provést pomocí /usr/lib/collectd/utils/migrate-3-4.px."
+"Ve struktuře souborů RRD vytvořených collectd počínaje verzí 3.x došlo "
+"výrazné změně. Pro uchování vašich dat je nutná jejich migrace. Tu můžete "
+"provést pomocí /usr/lib/collectd-core/utils/migrate-3-4.px."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -48,24 +48,25 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "Pro více informací se podívejte na /usr/share/doc/collectd/NEWS.Debian."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr ""
+"Pro více informací se podívejte na /usr/share/doc/collectd-core/NEWS.Debian."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Pokusit se o automatickou migraci souborů RRD?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
 "though. Do not expect it to work in all cases."
 msgstr ""
-"Tento krok je možno provést automaticky. Pokud se pro to rozhodnete, bude ve "
-"/var/backups/ provedena záloha /var/lib/collectd. Tento skript je stále ve "
-"stavu testování, takže nečekejte že bude ve všech případech zcela funkční."
+"Tento krok je možno provést automaticky. Pokud se pro to rozhodnete, bude "
+"ve /var/backups/ provedena záloha /var/lib/collectd. Tento skript je stále "
+"ve stavu testování, takže nečekejte že bude ve všech případech zcela funkční."
index 2b295809d5e9bf6219125ca03c79313d87c7c8b7..ba79956c8412648a7e364501b4c625886ff0b392 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd 4.3.0-1\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2008-03-12 23:33+0100\n"
 "Last-Translator: Kai Wasserbäch <debian@carbon-project.org>\n"
 "Language-Team: German <debian-l10n-german@lists.debian.org>\n"
@@ -17,7 +17,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "Das Layout der RRD-Dateien hat sich geändert."
 
@@ -25,20 +25,20 @@ msgstr "Das Layout der RRD-Dateien hat sich geändert."
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "Das Layout der von collectd erstellten RRD-Dateien hat sich seit Version 3.x "
 "grundlegend geändert. Um Ihre alten Daten beizubehalten, müssen Sie diese "
-"migrieren. Dies kann unter Verwendung von »/usr/lib/collectd/utils/migrate-3-"
-"4.px« erreicht werden."
+"migrieren. Dies kann unter Verwendung von »/usr/lib/collectd-core/utils/"
+"migrate-3-4.px« erreicht werden."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -51,19 +51,19 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "Siehe »/usr/share/doc/collectd/NEWS.Debian« für Details."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr "Siehe »/usr/share/doc/collectd-core/NEWS.Debian« für Details."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Soll eine automatische Migration Ihrer RRD-Dateien versucht werden?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
@@ -71,5 +71,5 @@ msgid ""
 msgstr ""
 "Dieser Schritt kann automatisch ausgeführt werden. Sollten Sie sich hierfür "
 "entscheiden, wird eine Sicherungskopie von »/var/lib/collectd/« unter »/var/"
-"backups/« erstellt. Dieses Skript ist aber noch experimentell. Erwarten "
-"Sie nicht, dass es in allen Fällen problemlos funktioniert."
+"backups/« erstellt. Dieses Skript ist aber noch experimentell. Erwarten Sie "
+"nicht, dass es in allen Fällen problemlos funktioniert."
index 9a0ec036300933f0fe7712bb4ab0ce82acd2c041..4937fd0dd23fc2c9691c1163ce26d4bd7fa8f39a 100644 (file)
@@ -31,7 +31,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd 4.4.2-3\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2009-03-21 23:09+0100\n"
 "Last-Translator: Francisco Javier Cuadrado <fcocuadrado@gmail.com>\n"
 "Language-Team: Debian l10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
@@ -42,7 +42,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "Ha cambiado la distribución de los archivos RRD"
 
@@ -50,35 +50,50 @@ msgstr "Ha cambiado la distribución de los archivos RRD"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001
-#: ../collectd.templates:2001
-msgid "The layout of the RRD files created by collectd has changed significantly since version 3.x. In order to keep your old data you have to migrate it. This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
-msgstr "La distribución de los archivos RRD creados por collectd ha cambiado significativamente desde la versión 3.x. Los datos antiguos se deben migrar para que se puedan seguir utilizando. Puede hacer esto utilizando el programa «/usr/lib/collectd/utils/migrate-3-4.px». "
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid ""
+"The layout of the RRD files created by collectd has changed significantly "
+"since version 3.x. In order to keep your old data you have to migrate it. "
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
+msgstr ""
+"La distribución de los archivos RRD creados por collectd ha cambiado "
+"significativamente desde la versión 3.x. Los datos antiguos se deben migrar "
+"para que se puedan seguir utilizando. Puede hacer esto utilizando el "
+"programa «/usr/lib/collectd-core/utils/migrate-3-4.px». "
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
-msgid "This step requires both the perl and the rrdtool packages to be installed, which is currently not the case. You need to perform the migration manually."
-msgstr "Actualmente no tiene instalados los paquetes perl y rrdtool, que son necesarios para poder llevar a cabo este paso. Tendrá que realizar la migración manualmente."
+#: ../collectd-core.templates:1001
+msgid ""
+"This step requires both the perl and the rrdtool packages to be installed, "
+"which is currently not the case. You need to perform the migration manually."
+msgstr ""
+"Actualmente no tiene instalados los paquetes perl y rrdtool, que son "
+"necesarios para poder llevar a cabo este paso. Tendrá que realizar la "
+"migración manualmente."
 
 #. Type: note
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001
-#: ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "Vea el archivo «/usr/share/doc/collectd/NEWS.Debian» para más detalles."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr "Vea el archivo «/usr/share/doc/collectd-core/NEWS.Debian» para más detalles."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "¿Desea migrar automáticamente los archivos RRD?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
-msgid "This step can be done automatically. In this case a backup of /var/lib/collectd/ is made in /var/backups/. This script is still experimental, though. Do not expect it to work in all cases."
-msgstr "Este paso se puede realizar automáticamente. En este caso se genera una copia de seguridad de «/var/lib/collectd/» en «/var/backups/». El script que hace esto es aún experimental. No se espera que funcione en todos los casos."
-
+#: ../collectd-core.templates:2001
+msgid ""
+"This step can be done automatically. In this case a backup of /var/lib/"
+"collectd/ is made in /var/backups/. This script is still experimental, "
+"though. Do not expect it to work in all cases."
+msgstr ""
+"Este paso se puede realizar automáticamente. En este caso se genera una "
+"copia de seguridad de «/var/lib/collectd/» en «/var/backups/». El script que "
+"hace esto es aún experimental. No se espera que funcione en todos los casos."
index a3738d9828696fa5c50422a1f8a6c5dd5913fe65..852868d172459fea142086847da345c296bd7453 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2008-03-14 01:00+0100\n"
 "Last-Translator: Florent USSEIL <swiip81@free.fr>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
@@ -18,7 +18,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "Changement du format des fichiers RRD"
 
@@ -26,21 +26,20 @@ msgstr "Changement du format des fichiers RRD"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "Le format des fichiers RRD créés par collectd a changé de façon "
-"significative depuis la version 3.x. Afin de conserver les "
-"données, il est nécessaire de les convertir."
-"Cette opération peut être réalisée avec la commande "
-"« /usr/lib/collectd/utils/migrate-3-4.px »."
+"significative depuis la version 3.x. Afin de conserver les données, il est "
+"nécessaire de les convertir.Cette opération peut être réalisée avec la "
+"commande « /usr/lib/collectd-core/utils/migrate-3-4.px »."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -52,28 +51,27 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
 msgstr ""
-"Veuillez lire le fichier /usr/share/doc/collectd/NEWS.Debian pour plus d'informations."
+"Veuillez lire le fichier /usr/share/doc/collectd-core/NEWS.Debian pour plus "
+"d'informations."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Faut-il tenter de convertir automatiquement les fichiers RRD ?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
 "though. Do not expect it to work in all cases."
 msgstr ""
-"La conversion des fichiers RRD peut être effectuée automatiquement. Pour cela, "
-"une sauvegarde de /var/lib/collectd/ aura lieu "
-"dans /var/backups/. Veuillez noter que cette "
-"conversion est expérimentale : il est recommandé de "
+"La conversion des fichiers RRD peut être effectuée automatiquement. Pour "
+"cela, une sauvegarde de /var/lib/collectd/ aura lieu dans /var/backups/. "
+"Veuillez noter que cette conversion est expérimentale : il est recommandé de "
 "contrôler sa bonne exécution."
-
index 61c64cbafa604bde7a26ee4eb0e666492704418f..64cbcedcb71f3127655472a5dfe30b657021fe53 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2008-05-24 11:24+0100\n"
 "Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
 "Language-Team: Galician <proxecto@trasno.net>\n"
@@ -16,7 +16,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "A organización dos ficheiros RRD cambiou"
 
@@ -24,20 +24,20 @@ msgstr "A organización dos ficheiros RRD cambiou"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "A organización dos ficheiros RRD creados por collectd cambiou "
 "significativamente desde a versión 3.x. Para conservar os seus datos antigos "
-"ten que migralos. Pódese facer empregando /usr/lib/collectd/utils/migrate-3-"
-"4.px."
+"ten que migralos. Pódese facer empregando /usr/lib/collectd-core/utils/"
+"migrate-3-4.px."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -49,19 +49,19 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "Consulte /usr/share/doc/collectd/NEWS.Debian para máis detalles."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr "Consulte /usr/share/doc/collectd-core/NEWS.Debian para máis detalles."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "¿Migrar automaticamente os ficheiros RRD?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
index 075c2ea43c0e56ceb52e0f8b6869c57d290e837b..20fe2fe9e6cfad570720dfc7a8c103b787a37931 100644 (file)
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd 4.7.2-1\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2009-10-06 17:32+0900\n"
 "Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
 "Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
@@ -15,7 +15,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "RRD ファイルの配置位置が変更されました"
 
@@ -23,50 +23,50 @@ msgstr "RRD ファイルの配置位置が変更されました"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "collectd によって作成された RRD ファイルの配置位置はバージョン 3.x から大きく"
-"変わりました。移行を行うために古いデータを保存します。これは /usr/lib/collectd/utils/migrate-3-4.px "
-"を使って行われます。"
+"変わりました。移行を行うために古いデータを保存します。これは /usr/lib/"
+"collectd-core/utils/migrate-3-4.px を使って行われます。"
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
 msgstr ""
-"この作業には perl パッケージと rrdtool パッケージの両方がインストールされてい"
-"必要がありますが、現在そうなっていないようです。手動で移行作業を実行する必要が"
-"あります。"
+"この作業には perl パッケージと rrdtool パッケージの両方がインストールされてい"
+"る必要がありますが、現在そうなっていないようです。手動で移行作業を実行する必"
+"要があります。"
 
 #. Type: note
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "詳細については /usr/share/doc/collectd/NEWS.Debian を参照してください。"
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr ""
+"詳細については /usr/share/doc/collectd-core/NEWS.Debian を参照してください。"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "RRD ファイルの自動変換を試みますか?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
 "though. Do not expect it to work in all cases."
 msgstr ""
-"この作業は自動的に行われます。今回の場合 /var/lib/collectd/ のバックアップは "
-"/var/backups/ に作成されます。しかし、このスクリプトはまだ実験的なものです。"
-"あらゆる状況で動作するのは期待しないでください。"
-
+"この作業は自動的に行われます。今回の場合 /var/lib/collectd/ のバックアップ"
+"は /var/backups/ に作成されます。しかし、このスクリプトはまだ実験的なもので"
+"す。あらゆる状況で動作するのは期待しないでください。"
index de5f4ad8a9a68ffb68a172732e2050e229515ca7..cc88f2eecb210e3282627e4b513e9800c22f2bf6 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd_4.4.2-2_nl\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2008-09-28 15:22+0100\n"
 "Last-Translator: Eric Spreen <erispre@gmail.com>\n"
 "Language-Team: Dutch <debian-l10n-dutch@lists.debian.org>\n"
@@ -16,7 +16,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "De lay-out van RRD-bestanden is gewijzigd."
 
@@ -24,35 +24,50 @@ msgstr "De lay-out van RRD-bestanden is gewijzigd."
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001
-#: ../collectd.templates:2001
-msgid "The layout of the RRD files created by collectd has changed significantly since version 3.x. In order to keep your old data you have to migrate it. This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
-msgstr "De lay-out van de RRD-bestanden, die zijn gemaakt door collectd, is sterk gewijzigd sinds versie 3.x. Om uw oude gegevens te behouden zult u deze moeten migreren. Dit kunt u doen door /usr/lib/collectd/utils/migrate-3-4.px te gebruiken."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid ""
+"The layout of the RRD files created by collectd has changed significantly "
+"since version 3.x. In order to keep your old data you have to migrate it. "
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
+msgstr ""
+"De lay-out van de RRD-bestanden, die zijn gemaakt door collectd, is sterk "
+"gewijzigd sinds versie 3.x. Om uw oude gegevens te behouden zult u deze "
+"moeten migreren. Dit kunt u doen door /usr/lib/collectd-core/utils/migrate-3"
+"-4.px te gebruiken."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
-msgid "This step requires both the perl and the rrdtool packages to be installed, which is currently not the case. You need to perform the migration manually."
-msgstr "Deze stap vereist dat zowel de perl als de rrdtool pakketten worden geïnstalleerd, wat op dit moment niet het geval is. U zult de migratie handmatig moeten verrichten."
+#: ../collectd-core.templates:1001
+msgid ""
+"This step requires both the perl and the rrdtool packages to be installed, "
+"which is currently not the case. You need to perform the migration manually."
+msgstr ""
+"Deze stap vereist dat zowel de perl als de rrdtool pakketten worden "
+"geïnstalleerd, wat op dit moment niet het geval is. U zult de migratie "
+"handmatig moeten verrichten."
 
 #. Type: note
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001
-#: ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "Zie /usr/share/doc/collectd/NEWS.Debian voor meer informatie."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr "Zie /usr/share/doc/collectd-core/NEWS.Debian voor meer informatie."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Proberen om uw RRD-bestanden automatisch te migreren?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
-msgid "This step can be done automatically. In this case a backup of /var/lib/collectd/ is made in /var/backups/. This script is still experimental, though. Do not expect it to work in all cases."
-msgstr "Deze stap kan automatisch verricht worden. In dat geval wordt er in /var/backups/ een back-up gemaakt van /var/lib/collectd/. Dit script is echter nog experimenteel. Verwacht u niet dat het in alle gevallen werkt."
-
+#: ../collectd-core.templates:2001
+msgid ""
+"This step can be done automatically. In this case a backup of /var/lib/"
+"collectd/ is made in /var/backups/. This script is still experimental, "
+"though. Do not expect it to work in all cases."
+msgstr ""
+"Deze stap kan automatisch verricht worden. In dat geval wordt er in /var/"
+"backups/ een back-up gemaakt van /var/lib/collectd/. Dit script is echter "
+"nog experimenteel. Verwacht u niet dat het in alle gevallen werkt."
index 20fd8089b1d3ef354b5f01cdb315af9afd05c2b7..3a8d6e516d125f83b92deed508bc7e9af38df7a6 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd 4.3.0-2\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2008-03-22 00:49+0000\n"
 "Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n"
 "Language-Team: Portuguese <traduz@debianpt.org>\n"
@@ -18,7 +18,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "A disposição dos ficheiros RRD foi alterada"
 
@@ -26,44 +26,45 @@ msgstr "A disposição dos ficheiros RRD foi alterada"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "A disposição dos ficheiros RRD criada pelo collectd foi alterada "
 "significativamente desde a versão 3.x. De forma a manter os seus dados "
 "antigos você terá que migrá-los. Isto pode ser feito usando /usr/lib/"
-"collectd/utils/migrate-3-4.px."
+"collectd-core/utils/migrate-3-4.px."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
 msgstr ""
 "Este passo necessita que ambos os pacotes perl e rrdtool estejam instalados, "
-"o que não é correntemente o caso. Você precisa executar manualmente a migração."
+"o que não é correntemente o caso. Você precisa executar manualmente a "
+"migração."
 
 #. Type: note
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "Veja /usr/share/doc/collectd/NEWS.Debian para mais detalhes."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr "Veja /usr/share/doc/collectd-core/NEWS.Debian para mais detalhes."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Tentar migrar automaticamente os seus ficheiros RRD?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
@@ -72,4 +73,3 @@ msgstr ""
 "Este passo pode ser feito automaticamente. Neste caso uma cópia de segurança "
 "de /var/lib/collectd/ é criada em /var/backups/. Este script ainda é "
 "experimental. Não espere que ele funcione em todos os casos."
-
index e6ee274e7d7c0e0d9c596125c0b0d89cddb4cd7f..81e03701d762fb790711ea9c9117c338df033a80 100644 (file)
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd 4.6.3-1\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2009-07-26 16:00+0400\n"
 "Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
 "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
@@ -13,11 +13,12 @@ msgstr ""
 "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"
+"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
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "Изменилось расположение файлов RRD"
 
@@ -25,19 +26,19 @@ msgstr "Изменилось расположение файлов RRD"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "Начиная с версий 3.x изменилось расположение файлов RRD, создаваемых "
-"collectd. Чтобы сохранить старые данные, вы должны их переместить. "
-"Это можно сделать с помощью /usr/lib/collectd/utils/migrate-3-4.px."
+"collectd. Чтобы сохранить старые данные, вы должны их переместить. Это можно "
+"сделать с помощью /usr/lib/collectd-core/utils/migrate-3-4.px."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -49,25 +50,24 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
-msgstr "Подробней см. /usr/share/doc/collectd/NEWS.Debian."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
+msgstr "Подробней см. /usr/share/doc/collectd-core/NEWS.Debian."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Попытаться выполнить перенос файлов RRD автоматически?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
 "though. Do not expect it to work in all cases."
 msgstr ""
-"Этот шаг может быть выполнен автоматически. В этом случае создаётся резервная "
-"копия /var/lib/collectd/ в /var/backups/. Учтите, что это пока экспериментальный "
-"сценарий. Возможно, он не сработает в вашем случае."
-
+"Этот шаг может быть выполнен автоматически. В этом случае создаётся "
+"резервная копия /var/lib/collectd/ в /var/backups/. Учтите, что это пока "
+"экспериментальный сценарий. Возможно, он не сработает в вашем случае."
index 8d478eb6c9a1275c368eb8d0311ecae78238b385..0d37732387f775e0f556d0e8383eb276e1d824df 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2008-11-02 05:17+0100\n"
 "Last-Translator: Martin Bagge <brother@bsnet.se>\n"
 "Language-Team: swedish <debian-l10n-swedish@lists.debian.org>\n"
@@ -18,7 +18,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "Strukturen för RRD-filen har ändrats."
 
@@ -26,19 +26,19 @@ msgstr "Strukturen för RRD-filen har ändrats."
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "Strukturen för RRD-filen som collectd skapar har ändrats mycket sedan "
 "version 3.x. För att behålla dina gamla data måste dessa migreras, detta kan "
-"göras genom att köra '/usr/lib/collectd/utils/migrate-3-4.px'."
+"göras genom att köra '/usr/lib/collectd-core/utils/migrate-3-4.px'."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -50,20 +50,20 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
 msgstr ""
-"Läs även /usr/share/doc/collectd/NEWS.Debian för ytterligare information."
+"Läs även /usr/share/doc/collectd-core/NEWS.Debian för ytterligare information."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Vill du försöka migrera RRD-filerna automatiskt?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
index 4273b6181ec2abfcf824fc644e8e6e15afa850ff..7c6efbdc7db673b4cd4c28ae62a4cb8cd7653b1e 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,7 +18,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr ""
 
@@ -26,16 +26,16 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -45,19 +45,19 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
 msgstr ""
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr ""
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
index ec11058e45cb9998bb0d3a1bd906c90e04875dee..7db0c66073bbb6e16db6d9fd0ece0cb818756400 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: collectd 4.4.2-3\n"
 "Report-Msgid-Bugs-To: collectd@packages.debian.org\n"
-"POT-Creation-Date: 2008-03-12 17:35+0100\n"
+"POT-Creation-Date: 2009-12-13 16:24+0100\n"
 "PO-Revision-Date: 2009-02-18 15:36+1030\n"
 "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
 "Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
@@ -18,7 +18,7 @@ msgstr ""
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid "Layout of RRD files has changed"
 msgstr "Bố trí tập tin RRD đã thay đổi"
 
@@ -26,19 +26,19 @@ msgstr "Bố trí tập tin RRD đã thay đổi"
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
 msgid ""
 "The layout of the RRD files created by collectd has changed significantly "
 "since version 3.x. In order to keep your old data you have to migrate it. "
-"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px."
+"This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px."
 msgstr ""
 "Bố trí của tập tin RRD được collectd thu thập đã thay đổi nhiều kể từ phiên "
-"bản 3.x. Muốn giữ lại dữ liệu cũ thì bạn cần phải nâng cấp, dùng « "
-"/usr/lib/collectd/utils/migrate-3-4.px »."
+"bản 3.x. Muốn giữ lại dữ liệu cũ thì bạn cần phải nâng cấp, dùng « /usr/lib/"
+"collectd-core/utils/migrate-3-4.px »."
 
 #. Type: note
 #. Description
-#: ../collectd.templates:1001
+#: ../collectd-core.templates:1001
 msgid ""
 "This step requires both the perl and the rrdtool packages to be installed, "
 "which is currently not the case. You need to perform the migration manually."
@@ -50,27 +50,25 @@ msgstr ""
 #. Description
 #. Type: boolean
 #. Description
-#: ../collectd.templates:1001 ../collectd.templates:2001
-msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
+#: ../collectd-core.templates:1001 ../collectd-core.templates:2001
+msgid "See /usr/share/doc/collectd-core/NEWS.Debian for details."
 msgstr ""
-"Xem tài liệu Tin Tức « /usr/share/doc/collectd/NEWS.Debian » để tìm chi "
-"tiết."
+"Xem tài liệu Tin Tức « /usr/share/doc/collectd-core/NEWS.Debian » để tìm chi tiết."
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid "Automatically try to migrate your RRD files?"
 msgstr "Tự động thử nâng cấp các tập tin RRD của bạn ?"
 
 #. Type: boolean
 #. Description
-#: ../collectd.templates:2001
+#: ../collectd-core.templates:2001
 msgid ""
 "This step can be done automatically. In this case a backup of /var/lib/"
 "collectd/ is made in /var/backups/. This script is still experimental, "
 "though. Do not expect it to work in all cases."
 msgstr ""
-"Bước này có thể được tự động làm. Trong trường hợp này, một bản sao của « "
-"/var/lib/collectd/ » được tạo trong thư mục « /var/backups/ ». Tuy nhiên, "
-"văn lệnh này vẫn còn dựa vào thí nghiệm. Không nên nhờ nó trong mọi trường "
-"hợp."
+"Bước này có thể được tự động làm. Trong trường hợp này, một bản sao của « /"
+"var/lib/collectd/ » được tạo trong thư mục « /var/backups/ ». Tuy nhiên, văn "
+"lệnh này vẫn còn dựa vào thí nghiệm. Không nên nhờ nó trong mọi trường hợp."
index 329609682d32796d2a83f04c7113f3efd764c18a..1f902deaef10cf46e027010e41fe558a65a13264 100755 (executable)
@@ -150,9 +150,9 @@ install-arch: build
        
        perl ./debian/bin/gen_plugin_deps.pl
        
-       mkdir -p debian/collectd/usr/share/lintian/overrides/
-       cp debian/collectd.overrides \
-               debian/collectd/usr/share/lintian/overrides/collectd
+       mkdir -p debian/collectd-core/usr/share/lintian/overrides/
+       cp debian/collectd-core.overrides \
+               debian/collectd-core/usr/share/lintian/overrides/collectd-core
 
 binary-indep: install-indep
        dh_testdir
@@ -183,24 +183,29 @@ binary-arch: build install-arch
                contrib/collectd-network.py contrib/collectd-unixsock.py \
                contrib/snmp-probe-host.px contrib/GenericJMX.conf
        # some upstream tarballs have been built inside a dirty working dir
-       ( cd debian/collectd/usr/share/doc/collectd/examples/collection3/ \
+       ( cd debian/collectd-core/ \
+               && cd usr/share/doc/collectd-core/examples/collection3/ \
                && rm -f bin/foo bin/test_config.px etc/collection4.conf \
                && rm -f lib/Collectd/Graph.pm lib/Collectd/Graph/Data.pm \
                && rm -f lib/Collectd/Graph/File.pm lib/Collectd/Graph/Filter.pm \
                && rm -f lib/Collectd/Graph/MetaData.pm )
        dh_installdebconf -a
-       dh_installinit -a -- defaults 95
+       dh_installinit -pcollectd-core --name=collectd -- defaults 95
        dh_link -a
        dh_strip -a --dbg-package=collectd-dbg
        dh_compress -a -Xexamples/
        dh_fixperms -a
        dh_makeshlibs -a
        dh_installdeb -a
-       dpkg-shlibdeps -Tdebian/collectd.substvars \
-               -dDepends debian/collectd/usr/sbin/* \
-                       debian/collectd/usr/lib/collectd/rrdtool.so \
-               -dRecommends debian/collectd/usr/lib/collectd/*.so
-       dh_shlibdeps -a -Ncollectd
+       dh_shlibdeps -a -Ncollectd-core -Ncollectd
+       dh_shlibdeps -pcollectd \
+               -- -edebian/collectd-core/usr/lib/collectd/rrdtool.so
+       dpkg-shlibdeps -Tdebian/collectd-core.substvars \
+               -dDepends debian/collectd-core/usr/sbin/* \
+               -dSuggests debian/collectd-core/usr/lib/collectd/*.so
+       grep shlibs:Suggests debian/collectd-core.substvars \
+               | sed -e 's/shlibs:Suggests/shlibs:Recommends/' \
+               >> debian/collectd.substvars
        dh_gencontrol -a
        dh_md5sums -a
        dh_builddeb -a