--- ack-1.39.orig/debian/copyright
+++ ack-1.39/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Masayuki Hatta <mhatta@debian.org> on
+Mon, 21 Jan 2002 22:37:13 +0900.
+
+It was downloaded from http://www.vector.co.jp/soft/unix/util/se064384.html
+
+Upstream Author: Hiroyuki Ogasawara <oga@art.udn.ne.jp>
+
+Copyright: Copyright (c) 1993- Hiroyuki Ogasawara, All Rights Reserved.
+
+   The previous maintainer (Katsura S. Yoshio) asked the upstream to
+   apply GPL to this software and Mr. Ogasawara agreed with it.  See
+   also changelog.old.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- ack-1.39.orig/debian/docs
+++ ack-1.39/debian/docs
@@ -0,0 +1,3 @@
+ack.doc
+debian/changelog.old
+
--- ack-1.39.orig/debian/ack.1
+++ ack-1.39/debian/ack.1
@@ -0,0 +1,34 @@
+.TH ACK "1" "August 2002" "Version 1.39"
+.SH NAME
+ack \- Kanji code converter
+.SH SYNOPSIS
+.B ack
+[
+.BI \-{e|s|j "n" |c}
+]
+[
+.B \-{a|A|o
+.I file
+.B }
+]
+[
+.B \-zuCntd
+]
+.if n .ti +0.5i
+[
+.B \-{E|S}
+]
+[
+.I <file>...
+]
+.SH DESCRIPTION
+.B ACK
+is a highly versatile Kanji code converter.  ACK can do reciprocal
+conversion among Japanese EUC, Shift-JIS and 7bit JIS.  JIS Kata-kana(SJIS
+Han-kaku Kana) is also supported.  Kanji code can be automatically detected
+even if the input stream contains Kata-kana characters.  Besides, ACK can be
+used as a Kanji code checker with very high detection rate.
+.SH AUTHOR
+.nf
+Ogasawara Hiroyuki
+  
--- ack-1.39.orig/debian/changelog.old
+++ ack-1.39/debian/changelog.old
@@ -0,0 +1,22 @@
+ack (1.3.9-3) unstable; urgency=low
+
+  * ask upstream to apply GPL and agreed with it.
+
+ -- Katsura S. Yoshio <shishamo@osk2.3web.ne.jp>  Thu, 18 Nov 1999 09:48:48 +0900
+
+ack (1.3.9-2) unstable; urgency=low
+
+  * Update the Copyright file.
+
+ -- Katsura S. Yoshio <shishamo@osk2.3web.ne.jp>  Wed,  3 Feb 1999 12:37:38 +0900
+
+ack (1.3.9-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Katsura S. Yoshio <shishamo@osk2.3web.ne.jp>  Wed, 16 Dec 1998 11:20:44 +0900
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "shishamo@osk2.3web.ne.jp"
+End:
--- ack-1.39.orig/debian/changelog
+++ ack-1.39/debian/changelog
@@ -0,0 +1,76 @@
+ack (1.39-12) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.8.0.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Mon, 14 Jul 2008 02:06:08 +0900
+
+ack (1.39-11) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.7.3.
+  * Fixed various lintian warnings.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Thu, 06 Dec 2007 20:23:02 +0900
+
+ack (1.39-10) unstable; urgency=low
+
+  * Do not invoke install -s in Makefile, so DEB_BUILD_OPTIONS=nostrip should work now - closes: #436268
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Wed, 05 Dec 2007 01:27:29 +0900
+
+ack (1.39-9) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.7.2.
+  * Fixed FSF's address.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Tue, 10 Oct 2006 03:04:15 +0900
+
+ack (1.39-8) unstable; urgency=low
+
+  * [control] changed Maintainer: field.
+  * Acknowledged NMU (actually done by me...) - closes: #284415
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat, 12 Mar 2005 17:43:08 +0900
+
+ack (1.39-7) unstable; urgency=low
+
+  * Fixed a crash on amd64, thanks kmuto - closes: #284415
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Tue,  7 Dec 2004 22:44:50 +0900
+
+ack (1.39-6) unstable; urgency=low
+
+  * Updated to Standards-Version: 3.6.1.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat,  7 Feb 2004 19:27:29 +0900
+
+ack (1.39-5) unstable; urgency=low
+
+  * Updated to Standards-Version: 3.5.6.
+  * Added a simple manpage.
+
+ -- Masayuki Hatta <mhatta@debian.org>  Fri, 30 Aug 2002 00:01:22 +0900
+
+ack (1.39-4) unstable; urgency=low
+
+  * Further clarification of the license.
+
+ -- Masayuki Hatta <mhatta@debian.org>  Wed, 22 May 2002 14:44:22 +0900
+
+ack (1.39-3) unstable; urgency=low
+
+  * Applied patch from Tatsuya Kinoshita - closes: #137445
+
+ -- Masayuki Hatta <mhatta@debian.org>  Sat, 13 Apr 2002 01:48:19 +0900
+
+ack (1.39-2) unstable; urgency=low
+
+  * Clarified the licensing situation - closes: #132917
+
+ -- Masayuki Hatta <mhatta@debian.org>  Thu, 14 Feb 2002 19:55:40 +0900
+
+ack (1.39-1) unstable; urgency=low
+
+  * Initial Release for Debian Project - closes: #131091.
+
+ -- Masayuki Hatta <mhatta@debian.org>  Mon, 21 Jan 2002 22:37:13 +0900
+
--- ack-1.39.orig/debian/compat
+++ ack-1.39/debian/compat
@@ -0,0 +1 @@
+4
--- ack-1.39.orig/debian/control
+++ ack-1.39/debian/control
@@ -0,0 +1,17 @@
+Source: ack
+Section: text
+Priority: extra
+Maintainer: Masayuki Hatta (mhatta) <mhatta@debian.org>
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.8.0
+
+Package: ack
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Kanji code converter
+ ACK is a highly versatile Kanji code checker/converter.  ACK can do
+ reciprocal conversion among Japanese EUC, Shift-JIS and 7bit JIS.
+ JIS Kata-kana(SJIS Han-kaku Kana) is also supported.  Kanji code can
+ be automatically detected even if the input stream contains Kata-kana
+ characters.  Besides, ACK can be used as a Kanji code checker with
+ very high detection rate. 
--- ack-1.39.orig/debian/dirs
+++ ack-1.39/debian/dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/man/ja/man1
+
--- ack-1.39.orig/debian/rules
+++ ack-1.39/debian/rules
@@ -0,0 +1,82 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	
+
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/ack.sgml > ack.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/ack.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/ack
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman debian/ack.1
+	dh_installinfo
+#	dh_undocumented ack.1
+	dh_installchangelogs history
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
