--- dlz-ldap-enum-1.0.2.orig/debian/watch
+++ dlz-ldap-enum-1.0.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/opentelecoms-org/dlz-ldap-enum/tags .*/tarball/(\d[\d\.]+)
--- dlz-ldap-enum-1.0.2.orig/debian/compat
+++ dlz-ldap-enum-1.0.2/debian/compat
@@ -0,0 +1 @@
+8
--- dlz-ldap-enum-1.0.2.orig/debian/dirs
+++ dlz-ldap-enum-1.0.2/debian/dirs
@@ -0,0 +1 @@
+etc/bind
--- dlz-ldap-enum-1.0.2.orig/debian/README.Debian
+++ dlz-ldap-enum-1.0.2/debian/README.Debian
@@ -0,0 +1,14 @@
+
+
+
+This module is NOT automatically added to your bind configuration
+
+Please see the upstream README instructions for details about how
+to get started
+
+A sample config file is installed to /etc/bind/dlz-ldap-enum.conf
+
+Please see the home page for latest details/versions:
+
+    http://www.opentelecoms.org/dlz-ldap-enum
+
--- dlz-ldap-enum-1.0.2.orig/debian/copyright
+++ dlz-ldap-enum-1.0.2/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dlz-ldap-enum
+Upstream-Contact: Daniel Pocock <daniel@pocock.com.au>
+Source: https://github.com/opentelecoms-org/dlz-ldap-enum
+
+Files: *
+Copyright: 2012, Daniel Pocock <daniel@pocock.com.au>
+           2002, Stichting NLnet, Netherlands, <stichting@nlnet.nl>
+           2002, Rob Butler
+           1999, Internet Systems Consortium, Inc. ("ISC")
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ . 
+ THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+
+Files: debian/*
+Copyright: 2012, Daniel Pocock <daniel@pocock.com.au> and
+           2009, Gregor Jasny <gjasny@googlemail.com>
+License: GPL-3+
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
--- dlz-ldap-enum-1.0.2.orig/debian/install
+++ dlz-ldap-enum-1.0.2/debian/install
@@ -0,0 +1 @@
+debian/conf/dlz_ldap_enum.conf etc/bind
--- dlz-ldap-enum-1.0.2.orig/debian/changelog
+++ dlz-ldap-enum-1.0.2/debian/changelog
@@ -0,0 +1,11 @@
+dlz-ldap-enum (1.0.2-1.2.201403200804) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Thu, 20 Mar 2014 08:04:19 +0100
+
+dlz-ldap-enum (1.0.2-1) unstable; urgency=low
+
+  * Initial import (Closes: #673296)
+
+ -- Daniel Pocock <daniel@pocock.com.au>  Thu, 17 May 2012 15:46:42 +0000
--- dlz-ldap-enum-1.0.2.orig/debian/control
+++ dlz-ldap-enum-1.0.2/debian/control
@@ -0,0 +1,22 @@
+Source: dlz-ldap-enum
+Section: admin
+Priority: extra
+Maintainer: Daniel Pocock <daniel@pocock.com.au>
+Uploaders: Stuart Teasdale <sdt@debian.org>
+Build-Depends: cdbs, debhelper (>= 8.0.0), autotools-dev, libldap2-dev, libbind-dev
+Standards-Version: 3.9.3
+DM-Upload-Allowed: yes
+Homepage: http://www.opentelecoms.org/dlz-ldap-enum
+Vcs-Git: git://git.debian.org/collab-maint/dlz-ldap-enum.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/dlz-ldap-enum.git;a=summary
+
+Package: dlz-ldap-enum
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, bind9
+Description: Plug-in for bind9 that uses LDAP data to fulfill ENUM requests
+ New versions of bind9 provide a dynamically loaded module interface
+ dubbed dlz_dlopen.  This module is linked to bind9 at runtime using the
+ dlz_dlopen.  The module accepts ENUM query strings and consults the
+ LDAP database to map the phone number to an email address.  It then
+ returns NAPTR records providing SIP and Jabber/XMPP routes based
+ on the email address in LDAP.
--- dlz-ldap-enum-1.0.2.orig/debian/rules
+++ dlz-ldap-enum-1.0.2/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+
+# Add here any variable or target overrides you need.
+
+CPPFLAGS="-DUSE_COPIED_DLZ_DLOPEN_H"
+
+binary-fixup/dlz-ldap-enum::
+	sed -i "/dependency_libs/ s/'.*'/''/" `find debian/dlz-ldap-enum -name '*.la'`
+
--- dlz-ldap-enum-1.0.2.orig/debian/conf/dlz_ldap_enum.conf
+++ dlz-ldap-enum-1.0.2/debian/conf/dlz_ldap_enum.conf
@@ -0,0 +1,30 @@
+
+
+/* The parameters are:
+
+1. name of shared object
+2. number of LDAP connections to open/pool
+3. LDAP version (v2 or v3)
+4. Bind method (simple, krb5)
+5. Bind DN
+6. Bind credential
+7. LDAP server hostname/IP (multiple values permitted)
+8. ENUM suffix
+9. SOA
+10. nameserver for NS record in the zone
+11. default TTL value
+12. (was zone query - not used now)
+13. Query for mapping E.164 number to an email (or SIP/chat) address
+*/
+
+dlz "example" {
+    database "dlopen /usr/lib/dlz-ldap-enum/dlz_ldap_enum.so 2
+        v3 simple {cn=admin,dc=example,dc=org} {secret} {127.0.0.1}
+        e164-addr.example.org
+        {localhost. root.example.org. 2 604800 86400 2419200 604800}
+        localhost
+        60
+        ldap:///ou=$zone$,dc=example,dc=org???objectclass=top
+        ldap:///dc=example,dc=org?mail?sub?telephoneNumber=$record$";
+};
+
--- dlz-ldap-enum-1.0.2.orig/debian/source/format
+++ dlz-ldap-enum-1.0.2/debian/source/format
@@ -0,0 +1 @@
+1.0
