diff -pruN 6.0.0-2/debian/changelog 6.0.0-3/debian/changelog
--- 6.0.0-2/debian/changelog	2011-03-15 16:44:30.000000000 +0000
+++ 6.0.0-3/debian/changelog	2011-03-15 14:28:40.000000000 +0000
@@ -1,3 +1,11 @@
+portmap (6.0.0-3) unstable; urgency=low
+
+  * Add insserv.conf.d file to provide virtual $portmap facility.
+  * Add chdir call when chrooting (Closes: #595366).
+  * Update Danish debconf translation (Closes: #599850).
+
+ -- Luk Claes <luk@debian.org>  Sat, 12 Mar 2011 16:40:09 +0100
+
 portmap (6.0.0-2) unstable; urgency=low
 
   [ Anibal Monsalve Salazar ]
diff -pruN 6.0.0-2/debian/control 6.0.0-3/debian/control
--- 6.0.0-2/debian/control	2011-03-15 16:44:30.000000000 +0000
+++ 6.0.0-3/debian/control	2011-03-15 14:28:40.000000000 +0000
@@ -2,7 +2,7 @@ Source: portmap
 Section: net
 Priority: standard
 Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
-Uploaders: Petter Reinholdtsen <pere@debian.org>
+Uploaders: Petter Reinholdtsen <pere@debian.org>, Luk Claes <luk@debian.org>
 Build-Depends: libwrap0-dev, debhelper (>= 7), quilt
 Standards-Version: 3.8.4
 Homepage: http://neil.brown.name/portmap/
diff -pruN 6.0.0-2/debian/dirs 6.0.0-3/debian/dirs
--- 6.0.0-2/debian/dirs	2011-03-15 16:44:30.000000000 +0000
+++ 6.0.0-3/debian/dirs	2011-03-15 14:28:40.000000000 +0000
@@ -1,3 +1,4 @@
 sbin
 usr/share/man/man8
 usr/share/doc/portmap
+etc/insserv.conf.d
diff -pruN 6.0.0-2/debian/insserv.conf.d/portmap 6.0.0-3/debian/insserv.conf.d/portmap
--- 6.0.0-2/debian/insserv.conf.d/portmap	1970-01-01 01:00:00.000000000 +0100
+++ 6.0.0-3/debian/insserv.conf.d/portmap	2011-03-15 14:28:40.000000000 +0000
@@ -0,0 +1 @@
+$portmap	portmap
diff -pruN 6.0.0-2/debian/patches/05-595366-chroot.diff 6.0.0-3/debian/patches/05-595366-chroot.diff
--- 6.0.0-2/debian/patches/05-595366-chroot.diff	1970-01-01 01:00:00.000000000 +0100
+++ 6.0.0-3/debian/patches/05-595366-chroot.diff	2011-03-15 14:28:40.000000000 +0000
@@ -0,0 +1,13 @@
+Index: portmap-6.0.0/portmap.c
+===================================================================
+--- portmap-6.0.0.orig/portmap.c	2011-03-12 16:29:47.000000000 +0100
++++ portmap-6.0.0/portmap.c	2011-03-12 16:30:12.000000000 +0100
+@@ -376,6 +376,8 @@
+ 		if (chroot(chroot_path) < 0) {
+ 			syslog(LOG_ERR, "couldn't do chroot");
+ 			exit(1);
++		} else {
++			chdir(chroot_path);
+ 		}
+ 	}
+ 	check_startup();
diff -pruN 6.0.0-2/debian/patches/series 6.0.0-3/debian/patches/series
--- 6.0.0-2/debian/patches/series	2011-03-15 16:44:30.000000000 +0000
+++ 6.0.0-3/debian/patches/series	2011-03-15 14:28:40.000000000 +0000
@@ -3,3 +3,4 @@
 02-448470-pidfile.diff
 03-356784-lotsofinterfaces.diff
 04-460156-no-pie.diff
+05-595366-chroot.diff
diff -pruN 6.0.0-2/debian/po/da.po 6.0.0-3/debian/po/da.po
--- 6.0.0-2/debian/po/da.po	2011-03-15 16:44:30.000000000 +0000
+++ 6.0.0-3/debian/po/da.po	2011-03-15 14:28:40.000000000 +0000
@@ -1,28 +1,20 @@
+# Danish translation portmap.
+# Copyright (C) 2010 portmap & nedenstÃ¥ende oversÃ¦ttere.
+# This file is distributed under the same license as the portmap package.
+# Claus Hindsgaul <claus.hindsgaul@gmail.com>, 2005, 2006.
+# Joe Hansen <joedalton2@yahoo.dk>, 2010.
 #
-#    Translators, if you are not familiar with the PO format, gettext
-#    documentation is worth reading, especially sections dedicated to
-#    this format, e.g. by running:
-#         info -n '(gettext)PO Files'
-#         info -n '(gettext)Header Entry'
-#    Some information specific to po-debconf are available at
-#            /usr/share/doc/po-debconf/README-trans
-#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
-#    Developers do not need to manually edit POT or PO files.
-#
-# Claus Hindsgaul <claus_h@image.dk>, 2005.
-# Claus Hindsgaul <claus.hindsgaul@gmail.com>, 2006.
 msgid ""
 msgstr ""
-"Project-Id-Version: portmap debconf\n"
+"Project-Id-Version: portmap\n"
 "Report-Msgid-Bugs-To: anibal@debian.org\n"
 "POT-Creation-Date: 2007-09-19 06:50+0200\n"
-"PO-Revision-Date: 2006-03-17 08:49+0100\n"
-"Last-Translator: Claus Hindsgaul <claus.hindsgaul@gmail.com>\n"
-"Language-Team: Danish\n"
+"PO-Revision-Date: 2010-10-11 05:26+0100\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.2\n"
 
 #. Type: boolean
 #. Description
@@ -33,48 +25,33 @@ msgstr "Skal portmap bindes til loopback
 #. Type: boolean
 #. Description
 #: ../templates:2001
-#, fuzzy
-#| msgid ""
-#| "Portmap by default listens to all IP addresses. However, if you are not "
-#| "providing network RPC services to remote clients (you are if you are "
-#| "setting up a NFS or NIS server) you can safely bind it to the loopback  "
-#| "IP address (127.0.0.1)"
 msgid ""
 "By default, portmap listens to all IP addresses. However, if this machine "
 "does not provide network RPC services (such as NIS or NFS) to remote "
 "clients, you can safely bind it to the loopback IP address (127.0.0.1)."
 msgstr ""
-"Portmap lytter som udgangspunkt til alle IP-adresser. Men hvis du ikke "
-"tilbyder RPC-services på netværket til fjerne klienter (det gør du, hvis du "
-"sætter en NFS- eller NIS-server op), kan du uden videre binde den til "
-"loopback IP-adressen (127.0.0.1)"
+"Portmap lytter som udgangspunkt til alle IP-adresser. Men hvis denne "
+"maskine ikke tilbyder RPC-tjenester pÃ¥ netvÃ¦rket (sÃ¥som NIS eller NFS) "
+"til eksterne klienter, kan du uden videre binde den til loopback "
+"IP-adressen (127.0.0.1)."
 
 #. Type: boolean
 #. Description
 #: ../templates:2001
-#, fuzzy
-#| msgid ""
-#| "This will allow RPC local services (like FAM) to work properly, while "
-#| "preventing remote systems from accessing your RPC services."
 msgid ""
 "This will allow RPC local services (like FAM) to work properly, while "
 "preventing remote systems from accessing the RPC services."
 msgstr ""
-"Dette vil gøre at lokale RPC-services (såsom FAM) kan fungere ordentligt, "
-"mens fjerne systemer hindres i at tilgå dine RPC-services."
+"Dette vil gÃ¸re, at lokale RPC-services (sÃ¥som FAM) kan fungere ordentligt, "
+"mens eksterne systemer hindres i at tilgÃ¥ dine RPC-services."
 
 #. Type: boolean
 #. Description
 #: ../templates:2001
-#, fuzzy
-#| msgid ""
-#| "You can also change this configuration by editing the OPTIONS line in "
-#| "the /etc/default/portmap file. If you just don't specify the -i option it "
-#| "will bind to all interfaces."
 msgid ""
 "This configuration can be changed by editing the OPTIONS line in the /etc/"
 "default/portmap file and adapting the use of the -i option to your needs."
 msgstr ""
-"Du kan også ændre denne indstilling ved at redigere OPTIONS-linjen i filen /"
-"etc/default/portmap.conf. Hvis du undlader at angive tilvalget -i, vil den "
-"binde sig til alle netkort."
+"Du kan ogsÃ¥ Ã¦ndre denne indstilling ved at redigere OPTIONS-linjen i filen "
+"/etc/default/portmap.conf og overtage brugen af tilvalget -i til dine behov."
+
diff -pruN 6.0.0-2/debian/rules 6.0.0-3/debian/rules
--- 6.0.0-2/debian/rules	2011-03-15 16:44:30.000000000 +0000
+++ 6.0.0-3/debian/rules	2011-03-15 14:28:40.000000000 +0000
@@ -46,6 +46,7 @@ binary-arch: build install
 	dh_installdocs
 	dh_installexamples
 	dh_installinit -- start 43 S 2 3 4 5 . start 32 0 6 . stop 81 1 .
+	dh_install debian/insserv.conf.d/portmap etc/insserv.conf.d
 	dh_installcron
 	dh_installman
 	dh_installinfo
