--- libidnkit-1.0.orig/debian/copyright
+++ libidnkit-1.0/debian/copyright
@@ -0,0 +1,17 @@
+This is the jpnic idnkit package, maintained by Guido S. Nickels <gn@intergenia.de>
+on Wed, 10 May 2006 16:59:37 +0200.
+
+The original source can always be found at:
+	http://www.nic.ad.jp/ja/idn/idnkit/download/
+
+Debian package:
+
+Copyright (C) 2006  Guido S. Nickels
+
+Original source: 
+
+Copyright (C) 2000-2002 Japan Network Information Center.  All rights reserved.
+
+License:
+
+See /usr/share/doc/libidnkit/LICENSE.txt
--- libidnkit-1.0.orig/debian/changelog
+++ libidnkit-1.0/debian/changelog
@@ -0,0 +1,19 @@
+libidnkit (1.0-1ig2) unstable; urgency=low
+
+  * fixed a conflict with dnsutils package where idnconv.1.gz is included, too
+
+ -- Guido S. Nickels <gn@intergenia.de>  Mon, 14 May 2007 15:28:45 +0200
+
+libidnkit (1.0-1ig1) unstable; urgency=low
+
+  * package ported to amd64
+  * added some documentation
+  * moved examples to doc directory
+
+ -- Guido S. Nickels <gn@intergenia.de>  Fri, 28 Apr 2006 10:40:42 +0200
+
+libidnkit (1.0-0ig1) unstable; urgency=low
+
+  * initial release
+
+ -- Guido S. Nickels <gn@intergenia.de>  Mon, 20 Mar 2006 15:23:10 +0100
--- libidnkit-1.0.orig/debian/rules
+++ libidnkit-1.0/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	# Add here commands to configure the package.
+ifeq ("$(shell uname)", "SunOS")
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=\$${prefix}/../etc --enable-liteonly
+else
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=\$${prefix}/../etc
+endif
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	-$(MAKE) distclean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/libidnkit.
+	$(MAKE) install prefix=$(CURDIR)/debian/libidnkit/usr
+	mv $(CURDIR)/debian/libidnkit/usr/share/man/man1/idnconv.1 $(CURDIR)/debian/libidnkit/usr/share/man/man1/idnconv-idnkit.1
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	mv $(CURDIR)/debian/libidnkit/etc/idnalias.conf.sample $(CURDIR)/debian/libidnkit/usr/share/doc/libidnkit/examples/idnalias.conf.sample
+	mv $(CURDIR)/debian/libidnkit/etc/idn.conf.sample $(CURDIR)/debian/libidnkit/usr/share/doc/libidnkit/examples/idn.conf.sample
+	dh_install
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-arch
+.PHONY: build clean binary-arch binary install 
--- libidnkit-1.0.orig/debian/control
+++ libidnkit-1.0/debian/control
@@ -0,0 +1,16 @@
+Source: libidnkit
+Section: web
+Priority: optional
+Maintainer: Guido S. Nickels <gn@intergenia.de>
+Build-Depends: debhelper (>= 4.0.0), autotools-dev
+Standards-Version: 3.6.1
+
+Package: libidnkit
+Architecture: any
+Depends:
+Enhances: confixx
+Description: idn conversion library and utility
+ libidnkit (or idnkit) is the idn conversion library as provided by jpnic.
+ .
+ The package contains a library for idn conversion of internet domain names
+ as well as a commandline tool (idnconv)
--- libidnkit-1.0.orig/debian/docs
+++ libidnkit-1.0/debian/docs
@@ -0,0 +1,3 @@
+LICENSE.txt
+README
+README.ja
--- libidnkit-1.0.orig/debian/README.Debian
+++ libidnkit-1.0/debian/README.Debian
@@ -0,0 +1,6 @@
+idn conversion library and tools
+================================
+
+this package contains the idnkit distribution from JPNIC (www.nic.ad.jp)
+
+ -- Guido S. Nickels <gn@intergenia.de>, Wed, 10 May 2006 16:59:37 +0200
--- libidnkit-1.0.orig/debian/compat
+++ libidnkit-1.0/debian/compat
@@ -0,0 +1 @@
+4
--- libidnkit-1.0.orig/debian/dirs
+++ libidnkit-1.0/debian/dirs
@@ -0,0 +1,15 @@
+etc
+usr
+usr/bin
+usr/include
+usr/include/idn
+usr/lib
+usr/share
+usr/share/man
+usr/share/man/man1
+usr/share/man/man3
+usr/share/man/man5
+usr/share/idnkit
+usr/share/doc
+usr/share/doc/libidnkit
+usr/share/doc/libidnkit/examples
--- libidnkit-1.0.orig/debian/README
+++ libidnkit-1.0/debian/README
@@ -0,0 +1,21 @@
+The Debian Package libidnkit
+----------------------------
+
+The 'idnkit' is an open source, BSD-like licensed software that provides
+functionalities about Internationalized Domain Name processing
+standardized at IETF. Major features that idnkit provides are as follows.
+
+libidnkit
+    Core library for IDN processing.
+libidnkitlite
+    Light Weight library for IDN processing. (UTF-8 only)
+idnconv
+    DNS zone / configuration file encoding converter.
+runidn / idn wrapper
+    Dynamic link resolver library for UNIX / Windows.
+BIND 9 patch
+    IDN enhancements for BIND 9 DNS lookup tools. 
+
+You may obtain the original source of this package on jpnic homepage:
+
+http://www.nic.ad.jp/ja/idn/idnkit/download/sources/idnkit-1.0-src.tar.gz
--- libidnkit-1.0.orig/debian/conffiles
+++ libidnkit-1.0/debian/conffiles
@@ -0,0 +1,2 @@
+/etc/idnalias.conf
+/etc/idn.conf
