--- mono-zeroconf-0.9.0.orig/debian/control
+++ mono-zeroconf-0.9.0/debian/control
@@ -0,0 +1,91 @@
+Source: mono-zeroconf
+Section: libs
+Priority: optional
+Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>
+Uploaders: Sebastian Dröge <slomo@debian.org>
+Build-Depends: debhelper (>= 7), dpatch
+Build-Depends-Indep: cli-common-dev (>= 0.5.7),
+ mono-devel (>= 2.4.3),
+ monodoc-base (>= 2.0),
+ pkg-config
+Standards-Version: 3.8.3
+Homepage: http://mono-project.com/Mono_Zeroconf
+Vcs-Browser: http://git.debian.org/?p=pkg-cli-libs/packages/mono-zeroconf.git
+Vcs-Git: git://git.debian.org/git/pkg-cli-libs/packages/mono-zeroconf.git
+
+Package: libmono-zeroconf1.0-cil
+Architecture: all
+Depends: ${cli:Depends}, ${misc:Depends}
+Recommends: avahi-daemon
+Description: CLI library for multicast DNS service discovery
+ Mono.Zeroconf is a cross platform Zero Configuration Networking library for
+ Mono and .NET. It provides a unified API for performing the most common
+ zeroconf operations on a variety of platforms and subsystems: all the
+ operating systems supported by Mono and both the Avahi and
+ Bonjour/mDNSResponder transports.
+ .
+ By using Mono.ZeroConf applications can use a single API that will work
+ regardless of the underlying implementation that a particular operating
+ system uses.
+ .
+ Applications can publish services that will be exposed to other computers on
+ the network and also query the local machines on the network for services
+ that could have been exposed.
+ .
+ This package contains the Mono.Zeroconf library itself.
+
+Package: libmono-zeroconf-cil-dev
+Architecture: all
+Depends: libmono-zeroconf1.0-cil (= ${binary:Version}), ${misc:Depends}
+Replaces: libmono-zeroconf1.0-cil (<< 0.9.0-2)
+Description: CLI library for multicast DNS service discovery
+ Mono.Zeroconf is a cross platform Zero Configuration Networking library for
+ Mono and .NET. It provides a unified API for performing the most common
+ zeroconf operations on a variety of platforms and subsystems: all the
+ operating systems supported by Mono and both the Avahi and
+ Bonjour/mDNSResponder transports.
+ .
+ By using Mono.ZeroConf applications can use a single API that will work
+ regardless of the underlying implementation that a particular operating
+ system uses.
+ .
+ Applications can publish services that will be exposed to other computers on
+ the network and also query the local machines on the network for services
+ that could have been exposed.
+ .
+ This package contains development files for the Mono.Zeroconf library, and
+ should be used for compilation
+
+Package: mzclient
+Architecture: all
+Depends: ${cli:Depends}, ${misc:Depends}, libmono-zeroconf1.0-cil (= ${binary:Version})
+Description: CLI library for multicast DNS service discovery (commandline tool)
+ Mono.Zeroconf is a cross platform Zero Configuration Networking library for
+ Mono and .NET. It provides a unified API for performing the most common
+ zeroconf operations on a variety of platforms and subsystems: all the
+ operating systems supported by Mono and both the Avahi and
+ Bonjour/mDNSResponder transports.
+ .
+ By using Mono.ZeroConf applications can use a single API that will work
+ regardless of the underlying implementation that a particular operating
+ system uses.
+ .
+ Applications can publish services that will be exposed to other computers on
+ the network and also query the local machines on the network for services
+ that could have been exposed.
+ .
+ This package contains the mzclient tool, that can be used for resolving or
+ publishing services from the commandline.
+
+Package: monodoc-mono-zeroconf-manual
+Section: doc
+Architecture: all
+Depends: monodoc-manual, ${misc:Depends}
+Description: compiled XML documentation for mono-zeroconf
+ The MonoDoc Project is the documentation framework of the Mono project which
+ provides detailed API documentation for all Mono components and the Mono CLI
+ implementation.
+ .
+ This packages contains the compiled XML documentation for
+ mono-zeroconf of MonoDoc.
+
--- mono-zeroconf-0.9.0.orig/debian/libmono-zeroconf-cil-dev.install
+++ mono-zeroconf-0.9.0/debian/libmono-zeroconf-cil-dev.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/pkgconfig/mono-zeroconf*.pc
--- mono-zeroconf-0.9.0.orig/debian/compat
+++ mono-zeroconf-0.9.0/debian/compat
@@ -0,0 +1 @@
+7
--- mono-zeroconf-0.9.0.orig/debian/monodoc-mono-zeroconf-manual.install
+++ mono-zeroconf-0.9.0/debian/monodoc-mono-zeroconf-manual.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/monodoc/sources
--- mono-zeroconf-0.9.0.orig/debian/rules
+++ mono-zeroconf-0.9.0/debian/rules
@@ -0,0 +1,51 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+VERSION = $(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
+
+
+# provide patch and unpatch targets
+include /usr/share/dpatch/dpatch.make
+include /usr/share/cli-common/cli.make
+
+build: build-stamp
+build-stamp: $(DPATCH_STAMPFN)
+	dh build --before dh_auto_configure
+	dh_auto_configure -- MCS=/usr/bin/mono-csc --prefix=/usr --disable-mdnsresponder
+	dh build --after dh_auto_configure
+	touch $@
+
+clean: unpatch
+	dh $@
+
+install:
+	dh $@
+
+binary-indep: build install
+	dh $@ --before dh_makeclilibs
+	dh_makeclilibs -m0.9.0
+	dh $@ --after dh_makeclilibs
+
+binary-arch:
+
+binary: binary-indep binary-arch
+
+get-orig-source:
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(VERSION) \
+		--download-version $(VERSION) \
+		--destdir . \
+		--force-download \
+		--rename
+
+.PHONY: build clean binary-indep binary-arch binary install 
--- mono-zeroconf-0.9.0.orig/debian/libmono-zeroconf1.0-cil.install
+++ mono-zeroconf-0.9.0/debian/libmono-zeroconf1.0-cil.install
@@ -0,0 +1,6 @@
+debian/tmp/usr/lib/mono/gac/Mono.Zeroconf/4.0.*/Mono.Zeroconf.dll* /usr/lib/cli/Mono.Zeroconf-1.0/
+debian/tmp/usr/lib/mono/gac/policy.1.0.Mono.Zeroconf/*/* /usr/lib/cli/Mono.Zeroconf-1.0/
+debian/tmp/usr/lib/mono/gac/policy.2.0.Mono.Zeroconf/*/* /usr/lib/cli/Mono.Zeroconf-1.0/
+debian/tmp/usr/lib/mono/gac/policy.3.0.Mono.Zeroconf/*/* /usr/lib/cli/Mono.Zeroconf-1.0/
+debian/tmp/usr/lib/mono/gac/policy.4.0.Mono.Zeroconf/*/* /usr/lib/cli/Mono.Zeroconf-1.0/
+debian/tmp/usr/lib/mono-zeroconf/Mono.Zeroconf.Providers.AvahiDBus.dll* /usr/lib/cli/Mono.Zeroconf-1.0/
--- mono-zeroconf-0.9.0.orig/debian/libmono-zeroconf1.0-cil.installcligac
+++ mono-zeroconf-0.9.0/debian/libmono-zeroconf1.0-cil.installcligac
@@ -0,0 +1,5 @@
+/usr/lib/cli/Mono.Zeroconf-1.0/Mono.Zeroconf.dll
+/usr/lib/cli/Mono.Zeroconf-1.0/policy.1.0.Mono.Zeroconf.dll
+/usr/lib/cli/Mono.Zeroconf-1.0/policy.2.0.Mono.Zeroconf.dll
+/usr/lib/cli/Mono.Zeroconf-1.0/policy.3.0.Mono.Zeroconf.dll
+/usr/lib/cli/Mono.Zeroconf-1.0/policy.4.0.Mono.Zeroconf.dll
--- mono-zeroconf-0.9.0.orig/debian/watch
+++ mono-zeroconf-0.9.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://banshee-project.org/files/mono-zeroconf/mono-zeroconf-(.*)\.tar\.gz
--- mono-zeroconf-0.9.0.orig/debian/changelog
+++ mono-zeroconf-0.9.0/debian/changelog
@@ -0,0 +1,116 @@
+mono-zeroconf (0.9.0-2) unstable; urgency=low
+
+  * debian/control,
+    debian/rules:
+    + Use mono-csc from mono-devel 2.4.3
+  * debian/control:
+    + No-change bump to Standards 3.8.3
+    + Remove individual library build-deps no longer needed for 
+      mono-devel 2.4.3
+  * debian/monodoc-mono-zeroconf-manual.postinst:
+    + Remove - index updating is now handled by DPKG triggers
+  * debian/libmono-zeroconf1.0-cil.links,
+    debian/rules:
+    + Stop renaming pkg-config file
+  * debian/libmono-zeroconf1.0-cil.install,
+    debian/libmono-zeroconf1.0-cil.installcligac,
+    debian/patches/01_pkg-config-path.dpatch,
+    debian/patches/02_provider-factory-path.dpatch:
+    + CLI Policy 0.7 install location, with the exception of 
+      Mono.Zeroconf.Providers.AvahiDBus.dll, which is installed
+      into the wrong place to minimize the degree of upstream
+      patching which would otherwise be needed.
+  * debian/libmono-zeroconf1.0-cil.install,
+    debian/libmono-zeroconf-cil-dev.install,
+    debian/control:
+    + Create unversioned -dev package containing pkg-config file
+
+ -- Jo Shields <directhex@apebox.org>  Tue, 08 Dec 2009 12:18:34 +0000
+
+mono-zeroconf (0.9.0-1) unstable; urgency=low
+
+  [ Jo Shields ]
+  * New upstream release
+  * debian/control:
+    + Bump standards version to 3.8.1
+  * debian/rules:
+    + Implement get-orig-source rule
+  * debian/libmono-zeroconf1.0-cil.install,
+    debian/libmono-zeroconf1.0-cil.installcligac:
+    + Update to reflect 0.4 policy and assembly
+
+  [ Chow Loong Jin ]
+  * debian/control:
+    + Change Vcs-* fields to git
+
+ -- Chow Loong Jin <hyperair@gmail.com>  Thu, 04 Jun 2009 03:34:46 +0800
+
+mono-zeroconf (0.8.0-2) unstable; urgency=low
+
+  [ Jo Shields ]
+  * debian/control:
+    + Add Vcs-* fields
+
+  [ David Paleino ]
+  * debian/rules rewritten using dh7 style
+  * debian/compat bumped to 7
+  * debian/control:
+    + Build-Dependency on debhelper bumped to >= 7
+    + Build-Depends-Indep updated for Mono 2.0 Transition
+  * debian/watch updated
+  * debian/patches/*: descriptions added
+
+  [ Sebastian Dröge ]
+  * Upload to unstable.
+
+ -- Sebastian Dröge <slomo@debian.org>  Wed, 04 Mar 2009 08:10:56 +0100
+
+mono-zeroconf (0.8.0-1) experimental; urgency=low
+
+  * New upstream release:
+    + debian/control:
+      - Update Standards-Version to 3.8.0.
+      - Update Build-Depends.
+    + debian/rules:
+      - Update clilibs to >= 0.8.0.
+
+ -- Sebastian Dröge <slomo@debian.org>  Tue, 28 Oct 2008 11:58:08 +0100
+
+mono-zeroconf (0.7.6-1) unstable; urgency=low
+
+  * New upstream release, adding IPv6 support:
+    + debian/libmono-zeroconf1.0-cil.install,
+      debian/libmono-zeroconf1.0-cil.installcligac:
+      - Update locations and add new policy assembly.
+
+ -- Sebastian Dröge <slomo@debian.org>  Fri, 21 Mar 2008 02:11:13 +0100
+
+mono-zeroconf (0.7.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches/03_assembly-version.dpatch,
+    debian/libmono-zeroconf1.0-cil.install,
+    debian/libmono-zeroconf1.0-cil.installcligac:
+    + Install policy assemblies provided by upstream instead of fixing
+      the assembly version.
+  * debian/control:
+    + Build depend on mono-2.0-devel for al2.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sat, 26 Jan 2008 14:24:30 +0100
+
+mono-zeroconf (0.7.4-1) unstable; urgency=low
+
+  * New upstream bugfix release.
+  * debian/watch:
+    + Fix location (Closes: #459996).
+  * debian/patches/03_assembly-version.dpatch:
+    + Fix assembly version.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 24 Jan 2008 14:02:11 +0100
+
+mono-zeroconf (0.7.3-1) unstable; urgency=low
+
+  * Initial version (Closes: #457143).
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 20 Dec 2007 04:54:46 +0100
+
--- mono-zeroconf-0.9.0.orig/debian/copyright
+++ mono-zeroconf-0.9.0/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Sebastian Dröge <slomo@debian.org> on
+Thu, 20 Dec 2007 04:54:46 +0100
+
+It was downloaded from http://banshee-project.org/files/mzc/
+
+Upstream Authors:
+
+  Aaron Bockover <abockover@novell.com>
+
+Copyright:
+  Copyright (c) 2006-2007 Novell, Inc (http://www.novell.com)
+
+License:
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy
+  of this software and associated documentation files (the "Software"), to
+  deal in the Software without restriction, including without limitation the
+  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+  sell copies of the Software, and to permit persons to whom the Software is
+  furnished to do so, subject to the following conditions:
+  
+  The above copyright notice and this permission notice shall be included in
+  all copies or substantial portions of the Software.
+  
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+  DEALINGS IN THE SOFTWARE.
+
--- mono-zeroconf-0.9.0.orig/debian/mzclient.install
+++ mono-zeroconf-0.9.0/debian/mzclient.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/mzclient
+debian/tmp/usr/lib/mono-zeroconf/MZClient.exe*
--- mono-zeroconf-0.9.0.orig/debian/patches/01_pkg-config-path.dpatch
+++ mono-zeroconf-0.9.0/debian/patches/01_pkg-config-path.dpatch
@@ -0,0 +1,14 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: fix assembly location
+
+@DPATCH@
+
+--- mono-zeroconf/src/mono-zeroconf.pc.in.old	2007-12-20 05:04:09.000000000 +0100
++++ mono-zeroconf/src/mono-zeroconf.pc.in	2007-12-20 05:04:19.000000000 +0100
+@@ -6,5 +6,5 @@
+ Description: Mono library for universal cross platform Zeroconf support via a unified API with built in support for mdnsd and optional support for Avahi.
+ Version: @VERSION@
+ Requires:
+-Libs: -r:${libdir}/mono/mono-zeroconf/Mono.Zeroconf.dll
++Libs: -r:${libdir}/cli/Mono.Zeroconf-1.0/Mono.Zeroconf.dll
+ 
--- mono-zeroconf-0.9.0.orig/debian/patches/00list
+++ mono-zeroconf-0.9.0/debian/patches/00list
@@ -0,0 +1,2 @@
+01_pkg-config-path.dpatch
+02_provider-factory-path.dpatch
--- mono-zeroconf-0.9.0.orig/debian/patches/02_provider-factory-path.dpatch
+++ mono-zeroconf-0.9.0/debian/patches/02_provider-factory-path.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: fix library path
+
+@DPATCH@
+
+--- mono-zeroconf/src/Mono.Zeroconf/Mono.Zeroconf.Providers/ProviderFactory.cs.old	2007-12-20 05:53:53.000000000 +0100
++++ mono-zeroconf/src/Mono.Zeroconf/Mono.Zeroconf.Providers/ProviderFactory.cs	2007-12-20 05:54:11.000000000 +0100
+@@ -86,8 +86,9 @@
+                 for(int i = 0; i < path_parts.Length - 4; i++) {
+                     new_path = Path.Combine(new_path, path_parts[i]);
+                 }
+-                
+-                directories.Add(Path.Combine(new_path, "mono-zeroconf"));
++
++                new_path = Path.Combine(new_path, "cli");
++                directories.Add(Path.Combine(new_path, "Mono.Zeroconf-1.0"));
+             }
+             
+             foreach(string directory in directories) {
