--- zabbix-1.6.6.orig/debian/zabbix-agent.config
+++ zabbix-1.6.6/debian/zabbix-agent.config
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+
+db_input medium zabbix-agent/server || true
+db_go || true
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/control
+++ zabbix-1.6.6/debian/control
@@ -0,0 +1,129 @@
+Source: zabbix
+Section: net
+Priority: optional
+Maintainer: Zabbix Maintainers <kobold-zabbix@debian.org>
+Uploaders: Fabio Tranchitella <kobold@debian.org>, Michael Ablassmeier <abi@debian.org>
+Build-Depends: debhelper (>= 5.0.0), libsnmp9-dev | libsnmp-dev, libmysqlclient15-dev, dpatch, automake1.9, po-debconf, libpq-dev, libcurl4-gnutls-dev | libcurl3-gnutls-dev, libldap2-dev,libiksemel-dev, libopenipmi-dev
+Standards-Version: 3.8.3
+Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/zabbix/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/zabbix/trunk/?op=log
+ 
+Package: zabbix-agent
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, ucf
+Suggests: logrotate
+Description: network monitoring solution - agent
+ Zabbix is a server/client network monitoring system with many features.
+ It can be used for:
+ .
+  - high level monitoring of IT services;
+  - centralized monitoring of your servers and applications;
+  - monitoring of SNMP-enabled devices;
+  - performance monitoring (process load, network activity, disk
+    activity, memory usage, OS parameters etc.);
+  - data visualization.
+ .
+ This package provides the software needed to integrate a host as a Zabbix
+ client.
+
+Package: zabbix-server-mysql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, fping, adduser, dbconfig-common (>= 1.8.19)
+Recommends: mysql-server (>= 4.0.16-2), snmpd
+Suggests: zabbix-frontend-php, logrotate
+Conflicts: zabbix-server-pgsql
+Description: network monitoring solution - server (using MySQL)
+ Zabbix is a server/client network monitoring system with many features.
+ It can be used for:
+ .
+  - high level monitoring of IT services;
+  - centralized monitoring of your servers and applications;
+  - monitoring of SNMP-enabled devices;
+  - performance monitoring (process load, network activity, disk
+    activity, memory usage, OS parameters etc.);
+  - data visualization.
+ .
+ This package provides the software needed to integrate a host as a Zabbix
+ client. It collects information from Zabbix clients and stores it in a
+ MySQL database back-end.
+
+Package: zabbix-server-pgsql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, fping, adduser, dbconfig-common (>= 1.8.19)
+Recommends: postgresql, snmpd
+Suggests: zabbix-frontend-php, logrotate
+Conflicts: zabbix-server-mysql
+Description: network monitoring solution - server (using PostgreSQL)
+ Zabbix is a server/client network monitoring system with many features.
+ It can be used for:
+ .
+  - high level monitoring of IT services;
+  - centralized monitoring of your servers and applications;
+  - monitoring of SNMP-enabled devices;
+  - performance monitoring (process load, network activity, disk
+    activity, memory usage, OS parameters etc.);
+  - data visualization.
+ .
+ This package provides the software needed to integrate a host as a Zabbix
+ client. It collects information from Zabbix clients and stores it in a
+ PostgreSQL database back-end.
+
+Package: zabbix-frontend-php
+Architecture: all
+Depends: apache2 | httpd, php5, php5-mysql | php5-pgsql, php5-gd, ucf, dbconfig-common (>= 1.8.19), ${misc:Depends} 
+Recommends: zabbix-server-mysql | zabbix-server-pgsql, mysql-server (>= 4.0.16-2) | postgresql
+Description: network monitoring solution - PHP front-end
+ Zabbix is a server/client network monitoring system with many features.
+ It can be used for:
+ .
+  - high level monitoring of IT services;
+  - centralized monitoring of your servers and applications;
+  - monitoring of SNMP-enabled devices;
+  - performance monitoring (process load, network activity, disk
+    activity, memory usage, OS parameters etc.);
+  - data visualization.
+ .
+ This package provides a web-browsable front-end to the Zabbix server, which
+ can display graphs of the data collected from clients.
+
+Package: zabbix-proxy-pgsql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, fping, adduser, dbconfig-common (>= 1.8.19)
+Recommends: postgresql
+Conflicts: zabbix-proxy-mysql
+Suggests: logrotate
+Description: network monitoring solution - proxy (using PostgreSQL)
+ Zabbix is a server/client network monitoring system with many features.
+ It can be used for:
+ .
+  - high level monitoring of IT services;
+  - centralized monitoring of your servers and applications;
+  - monitoring of SNMP-enabled devices;
+  - performance monitoring (process load, network activity, disk
+    activity, memory usage, OS parameters etc.);
+  - data visualization.
+ .
+ This package provides the software needed to integrate a host as a Zabbix
+ proxy. It collects information from Zabbix clients and passes it to a
+ server running a MySQL database back-end.
+
+Package: zabbix-proxy-mysql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, fping, adduser, dbconfig-common (>= 1.8.19)
+Recommends: mysql-server (>= 4.0.16-2)
+Suggests: logrotate
+Conflicts: zabbix-proxy-pgsql
+Description: network monitoring solution - proxy (using MySQL)
+ Zabbix is a server/client network monitoring system with many features.
+ It can be used for:
+ .
+  - high level monitoring of IT services;
+  - centralized monitoring of your servers and applications;
+  - monitoring of SNMP-enabled devices;
+  - performance monitoring (process load, network activity, disk
+    activity, memory usage, OS parameters etc.);
+  - data visualization.
+ .
+ This package provides the software needed to integrate a host as a Zabbix
+ proxy. It collects information from Zabbix clients and passes it to a
+ server running a PostgreSQL database back-end.
--- zabbix-1.6.6.orig/debian/zabbix-proxy-pgsql.zabbix-proxy.init
+++ zabbix-1.6.6/debian/zabbix-proxy-pgsql.zabbix-proxy.init
@@ -0,0 +1,51 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          zabbix-proxy
+# Required-Start:    $local_fs $network 
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:      0 6
+# Short-Description: Start zabbix-proxy daemon
+### END INIT INFO
+NAME=zabbix_proxy
+DAEMON=/usr/sbin/$NAME
+DESC="Zabbix proxy daemon"
+
+DIR=/var/run/zabbix-proxy
+PID=$DIR/$NAME.pid
+
+if test ! -d "$DIR"; then
+        mkdir "$DIR"
+        chown -R zabbix:zabbix "$DIR"
+fi
+
+test -f $DAEMON || exit 0
+
+set -e
+
+export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
+
+case "$1" in
+  start)
+   	rm -f $PID
+	echo "Starting $DESC: $NAME" >&2
+	start-stop-daemon --oknodo --start --pidfile $PID \
+	 --exec $DAEMON >/dev/null 2>&1
+	;;
+  stop)
+	echo "Stopping $DESC: $NAME"
+	start-stop-daemon --oknodo --stop --exec $DAEMON 
+	;;
+  restart|force-reload)
+	$0 stop
+	sleep 5
+	$0 start
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-proxy-mysql.postinst
+++ zabbix-1.6.6/debian/zabbix-proxy-mysql.postinst
@@ -0,0 +1,32 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+	
+. /usr/share/dbconfig-common/dpkg/postinst.mysql 
+
+dbc_generate_include=template:/etc/zabbix/zabbix_proxy.conf
+dbc_generate_include_owner="zabbix"
+dbc_generate_include_perms="640"
+dbc_generate_include_args="-U -o template_infile=/usr/share/zabbix-proxy/zabbix_proxy.conf"
+
+dbc_go zabbix-proxy-mysql $@
+
+if [ "$1" = "configure" ]; then
+    if ! getent group zabbix > /dev/null 2>&1 ; then
+    addgroup --system --quiet zabbix
+    fi
+
+    if ! getent passwd zabbix > /dev/null 2>&1 ; then
+    adduser --quiet \
+        --system --disabled-login --ingroup zabbix \
+        --home /var/run/zabbix-proxy/ --no-create-home \
+        zabbix
+    fi
+    chown zabbix:zabbix /var/log/zabbix-proxy -R
+fi
+
+db_stop
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-proxy-mysql.prerm
+++ zabbix-1.6.6/debian/zabbix-proxy-mysql.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/prerm.mysql
+
+#DEBHELPER#
+
+dbc_go zabbix-proxy-mysql $@
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-frontend-php.config
+++ zabbix-1.6.6/debian/zabbix-frontend-php.config
@@ -0,0 +1,28 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+
+if [ -f /usr/share/dbconfig-common/dpkg/frontend.config ]; then
+    dbc_first_version="1:1.4.2-3"
+    dbc_load_include="php:/etc/zabbix/dbconfig.php"
+    dbc_load_include_args="-tDB_TYPE -sDB_SERVER -dDB_DATABASE -uDB_USER -pDB_PASSWORD"
+    dbc_dbtypes="mysql, pgsql"
+    dbc_dbuser=zabbix
+    dbc_dbname=zabbix
+    . /usr/share/dbconfig-common/dpkg/frontend.config
+    dbc_go zabbix-frontend-php $@
+fi
+
+db_input medium zabbix-frontend-php/reconfigure-webserver || true
+db_go || true
+db_input medium zabbix-frontend-php/restart-webserver || true
+db_go || true
+db_input medium zabbix-frontend-php/zabbix-server || true
+db_go || true
+db_input medium zabbix-frontend-php/zabbix-server-port || true
+db_go || true
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-server-mysql.logrotate
+++ zabbix-1.6.6/debian/zabbix-server-mysql.logrotate
@@ -0,0 +1,9 @@
+/var/log/zabbix-server/zabbix_server.log {
+    daily
+    rotate 7
+    compress
+    missingok
+    notifempty
+    create 0640 zabbix zabbix
+    sharedscripts
+}
--- zabbix-1.6.6.orig/debian/zabbix-server-pgsql.postrm
+++ zabbix-1.6.6/debian/zabbix-server-pgsql.postrm
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+set -e
+#set -x
+
+if [ -f /usr/share/debconf/confmodule ]; then
+	. /usr/share/debconf/confmodule
+fi
+if [ -f /usr/share/dbconfig-common/dpkg/postrm.pgsql  ]; then
+	. /usr/share/dbconfig-common/dpkg/postrm.pgsql 
+	
+	dbc_dbuser=zabbix
+	dbc_dbname=zabbix
+	dbc_go zabbix-server-pgsql $@
+fi
+
+case "$1" in
+    failed-upgrade|abort-install|abort-upgrade|disappear|upgrade)
+    ;;
+    remove)
+    ;;
+    purge)
+        rm -fr /var/log/zabbix-server
+        rm -fr /var/run/zabbix-server
+        rm -f /etc/zabbix/zabbix_server.conf
+        ucf --purge /etc/zabbix/zabbix_server.conf || true
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+esac
+
+
+#DEBHELPER#
--- zabbix-1.6.6.orig/debian/zabbix-server-pgsql.zabbix-server.init
+++ zabbix-1.6.6/debian/zabbix-server-pgsql.zabbix-server.init
@@ -0,0 +1,161 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          zabbix-server
+# Required-Start:    $local_fs $network
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:	     0 6
+# Short-Description: Start zabbix-server daemon
+### END INIT INFO
+DAEMON=/usr/sbin/zabbix_server
+NAME=zabbix_server
+DESC="Zabbix server"
+
+test -x $DAEMON || exit 0
+
+# time to wait for daemons death, in seconds
+# don't set it too low or you might not let it die gracefully
+DODTIME=2
+MAX_DIETIME=5
+DIR=/var/run/zabbix-server
+PIDFILE=$DIR/$NAME.pid
+
+if test ! -d "$DIR"; then
+        mkdir "$DIR"
+        chown -R zabbix:zabbix "$DIR"
+fi
+
+set -e
+
+# Check if a given process pid's cmdline matches a given name
+running()
+{
+    # No pidfile, probably no daemon present
+    [ ! -f "$PIDFILE" ] && return 1
+    pid=`cat $PIDFILE`
+
+    # No pid, probably no daemon present
+    [ -z "$pid" ] && return 1
+
+    [ ! -d /proc/$pid ] &&  return 1
+    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
+    # Is this the expected child?
+    [ "$cmd" != "$DAEMON" ] &&  return 1
+
+    return 0
+}
+
+# Check if a given process' childrens are running
+running_child()
+{
+    [ -z "$NAME" ] && return 1
+    if ps -eo ppid,pid,comm |grep -q $NAME; then
+        return 0
+    fi
+    return 1
+}
+
+
+
+force_stop() {
+        [ ! -e "$PIDFILE" ] && return
+        if running ; then
+                pid=`cat $PIDFILE`
+                kill -15 $pid
+        # Is it really dead?
+                [ -n "$DODTIME" ] && sleep "$DODTIME"s
+                if running ; then
+                        kill -9 $pid
+                        [ -n "$DODTIME" ] && sleep "$DODTIME"s
+                        if running ; then
+                                echo "Cannot kill $DESC (pid=$pid)!"
+                                exit 1
+                        fi
+                fi
+        fi
+        rm -f $PIDFILE
+}
+
+# Maybe the process is not running, but its children are
+force_child_stop()
+{
+# Kill the children by name, it's safer not to use a variable here
+    killall -15 zabbix_server
+}
+
+# Checks if the process is properly dead
+check_death()
+{
+        [ -n "$DODTIME" ] && DODTIME=2
+        [ -n "$MAX_DIETIME" ] &&  MAX_DIETIME=15
+        sleep "$DODTIME"s
+        if running; then
+            echo "$DESC did not stop in $DODTIME seconds, forcing it to stop"
+            force_stop
+        fi
+        if running; then
+            echo "ERROR: $DESC did not die in the expected time, consider increasing DODTIME (currently $DODTIME)"
+            exit 1
+        fi
+# Wait for the children to stop
+        if running_child; then
+            echo -n "Waiting for child processes to die"
+            force_child_stop
+            for wait in `seq $MAX_DIETIME`; do
+                if ! running_child; then break ; fi
+                echo -n "."
+                force_child_stop
+                sleep $wait
+            done
+            echo
+        fi
+        if running_name; then
+            echo "ERROR: $DESC's children processes did not die in the expected time, consider increasing MAX_DIETIME (currently $MAX_DIETIME)"
+            exit 1
+        fi
+}
+
+
+
+export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
+
+case "$1" in
+  start)
+    rm -f $PIDFILE
+	echo "Starting $DESC: $NAME"
+	start-stop-daemon --oknodo --start --pidfile $PIDFILE \
+		--exec $DAEMON >/dev/null 2>&1
+        if ! running; then
+            echo "ERROR: $DESC did not start"
+            exit 1
+        fi
+	;;
+  stop)
+	echo "Stopping $DESC: $NAME"
+        if running ; then
+            start-stop-daemon --oknodo --stop --pidfile $PIDFILE \
+		--exec $DAEMON
+        fi
+	;;
+  restart|force-reload)
+	$0 stop
+        check_death
+	$0 start
+	;;
+  status)
+        echo -n "$DESC is "
+        if running ;  then
+            echo "running."
+        else
+            echo "not running."
+            exit 1
+        fi
+        ;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|status|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-frontend-php.README.Debian
+++ zabbix-1.6.6/debian/zabbix-frontend-php.README.Debian
@@ -0,0 +1,9 @@
+zabbix for Debian
+-----------------
+
+ Please point your Browser to http://your_server/zabbix/ in order to configure
+ your zabbix-frontend. Per Default, the Username is "Admin" with password
+ "zabbix". To prevent other Persons from viewing your data, change this
+ password immediately after logging in.
+
+ -- Fabio Tranchitella <kobold@debian.org> Tue, 09 May 2006 12:45:01 +0200
--- zabbix-1.6.6.orig/debian/zabbix-agent.postrm
+++ zabbix-1.6.6/debian/zabbix-agent.postrm
@@ -0,0 +1,31 @@
+#!/bin/sh -e
+
+case "$1" in
+    failed-upgrade|abort-install|abort-upgrade|disappear|upgrade)
+    ;;
+    remove)
+    ;;
+    purge)
+
+        if [ -x /usr/bin/ucf ]; then
+           ucf --purge /etc/zabbix/zabbix_agent.conf
+           ucf --purge /etc/zabbix/zabbix_agentd.conf
+        fi
+        rm -f /etc/zabbix/zabbix_agent.conf
+        rm -f /etc/zabbix/zabbix_agentd.conf
+
+        rm -fr /var/log/zabbix-agent
+        rm -fr /var/run/zabbix-agent
+    ;;
+
+    *)
+        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
--- zabbix-1.6.6.orig/debian/zabbix-proxy-mysql.logrotate
+++ zabbix-1.6.6/debian/zabbix-proxy-mysql.logrotate
@@ -0,0 +1,9 @@
+/var/log/zabbix-proxy/zabbix_proxy.log {
+    daily
+    rotate 7
+    compress
+    missingok
+    notifempty
+    create 0640 zabbix zabbix
+    sharedscripts
+}
--- zabbix-1.6.6.orig/debian/zabbix-proxy-mysql.zabbix-proxy.init
+++ zabbix-1.6.6/debian/zabbix-proxy-mysql.zabbix-proxy.init
@@ -0,0 +1,51 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          zabbix-proxy
+# Required-Start:    $local_fs $network 
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:      0 6
+# Short-Description: Start zabbix-proxy daemon
+### END INIT INFO
+NAME=zabbix_proxy
+DAEMON=/usr/sbin/$NAME
+DESC="Zabbix proxy daemon"
+
+DIR=/var/run/zabbix-proxy
+PID=$DIR/$NAME.pid
+
+if test ! -d "$DIR"; then
+        mkdir "$DIR"
+        chown -R zabbix:zabbix "$DIR"
+fi
+
+test -f $DAEMON || exit 0
+
+set -e
+
+export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
+
+case "$1" in
+  start)
+   	rm -f $PID
+	echo "Starting $DESC: $NAME" >&2
+	start-stop-daemon --oknodo --start --pidfile $PID \
+	 --exec $DAEMON >/dev/null 2>&1
+	;;
+  stop)
+	echo "Stopping $DESC: $NAME"
+	start-stop-daemon --oknodo --stop --exec $DAEMON 
+	;;
+  restart|force-reload)
+	$0 stop
+	sleep 5
+	$0 start
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-server-mysql.README.Debian
+++ zabbix-1.6.6/debian/zabbix-server-mysql.README.Debian
@@ -0,0 +1,15 @@
+zabbix-sever for Debian
+-----------------------
+
+ In order to use zabbix-server you have to configure the connection to
+ the MySQL server modifying /etc/zabbix/zabbix_server.conf to fit your
+ setup.
+
+ Debian zabbix-server-mysql package uses dbconfig-common to setup the
+ database, but the system administrator can choose to skip the 
+ auto-configuration and proceed manually. 
+
+ The SQL scripts for the schema and the base data are stored in
+ /usr/share/zabbix-server/.
+
+ -- Fabio Tranchitella <kobold@debian.org> Tue, 10 May 2006 14:16:00 +0200
--- zabbix-1.6.6.orig/debian/zabbix-proxy-pgsql.postinst
+++ zabbix-1.6.6/debian/zabbix-proxy-pgsql.postinst
@@ -0,0 +1,32 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+	
+. /usr/share/dbconfig-common/dpkg/postinst.pgsql 
+
+dbc_generate_include=template:/etc/zabbix/zabbix_proxy.conf
+dbc_generate_include_owner="zabbix"
+dbc_generate_include_perms="640"
+dbc_generate_include_args="-U -o template_infile=/usr/share/zabbix-proxy/zabbix_proxy.conf"
+
+dbc_go zabbix-proxy-pgsql $@
+
+if [ "$1" = "configure" ]; then
+    if ! getent group zabbix > /dev/null 2>&1 ; then
+    addgroup --system --quiet zabbix
+    fi
+
+    if ! getent passwd zabbix > /dev/null 2>&1 ; then
+    adduser --quiet \
+        --system --disabled-login --ingroup zabbix \
+        --home /var/run/zabbix-proxy/ --no-create-home \
+        zabbix
+    fi
+    chown zabbix:zabbix /var/log/zabbix-proxy -R
+fi
+
+db_stop
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-frontend-php.postrm
+++ zabbix-1.6.6/debian/zabbix-frontend-php.postrm
@@ -0,0 +1,66 @@
+#!/bin/sh -e
+
+if [ -e /usr/share/debconf/confmodule ]; then
+	 . /usr/share/debconf/confmodule
+fi
+
+if [ -f /usr/share/dbconfig-common/dpkg/frontend.postrm ]; then
+    dbc_dbtypes="mysql, pgsql"
+    . /usr/share/dbconfig-common/dpkg/frontend.postrm
+    dbc_go zabbix-frontend-php $@
+fi
+
+case "$1" in
+    failed-upgrade|abort-install|abort-upgrade|disappear|upgrade)
+    ;;
+    remove)
+	    db_get zabbix-frontend-php/reconfigure-webserver
+	    webservers="$RET"
+	    restart=""
+	
+	    for webserver in $webservers; do
+	        webserver=${webserver%,}
+	
+	        case "$webserver" in
+	            apache|apache-perl|apache-ssl|apache2)
+	                rm -f /etc/$webserver/conf.d/zabbix
+	                test -x /usr/sbin/$webserver || continue
+	                restart="$restart $webserver"
+	                ;;
+	            *)
+	                ;;
+	        esac
+	    done
+	
+	    db_get zabbix-frontend-php/restart-webserver
+	    res="$RET"
+	    db_stop || true
+	    if [ "$res" = "true" ]; then
+	        for webserver in $restart; do
+	            webserver=${webserver%,}
+	            if [ -x /usr/sbin/invoke-rc.d ]; then
+	                invoke-rc.d $webserver restart
+	            else
+	                /etc/init.d/$webserver restart
+	            fi
+	        done
+	    fi
+    ;;
+    purge)
+        if [ -x /usr/bin/ucf ]; then
+            ucf --purge /etc/zabbix/dbconfig.php
+        fi
+        rm -f /etc/zabbix/dbconfig.php
+    ;;
+
+    *)
+        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
--- zabbix-1.6.6.orig/debian/zabbix-proxy-mysql.config
+++ zabbix-1.6.6/debian/zabbix-proxy-mysql.config
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/config.mysql 
+dbc_dbuser=zabbix_proxy
+dbc_dbname=zabbix_proxy
+dbc_go zabbix-proxy-mysql $@
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/watch
+++ zabbix-1.6.6/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/zabbix/zabbix-(1.*)\.tar\.gz
--- zabbix-1.6.6.orig/debian/zabbix-server-mysql.postinst
+++ zabbix-1.6.6/debian/zabbix-server-mysql.postinst
@@ -0,0 +1,32 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+	
+. /usr/share/dbconfig-common/dpkg/postinst.mysql 
+
+dbc_generate_include=template:/etc/zabbix/zabbix_server.conf
+dbc_generate_include_owner="zabbix"
+dbc_generate_include_perms="640"
+dbc_generate_include_args="-U -o template_infile=/usr/share/doc/zabbix-server-mysql/zabbix_server.conf"
+
+dbc_go zabbix-server-mysql $@
+
+if [ "$1" = "configure" ]; then
+    if ! getent group zabbix > /dev/null 2>&1 ; then
+    addgroup --system --quiet zabbix
+    fi
+
+    if ! getent passwd zabbix > /dev/null 2>&1 ; then
+    adduser --quiet \
+        --system --disabled-login --ingroup zabbix \
+        --home /var/run/zabbix-server/ --no-create-home \
+        zabbix
+    fi
+    chown zabbix:zabbix /var/log/zabbix-server -R
+fi
+
+db_stop
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/compat
+++ zabbix-1.6.6/debian/compat
@@ -0,0 +1 @@
+5
--- zabbix-1.6.6.orig/debian/zabbix-proxy-mysql.postrm
+++ zabbix-1.6.6/debian/zabbix-proxy-mysql.postrm
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+if [ -f /usr/share/debconf/confmodule ]; then
+    . /usr/share/debconf/confmodule
+fi
+
+if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
+    dbc_dbtypes="mysql"
+    . /usr/share/dbconfig-common/dpkg/postrm
+    dbc_go zabbix-proxy-mysql $@
+fi
+
+case "$1" in
+    failed-upgrade|abort-install|abort-upgrade|disappear|upgrade)
+    ;;
+    remove)
+    ;;
+    purge)
+        rm -fr /var/log/zabbix-proxy
+        rm -fr /var/run/zabbix-proxy
+        rm -f /etc/zabbix/zabbix_proxy.conf
+        ucf --purge /etc/zabbix/zabbix_proxy.conf || true
+    ;;
+
+    *)
+        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
--- zabbix-1.6.6.orig/debian/zabbix-proxy-pgsql.config
+++ zabbix-1.6.6/debian/zabbix-proxy-pgsql.config
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/config.pgsql
+dbc_dbuser=zabbix_proxy
+dbc_dbname=zabbix_proxy
+dbc_go zabbix-proxy-pgsql $@
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/changelog
+++ zabbix-1.6.6/debian/changelog
@@ -0,0 +1,659 @@
+zabbix (1:1.6.6-1~bpo50+1) lenny-backports; urgency=low
+
+  * Backport for Lenny.
+
+ -- Christoph Haas <haas@debian.org>  Tue, 13 Oct 2009 22:57:04 +0200
+
+zabbix (1:1.6.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: fixed typos in the package descriptions. (Closes: #546638)
+  * debian/po/ja.po: updated. (Closes: #538223, #545399)
+  * debian/zabbix-agent.initd: added the status action. (Closes: #524205)
+  * debian/zabbix-server-{pgsql,mysql}.zabbix-server.init: improved the init
+    scripts (fail if the daemon is not executable, do not remove the pid file
+    while starting up the server). (Closes: #450528, 530577)
+  * debian/zabbix-frontend-php.templates: updated, thanks Christian.
+    (Closes: #522880)
+  * debian/control: bumped Standards-Version to 3.8.3, no changed needed.
+
+ -- Fabio Tranchitella <kobold@debian.org>  Sun, 27 Sep 2009 23:05:09 +0200
+
+zabbix (1:1.6.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Merge upstream config file to template (Closes: #528426)
+  * Move logrotate from Depends to Suggests (Closes: #534096)
+  * Server should not crash anymore if postgresql transaction fails
+    (Closes: #520197)
+  * Update fr.po (Closes: #527559)
+  * Update es.po (Closes: #527600)
+  * Update sv.po (Closes: #528571)
+  * Update it.po (Closes: #529157)
+  * Update cs.po (Closes: #529502)
+  * Update de.po (Closes: #532344)
+
+ -- Michael Ablassmeier <abi@debian.org>  Sun, 28 Jun 2009 19:11:29 +0200
+
+zabbix (1:1.6.4-2) unstable; urgency=low
+
+  * Some template fixing (Closes: #525739)
+  * Set right path to fping binary in .conf templates (Closes: #526694)
+  * Update ja.po (Closes: #525099)
+  * Update cs.po (Closes: #525104, #525715)
+  * Update it.po (Closes: #525640)
+  * Update de.po (Closes: #525738)
+  * Update pt.po (Closes: #526178)
+  * Update fi.po (Closes: #526191)
+  * Update ro.po (Closes: #526754)
+  * Update fr.po (Closes: #526771)
+  * Build zabbix-server with ipmi too (Closes: #524884)
+  * Update sv.po (Closes: #522978)
+  * Some template fixing (Closes: #525739)
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 05 May 2009 20:22:08 +0200
+
+zabbix (1:1.6.4-1) unstable; urgency=low
+
+   * New upstream release.
+   * Fix zabbix-frontend-php.template, add missing questions for
+     zabbix-server and port (Closes: #522076)
+   * Loosen up depends for libgnutls (Closes: #522074)
+
+ -- Michael Ablassmeier <abi@debian.org>  Sun, 05 Apr 2009 19:10:27 +0200 
+
+zabbix (1:1.6.3-1) unstable; urgency=low
+
+  [ Fabio Tranchitella ]
+  * New upstream release.
+
+  [ Michael Ablassmeier ]
+  * Includes fix for security issues in frontend (SA34091)
+    (Closes: #518193)
+  * Don't install directories in /var/run, they are created on boot time
+    by our init scripts.
+
+ -- Michael Ablassmeier <abi@debian.org>  Sat, 28 Mar 2009 16:11:34 +0100
+
+zabbix (1:1.6.2-3) unstable; urgency=low
+  
+  * Update dbconfig.php to new config file layout.
+  * Debconf templates and debian/control reviewed by the debian-l10n-
+    english team as part of the Smith review project.
+    Closes: #516074, #518501
+  * [Debconf translation updates]
+    - Czech. Closes: #517172
+    - Swedish. Closes: #517200
+    - Bokmål, Norwegian. Closes: #517266
+    - Russian. Closes: #517576
+    - Italian. Closes: #517711
+    - Finnish. Closes: #518195
+    - Portuguese. Closes: #518404
+    - Basque. Closes: #518388
+    - Spanish. Closes: #518449
+    - German. Closes: #518499
+    - Japanese. Closes: #518503
+    - French. Closes: #518522
+    - Brazilian Portuguese. Closes: #519795
+  * Don't execute mysql script in zabbix-proxy-pgsql prerm/postinst
+    (Closes: #520420)
+  * Be sure all directories in /var/run exist on service start.
+  * Bump Standards Version
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 24 Mar 2009 20:20:33 +0100
+
+zabbix (1:1.6.2-2) unstable; urgency=low
+
+  * Ask for Zabbix Server and Zabbix Server Port on zabbix-frontend-php
+    installation, place needed Values in the dbconfig.php template.
+    (Closes: #513012)
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 26 Jan 2009 11:11:03 +0100
+
+zabbix (1:1.6.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: #512189)
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 19 Jan 2009 11:46:51 +0100
+
+zabbix (1:1.6.1-4) unstable; urgency=low
+
+  * Install zabbix-proxy-pgsql.logorate in the right package (Closes: #511379)
+  * Build Proxy with openipmi, net-snmp and ipv6 support (Closes: #511123)
+  * Add Japanese debconf template (Closes: #510715)
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 12 Jan 2009 10:10:51 +0100
+
+zabbix (1:1.6.1-3) unstable; urgency=low
+
+  * remove versioned depends on postgreql-8.1
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 27 Nov 2008 16:44:15 +0100
+
+zabbix (1:1.6.1-2) unstable; urgency=low
+
+  * Add VCS Fields to debian/control (Closes: #506025)
+  * Update Watch File (Closes: #506046)
+  * Fix Frontend README.Debian, default Login Password has changed
+    (Closes: #503452)
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 20 Nov 2008 15:12:19 +0100
+
+zabbix (1:1.6.1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #504565, #501776)
+  * Depend on both php5 and php5-mysql not on only one 
+    (Closes: #450525, #503433)
+  * Build Packages with Zabbix Proxy Support, thanks to Bart Verwilst
+    for his patches
+  * Fix lintian warnings about -e flag in postinst/config scripts.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 12 Nov 2008 08:24:53 +0100
+
+zabbix (1:1.6-1) unstable; urgency=low
+
+  * New upstream release (Closes: #500449, #497053)
+  * Enable IPMI Support, add libopenipmi-dev to Build-Depends
+  * Enable IPV6
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 22 Sep 2008 09:37:23 +0200
+
+zabbix (1:1.4.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Bump standards version
+  * debian/patches/netsnmp.m4.dpatch: do not directly link against
+    libcrypto .. that would be a gpl violation.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 23 Jul 2008 15:16:59 +0200
+
+zabbix (1:1.4.5-1) unstable; urgency=high
+
+  * New upstream release
+  * Fixed remote DoS (CVE-2008-1353) Closes: #471678
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 27 Mar 2008 12:15:28 +0100
+
+zabbix (1:1.4.4-4) unstable; urgency=low
+
+  * Depend on php5 only (Closes: #466415)
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 19 Feb 2008 09:16:52 +0100
+
+zabbix (1:1.4.4-3) unstable; urgency=low
+
+  * Add polish po file
+  * sleep on agent restart (Closes: #459870)
+  * remove bashisms (Closes: #465381, #465382, #465383)
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 09 Jan 2008 09:40:55 +0100
+
+zabbix (1:1.4.4-2) unstable; urgency=high
+
+  * install images_mysql.sql and images_pgsql.sql
+    Closes: #456517
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 18 Dec 2007 10:38:55 +0100
+
+zabbix (1:1.4.4-1) unstable; urgency=high
+
+  * New upstream release
+  * Remove patch for vm memory size and CVE, both have been
+    merged upstream. 
+  * Compile server with jabber support, add libiksemel-dev to b-d
+    Closes: #454541
+  * Add nl.po (Closes: #448929)
+  * do not install empty directory for agent package
+  * should be compliant with standards version 3.7.3
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 18 Dec 2007 09:48:29 +0100
+
+zabbix (1:1.4.2-4) unstable; urgency=high
+
+  * Fix execution of UserParameter with gid 0.
+    Closes: #452682 (CVE-2007-6210)
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 06 Dec 2007 09:12:19 +0100
+
+zabbix (1:1.4.2-3) unstable; urgency=low
+
+  [ Fabio Tranchitella ]
+  * debian/patches/vm-memory-size.dpatch: added patch to fix the linux
+    available memory calculation. (Closes: #374767)
+  * debian/control: depends on dbconfig-common >= 1.8.19.
+  * Use dbconfig-common for database configuration and prompting for
+    zabbix-frontend-php. (Closes: #372898)
+  * debian/rules: do not depend on umask for the package building.
+    (Closes: #443354)
+
+  [ Michael Ablassmeier ]
+  * Clean up src/ a bit more  in order to allow package to be built
+    several times in a row (Closes: #442777)
+  * Update upstream Mail in debian/copyright
+
+ -- Fabio Tranchitella <kobold@debian.org>  Thu, 20 Sep 2007 23:22:43 +0200
+
+zabbix (1:1.4.2-2) unstable; urgency=low
+
+  * Add db_stop in front of debhelper generated init script code
+    in order to prevent postinst turning into a zombie while
+    installation.
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 04 Sep 2007 09:57:07 +0200
+
+zabbix (1:1.4.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/db.inc.dpatch: removed, merged upstream.
+  * debian/patches/param.dpatch: removed, merged upstream.
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 30 Aug 2007 17:01:29 +0200
+
+zabbix (1:1.4.1-4) unstable; urgency=low
+
+  * Switch from libcurl4-openssl-dev to libcurl4-gnutls-dev.
+    Closes: #434738
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 06 Aug 2007 10:42:58 +0200
+
+zabbix (1:1.4.1-3) unstable; urgency=low
+
+  * Dont print debug information on frontend when postgresql is used.
+    debian/patches/db.inc.dpatch (Closes: #435609)
+  * If zabbix-server-pgsql's config is found set db_type to POSTGRESQL.
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 02 Aug 2007 10:26:44 +0200
+
+zabbix (1:1.4.1-2) unstable; urgency=low
+
+  * Add patch from SVN in order to fix Incorrect processing of character '%'
+    in user parameters and remote commands.
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 02 Jul 2007 09:06:51 +0200
+
+zabbix (1:1.4.1-1) unstable; urgency=low
+
+  *  New upstream release (Closes: #417417, #419042)
+       + ship database patches from 1.1.x to 1.4
+       + agent and server should restart nicely now (Closes: #413740)
+       + server survives mysqld restarts now (Closes: #414180, #415011)
+  * debian/patches:
+       + Upstream fixed the autotools so no patches
+         are needed, zabbbix is now correctly linking.
+  * debian/rules:
+       + dont install images.sql, has been merged
+       + fix path to database schemas
+       + override LIBCURL_LDFLAGS for curl-config
+       + various changes to frontend installation
+       + own binary-arch/install target for agent
+  * debian/control:
+       + add libcurl4-openssl-dev to b-d
+
+ -- Michael Ablassmeier <abi@debian.org>  Sat, 30 Jun 2007 11:58:38 +0200
+
+zabbix (1:1.1.7-3) unstable; urgency=low
+
+  * Replace Build-Dependency on libsnmp9-dev with libsnmp10-dev
+    Closes: #421062
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 26 Apr 2007 10:49:35 +0200
+
+zabbix (1:1.1.7-2) unstable; urgency=low
+
+  * debian/po/nl.po: added, thanks Bart "cobaco" Cornelis. (Closes: #418408)
+
+ -- Fabio Tranchitella <kobold@debian.org>  Mon, 09 Apr 2007 18:57:11 +0200
+
+zabbix (1:1.1.7-1) unstable; urgency=low
+
+  [ Michael Ablassmeier ]
+  * New Upstream release
+  * update 01_log.c.dpatch
+
+ -- Michael Ablassmeier <abi@debian.org>  Fri, 30 Mar 2007 20:28:35 +0200
+
+zabbix (1:1.1.6-4) unstable; urgency=low
+
+  [ Michael Ablassmeier ]
+  * Init Scripts: Add /usr/sbin/ and /sbin to $PATH so zabbix can
+    be safely started from cron and the like. (Closes: #414509)
+
+  [ Fabio Tranchitella ]
+  * debian/zabbix-server-{mysql,pgsql}.postinst: run dbc_go after creating the
+    system zabbix user. (Closes: #415745)
+
+ -- Fabio Tranchitella <kobold@debian.org>  Thu, 22 Mar 2007 11:41:09 +0100
+
+zabbix (1:1.1.6-3) unstable; urgency=low
+
+  * Simplify depends for php (Closes: #413672)
+  * Add italian debconf translation (Closes: #413903)
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed,  7 Mar 2007 10:03:20 +0100
+
+zabbix (1:1.1.6-2) unstable; urgency=medium
+
+  [ Fabio Tranchitella ]
+  * debian/watch: fixed.
+
+  [ Michael Ablassmeier ]
+  * debian/po/de.po: added, thanks to Helge Kreutzmann. (Closes: #411164)
+  * debian/po/cs.po: updated version, thanks Martin (Closes:  #412735)
+  * chown /etc/zabbix/dbconfig.php root:www-data after ucf call
+    Closes: #413673
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue,  6 Mar 2007 16:00:34 +0100
+
+zabbix (1:1.1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/patches/01_log.c.dpatch: update for new upstream version.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed,  7 Feb 2007 14:10:35 +0100
+
+zabbix (1:1.1.4-8) unstable; urgency=high
+
+  * debian/patches/CVE-2007-0640.dpatch: fix buffer overflow related
+    to SNMP IP Address Handling as described in  CVE-2007-0640.
+    Closes: #409257
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon,  5 Feb 2007 09:47:09 +0100
+
+zabbix (1:1.1.4-7) unstable; urgency=high
+
+  * Manage configuration files for zabbix-agent and zabbix-frontend-php 
+    with ucf in order to prevent user specified data to be overwritten on
+    package Upgrade. (Closes: #408489)
+  * Add ucf to dependencies.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 24 Jan 2007 15:40:49 +0100
+
+zabbix (1:1.1.4-6) unstable; urgency=medium
+
+  * Restarting zabbix agent and server after logrotation is not
+    neccessary, should also resolve problems with agents stopping
+    during said task (Closes: #398405)
+  * Disable internal logrotation again.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 24 Jan 2007 14:33:05 +0100
+
+zabbix (1:1.1.4-5) unstable; urgency=medium
+
+  * debian/po/pt.po: added, thanks to Miguel Figueiredo. (Closes: #407226)
+  * debian/zabbix-frontend-php.postrm: fail gracefully if debconf is not
+    available anymore at purge time.
+  * debian/zabbix-server-mysql.postrm: fail gracefully if ucf is not
+    available anymore at purge time.
+  * debian/zabbix-server-pgsql.postrm: fail gracefully if ucf is not
+    available anymore at purge time.
+
+ -- Fabio Tranchitella <kobold@debian.org>  Thu, 18 Jan 2007 11:14:07 +0100
+
+zabbix (1:1.1.4-4) unstable; urgency=low
+
+  [ Fabio Tranchitella ]
+  * debian/control: zabbix-frontend-php should depend on both php[54]-mysql
+    and php[54]-pgsql, as well as php[54]-cgi. (Closes: #406750).
+
+ -- Fabio Tranchitella <kobold@debian.org>  Sat, 13 Jan 2007 17:45:30 +0100
+
+zabbix (1:1.1.4-3) unstable; urgency=low
+
+  * Do not install useless manpage templates.
+  * Set the default zabbix server in agent configuration
+    to "localhost".
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 18 Dec 2006 10:36:28 +0100
+
+zabbix (1:1.1.4-2) unstable; urgency=low
+
+  * Ship /usr/bin/zabbix_get in zabbix-server-* which is handy for debugging
+    purposes. (Closes: 402749)
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 27 Nov 2006 10:28:15 +0100
+
+zabbix (1:1.1.4-1) unstable; urgency=low
+
+  * New upstream version
+  * Add Portuguese debconf translation, thanks 
+    Miguel Figueiredo (Closes: #398301)
+  * Updated French Debconf translation, thanks
+    Yves Rutschle (Closes: #398514)
+  * debian/patches/07_zabbix-delta.dpatch: remove,
+    merged upstream
+  * Keep config templates in sync with upstream.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed,  8 Nov 2006 15:06:04 +0100
+
+zabbix (1:1.1.3-2) unstable; urgency=low
+
+  * Merge pgsql branch into trunk. (Closes: #382640)
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 26 Oct 2006 22:15:29 +0200
+
+zabbix (1:1.1.3-1) unstable; urgency=low
+
+    [ Michael Ablassmeier ]
+    * Zabbix agent and server fail to properly detach from console 
+      after startup. Add work-around to both init scripts. Thanks
+      Hannu Teulahti (Closes: #393623)
+    * patches/01_log.c.dpatch: remove, merged upstream
+    * patches/07_security.dpatch: remove, merged upstream
+    * patches/05_maps.inc.php.dpatch: remove, merged upstream
+    * patches/04_expression.c.dpatch: remove, merged upstream
+    * Append create/data/images.ql to import SQL
+    * patches/07_zabbix-delta.dpatch: add, fix for Latest Data screen.
+    * Better handling of config.sub and config.guess
+
+ -- Michael Ablassmeier <abi@debian.org>  Fri,  6 Oct 2006 13:35:00 +0200
+
+zabbix (1:1.1.2-4) unstable; urgency=high
+
+  * Move #DEBHELPER# stanza in zabbix-server-mysql.prerm
+    above dbconfig-common call. Server prozess should be
+    stopped before database is removed.
+  * debian/patches/07_security.dpatch: add patch for security
+    issues discovered by the Debian Audit Project. Thanks Ulf
+    Harnhammar for the audit.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 20 Sep 2006 15:18:55 +0200
+
+zabbix (1:1.1.2-3) experimental; urgency=low
+
+  [ Michael Ablassmeier ]
+   * First steps in PostgreSQL implementation:
+     + add new Binary package zabbix-server-pgsql to control
+     + re-add Build-Dependency on libpq-dev 
+     + add zabbix-server-pgsql.{config,postinst,prerm,postrm,init}
+     + add PGSQL to selection in zabbix-frontend-php.templates
+     + Add conflicts from/to zabbix-server-mysql/pgsql
+     + Complete re-write of debian/rules in order to be able 
+       to build zabbix-server binaries both with mysql and pgsql
+       support (can not be linked to both libraries together)
+     + Remove config.sub and config.guess from .diff.gz.
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 14 Sep 2006 11:07:56 +0200
+
+zabbix (1:1.1.2-2) unstable; urgency=low
+
+  * Add debian/patches/06_data.sql.dpatch: Do not insert
+    spaces into URL field, otherwise Logging into the 
+    Web-Frontend using http://localhost/zabbix/ fails.
+    Closes: #388410
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 14 Sep 2006 11:07:56 +0200
+
+zabbix (1:1.1.2-1) unstable; urgency=low
+
+  [ Michael Ablassmeier ]
+  * New upstream release
+  * Fix lintian error about missing po-debconf B-D
+  * Add lsb section to agent and server's init scripts
+  * Do not use dbconfig-load-include in zabbix-frontend-php
+    postinst anymore, simply source an existant config file.
+  * Do also preseed Database user(name) if zabbix-server-mysql
+    is installed on the same host.
+  * patches/04_expression.c.dpatch: Fix substitution of variables
+    in Actions, see dpatch Description for more Info.
+  * patches/05_maps.inc.php.dpatch: Fix for broken icons in 
+    network plans
+  * Add Swedish po file, thanks Daniel Nylander (Closes: #387288)
+
+  [ Fabio Tranchitella ]
+  * debian/control: modified to install apache2 and libapache2-mod-php5
+    by default.
+
+ -- Fabio Tranchitella <kobold@debian.org>  Wed, 13 Sep 2006 14:35:58 +0200
+
+zabbix (1:1.1.1-6) unstable; urgency=low
+
+  * check for dbconfig-common to be installed in postrm
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 14 Aug 2006 11:42:49 +0200
+
+zabbix (1:1.1.1-5) unstable; urgency=low
+
+  * zabbix-frontend-php.postinst:
+    + Remove check for obsolete /etc/zabbix/db.inc.php, should
+      have already been removed in one of the last 3 uploads.
+  * Remove unneccesary B-D on libpq-dev.
+  * Add Czech translation, thanks Martin (Closes: #382932)
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed,  9 Aug 2006 08:32:16 +0200
+
+zabbix (1:1.1.1-4) unstable; urgency=low
+
+  * We dont need to call automake twice, sight.
+  * Really include recent fr.po file (Closes: #379995)
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 27 Jul 2006 13:17:02 +0200
+
+zabbix (1:1.1.1-3) unstable; urgency=low
+
+  * French po file update (Closes: #379995)
+  * patches/{02_configure.in.dpatch, 03_configure.in.dpatch}:
+     + remove check for libcrypto and zlib1g, we do not have to link
+       directly against them. (Closes: #375810)
+  * Add automake to build-depends and call it in debian/rules
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 25 Jul 2006 11:25:59 +0200
+
+zabbix (1:1.1.1-2) unstable; urgency=low
+
+  * zabbix-server-mysql/agent.postrotate:
+     + only restart if agentd/server are running, prefer using invoke-rc.d
+       (Closes: #378982)
+  * debian/patches/01_log.c.dpatch:
+     + disable zabbix-server and zabbix-agent internal logrotation, we use
+       logrotate for this. 
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 19 Jul 2006 16:26:33 +0200
+
+zabbix (1:1.1.1-1) unstable; urgency=low
+
+  * New Upstream Version
+  * Fix Typo in zabbix-frontend-php.templates (Closes: #377488)
+  * Relax Build-Dependency libsnmp9-dev | libsnmp-dev (Closes: #375811)
+  * Remove debian/patches/*.dpatch, merged upstream.
+
+ -- Michael Ablassmeier <abi@debian.org>  Wed, 19 Jul 2006 16:10:55 +0200
+
+zabbix (1:1.1-6) unstable; urgency=low
+
+  * all:
+    + integrate dpatch:
+    + Adjust debconf templates (Closes: #374493) 
+    + Add French Translation, thanks Yves Rutschle (Closes: #375569)
+  * zabbix-agent:
+      + add debian/patches/01_zabbix_agentd.c.dpatch: patch from CVS 
+        for re-using open Sockets (Closes: #374758)
+      + add debian/patches/03_zabbix_agentd.c-tmp.dpatch: rough patch
+        for removing tmp file on agent shutdown. (Closes: #376681)
+  * zabbix-server:
+      + add debian/patches/02_zabbix_suckerd.c.dpatch: patch from CVS
+        for re-using open Sockets (Closes: #377038)
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu, 15 Jun 2006 12:02:04 +0200
+
+zabbix (1:1.1-5) unstable; urgency=low
+
+  * zabbix-frontend-php: (Closes: 373566)
+    + /usr/share/db.inc.php now includes its database configuration
+      from /etc/zabbix/dbconfig.php (allowing the package to be
+      reconfigured)
+    + Remove needless if statement from zabbix-frontend-php.config
+    + Remove obsolete /etc/zabbix/db.inc.php on upgrade
+    + use dbconfig-load-include if zabbix-server-mysql is installed
+      on the same host in order to get the password for the database 
+      user.
+  * zabbix-server-mysql:
+    + move zabbix-frontend-php from Recommends to Suggests
+  * zabbix-agent
+    + fix zabbix-agent.config and zabbix-agent.postinst so the package
+      can be reconfigured.
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue, 13 Jun 2006 09:38:56 +0200
+
+zabbix (1:1.1-4) unstable; urgency=low
+
+  * zabbix-frontend-php:
+	  + install /etc/zabbix/db.inc.php with more restrictive
+	    file permissions.
+
+ -- Michael Ablassmeier <abi@debian.org>  Thu,  8 Jun 2006 09:33:06 +0200
+
+zabbix (1:1.1-3) unstable; urgency=low
+
+  * zabbix-frontend-php:
+      + fix postinst file: replace password in db.inc.php
+      + depend on php4-gd | php5-gd (needed for graph generation)
+
+ -- Michael Ablassmeier <abi@debian.org>  Tue,  6 Jun 2006 15:49:39 +0200
+
+zabbix (1:1.1-2) unstable; urgency=low
+
+  * Do not install database upgrades for older versions than 1:1.1-1,
+    they have never been in unstable.
+  * Uge update for zabbix-frontend-php:
+     + introduce 2 more questions (restart/reconfigure-apache)
+	 + install apache configuration file and symlink it within
+	   /etc/apache[..]/conf.d/ (add debian/conf/apache.conf)
+     + handle apache restart if wanted (in postinst and postrm)
+     + own namespace for debconf questions, remove shared/.
+     + call db_purge on package purge.
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon,  5 Jun 2006 18:07:16 +0200
+
+zabbix (1:1.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Minor update for README.Debian.
+  * Remove unnecessary Build-Depend on po-debconf, debhelper version 
+    >= 4.1.16 already does so.
+  * Install Database patches for upgrade from 1.1beta9 to 1.1beta12 and
+    1:1.1 for dbconfig-common.
+  * Install manpage template also to zabbix-server-mysql.
+  * Add debian/watch
+  * Purge debconf configuration for zabbix-agent on purge, fix postinst.
+  * Update template for templates/zabbix_agentd.conf.in
+  * Versioned Dependency on dbconfig-common, >=1.8.15 (#370252)
+
+ -- Michael Ablassmeier <abi@debian.org>  Mon, 22 May 2006 22:30:17 +0200
+
+zabbix (1.1beta9-2) experimental; urgency=low
+
+  * set Maintainer field to forwarded mail address, move Fabio
+    to Uploaders.
+  * templates: spelling fixes
+  * postinst: use sed
+  * README.Debian update.
+  * integrate logrotate for zabbix-agent and zabbix-server-mysql.
+
+ -- Zabbix Maintainers <kobold-zabbix@debian.org>  Thu, 11 May 2006 16:35:35 +0200
+
+zabbix (1.1beta9-1) experimental; urgency=low
+
+  * New upstream release.
+  * First official debian release. (Closes: #188748)
+
+ -- Fabio Tranchitella <kobold@debian.org>  Wed, 10 May 2006 15:21:24 +0200
--- zabbix-1.6.6.orig/debian/zabbix-server-pgsql.postinst
+++ zabbix-1.6.6/debian/zabbix-server-pgsql.postinst
@@ -0,0 +1,34 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+
+
+# dbconfig-common stuff
+. /usr/share/dbconfig-common/dpkg/postinst.pgsql
+dbc_dbuser=zabbix
+dbc_dbname=zabbix
+dbc_generate_include=template:/etc/zabbix/zabbix_server.conf
+dbc_generate_include_owner="zabbix"
+dbc_generate_include_perms="640"
+dbc_generate_include_args="-U -o template_infile=/usr/share/doc/zabbix-server-pgsql/zabbix_server.conf"
+dbc_go zabbix-server-pgsql $@
+
+if [ "$1" = "configure" ]; then
+    if ! getent group zabbix > /dev/null 2>&1 ; then
+    addgroup --system --quiet zabbix
+    fi
+
+    if ! getent passwd zabbix > /dev/null 2>&1 ; then
+    adduser --quiet \
+        --system --disabled-login --ingroup zabbix \
+        --home /var/run/zabbix-server/ --no-create-home \
+        zabbix
+    fi
+    chown zabbix:zabbix /var/log/zabbix-server -R
+fi
+
+db_stop
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/rules
+++ zabbix-1.6.6/debian/rules
@@ -0,0 +1,410 @@
+#!/usr/bin/make -f
+## exports
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+## exports
+
+## includes
+include /usr/share/dpatch/dpatch.make
+##
+
+## defines
+PKG_CLIENT = zabbix-agent
+PKG_SERVER_MYSQL = zabbix-server-mysql
+PKG_SERVER_PGSQL = zabbix-server-pgsql
+PKG_FRONTEND = zabbix-frontend-php
+PKG_PROXY_MYSQL = zabbix-proxy-mysql
+PKG_PROXY_PGSQL = zabbix-proxy-pgsql
+TMP_CLIENT = $(CURDIR)/debian/$(PKG_CLIENT)
+TMP_SERVER_MYSQL = $(CURDIR)/debian/$(PKG_SERVER_MYSQL)
+TMP_SERVER_PGSQL = $(CURDIR)/debian/$(PKG_SERVER_PGSQL)
+TMP_FRONTEND = $(CURDIR)/debian/$(PKG_FRONTEND)
+TMP_PROXY_MYSQL = $(CURDIR)/debian/$(PKG_PROXY_MYSQL)
+TMP_PROXY_PGSQL = $(CURDIR)/debian/$(PKG_PROXY_PGSQL)
+
+INSTALL = install
+INSTALL_FILE    = $(INSTALL) -p    -oroot -groot -m644
+INSTALL_PROGRAM = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_SCRIPT  = $(INSTALL) -p    -oroot -groot -m755
+INSTALL_DIR     = $(INSTALL) -p -d -oroot -groot -m755
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+    CFLAGS += -O0
+else
+    CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+    INSTALL_PROGRAM += -s
+endif
+
+CONFFLAGS_SERVER  = --host=$(DEB_HOST_GNU_TYPE) \
+                    --build=$(DEB_BUILD_GNU_TYPE) \
+                    --prefix=/usr \
+                    --mandir=\$${prefix}/share/man \
+                    --infodir=\$${prefix}/share/info \
+                    --enable-server \
+                    --with-jabber \
+                    --enable-ipv6 \
+                    --with-net-snmp \
+		    --with-openipmi
+
+CONFFLAGS_AGENT  = --enable-agent --with-ldap --with-openipmi --enable-ipv6
+
+CONFFLAGS_PROXY  = --enable-proxy --with-net-snmp --enable-ipv6 --with-openipmi
+
+build:
+
+prepare: patch
+	if test -e /usr/share/misc/config.guess ; then \
+		if ! test -e config.guess.orig; then \
+			mv config.guess config.guess.orig ; \
+			cp --remove-destination /usr/share/misc/config.guess config.guess ; \
+		fi ; \
+	fi
+
+	if test -e /usr/share/misc/config.sub ; then \
+		if ! test -e config.sub.orig; then \
+			mv config.sub config.sub.orig ; \
+			cp --remove-destination /usr/share/misc/config.sub config.sub ; \
+		fi ; \
+	fi
+
+    # we removed -lcrypto stuff so lets re-run autotools:
+	aclocal -I m4
+	autoconf
+	autoheader
+	automake -a
+	automake
+
+	touch prepare-stamp
+
+build-agent: config-agent
+	dh_testdir
+	$(MAKE)
+
+config-agent: prepare config-agent-stamp
+config-agent-stamp:
+	@echo "Configuring agent"
+	dh_testdir
+	rm -f config-*-stamp
+	LIBCURL_LDFLAGS="-lcurl" ./configure $(CONFFLAGS_AGENT)
+
+build-server-mysql: config-server-mysql
+	dh_testdir
+	$(MAKE)
+
+config-server-mysql: prepare config-server-mysql-stamp
+config-server-mysql-stamp:
+	@echo "Configuring server mysql" 
+	dh_testdir
+	rm -f config-*-stamp
+	LIBCURL_LDFLAGS="-lcurl" ./configure $(CONFFLAGS_SERVER) --with-mysql
+	touch config-server-mysql-stamp
+	exit;
+
+build-server-pgsql: config-server-pgsql
+	dh_testdir
+	$(MAKE)
+
+config-server-pgsql: prepare config-server-pgsql-stamp
+config-server-pgsql-stamp:
+	@echo "Configuring server pgsql"
+	dh_testdir
+	rm -f config-*-stamp
+	LIBCURL_LDFLAGS="-lcurl" ./configure $(CONFFLAGS_SERVER) --with-pgsql
+	touch config-server-pgsql-stamp
+
+config-proxy-mysql: prepare config-proxy-mysql-stamp
+config-proxy-mysql-stamp:
+	@echo "Configuring proxy mysql"
+	dh_testdir
+	rm -f config-*-stamp
+	LIBCURL_LDFLAGS="-lcurl" ./configure $(CONFFLAGS_PROXY) --with-mysql
+	touch config-proxy-mysql-stamp
+
+build-proxy-mysql: config-proxy-mysql
+	dh_testdir
+	$(MAKE)
+
+config-proxy-pgsql: prepare config-proxy-pgsql-stamp
+config-proxy-pgsql-stamp:
+	@echo "Configuring proxy pgsql"
+	dh_testdir
+	rm -f config-*-stamp
+	LIBCURL_LDFLAGS="-lcurl" ./configure $(CONFFLAGS_PROXY) --with-pgsql
+	touch config-proxy-pgsql-stamp
+
+build-proxy-pgsql: config-proxy-pgsql
+	dh_testdir
+	$(MAKE)
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	rm -f config-*-stamp
+	rm -f install-*-stamp
+	rm -f config.log
+	[ ! -f Makefile ] || $(MAKE) clean
+	[ ! -f src/zabbix_agent/Makefile ] || $(MAKE) -C src/zabbix_agent/ clean
+	[ ! -f src/zabbix_get/Makefile ] || $(MAKE) -C src/zabbix_get/ clean
+	[ ! -f src/zabbix_sender/Makefile ] || $(MAKE) -C src/zabbix_sender/ clean
+	[ ! -f src/zabbix_proxy/Makefile ] || $(MAKE) -C src/zabbix_proxy/ clean
+	debconf-updatepo
+
+	if test -e config.guess.orig ; then \
+		mv config.guess.orig config.guess ; \
+	fi ; 
+	if test -e config.sub.orig ; then \
+		mv config.sub.orig config.sub ; \
+	fi ; \
+		
+	dh_clean
+
+
+install: install-indep install-agent install-server-mysql install-server-pgsql install-proxy-mysql install-proxy-pgsql
+
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs -i
+	$(INSTALL_DIR) $(TMP_FRONTEND)/etc/zabbix/
+	$(INSTALL_DIR) $(TMP_FRONTEND)/usr/share/zabbix/
+	$(INSTALL_DIR) $(TMP_FRONTEND)/usr/share/doc/zabbix-frontend-php/
+	cp -a frontends/php/* $(TMP_FRONTEND)/usr/share/zabbix/
+	rm -f $(TMP_FRONTEND)/usr/share/zabbix/conf/COPYING
+
+	# disable installation frontend for now.
+	chmod 000 $(TMP_FRONTEND)/usr/share/zabbix/setup.php
+	chmod a-x $(TMP_FRONTEND)/usr/share/zabbix/images/general/tick.png
+
+	# link config file to /etc/zabbix/..
+	dh_link -pzabbix-frontend-php etc/zabbix/dbconfig.php usr/share/zabbix/conf/zabbix.conf.php
+
+	$(INSTALL_FILE) debian/templates/dbconfig.php.in $(TMP_FRONTEND)/usr/share/doc/zabbix-frontend-php/dbconfig.php
+	$(INSTALL_FILE) debian/conf/apache.conf $(TMP_FRONTEND)/etc/zabbix/apache.conf
+	dh_install -i
+
+install-agent: install-agent-stamp
+install-agent-stamp: build-agent
+	echo ""
+	echo $(PKG_CLIENT)
+	$(INSTALL_DIR) $(TMP_CLIENT)
+	$(INSTALL_DIR) $(TMP_CLIENT)/usr/bin
+	$(INSTALL_DIR) $(TMP_CLIENT)/usr/sbin
+	$(INSTALL_DIR) $(TMP_CLIENT)/etc/zabbix/
+	$(INSTALL_DIR) $(TMP_CLIENT)/etc/logrotate.d/
+	$(INSTALL_DIR) $(TMP_CLIENT)/usr/share/zabbix-agent/
+	$(INSTALL_DIR) $(TMP_CLIENT)/DEBIAN
+	$(INSTALL_PROGRAM) src/zabbix_agent/zabbix_agentd  $(TMP_CLIENT)/usr/sbin
+	$(INSTALL_PROGRAM) src/zabbix_agent/zabbix_agent $(TMP_CLIENT)/usr/bin
+	$(INSTALL_PROGRAM) src/zabbix_sender/zabbix_sender $(TMP_CLIENT)/usr/bin
+
+	$(INSTALL_DIR) $(TMP_CLIENT)/var/log/zabbix-agent/
+	chmod 750 $(TMP_CLIENT)/var/log/zabbix-agent/
+
+	$(INSTALL_FILE) debian/templates/zabbix_agent.conf.in $(TMP_CLIENT)/usr/share/zabbix-agent/zabbix_agent.conf
+	$(INSTALL_FILE) debian/templates/zabbix_agentd.conf.in $(TMP_CLIENT)/usr/share/zabbix-agent/zabbix_agentd.conf
+	$(INSTALL_FILE) debian/zabbix-agent.logrotate $(TMP_CLIENT)/etc/logrotate.d/zabbix-agent
+
+
+install-server-mysql: install-server-mysql-stamp
+install-server-mysql-stamp: build-server-mysql
+	echo ""
+	echo $(PKG_SERVER_MYSQL)
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/usr/bin
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/usr/sbin
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/etc/zabbix/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/etc/zabbix/alert.d/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/etc/logrotate.d/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/etc/init.d/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/usr/share/zabbix-server/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/var/log/zabbix-server/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_MYSQL)/install/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_MYSQL)/upgrade/mysql/
+	$(INSTALL_DIR) $(TMP_SERVER_MYSQL)/usr/share/doc/zabbix-server-mysql/
+	chmod 750 $(TMP_SERVER_MYSQL)/var/log/zabbix-server/
+
+	$(INSTALL_PROGRAM) src/zabbix_server/zabbix_server $(TMP_SERVER_MYSQL)/usr/sbin
+	$(INSTALL_PROGRAM) src/zabbix_get/zabbix_get $(TMP_SERVER_MYSQL)/usr/bin
+
+	$(INSTALL_FILE) create/schema/mysql.sql $(TMP_SERVER_MYSQL)/usr/share/zabbix-server/
+	$(INSTALL_FILE) create/data/data.sql $(TMP_SERVER_MYSQL)/usr/share/zabbix-server/
+	$(INSTALL_FILE) debian/zabbix-server-mysql.logrotate $(TMP_SERVER_MYSQL)/etc/logrotate.d/zabbix-server-mysql
+	$(INSTALL_FILE) debian/templates/zabbix_server.conf.in $(TMP_SERVER_MYSQL)/usr/share/doc/zabbix-server-mysql/zabbix_server.conf
+
+
+	#install schema + data sql files for dbc_config
+	$(INSTALL_FILE) create/schema/mysql.sql $(TMP_SERVER_MYSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_MYSQL)/install/mysql
+	cat create/data/data.sql >> $(TMP_SERVER_MYSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_MYSQL)/install/mysql
+	cat create/data/images_mysql.sql >> $(TMP_SERVER_MYSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_MYSQL)/install/mysql
+
+	# install upgrade patch from 1.4.x to 1.6
+	$(INSTALL_FILE) upgrades/dbpatches/1.6/mysql/patch.sql $(TMP_SERVER_MYSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_MYSQL)/upgrade/mysql/1:1.6
+
+
+	dh_installinit -p $(PKG_SERVER_MYSQL) --name zabbix-server
+	dh_install -a
+	touch install-server-mysql-stamp
+
+
+install-server-pgsql: install-server-pgsql-stamp
+install-server-pgsql-stamp: build-server-pgsql
+	echo ""
+	echo $(PKG_SERVER_PGSQL)
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/usr/bin
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/usr/sbin
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/etc/zabbix/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/etc/zabbix/alert.d/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/etc/logrotate.d/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/etc/init.d/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/usr/share/zabbix-server/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/var/log/zabbix-server/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_PGSQL)/install/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_PGSQL)/upgrade/pgsql/
+	$(INSTALL_DIR) $(TMP_SERVER_PGSQL)/usr/share/doc/zabbix-server-pgsql/
+	chmod 750 $(TMP_SERVER_PGSQL)/var/log/zabbix-server/
+
+	$(INSTALL_PROGRAM) src/zabbix_server/zabbix_server $(TMP_SERVER_PGSQL)/usr/sbin
+	$(INSTALL_PROGRAM) src/zabbix_get/zabbix_get $(TMP_SERVER_PGSQL)/usr/bin
+
+	$(INSTALL_FILE) create/schema/postgresql.sql $(TMP_SERVER_PGSQL)/usr/share/zabbix-server/
+	$(INSTALL_FILE) create/data/data.sql $(TMP_SERVER_PGSQL)/usr/share/zabbix-server/
+	$(INSTALL_FILE) debian/zabbix-server-mysql.logrotate $(TMP_SERVER_PGSQL)/etc/logrotate.d/zabbix-server-pgsql
+	$(INSTALL_FILE) debian/templates/zabbix_server.conf.in $(TMP_SERVER_PGSQL)/usr/share/doc/zabbix-server-pgsql/zabbix_server.conf
+
+	#install schema + data sql files for dbc_config
+	$(INSTALL_FILE) create/schema/postgresql.sql $(TMP_SERVER_PGSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_PGSQL)/install/pgsql
+	cat create/data/data.sql >> $(TMP_SERVER_PGSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_PGSQL)/install/pgsql
+	cat create/data/images_pgsql.sql >> $(TMP_SERVER_PGSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_PGSQL)/install/pgsql
+
+    # install upgrade patch from 1.4.x to 1.6
+	$(INSTALL_FILE) upgrades/dbpatches/1.6/postgresql/patch.sql $(TMP_SERVER_PGSQL)/usr/share/dbconfig-common/data/$(PKG_SERVER_PGSQL)/upgrade/pgsql/1:1.6
+
+	dh_installinit -p $(PKG_SERVER_PGSQL) --name zabbix-server
+	dh_install -a
+	touch install-server-pgsql-stamp
+
+install-proxy-mysql: install-proxy-mysql-stamp
+install-proxy-mysql-stamp: build-proxy-mysql
+	echo ""
+	echo $(PKG_PROXY_MYSQL)
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/usr/sbin
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/etc/zabbix/
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/etc/logrotate.d/
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/etc/init.d/
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/usr/share/zabbix-proxy/
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/usr/share/doc/zabbix-proxy-mysql/
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_MYSQL)/install/
+	$(INSTALL_DIR) $(TMP_PROXY_MYSQL)/var/log/zabbix-proxy/
+	chmod 750 $(TMP_PROXY_MYSQL)/var/log/zabbix-proxy/
+
+	$(INSTALL_PROGRAM) src/zabbix_proxy/zabbix_proxy $(TMP_PROXY_MYSQL)/usr/sbin
+
+	#install schema + data sql files for dbc_config
+	$(INSTALL_FILE) create/schema/mysql.sql $(TMP_PROXY_MYSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_MYSQL)/install/mysql
+	cat create/data/data.sql >> $(TMP_PROXY_MYSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_MYSQL)/install/mysql
+	cat create/data/images_mysql.sql >> $(TMP_PROXY_MYSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_MYSQL)/install/mysql
+
+	$(INSTALL_FILE) debian/templates/zabbix_proxy.conf.in $(TMP_PROXY_MYSQL)/usr/share/zabbix-proxy/zabbix_proxy.conf
+
+	$(INSTALL_FILE) debian/zabbix-proxy-mysql.logrotate $(TMP_PROXY_MYSQL)/etc/logrotate.d/zabbix-proxy-mysql
+	$(INSTALL_FILE) create/schema/mysql.sql $(TMP_PROXY_MYSQL)/usr/share/zabbix-proxy/
+	$(INSTALL_FILE) create/data/data.sql $(TMP_PROXY_MYSQL)/usr/share/zabbix-proxy/
+
+	dh_installinit -p $(PKG_PROXY_MYSQL) --name zabbix-proxy
+	dh_install -a
+	touch install-proxy-mysql-stamp
+
+install-proxy-pgsql: install-proxy-pgsql-stamp
+install-proxy-pgsql-stamp: build-proxy-pgsql
+	echo ""
+	echo $(PKG_PROXY_PGSQL)
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/usr/sbin
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/etc/zabbix/
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/etc/logrotate.d/
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/etc/init.d/
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/usr/share/zabbix-proxy/
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/usr/share/doc/zabbix-proxy-pgsql/
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_PGSQL)/install/
+	$(INSTALL_DIR) $(TMP_PROXY_PGSQL)/var/log/zabbix-proxy/
+	chmod 750 $(TMP_PROXY_PGSQL)/var/log/zabbix-proxy/
+
+	$(INSTALL_PROGRAM) src/zabbix_proxy/zabbix_proxy $(TMP_PROXY_PGSQL)/usr/sbin
+
+	$(INSTALL_FILE) debian/templates/zabbix_proxy.conf.in $(TMP_PROXY_PGSQL)/usr/share/zabbix-proxy/zabbix_proxy.conf
+	$(INSTALL_FILE) debian/zabbix-proxy-mysql.logrotate $(TMP_PROXY_PGSQL)/etc/logrotate.d/zabbix-proxy-pgsql
+
+	$(INSTALL_FILE) create/schema/postgresql.sql $(TMP_PROXY_PGSQL)/usr/share/zabbix-proxy/
+	$(INSTALL_FILE) create/data/data.sql $(TMP_PROXY_PGSQL)/usr/share/zabbix-proxy/
+
+	#install schema + data sql files for dbc_config
+	$(INSTALL_FILE) create/schema/postgresql.sql $(TMP_PROXY_PGSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_PGSQL)/install/pgsql
+	cat create/data/data.sql >> $(TMP_PROXY_PGSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_PGSQL)/install/pgsql
+	cat create/data/images_pgsql.sql >> $(TMP_PROXY_PGSQL)/usr/share/dbconfig-common/data/$(PKG_PROXY_PGSQL)/install/pgsql
+
+	dh_installinit -p $(PKG_PROXY_PGSQL) --name zabbix-proxy
+	dh_install -a
+	touch install-proxy-pgsql-stamp
+
+
+# Build architecture-independent files here.
+binary-indep: install-indep
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog -i
+	dh_installdocs -i
+	dh_installdebconf -i
+	dh_installinit -i
+	dh_installman -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_makeshlibs -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: binary-arch-agent binary-arch-server-mysql binary-arch-server-pgsql binary-arch-proxy-mysql binary-arch-proxy-pgsql
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog -a
+	dh_installdocs -a
+	dh_installdebconf -a
+	dh_installinit -a
+	dh_installman -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary-arch-server-mysql: build-server-mysql install-server-mysql
+
+binary-arch-server-pgsql: build-server-pgsql install-server-pgsql
+
+binary-arch-agent: build-agent install-agent
+
+binary-arch-proxy-mysql: build-proxy-mysql install-proxy-mysql
+
+binary-arch-proxy-pgsql: build-proxy-pgsql install-proxy-pgsql
+
+binary: binary-arch binary-indep
+
+.PHONY: build build-server-mysql build-server-pgsql build-proxy-mysql build-proxy-pgsql config-server-mysql config-server-pgsql config-proxy-mysql config-proxy-pgsql clean install install-indep install-server-mysql install-server-pgsql install-proxy-mysql install-proxy-pgsql install-agent build-agent binary-indep binary-arch binary-arch-server-mysql binary-arch-server-pgsql binary-arch-agent binary-arch-proxy-mysql binary-arch-proxy-pgsql binary
--- zabbix-1.6.6.orig/debian/zabbix-server-mysql.config
+++ zabbix-1.6.6/debian/zabbix-server-mysql.config
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/config.mysql 
+dbc_dbuser=zabbix
+dbc_dbname=zabbix
+dbc_go zabbix-server-mysql $@
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-server-pgsql.prerm
+++ zabbix-1.6.6/debian/zabbix-server-pgsql.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/prerm.pgsql
+
+#DEBHELPER#
+
+dbc_go zabbix-server-pgsql $@
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-agent.postinst
+++ zabbix-1.6.6/debian/zabbix-agent.postinst
@@ -0,0 +1,46 @@
+#!/bin/sh -e
+
+CONFFILE1="/usr/share/zabbix-agent/zabbix_agentd.conf"
+CONFFILE_DEST1="/etc/zabbix/zabbix_agentd.conf"
+
+CONFFILE2="/usr/share/zabbix-agent/zabbix_agent.conf"
+CONFFILE_DEST2="/etc/zabbix/zabbix_agent.conf"
+
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+
+if [ "$1" = "configure" ]; then
+
+    RET=""
+    db_get zabbix-agent/server || true
+    zabbix_server="$RET"
+    if [ "$zabbix_server" = "" ]; then
+        zabbix_server="localhost"
+    fi
+
+    sed "s/^[# ]*Server=.*/Server=$zabbix_server/g" < $CONFFILE1 > $CONFFILE_DEST1.new 
+    ucf --debconf-ok $CONFFILE_DEST1.new $CONFFILE_DEST1
+    rm -f $CONFFILE_DEST1.new
+
+    sed "s/^[# ]*Server=.*/Server=$zabbix_server/g" < $CONFFILE2 > $CONFFILE_DEST2.new 
+    ucf --debconf-ok $CONFFILE_DEST2.new $CONFFILE_DEST2
+    rm -f $CONFFILE_DEST2.new
+
+    if ! getent group zabbix > /dev/null 2>&1 ; then
+    addgroup --system --quiet zabbix
+    fi
+
+    if ! getent passwd zabbix > /dev/null 2>&1 ; then
+    adduser --quiet \
+        --system --disabled-login --ingroup zabbix \
+        --home /var/run/zabbix-server/ --no-create-home \
+        zabbix
+    fi
+    chown zabbix:zabbix /var/log/zabbix-agent -R
+fi
+
+db_stop
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-frontend-php.postinst
+++ zabbix-1.6.6/debian/zabbix-frontend-php.postinst
@@ -0,0 +1,59 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ $? -lt 30 ]
+
+if [ "$1" = "configure" ]; then
+    db_get zabbix-frontend-php/zabbix-server || true
+    zabbix_server="$RET"
+    db_get zabbix-frontend-php/zabbix-server-port || true
+    zabbix_server_port="$RET"
+
+	sed -i "s/_ZBX_SERVER_/$zabbix_server/"  /usr/share/doc/zabbix-frontend-php/dbconfig.php
+	sed -i "s/_ZBX_SERVERPORT_/$zabbix_server_port/" /usr/share/doc/zabbix-frontend-php/dbconfig.php
+fi
+
+
+. /usr/share/dbconfig-common/dpkg/frontend.postinst
+
+dbc_first_version="1:1.4.2-3"
+dbc_generate_include=template:/etc/zabbix/dbconfig.php
+dbc_generate_include_owner="root:www-data"
+dbc_generate_include_perms="640"
+dbc_generate_include_args="-U -o template_infile=/usr/share/doc/zabbix-frontend-php/dbconfig.php"
+
+dbc_go zabbix-frontend-php $@
+
+if [ "$1" = "configure" ]; then
+    db_get zabbix-frontend-php/reconfigure-webserver || true
+    webservers="$RET"
+    restart=""
+
+    for webserver in $webservers; do
+        webserver=${webserver%,}
+        test -x /usr/sbin/$webserver || continue
+	
+        if [ ! -f /etc/$webserver/conf.d/zabbix ] && [ ! -h /etc/$webserver/conf.d/zabbix ]; then
+            ln -s /etc/zabbix/apache.conf /etc/$webserver/conf.d/zabbix
+            restart="$restart $webserver"
+        fi
+	done
+
+	db_get zabbix-frontend-php/restart-webserver || true
+    res="$RET"
+    db_stop || true
+    if [ "$res" = "true" ]; then
+        for webserver in $restart; do
+            webserver=${webserver%,}
+            if [ -x /usr/sbin/invoke-rc.d ]; then
+                invoke-rc.d $webserver restart
+            else
+                /etc/init.d/$webserver restart
+            fi
+        done
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-proxy-pgsql.postrm
+++ zabbix-1.6.6/debian/zabbix-proxy-pgsql.postrm
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+if [ -f /usr/share/debconf/confmodule ]; then
+    . /usr/share/debconf/confmodule
+fi
+
+if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
+    dbc_dbtypes="pgsql"
+    . /usr/share/dbconfig-common/dpkg/postrm
+    dbc_go zabbix-proxy-pgsql $@
+fi
+
+case "$1" in
+    failed-upgrade|abort-install|abort-upgrade|disappear|upgrade)
+    ;;
+    remove)
+    ;;
+    purge)
+        rm -fr /var/log/zabbix-proxy
+        rm -fr /var/run/zabbix-proxy
+        rm -f /etc/zabbix/zabbix_proxy.conf
+        ucf --purge /etc/zabbix/zabbix_proxy.conf || true
+    ;;
+
+    *)
+        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
--- zabbix-1.6.6.orig/debian/zabbix-proxy-pgsql.prerm
+++ zabbix-1.6.6/debian/zabbix-proxy-pgsql.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/prerm.pgsql
+
+#DEBHELPER#
+
+dbc_go zabbix-proxy-pgsql $@
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-agent.templates
+++ zabbix-1.6.6/debian/zabbix-agent.templates
@@ -0,0 +1,14 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: zabbix-agent/server
+Type: string
+_Description: Zabbix server host address:
+ Please enter the host name or IP address of the Zabbix server you
+ want to connect to.
--- zabbix-1.6.6.orig/debian/copyright
+++ zabbix-1.6.6/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Michael Ablassmeier <abi@debian.org> on
+Tue, 23 Mar 2004 22:46:45 +0100. It is actually maintained by Michael
+Ablassmeier and Fabio Tranchitella <kobold@debian.org>.
+
+It was downloaded from http://www.zabbix.com/download.php 
+
+Upstream Author: Alexei Vladishev <alexei.vladishev@zabbix.com>
+
+Copyright:
+
+    Copyright (C) 2000-2005 SIA Zabbix
+    Author: Alexei Vladishev <alexei.vladishev@zabbix.com>
+
+    For the win32 agent:
+      Copyright (C) 2002,2003 Victor Kirhenshtein
+
+    For the md5 implementations:
+      Copyright (C) 1999, 2002 Aladdin Enterprises
+
+    For the init.d for SuSE in misc/init.d/suse:
+      Copyright (c) 07/2004 A.Tophofen, Germany
+
+License:
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 2 as
+  published by the Free Software Foundation.
+
+  On Debian GNU/Linux systems, the complete text of the GNU General
+  Public License can be found in `/usr/share/common-licenses/GPL-2'.
--- zabbix-1.6.6.orig/debian/zabbix-server-mysql.postrm
+++ zabbix-1.6.6/debian/zabbix-server-mysql.postrm
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+if [ -f /usr/share/debconf/confmodule ]; then
+    . /usr/share/debconf/confmodule
+fi
+
+if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
+    dbc_dbtypes="mysql"
+    . /usr/share/dbconfig-common/dpkg/postrm
+    dbc_go zabbix-server-mysql $@
+fi
+
+case "$1" in
+    failed-upgrade|abort-install|abort-upgrade|disappear|upgrade)
+    ;;
+    remove)
+    ;;
+    purge)
+        rm -fr /var/log/zabbix-server
+        rm -fr /var/run/zabbix-server
+        rm -f /etc/zabbix/zabbix_server.conf
+        ucf --purge /etc/zabbix/zabbix_server.conf || true
+    ;;
+
+    *)
+        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
--- zabbix-1.6.6.orig/debian/zabbix-agent.logrotate
+++ zabbix-1.6.6/debian/zabbix-agent.logrotate
@@ -0,0 +1,9 @@
+/var/log/zabbix-agent/zabbix_agentd.log {
+    daily
+    rotate 7
+    compress
+    missingok
+    notifempty
+    create 0640 zabbix zabbix
+    sharedscripts
+}
--- zabbix-1.6.6.orig/debian/zabbix-server-mysql.prerm
+++ zabbix-1.6.6/debian/zabbix-server-mysql.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/prerm.mysql
+
+#DEBHELPER#
+
+dbc_go zabbix-server-mysql $@
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-server-mysql.zabbix-server.init
+++ zabbix-1.6.6/debian/zabbix-server-mysql.zabbix-server.init
@@ -0,0 +1,161 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          zabbix-server
+# Required-Start:    $local_fs $network
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:	     0 6
+# Short-Description: Start zabbix-server daemon
+### END INIT INFO
+DAEMON=/usr/sbin/zabbix_server
+NAME=zabbix_server
+DESC="Zabbix server"
+
+test -x $DAEMON || exit 0
+
+# time to wait for daemons death, in seconds
+# don't set it too low or you might not let it die gracefully
+DODTIME=2
+MAX_DIETIME=5
+DIR=/var/run/zabbix-server
+PIDFILE=$DIR/$NAME.pid
+
+if test ! -d "$DIR"; then
+        mkdir "$DIR"
+        chown -R zabbix:zabbix "$DIR"
+fi
+
+set -e
+
+# Check if a given process pid's cmdline matches a given name
+running()
+{
+    # No pidfile, probably no daemon present
+    [ ! -f "$PIDFILE" ] && return 1
+    pid=`cat $PIDFILE`
+
+    # No pid, probably no daemon present
+    [ -z "$pid" ] && return 1
+
+    [ ! -d /proc/$pid ] &&  return 1
+    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
+    # Is this the expected child?
+    [ "$cmd" != "$DAEMON" ] &&  return 1
+
+    return 0
+}
+
+# Check if a given process' childrens are running
+running_child()
+{
+    [ -z "$NAME" ] && return 1
+    if ps -eo ppid,pid,comm |grep -q $NAME; then
+        return 0
+    fi
+    return 1
+}
+
+
+
+force_stop() {
+        [ ! -e "$PIDFILE" ] && return
+        if running ; then
+                pid=`cat $PIDFILE`
+                kill -15 $pid
+        # Is it really dead?
+                [ -n "$DODTIME" ] && sleep "$DODTIME"s
+                if running ; then
+                        kill -9 $pid
+                        [ -n "$DODTIME" ] && sleep "$DODTIME"s
+                        if running ; then
+                                echo "Cannot kill $DESC (pid=$pid)!"
+                                exit 1
+                        fi
+                fi
+        fi
+        rm -f $PIDFILE
+}
+
+# Maybe the process is not running, but its children are
+force_child_stop()
+{
+# Kill the children by name, it's safer not to use a variable here
+    killall -15 zabbix_server
+}
+
+# Checks if the process is properly dead
+check_death()
+{
+        [ -n "$DODTIME" ] && DODTIME=2
+        [ -n "$MAX_DIETIME" ] &&  MAX_DIETIME=15
+        sleep "$DODTIME"s
+        if running; then
+            echo "$DESC did not stop in $DODTIME seconds, forcing it to stop"
+            force_stop
+        fi
+        if running; then
+            echo "ERROR: $DESC did not die in the expected time, consider increasing DODTIME (currently $DODTIME)"
+            exit 1
+        fi
+# Wait for the children to stop
+        if running_child; then
+            echo -n "Waiting for child processes to die"
+            force_child_stop
+            for wait in `seq $MAX_DIETIME`; do
+                if ! running_child; then break ; fi
+                echo -n "."
+                force_child_stop
+                sleep $wait
+            done
+            echo
+        fi
+        if running_name; then
+            echo "ERROR: $DESC's children processes did not die in the expected time, consider increasing MAX_DIETIME (currently $MAX_DIETIME)"
+            exit 1
+        fi
+}
+
+
+
+export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
+
+case "$1" in
+  start)
+    rm -f $PIDFILE
+	echo "Starting $DESC: $NAME"
+	start-stop-daemon --oknodo --start --pidfile $PIDFILE \
+		--exec $DAEMON >/dev/null 2>&1
+        if ! running; then
+            echo "ERROR: $DESC did not start"
+            exit 1
+        fi
+	;;
+  stop)
+	echo "Stopping $DESC: $NAME"
+        if running ; then
+            start-stop-daemon --oknodo --stop --pidfile $PIDFILE \
+		--exec $DAEMON
+        fi
+	;;
+  restart|force-reload)
+	$0 stop
+        check_death
+	$0 start
+	;;
+  status)
+        echo -n "$DESC is "
+        if running ;  then
+            echo "running."
+        else
+            echo "not running."
+            exit 1
+        fi
+        ;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|status|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-server-pgsql.config
+++ zabbix-1.6.6/debian/zabbix-server-pgsql.config
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/config.pgsql
+dbc_dbuser=zabbix
+dbc_dbname=zabbix
+dbc_go zabbix-server-pgsql $@
+
+#DEBHELPER#
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-agent.init
+++ zabbix-1.6.6/debian/zabbix-agent.init
@@ -0,0 +1,61 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          zabbix-agent
+# Required-Start:    $local_fs $network 
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:      0 6
+# Short-Description: Start zabbix-agent daemon
+### END INIT INFO
+DAEMON=/usr/sbin/zabbix_agentd
+NAME=zabbix_agentd
+DESC="Zabbix agent"
+
+test -f $DAEMON || exit 0
+
+DIR=/var/run/zabbix-agent
+PID=$DIR/$NAME.pid
+
+if test ! -d "$DIR"; then
+        mkdir "$DIR"
+        chown -R zabbix:zabbix "$DIR"
+fi
+
+set -e
+
+export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
+
+case "$1" in
+  start)
+   	rm -f $PID
+	echo "Starting $DESC: $NAME" >&2
+	start-stop-daemon --oknodo --start --pidfile $PID \
+	 --exec $DAEMON >/dev/null 2>&1
+	;;
+  stop)
+	echo "Stopping $DESC: $NAME"
+	start-stop-daemon --oknodo --stop --exec $DAEMON 
+	;;
+  status)
+   ls -l /proc/`cat $PID`/exe &> /dev/null
+   if [ $? -eq 0 ]; then
+       echo "Zabbix agent is running"
+       exit 0
+   else
+       echo "Zabbix agent is NOT running"
+       exit 1
+   fi
+   ;;
+  restart|force-reload)
+	$0 stop
+	sleep 5
+	$0 start
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- zabbix-1.6.6.orig/debian/zabbix-frontend-php.templates
+++ zabbix-1.6.6/debian/zabbix-frontend-php.templates
@@ -0,0 +1,46 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: zabbix-frontend-php/reconfigure-webserver
+Type: multiselect
+Choices: apache, apache-ssl, apache-perl, apache2
+Default: apache, apache-ssl, apache-perl, apache2
+_Description: Web server to reconfigure for Zabbix:
+ Zabbix supports any web server supported by PHP5, however only
+ Apache can be configured automatically. 
+ .
+ Please select which Apache version you want to configure the Zabbix
+ frontend for.
+
+Template: zabbix-frontend-php/restart-webserver
+Type: boolean
+Default: true
+_Description: Restart the web server(s) now?
+ In order to apply the changes needed for Zabbix configuration, the
+ web server needs to be restarted.
+ .
+ Please choose whether you prefer doing it automatically now
+ or manually later.
+
+Template: zabbix-frontend-php/zabbix-server
+Type: string
+Default: 127.0.0.1
+_Description: Zabbix server host address:
+ Please enter the host name or IP address of the Zabbix server you
+ want to connect to.
+ .
+ This is needed for some advanced frontend functionalities.
+
+Template: zabbix-frontend-php/zabbix-server-port
+Type: string
+Default: 10051
+_Description: Zabbix server port:
+ Please enter the port used by the Zabbix server.
+ .
+ This is needed for some advanced frontend functionalities.
--- zabbix-1.6.6.orig/debian/README.Debian
+++ zabbix-1.6.6/debian/README.Debian
@@ -0,0 +1,25 @@
+zabbix for Debian
+==================
+
+Zabbix Manual
+--------------
+
+ The Zabbix Manual provides all necessary information to successfully install,
+ configure, and run Zabbix. The Manual is available online in HTML format and
+ can be found here:
+
+ http://www.zabbix.com/manual/v1.1/
+
+
+Zabbix Database
+----------------
+
+ The debian Packages use dbconfig-common in order to setup the Database. If
+ you have chosen to not setup your Database using dbconfig-common, the Package
+ ships all needed SQL Files in /usr/share/zabbix-server/.
+
+ SQL Files for upgrades from previous versions can be found in: 
+
+   /usr/share/dbconfig-common/data/zabbix-server-mysql/upgrade/mysql/<version> 
+ 
+ -- Michael Ablassmeier <abi@debian.org>
--- zabbix-1.6.6.orig/debian/conf/apache.conf
+++ zabbix-1.6.6/debian/conf/apache.conf
@@ -0,0 +1,4 @@
+# Define /zabbix alias, this is the default
+<IfModule mod_alias.c>
+    Alias /zabbix /usr/share/zabbix
+</IfModule>
--- zabbix-1.6.6.orig/debian/patches/netsnmp.m4.dpatch
+++ zabbix-1.6.6/debian/patches/netsnmp.m4.dpatch
@@ -0,0 +1,15 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: no -lcrypto for you!
+
+@DPATCH@
+--- netsnmp.m4.orig	2008-07-23 15:49:13.000000000 +0200
++++ zabbix-1.4.6/m4/netsnmp.m4	2008-07-23 15:49:22.000000000 +0200
+@@ -58,7 +58,7 @@
+ 			esac
+ 		done
+ 
+-		_full_libnetsnmp_libs="`$_libnetsnmp_config --libs` -lcrypto"
++		_full_libnetsnmp_libs="`$_libnetsnmp_config --libs`"
+ 		for i in $_full_libnetsnmp_libs; do
+ 			case $i in
+ 				-l*)
--- zabbix-1.6.6.orig/debian/patches/00list
+++ zabbix-1.6.6/debian/patches/00list
@@ -0,0 +1 @@
+netsnmp.m4
--- zabbix-1.6.6.orig/debian/po/cs.po
+++ zabbix-1.6.6/debian/po/cs.po
@@ -0,0 +1,165 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# Martin Sin <martin.sin@zshk.cz>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1:1.1.1-3\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-05-19 19:28+0200\n"
+"Last-Translator: Martin Sin <martin.sin@zshk.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Adresa počítače se serverem Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Zadejte prosím název nebo IP adresu počítače se serverem Zabbix, ke kterému "
+"se chcete připojit."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Přenastavení webového serveru pro použití Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix podporuje všechny webové servery podporované PHP5, samozřejmě pouze "
+"Apache je možno nastavit automaticky."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr "Zvolte prosím verzi Apache, který chcete používat spolu s Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Přejete si nyní restartovat váš webserver(y)?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Pro použití provedených změn nastavení Zabbix, je potřeba restartovat váš "
+"webserver(y)."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Zvolte prosím, zda chcete provést restart automaticky nebo později ručně."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Zadejte prosím port, na kterém běží váš server Zabbix. Tato informace je "
+"důležitá pro pokročilé frontendové funkce."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Port serveru Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Zadejte prosím název nebo IP adresu počítače se serverem Zabbix, ke kterému "
+"se chcete připojit."
+
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Zadejte prosím název nebo IP adresu počítače se serverem Zabbix, ke "
+#~ "kterému se chcete připojit. Tuto informaci požadují některé pokročilé "
+#~ "frontendové  funkce."
+
+#~ msgid "apache, apache-ssl, apache-perl, apache2"
+#~ msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#~ msgid ""
+#~ "Zabbix supports any web server that php4 does, but this automatic "
+#~ "configuration process only supports Apache. Please select which  apache "
+#~ "version you want to configure the Zabbix frontend for."
+#~ msgstr ""
+#~ "Zabbix podporuje všechny webové servery s php4, tento automatický proces "
+#~ "ale podporuje pouze Apache. Vyberte prosím, kterou verzi apache nastavit "
+#~ "jako frontend Zabbix."
+
+#~ msgid "Type of Database Server:"
+#~ msgstr "Druh databázového serveru:"
+
+#~ msgid "Database Server Host Address:"
+#~ msgstr "Adresa databázového serveru:"
+
+#~ msgid ""
+#~ "Please enter the host name or the address of the database server you want "
+#~ "to connect to."
+#~ msgstr ""
+#~ "Zadejte prosím jméno nebo adresu databázového serveru, ke kterému se "
+#~ "chcete připojit."
+
+#~ msgid "Database name:"
+#~ msgstr "Jméno databáze:"
+
+#~ msgid "This is the database where your zabbix-server stores all data."
+#~ msgstr "Do této databáze bude zabbix-server ukládat všechna data."
+
+#~ msgid "Database username:"
+#~ msgstr "Jméno uživatele databáze:"
+
+#~ msgid "This is the username used for accessing the zabbix-server database."
+#~ msgstr "Toto uživatelské jméno slouží pro přístup k databázi zabbix-server."
+
+#~ msgid "Database password:"
+#~ msgstr "Heslo uživatele databáze:"
+
+#~ msgid "Please specify what password the previously entered database uses."
+#~ msgstr "Zadejte prosím heslo, které se používá pro databázi."
--- zabbix-1.6.6.orig/debian/po/pt_BR.po
+++ zabbix-1.6.6/debian/po/pt_BR.po
@@ -0,0 +1,133 @@
+# zabbix Brazilian Portuguese translation.
+# Copyright (C) 2008 THE zabbix's COPYRIGHT HOLDER
+# This file is distributed under the same license as the zabbix package.
+# Cesar Domingos <cesar@4linux.com.br>, 2008.
+# Eder L. Marques <eder@edermarques.net>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-03-15 21:56+0900\n"
+"Last-Translator: Eder L. Marques <eder@edermarques.net>\n"
+"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
+"org>\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: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Endereço de máquina do servidor Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Por favor, informe o nome de máquina ou o endereço IP do servidor Zabbix ao "
+"qual você quer conectar."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Servidor web a reconfigurar para o Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"O Zabbix suporta qualquer servidor web suportado pelo PHP5, porém apenas o "
+"Apache pode ser configurado automaticamente."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Por favor, selecione que versão do Apache você quer configurar para o "
+"frontend do Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Reiniciar o(s) servidor(es) web agora?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Para aplicar as mudanças necessárias a configuração do Zabbix, o servidor "
+"web precisa ser reiniciado."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Por favor, escolha se você prefere fazer isto automaticamente agora ou "
+"manualmente depois."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Por favor, informe o nome de máquina ou o endereço IP do servidor Zabbix ao "
+"qual você quer conectar."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid "Zabbix server host address:"
+msgid "Zabbix server port:"
+msgstr "Endereço de máquina do servidor Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Por favor, informe o nome de máquina ou o endereço IP do servidor Zabbix ao "
+"qual você quer conectar."
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or IP address of the Zabbix server you want "
+#~| "to connect to."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Por favor, informe o nome de máquina ou o endereço IP do servidor Zabbix "
+#~ "ao qual você quer conectar."
--- zabbix-1.6.6.orig/debian/po/fr.po
+++ zabbix-1.6.6/debian/po/fr.po
@@ -0,0 +1,182 @@
+# Translation of zabbix debconf templates to French
+# Copyright (C) 2005-2009 Debian French l10n team <debian-l10n-french@lists.debian.org>
+# This file is distributed under the same license as the zabbix package.
+#
+# Translators:
+#  Yves Rütschlé <l10n@rutschle.net>, 2006.
+#  Guillaume Delacour <gui@iroqwa.org>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-04-28 13:21+0100\n"
+"Last-Translator: Guillaume Delacour <gui@iroqwa.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Adresse du serveur Zabbix :"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Veuillez entrer le nom ou l'adresse du serveur Zabbix auquel vous voulez "
+"vous connecter."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Serveur(s) web à reconfigurer pour Zabbix :"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix gère n'importe quel serveur web géré par PHP5, cependant seulement "
+"Apache sera configuré automatiquement."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Veuillez choisir la version d'Apache à configurer pour le frontal Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Faut-il redémarrer le(s) serveur(s) web maintenant ?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Les changements ne seront pris en compte qu'après le redémarrage du serveur "
+"web."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Veuillez choisir si vous souhaitez le redémarrer automatiquement maintenant "
+"ou vous-même plus tard."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Veuillez entrer le port du serveur Zabbix auquel vous voulez vous connecter. "
+"Ceci est requis pour certaines fonctionnalités avancées du frontal."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Port du serveur Zabbix :"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Veuillez entrer le nom ou l'adresse du serveur Zabbix auquel vous voulez "
+"vous connecter."
+
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Veuillez entrer le nom ou l'adresse IP du serveur Zabbix auquel vous "
+#~ "voulez vous connecter. Ceci est requis pour certaines fonctionnalités "
+#~ "avancées du frontal."
+
+#~ msgid "apache, apache-ssl, apache-perl, apache2"
+#~ msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#~ msgid ""
+#~ "Zabbix supports any web server that php4 does, but this automatic "
+#~ "configuration process only supports Apache. Please select which  apache "
+#~ "version you want to configure the Zabbix frontend for."
+#~ msgstr ""
+#~ "Zabbix gère les mêmes serveurs Web que php4, mais ce processus de "
+#~ "configuration automatique ne fonctionne qu'avec Apache. Veuillez "
+#~ "sélectionner la version d'Apache pour laquelle vous désirez configurer le "
+#~ "frontal de Zabbix."
+
+#~ msgid "Type of Database Server:"
+#~ msgstr "Type du serveur de base de données :"
+
+#~ msgid "Database Server Host Address:"
+#~ msgstr "Adresse du serveur de bases de données :"
+
+#~ msgid ""
+#~ "Please enter the host name or the address of the database server you want "
+#~ "to connect to."
+#~ msgstr ""
+#~ "Veuillez entrer le nom ou l'adresse du serveur de base de données que "
+#~ "vous désirez utiliser."
+
+#~ msgid "Database name:"
+#~ msgstr "Nom de la base de données :"
+
+#~ msgid "This is the database where your zabbix-server stores all data."
+#~ msgstr ""
+#~ "Veuillez entrer le nom de la base de données où votre serveur Zabbix "
+#~ "stocke ses données."
+
+#~ msgid "Database username:"
+#~ msgstr "Nom de l'utilisateur de la base de données :"
+
+#~ msgid "This is the username used for accessing the zabbix-server database."
+#~ msgstr ""
+#~ "Veuillez entrer le nom d'utilisateur pour accéder à la base de données de "
+#~ "Zabbix."
+
+#~ msgid "Database password:"
+#~ msgstr "Mot de passe :"
+
+#~ msgid "Please specify what password the previously entered database uses."
+#~ msgstr ""
+#~ "Veuillez entrer le mot de passe de l'utilisateur qui accédera à la base "
+#~ "de données."
+
+#~ msgid "What is your Zabbix server host address?"
+#~ msgstr " "
+
+#~ msgid "If your password is empty, type \"none\"."
+#~ msgstr "Si le mot de passe est vide, entrez « none »."
--- zabbix-1.6.6.orig/debian/po/es.po
+++ zabbix-1.6.6/debian/po/es.po
@@ -0,0 +1,157 @@
+# zabbix po-debconf translation to Spanish
+# Copyright (C) 2009 Software in the Public Interest
+# This file is distributed under the same license as the zabbix package.
+#
+# Changes:
+#   - Initial translation
+#       Francisco Javier Cuadrado <fcocuadrado@gmail.com>, 2009
+#
+# Traductores, si no conocen el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+#       info -n '(gettext)PO Files'
+#       info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+#   - El proyecto de traducción de Debian al español
+#     http://www.debian.org/intl/spanish/
+#     especialmente las notas y normas de traducción en
+#     http://www.debian.org/intl/spanish/notas
+#
+#   - La guía de traducción de po's de debconf:
+#     /usr/share/doc/po-debconf/README-trans
+#     o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1:1.6.4-2\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-05-08 14:01+0100\n"
+"Last-Translator: Francisco Javier Cuadrado <fcocuadrado@gmail.com>\n"
+"Language-Team: Debian l10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Dirección de la máquina del servidor de Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Introduzca el nombre de la máquina o la dirección IP del servidor de Zabbix "
+"al que quiere conectarse."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Reconfiguración del servidor web que utiliza Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix permite utilizar cualquier servidor web que pueda utilizar PHP5, sin "
+"embargo sólo se puede configurar automáticamente Apache."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Elija que versión de Apache quiere configurar para la interfaz de Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "¿Desea reiniciar el/los servidor/es web ahora?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Para poder aplicar los cambios necesarios en la configuración de Zabbix, el "
+"servidor web se tiene que reiniciar."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Elija si prefiere realizarlo automáticamente ahora o manualmente más tarde."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Introduzca el puerto que está utilizando el servidor de Zabbix. Esto es "
+"necesario para algunas funcionalidades avanzadas de la interfaz («frontend»)."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Puerto del servidor de Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Introduzca el nombre de la máquina o la dirección IP del servidor de Zabbix "
+"al que quiere conectarse."
+
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Introduzca el nombre de la máquina o la dirección IP del servidor de "
+#~ "Zabbix al que quiere conectarse. Esto es necesario para algunas "
+#~ "funcionalidades avanzadas de la interfaz («frontend»)."
+
+#~ msgid "apache, apache-ssl, apache-perl, apache2"
+#~ msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#~ msgid ""
+#~ "Zabbix supports any web server that php4 does, but this automatic "
+#~ "configuration process only supports Apache. Please select which  apache "
+#~ "version you want to configure the Zabbix frontend for."
+#~ msgstr ""
+#~ "Zabbix permite utilizar cualquier servidor web que utilice php4, pero "
+#~ "este proceso de configuración automática sólo se puede realizar con "
+#~ "Apache. Seleccione que versión de apache quiere configurar para la "
+#~ "interfaz («frontend») de Zabbix."
--- zabbix-1.6.6.orig/debian/po/nl.po
+++ zabbix-1.6.6/debian/po/nl.po
@@ -0,0 +1,149 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE 'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the  package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2007-10-29 12:48+0100\n"
+"Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n"
+"Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Dutch\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Adres van de Zabbix-server:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or the address of the Zabbix server you  want "
+#| "to connect to."
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Wat is de computernaam of het IP-adres van de Zabbix-server waarmee u "
+"verbinding wilt maken?"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+#, fuzzy
+#| msgid "Webserver Reconfiguration:"
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Te herconfigureren webserver:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+#, fuzzy
+#| msgid "Would you like to restart your webserver(s) now?"
+msgid "Restart the web server(s) now?"
+msgstr "Wilt u de webserver(s) nu herstarten?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+#, fuzzy
+#| msgid ""
+#| "Remember that in order to apply the changes your webserver(s) has/have to "
+#| "be restarted."
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Vergeet niet dat de aanpassingen aan uw webserver(s) pas van kracht worden "
+"eens deze herstart zijn."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or the address of the Zabbix server you  want "
+#| "to connect to."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Wat is de computernaam of het IP-adres van de Zabbix-server waarmee u "
+"verbinding wilt maken?"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid "Zabbix server host address:"
+msgid "Zabbix server port:"
+msgstr "Adres van de Zabbix-server:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or the address of the Zabbix server you  want "
+#| "to connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Wat is de computernaam of het IP-adres van de Zabbix-server waarmee u "
+"verbinding wilt maken?"
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or the address of the Zabbix server you  want "
+#~| "to connect to."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Wat is de computernaam of het IP-adres van de Zabbix-server waarmee u "
+#~ "verbinding wilt maken?"
+
+#~ msgid "apache, apache-ssl, apache-perl, apache2"
+#~ msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#~ msgid ""
+#~ "Zabbix supports any web server that php4 does, but this automatic "
+#~ "configuration process only supports Apache. Please select which  apache "
+#~ "version you want to configure the Zabbix frontend for."
+#~ msgstr ""
+#~ "Zabbix ondersteunt alle webservers die php4 aankunnen, maar dit "
+#~ "automatisch configuratieproces kan helaas enkel met Apache overweg. Voor "
+#~ "welke versie van apache wilt u het Zabbix-frontend configureren?"
--- zabbix-1.6.6.orig/debian/po/eu.po
+++ zabbix-1.6.6/debian/po/eu.po
@@ -0,0 +1,130 @@
+# translation of zabbix-eu.po to Euskara
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Piarres Beobide <pi@beobide.net>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix-eu\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-03-05 21:12+0100\n"
+"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
+"Language-Team: Euskara <debian-l10n-basque@lists.debian.org>\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: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Zabbix zerbitzariaren ostalari helbidea:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Mesedez zehaztu konektatu nahi duzun Zabbix zerbitzariaren ostalari izena "
+"edo IP helbidea."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Zabbix-entzat birkonfiguratu behar den web-zerbitzaria:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"PHP5-ek onartzen duen edozein web-zerbitzari onartzen du Zabbix-ek, hala ere "
+"Apache zerbitzariak bakarrik konfiguratu daitezke automatikoki."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Mesedez hautatu zein Apache bertsiorentzat nahi duzun Zabbix interfazea "
+"konfiguratzea."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Berrabiarazi web zerbitzaria(k) orain?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Zabbix konfiguratzeko beharrezkoak diren aldaketa hauek ezarri ahal izateko, "
+"web-zerbitzaria berrabiarazi egin behar da."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Mesedez hautatu automatikoki orain edo beranduago eskuz egin nahi duzun."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Mesedez zehaztu konektatu nahi duzun Zabbix zerbitzariaren ostalari izena "
+"edo IP helbidea."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid "Zabbix server host address:"
+msgid "Zabbix server port:"
+msgstr "Zabbix zerbitzariaren ostalari helbidea:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Mesedez zehaztu konektatu nahi duzun Zabbix zerbitzariaren ostalari izena "
+"edo IP helbidea."
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or IP address of the Zabbix server you want "
+#~| "to connect to."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Mesedez zehaztu konektatu nahi duzun Zabbix zerbitzariaren ostalari izena "
+#~ "edo IP helbidea."
--- zabbix-1.6.6.orig/debian/po/pl.po
+++ zabbix-1.6.6/debian/po/pl.po
@@ -0,0 +1,142 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# Michał Pena <mp@horisone.com>, 2007.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1:1.4.4-2\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2007-12-21 16:05+0100\n"
+"Last-Translator: Michał Pena <mp@horisone.com>\n"
+"Language-Team: Polski <debian-l10n-polish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Adres hosta serwera Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or the address of the Zabbix server you  want "
+#| "to connect to."
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr "Wprowadź adres serwera Zabbix, do którego chcesz się podłączyć."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+#, fuzzy
+#| msgid "Webserver Reconfiguration:"
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Zmiana konfiguracji serwera WWW:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+#, fuzzy
+#| msgid "Would you like to restart your webserver(s) now?"
+msgid "Restart the web server(s) now?"
+msgstr "Czy chcesz teraz uruchomić ponownie serwer(y) WWW?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+#, fuzzy
+#| msgid ""
+#| "Remember that in order to apply the changes your webserver(s) has/have to "
+#| "be restarted."
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Pamiętaj, że serwer WWW musi zostać uruchomiony ponownie aby wprowadzone "
+"zmiany zaczęły funkcjonować."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or the address of the Zabbix server you  want "
+#| "to connect to."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr "Wprowadź adres serwera Zabbix, do którego chcesz się podłączyć."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid "Zabbix server host address:"
+msgid "Zabbix server port:"
+msgstr "Adres hosta serwera Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or the address of the Zabbix server you  want "
+#| "to connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr "Wprowadź adres serwera Zabbix, do którego chcesz się podłączyć."
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or the address of the Zabbix server you  want "
+#~| "to connect to."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr "Wprowadź adres serwera Zabbix, do którego chcesz się podłączyć."
+
+#~ msgid "apache, apache-ssl, apache-perl, apache2"
+#~ msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#~ msgid ""
+#~ "Zabbix supports any web server that php4 does, but this automatic "
+#~ "configuration process only supports Apache. Please select which  apache "
+#~ "version you want to configure the Zabbix frontend for."
+#~ msgstr ""
+#~ "Serwer Zabbix obsługuje dowolny serwer WWW, który posiada wsparcie dla "
+#~ "PHP5, lecz ta automatyczna konfiguracja jest możliwa jedynie dla serwerów "
+#~ "Apache. Proszę wybrać którą wersję apache chcesz skonfigurować interfejs "
+#~ "użytkownika Zabbiksa."
--- zabbix-1.6.6.orig/debian/po/it.po
+++ zabbix-1.6.6/debian/po/it.po
@@ -0,0 +1,124 @@
+# Italian (it) translation of debconf templates for zabbix
+# Copyright (C) 2007 Software in the Public Interest
+# This file is distributed under the same license as the zabbix package.
+# Luca Monducci <luca.mo@tiscali.it>, 2007-2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1:1.6.4 italian debconf templates\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-05-17 20:51+0200\n"
+"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Nome macchina o indirizzo del server Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Inserire il nome della macchina o l'indirizzo IP del server Zabbix a cui "
+"connettersi."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Server web da riconfigurare per Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix supporta qualsiasi server web con PHP5, ma solo Apache può essere "
+"configurato automaticamente."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Selezionare le versioni di Apache da configurare per l'interfaccia utente di "
+"Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Riavviare i server web adesso?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Per rendere effettive le modifiche per la configurazione di Zabbix è "
+"necessario riavviare i server web."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Scegliere se riavviarli automaticamente adesso oppure manualmente in seguito."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Inserire la porta del server Zabbix in uso. Questo è necessario per alcune "
+"delle fuzionalità avanzate dell'interfaccia."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Porta del server Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Inserire il nome della macchina o l'indirizzo IP del server Zabbix a cui "
+"connettersi."
+
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Inserire il nome della macchina o l'indirizzo IP del server Zabbix a cui "
+#~ "connettersi. Questo è necessario per alcune delle fuzionalità avanzate "
+#~ "dell'interfaccia."
--- zabbix-1.6.6.orig/debian/po/POTFILES.in
+++ zabbix-1.6.6/debian/po/POTFILES.in
@@ -0,0 +1,2 @@
+[type: gettext/rfc822deb] zabbix-agent.templates
+[type: gettext/rfc822deb] zabbix-frontend-php.templates
--- zabbix-1.6.6.orig/debian/po/templates.pot
+++ zabbix-1.6.6/debian/po/templates.pot
@@ -0,0 +1,95 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-10-13 23:48+0200\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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
--- zabbix-1.6.6.orig/debian/po/pt.po
+++ zabbix-1.6.6/debian/po/pt.po
@@ -0,0 +1,175 @@
+# Portuguese translation for zabbix debconf messages.
+# Copyright (C) Tiago Fernandes <tjg.fernandes@gmail.com>, 2006
+# This file is distributed under the same license as the Zabbix package.
+# Tiago Fernandes <tjg.fernandes@gmail.com>, 2006-2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1.1.3-1\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-04-28 20:24+0100\n"
+"Last-Translator: Tiago Fernandes <tjg.fernandes@gmail.com>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Country: PORTUGAL\n"
+"X-Poedit-Language: Portuguese\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Endereço do servidor Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Por favor, insira o nome ou endereço do servidor Zabbix que deseja ligar."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Servidor web a reconfigurar para o Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"O Zabbix suporta qualquer servidor web suportado por PHP5, contudo apenas o "
+"Apache poderá ser configurado automaticamente."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Por favor, seleccione a versão do Apache para a qual deseja configurar o "
+"interface web do Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Reiniciar o(s) servidor(es) web agora?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"É necessário reiniciar o servidor web, por forma a aplicar as alterações "
+"necessárias na configuração do Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Por favor, escolha se prefere fazer a alteração agora automaticamente ou se "
+"mais tarde manualmente."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced Frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Por favor, insira casa a porta que o seu servidor Zabbix está a usar. Isto é "
+"necessário para algumas funcionalidades avançadas do Interface."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Porta do servidor Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Por favor, insira o nome ou endereço do servidor Zabbix que deseja ligar."
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or the address of the Zabbix server you  want "
+#~| "to connect to. This is needed for some advanced Frontend  functionality."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Por favor, insira o nome ou endereço do servidor Zabbix ao qual deseja "
+#~ "deseja ligar. Isto é necessário para algumas funcionalidades avançadas do "
+#~ "Interface."
+
+#~ msgid "apache, apache-ssl, apache-perl, apache2"
+#~ msgstr "apache, apache-ssl, apache-perl, apache2"
+
+#~ msgid ""
+#~ "Zabbix supports any web server that php4 does, but this automatic "
+#~ "configuration process only supports Apache. Please select which  apache "
+#~ "version you want to configure the Zabbix frontend for."
+#~ msgstr ""
+#~ "O Zabbix suporta qualquer servidor web, que seja também suportado pelo "
+#~ "php4. No entanto este processo automático de configuração apenas suporta "
+#~ "o Apache. Por favor escolha qual a versão do apache para a qual deseja "
+#~ "configurar o frontend Zabbix."
+
+#~ msgid "Type of Database Server:"
+#~ msgstr "Tipo do servidor de Base de Dados:"
+
+#~ msgid "Database Server Host Address:"
+#~ msgstr "Endereço do Servidor da Base de Dados:"
+
+#~ msgid ""
+#~ "Please enter the host name or the address of the database server you want "
+#~ "to connect to."
+#~ msgstr ""
+#~ "Por favor, insira o nome ou endereço do servidor de base de dados, onde "
+#~ "quer ligar."
+
+#~ msgid "Database name:"
+#~ msgstr "Nome da Base de Dados:"
+
+#~ msgid "This is the database where your zabbix-server stores all data."
+#~ msgstr "Esta é a base de dados onde o zabbix-server guarda todos os dados."
+
+#~ msgid "Database username:"
+#~ msgstr "Utilizador da Base de Dados:"
+
+#~ msgid "This is the username used for accessing the zabbix-server database."
+#~ msgstr ""
+#~ "Este é o utilizador usado para aceder à base de dados, do servidor zabbix."
+
+#~ msgid "Database password:"
+#~ msgstr "Palavra-chave da Base de Dados:"
+
+#~ msgid "Please specify what password the previously entered database uses."
+#~ msgstr ""
+#~ "Por favor, indique qual a palavra-chave que a base de dados anterior usa."
--- zabbix-1.6.6.orig/debian/po/ru.po
+++ zabbix-1.6.6/debian/po/ru.po
@@ -0,0 +1,129 @@
+# 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 <yuray@komyakino.ru>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1:1.6.2-2\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-04-26 13:13+0400\n"
+"Last-Translator: Sergey Alyoshin <alyoshin.s@gmail.com>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\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: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Адрес сервера Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Введите имя машины или IP-адрес сервера Zabbix, к которому вы хотите "
+"подключиться."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Веб-сервер перенастройки Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix работает с любым веб-сервером, поддерживающим PHP5, однако "
+"автоматическая настройка может быть выполнена только для Apache."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Укажите версию Apache, которая должна быть настроена в качестве интерфейса "
+"Zabbix."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Перезапустить веб-сервер(ы)?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr "Чтобы активировать настройку Zabbix, нужно перезапустить веб-сервер."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Укажите, нужно ли сделать это автоматически прямо сейчас, или вы сделаете "
+"это позже вручную."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced Frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Введите номер порта используемый сервером Zabbix. Это необходимо для "
+"расширенного графического интерфейса."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Порт сервера Zabbix:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Введите имя машины или IP-адрес сервера Zabbix, к которому вы хотите "
+"подключиться."
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or the address of the Zabbix server you  want "
+#~| "to connect to. This is needed for some advanced Frontend  functionality."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Введите имя машины или адрес сервера Zabbix, к которому вы хотите "
+#~ "подключиться. Это необходимо для расширенного графического интерфейса."
--- zabbix-1.6.6.orig/debian/po/sv.po
+++ zabbix-1.6.6/debian/po/sv.po
@@ -0,0 +1,125 @@
+# Swedish translation of zabbix debconf template.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the zabbix package.
+# 
+# Daniel Nylander <po@danielnylander.se>, 2006.
+# Martin Bagge <brother@bsnet.se>, 2009.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix debconf\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-05-12 20:06+0100\n"
+"Last-Translator: Martin Bagge <brother@bsnet.se>\n"
+"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: swedish\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Värdadress till Zabbix-servern:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Ange värdnamnet eller adressen till den Zabbix-server som du vill ansluta "
+"till."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Omkonfiguration av webbserver för Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix kan användas med webbservrar som har stöd för PHP5 men automatiska "
+"inställningarna kan endast göras för Apache."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr "Ange vilken Apacheversion som Zabbix ska använda sig av."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Vill du starta om din webbserver nu?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"För att inställningarna för Zabbix ska börja gälla måste din webbserver "
+"startas om."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Ange om du vill genomföra automatiska inställningar eller om du föredrar att "
+"göra det manuellt senare."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Ange porten som din Zabbix-server använder. Detta behövs för vissa "
+"avancerade funktioner."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Port för Zabbix-servern:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Ange värdnamnet eller adressen till den Zabbix-server som du vill ansluta "
+"till."
+
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Ange värdnamnet eller IP-adressen till den Zabbix-server som du vill "
+#~ "ansluta till. Detta behövs för viss avancerade funktioner,"
--- zabbix-1.6.6.orig/debian/po/de.po
+++ zabbix-1.6.6/debian/po/de.po
@@ -0,0 +1,170 @@
+# Translation of zabbix debconf templates to German
+# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2007-2009.
+# This file is distributed under the same license as the zabbix package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1:1.6.4-1\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-06-08 19:02+0200\n"
+"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Host-Adresse des Zabbix-Server:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Bitte geben Sie den Hostnamen oder die IP-Adresse des Zabbix-Servers an, zu "
+"dem Sie sich verbinden wollen."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Webserver, der fr Zabbix neu konfiguriert werden soll:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix untersttzt jeden Webserver, der auch von PHP5 untersttzt wird, "
+"allerdings kann nur Apache automatisch konfiguriert werden."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Bitte whlen Sie die Version von Apache aus, fr die die Zabbix-Oberflche "
+"konfiguriert werden soll."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Den/Die Webserver jetzt neu starten?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Damit die nderungen an der Konfiguration von Zabbix aktiviert werden, mu "
+"der Webserver neu gestartet werden."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Bitte whlen Sie aus, ob dies jetzt automatisch erfolgen soll oder spter "
+"manuell."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Bitte geben Sie den Port Ihres Zabbix-Servers an. Dieser wird fr bestimmte "
+"Funktionen der fortgeschrittenen Oberflche bentigt."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Port des Zabbix-Servers:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Bitte geben Sie den Hostnamen oder die IP-Adresse des Zabbix-Servers an, zu "
+"dem Sie sich verbinden wollen."
+
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Bitte geben Sie den Hostnamen oder die IP-Adresse des Zabbix-Servers an, "
+#~ "zu dem Sie sich verbinden wollen. Dies wird fr bestimmte Funktionen der "
+#~ "fortgeschrittenen Oberflche bentigt."
+
+#~ msgid ""
+#~ "Zabbix supports any web server that php4 does, but this automatic "
+#~ "configuration process only supports Apache. Please select which  apache "
+#~ "version you want to configure the Zabbix frontend for."
+#~ msgstr ""
+#~ "Zabbix untersttzt jeden Webserver, den auch Php4 untersttzt, aber "
+#~ "dieser automatische Konfigurationsprozess untersttzt nur Apache. Bitte "
+#~ "whlen Sie aus, fr welche Apache-Version Sie die Zabbix-Oberflche "
+#~ "konfigurieren wollen."
+
+#~ msgid "Type of Database Server:"
+#~ msgstr "Art des Datenbank-Servers:"
+
+#~ msgid "Database Server Host Address:"
+#~ msgstr "Host-Adresse des Datenbank-Servers:"
+
+#~ msgid ""
+#~ "Please enter the host name or the address of the database server you want "
+#~ "to connect to."
+#~ msgstr ""
+#~ "Bitte geben Sie den Hostnamen oder die Adresse des Datenbank-Servers an, "
+#~ "zu dem Sie sich verbinden wollen."
+
+#~ msgid "Database name:"
+#~ msgstr "Datenbankname:"
+
+#~ msgid "This is the database where your zabbix-server stores all data."
+#~ msgstr ""
+#~ "Dies ist die Datenbank, in der Ihr zabbix-server alle Daten speichert."
+
+#~ msgid "Database username:"
+#~ msgstr "Datenbank-Benutzername:"
+
+#~ msgid "This is the username used for accessing the zabbix-server database."
+#~ msgstr ""
+#~ "Dies ist der Benutzername, der zum Zugriff auf die zabbix-server-"
+#~ "Datenbank verwendet wird."
+
+#~ msgid "Database password:"
+#~ msgstr "Datenbank-Passwort:"
+
+#~ msgid "Please specify what password the previously entered database uses."
+#~ msgstr ""
+#~ "Bitte geben Sie an, welches Passwort die eben eingegebene Datenbank "
+#~ "verwendet."
--- zabbix-1.6.6.orig/debian/po/ja.po
+++ zabbix-1.6.6/debian/po/ja.po
@@ -0,0 +1,116 @@
+# Copyright (C) 2008-2009 Zabbix Maintainers <kobold-zabbix@debian.org>
+# This file is distributed under the same license as zabbix package.
+# Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2008-2009.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix 1:1.6.5-1\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-09-07 07:26+0900\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Zabbix サーバのアドレス:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr "接続先の Zabbix サーバのホスト名か IP アドレスを入力してください。"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Zabbix のため、ウェブサーバの再設定:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix は PHP5 をサポートしているウェブサーバであれば動作しますが、自動的に設"
+"定できるのは Apache のみです。"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Zabbix のフロントエンドに設定する Apache のバージョンを選んでください。"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "今すぐウェブサーバを再起動しますか?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"Zabbix の設定のための変更を反映するにはウェブサーバを再起動する必要がありま"
+"す。"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr "今自動的に設定をするか、後ほど手動で設定をするかを選んでください。"
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Zabbix サーバが使っているポート番号を入力してください。これは複雑なフロントエ"
+"ンドのうちのいくつかが動作するのに必要です。"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Zabbix サーバのポート番号:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr "接続先の Zabbix サーバのホスト名か IP アドレスを入力してください。"
+
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "接続先の Zabbix サーバのホスト名か IP アドレスを入力してください。これは複"
+#~ "雑なフロントエンドのうちのいくつかが動作するのに必要です。"
--- zabbix-1.6.6.orig/debian/po/fi.po
+++ zabbix-1.6.6/debian/po/fi.po
@@ -0,0 +1,128 @@
+# Esko Arajärvi <edu@iki.fi>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: zabbix\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-04-29 22:33+0300\n"
+"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
+"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\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"
+"X-Generator: Lokalize 0.3\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Zabbix-palvelimen verkko-osoite:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Anna sen Zabbix-palvelimen verkkonimi tai IP-osoite, johon haluat ottaa "
+"yhteyden."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "WWW-palvelimet, jonka asetuksia muokataan Zabbixia varten:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix tukee kaikkia WWW-palvelimia, jotka tukevat PHP5:tä. Kuitenkin vain "
+"Apachen asetukset voidaan tehdä automaattisesti."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Valitse minkä Apachen version asetuksia muokataan Zabbixin käyttöliittymää "
+"varten."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Käynnistetäänkö WWW-palvelimet uudelleen nyt?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"WWW-palvelimet täytyy käynnistää uudelleen Zabbixia varten tehtyjen "
+"asetusten ottamiseksi käyttöön."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr ""
+"Valitse tehdäänkö uudelleenkäynnistys automaattisesti nyt vai myöhemmin "
+"käsin."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the port your Zabbix server is using. This is needed for "
+#| "some advanced Frontend functionality."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Anna portti, jota Zabbix-palvelin käyttää. Eräät käyttöliittymätoiminnot "
+"tarvitsevat tätä."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+msgid "Zabbix server port:"
+msgstr "Zabbix-palvelimen portti:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Anna sen Zabbix-palvelimen verkkonimi tai IP-osoite, johon haluat ottaa "
+"yhteyden."
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or the address of the Zabbix server you  want "
+#~| "to connect to. This is needed for some advanced Frontend  functionality."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Anna sen Zabbix-palvelimen verkkonimi tai IP-osoite, johon haluat ottaa "
+#~ "yhteyden. Eräät käyttöliittymätoiminnot tarvitsevat tätä."
--- zabbix-1.6.6.orig/debian/po/nb.po
+++ zabbix-1.6.6/debian/po/nb.po
@@ -0,0 +1,124 @@
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Bjørn Steensrud <bsteensr@skogkatt.homelinux.org>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: nb\n"
+"Report-Msgid-Bugs-To: zabbix@packages.debian.org\n"
+"POT-Creation-Date: 2009-09-27 23:05+0200\n"
+"PO-Revision-Date: 2009-02-26 20:08+0100\n"
+"Last-Translator: Bjørn Steensrud <bsteensr@skogkatt.homelinux.org>\n"
+"Language-Team: Norwegian Bokmål <i18n-nb@lister.ping.uio.no>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 0.3\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid "Zabbix server host address:"
+msgstr "Vertsadresse for Zabbix-tjener:"
+
+#. Type: string
+#. Description
+#: ../zabbix-agent.templates:2001 ../zabbix-frontend-php.templates:4001
+msgid ""
+"Please enter the host name or IP address of the Zabbix server you want to "
+"connect to."
+msgstr ""
+"Oppgi vertsnavn eller IP-adresse til den Zabbix-tjeneren du vil kople til."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid "Web server to reconfigure for Zabbix:"
+msgstr "Vevtjener som skal settes opp for Zabbix:"
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Zabbix supports any web server supported by PHP5, however only Apache can be "
+"configured automatically."
+msgstr ""
+"Zabbix støtter alle vevtjenere som har støtte i PHP5, men bare Apache kan "
+"settes opp automatisk."
+
+#. Type: multiselect
+#. Description
+#: ../zabbix-frontend-php.templates:2001
+msgid ""
+"Please select which Apache version you want to configure the Zabbix frontend "
+"for."
+msgstr ""
+"Velg hvilken versjon av Apache som du skal sette opp Zabbix-forstykket for."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid "Restart the web server(s) now?"
+msgstr "Skal vevtjener(ne) startes på nytt?"
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"In order to apply the changes needed for Zabbix configuration, the web "
+"server needs to be restarted."
+msgstr ""
+"For å ta i bruk endringene som trengs for Zabbix-oppsett må vevtjeneren "
+"startes på nytt."
+
+#. Type: boolean
+#. Description
+#: ../zabbix-frontend-php.templates:3001
+msgid ""
+"Please choose whether you prefer doing it automatically now or manually "
+"later."
+msgstr "Velg om det skal gjøres automatisk nå, eller manuelt senere."
+
+#. Type: string
+#. Description
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:4001 ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "This is needed for some advanced frontend functionalities."
+msgstr ""
+"Oppgi vertsnavn eller IP-adresse til den Zabbix-tjeneren du vil kople til."
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid "Zabbix server host address:"
+msgid "Zabbix server port:"
+msgstr "Vertsadresse for Zabbix-tjener:"
+
+#. Type: string
+#. Description
+#: ../zabbix-frontend-php.templates:5001
+#, fuzzy
+#| msgid ""
+#| "Please enter the host name or IP address of the Zabbix server you want to "
+#| "connect to."
+msgid "Please enter the port used by the Zabbix server."
+msgstr ""
+"Oppgi vertsnavn eller IP-adresse til den Zabbix-tjeneren du vil kople til."
+
+#, fuzzy
+#~| msgid ""
+#~| "Please enter the host name or IP address of the Zabbix server you want "
+#~| "to connect to."
+#~ msgid ""
+#~ "Please enter the host name or the IP address of the Zabbix server you "
+#~ "want to connect to. This is needed for some advanced frontend "
+#~ "functionality."
+#~ msgstr ""
+#~ "Oppgi vertsnavn eller IP-adresse til den Zabbix-tjeneren du vil kople til."
--- zabbix-1.6.6.orig/debian/templates/dbconfig.php.in
+++ zabbix-1.6.6/debian/templates/dbconfig.php.in
@@ -0,0 +1,24 @@
+<?php
+global $DB;
+
+$DB["TYPE"]      = "_DBC_DBTYPE_";
+$DB["SERVER"]    = "_DBC_DBSERVER_";
+$DB["PORT"]      = "0";
+$DB["DATABASE"]  = "_DBC_DBNAME_";
+$DB["USER"]      = "_DBC_DBUSER_";
+$DB["PASSWORD"]  = "_DBC_DBPASS_";
+$ZBX_SERVER      = "_ZBX_SERVER_";
+$ZBX_SERVER_PORT = "_ZBX_SERVERPORT_";
+
+$IMAGE_FORMAT_DEFAULT    = IMAGE_FORMAT_PNG;
+
+
+## dont remove this!
+## This is a work-around for dbconfig-common
+if($DB["TYPE"] == "mysql") 
+	$DB["TYPE"] = "MYSQL";
+
+if($DB["TYPE"] == "pgsql")
+	$DB["TYPE"] = "POSTGRESQL";
+##
+?>
--- zabbix-1.6.6.orig/debian/templates/zabbix_agent.conf.in
+++ zabbix-1.6.6/debian/templates/zabbix_agent.conf.in
@@ -0,0 +1,27 @@
+# This is config file for zabbix_agent
+# To get more information about ZABBIX, 
+# go http://www.zabbix.com
+
+# IP address of ZABBIX server
+# Connections from other hosts will be denied
+
+Server=@zabbixserver@
+
+# Spend no more than Timeout seconds on processing
+# Must be between 1 and 30
+
+Timeout=3
+
+####### USER-DEFINED MONITORED PARAMETERS #######
+# Format: UserParameter=<key>,<shell command>
+# Note that shell command must not return empty string or EOL only
+#UserParameter=system.test,who|wc -l
+### Set of parameter for monitoring MySQL server (v3.23.42 and later)
+### Change -u<username> and add -p<password> if required
+#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
+#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
+#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
+#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
+#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
+#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
+#UserParameter=mysql.version,mysql -V
--- zabbix-1.6.6.orig/debian/templates/zabbix_proxy.conf.in
+++ zabbix-1.6.6/debian/templates/zabbix_proxy.conf.in
@@ -0,0 +1,175 @@
+# This is config file for ZABBIX server process
+# To get more information about ZABBIX, 
+# go http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+# IP address (or hostname) of ZABBIX servers. 
+
+Server=127.0.0.1
+
+# Server port for sending active checks
+
+ServerPort=10051
+
+# Unique hostname.
+
+Hostname=proxy
+
+# Number of pre-forked instances of pollers
+# Default value is 5
+# This parameter must be between 0 and 255
+#StartPollers=5
+
+# Number of pre-forked instances of IPMI pollers
+# Default value is 0
+# This parameter must be between 0 and 255
+#StartIPMIPollers=0
+
+# Number of pre-forked instances of pollers for unreachable hosts
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartPollersUnreachable=1
+
+# Number of pre-forked instances of trappers
+# Default value is 5
+# This parameter must be between 0 and 255
+#StartTrappers=5
+
+# Number of pre-forked instances of ICMP pingers
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartPingers=1
+
+# Number of pre-forked instances of discoverers
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartDiscoverers=1
+
+# Number of pre-forked instances of HTTP pollers
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartHTTPPollers=1
+
+# Listen port for trapper. Default port number is 10051. This parameter 
+# must be between 1024 and 32767
+#ListenPort=10051
+
+# Source IP address for outgouing connections
+#SourceIP=
+
+# Listen interface for trapper. Trapper will listen all network interfaces
+# if this parameter is missing.
+#ListenIP=127.0.0.1
+
+# How often ZABBIX will perform sending hearbeat message
+# (in seconds)
+# Default value is 60 seconds
+# Set to 0 to disable heartbeat messages
+# This parameter must be between 0 and 3600
+#HeartbeatFrequency=60
+
+# How often ZABBIX will perform sync configuration data
+# (in seconds)
+# Default value is 3600 seconds (1h)
+# This parameter must be between 1 and 604800 (1 week)
+#ConfigFrequency=3600
+
+# How often ZABBIX will perform housekeeping procedure
+# (in hours)
+# Default value is 1 hour
+# Housekeeping is removing unnecessary information from
+# tables history, alert, and alarms
+# This parameter must be between 1 and 24
+#HousekeepingFrequency=1
+
+# How often ZABBIX will try to send unsent alerts
+# (in seconds)
+# Default value is 30 seconds
+#SenderFrequency=30
+
+# Local bufer size in hours. Proxy will keep collected data N hours.
+# Default value is 0 hours
+#ProxyLocalBuffer=0
+
+# Offline buffer size in hours. It is used when server is not available.
+# Older data is removed.
+# Default value is 1 hours
+#ProxyOfflineBuffer=1
+
+# Specifies debug level
+# 0 - debug is not created
+# 1 - critical information
+# 2 - error information
+# 3 - warnings (default)
+# 4 - for debugging (produces lots of information)
+#DebugLevel=3
+
+# Specifies how long we wait for agent response (in sec)
+# Must be between 1 and 30 
+Timeout=5
+
+# Specifies how many seconds trapper may spend processing new data
+# Must be between 1 and 30 
+#TrapperTimeout=5
+
+# After how many seconds of unreachability treat a host as unavailable
+#UnreachablePeriod=45
+
+# How ofter check host for availability during the unreachability period
+#UnavailableDelay=15
+
+# How ofter check host for availability during the unavailability period
+#UnavailableDelay=60
+
+# Name of PID file
+PidFile=/var/run/zabbix-proxy/zabbix_proxy.pid
+
+# Name of log file
+# If not set, syslog is used
+LogFile=/var/log/zabbix-proxy/zabbix_proxy.log
+
+# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
+#LogFileSize=1
+
+# Location for custom alert scripts
+AlertScriptsPath=/home/zabbix/bin/
+
+# Location of external scripts
+#ExternalScripts=/etc/zabbix/externalscripts
+
+# Location of 'fping. Default is /usr/sbin/fping
+# Make sure that fping binary has root permissions and SUID flag set
+FpingLocation=/usr/bin/fping
+
+# Location of fping6. Default is /usr/sbin/fping6
+# Make sure that fping binary has root permissions and SUID flag set
+#Fping6Location=/usr/sbin/fping6
+
+# Temporary directory. Default is /tmp
+#TmpDir=/tmp
+
+# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Defauls is 60 seconds.
+#PingerFrequency=60
+
+# Database host name
+# Default is localhost
+
+DBHost=_DBC_DBSERVER_
+
+# Database name
+# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
+DBName=_DBC_DBNAME_
+
+# Database user
+
+DBUser=_DBC_DBUSER_
+
+# Database password
+# Comment this line if no password used
+
+DBPassword=_DBC_DBPASS_
+
+# Connect to MySQL using Unix socket?
+
+#DBSocket=/tmp/mysql.sock
--- zabbix-1.6.6.orig/debian/templates/zabbix_agentd.conf.in
+++ zabbix-1.6.6/debian/templates/zabbix_agentd.conf.in
@@ -0,0 +1,88 @@
+# This is config file for zabbix_agentd
+# To get more information about ZABBIX, go http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+# List of comma delimited IP addresses (or hostnames) of ZABBIX servers. 
+# No spaces allowed. First entry is used for sending active checks.
+# Note that hostnames must resolve hostname->IP address and
+# IP address->hostname.
+
+Server=@zabbixserver@
+
+# Server port for sending active checks
+
+#ServerPort=10051
+
+# Unique hostname. Required for active checks.
+
+Hostname=localhost
+
+# Listen port. Default is 10050
+
+#ListenPort=10050
+
+# IP address to bind agent
+# If missing, bind to all available IPs
+
+#ListenIP=127.0.0.1
+
+# Number of pre-forked instances of zabbix_agentd.
+# Default value is 5
+# This parameter must be between 1 and 16
+
+StartAgents=5
+
+# How often refresh list of active checks. 2 minutes by default.
+
+#RefreshActiveChecks=120
+
+# Disable active checks. The agent will work in passive mode listening server.
+
+#DisableActive=1
+
+# Enable remote commands for ZABBIX agent. By default remote commands disabled.
+
+#EnableRemoteCommands=1
+
+# Specifies debug level
+# 0 - debug is not created
+# 1 - critical information
+# 2 - error information
+# 3 - warnings
+# 4 - information (default)
+# 5 - for debugging (produces lots of information)
+
+DebugLevel=3
+
+# Name of PID file
+
+PidFile=/var/run/zabbix-agent/zabbix_agentd.pid
+
+# Name of log file.
+# If not set, syslog will be used
+
+LogFile=/var/log/zabbix-agent/zabbix_agentd.log
+
+# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
+#LogFileSize=1
+
+# Spend no more than Timeout seconds on processing
+# Must be between 1 and 30
+
+Timeout=3
+
+####### USER-DEFINED MONITORED PARAMETERS #######
+# Format: UserParameter=<key>,<shell command>
+# Note that shell command must not return empty string or EOL only
+#UserParameter=system.test,who|wc -l
+### Set of parameter for monitoring MySQL server (v3.23.42 and later)
+### Change -u<username> and add -p<password> if required
+#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
+#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
+#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
+#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
+#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
+#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
+#UserParameter=mysql.version,mysql -V
+
--- zabbix-1.6.6.orig/debian/templates/zabbix_server.conf.in
+++ zabbix-1.6.6/debian/templates/zabbix_server.conf.in
@@ -0,0 +1,152 @@
+# This is config file for ZABBIX server process
+# To get more information about ZABBIX, 
+# go http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+# This defines unique NodeID in distributed setup,
+# Default value 0 (standalone server)
+# This parameter must be between 0 and 999
+#NodeID=0
+
+# Number of pre-forked instances of pollers
+# Default value is 5
+# This parameter must be between 0 and 255
+#StartPollers=5
+
+# Number of pre-forked instances of IPMI pollers
+# Default value is 0
+# This parameter must be between 0 and 255
+#StartIPMIPollers=0
+
+# Number of pre-forked instances of pollers for unreachable hosts
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartPollersUnreachable=1
+
+# Number of pre-forked instances of trappers
+# Default value is 5
+# This parameter must be between 0 and 255
+#StartTrappers=5
+
+# Number of pre-forked instances of ICMP pingers
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartPingers=1
+
+# Number of pre-forked instances of discoverers
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartDiscoverers=1
+
+# Number of pre-forked instances of HTTP pollers
+# Default value is 1
+# This parameter must be between 0 and 255
+#StartHTTPPollers=1
+
+# Listen port for trapper. Default port number is 10051. This parameter 
+# must be between 1024 and 32767
+
+#ListenPort=10051
+
+# Source IP address for outgoing connections
+#SourceIP=
+
+# Listen interface for trapper. Trapper will listen on all network interfaces
+# if this parameter is missing.
+
+#ListenIP=127.0.0.1
+
+# How often ZABBIX will perform housekeeping procedure
+# (in hours)
+# Default value is 1 hour
+# Housekeeping is removing unnecessary information from
+# tables history, alert, and alarms
+# This parameter must be between 1 and 24
+
+#HousekeepingFrequency=1
+
+# How often ZABBIX will try to send unsent alerts
+# (in seconds)
+# Default value is 30 seconds
+SenderFrequency=30
+
+# Uncomment this line to disable housekeeping procedure
+#DisableHousekeeping=1
+
+# Specifies debug level
+# 0 - debug is not created
+# 1 - critical information
+# 2 - error information
+# 3 - warnings (default)
+# 4 - for debugging (produces lots of information)
+
+DebugLevel=3
+
+# Specifies how long we wait for agent response (in sec)
+# Must be between 1 and 30 
+Timeout=5
+
+# Specifies how many seconds trapper may spend processing new data
+# Must be between 1 and 300 
+#TrapperTimeout=5
+
+# After how many seconds of unreachability treat a host as unavailable
+#UnreachablePeriod=45
+
+# How often check host for availability during the unavailability period
+#UnavailableDelay=60
+
+# Name of PID file
+
+PidFile=/var/run/zabbix-server/zabbix_server.pid
+
+# Name of log file
+# If not set, syslog is used
+
+LogFile=/var/log/zabbix-server/zabbix_server.log
+
+# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
+#LogFileSize=1
+
+# Location for custom alert scripts
+AlertScriptsPath=/etc/zabbix/alert.d/
+
+# Location of external scripts
+#ExternalScripts=/etc/zabbix/externalscripts
+
+# Location of fping. Default is /usr/sbin/fping
+# Make sure that fping binary has root permissions and SUID flag set
+#FpingLocation=/usr/sbin/fping
+
+# Location of fping6. Default is /usr/sbin/fping6
+# Make sure that fping binary has root permissions and SUID flag set
+#Fping6Location=/usr/sbin/fping6
+
+# Temporary directory. Default is /tmp
+#TmpDir=/tmp
+
+# Frequency of ICMP pings (item keys 'icmpping' and 'icmppingsec'). Default is 60 seconds.
+#PingerFrequency=60
+
+# Database host name
+# Default is localhost
+
+DBHost=_DBC_DBSERVER_
+
+# Database name
+# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
+DBName=_DBC_DBNAME_
+
+# Database user
+
+DBUser=_DBC_DBUSER_
+
+# Database password
+# Comment this line if no password used
+
+DBPassword=_DBC_DBPASS_
+
+# Connect to MySQL using Unix socket?
+
+#DBSocket=/tmp/mysql.sock
