--- vcheck-1.2.1.orig/debian/copyright
+++ vcheck-1.2.1/debian/copyright
@@ -0,0 +1,14 @@
+This package was debianized by Ardo van Rangelrooij <ardo@debian.org>
+on Sun, 21 Jul, 2002, 13:30:10 -0500.
+
+It was downloaded from <http://www.tu-ilmenau.de/~gomar/stuff/vcheck/>.
+
+Upstream Author: Marco Goetze <gomar@mindless.com>
+
+Copyright:
+
+Copyright (C) 1999-2001 by Marco Goetze, <gomar@mindless.com>.
+This program is distributed under the terms of the Artistic License.
+
+On a Debian system a copy of the Perl license can be found in the file
+'/usr/share/common-licenses/Artistic'.
--- vcheck-1.2.1.orig/debian/vcheck.install
+++ vcheck-1.2.1/debian/vcheck.install
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man
--- vcheck-1.2.1.orig/debian/rules
+++ vcheck-1.2.1/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+## ----------------------------------------------------------------------
+## debian/rules : package script for vcheck
+## ----------------------------------------------------------------------
+
+include /usr/share/dpatch/dpatch.make
+
+## ----------------------------------------------------------------------
+## uncomment this to turn on verbose mode
+#export DH_VERBOSE=1
+
+## ----------------------------------------------------------------------
+TMP_DIR		= debian/tmp
+
+## ----------------------------------------------------------------------
+## targets
+
+clean:		unpatch
+		dh_testdir
+		dh_testroot
+		[ ! -f Makefile ] || $(MAKE) realclean
+		dh_clean
+		rm -f build-stamp install-stamp
+
+build:		build-stamp
+
+build-stamp:	patch-stamp
+		dh_testdir
+		perl Makefile.PL INSTALLDIRS=vendor
+		$(MAKE) OPTIMIZE="-O2 -g -Wall"
+		$(MAKE) test
+		touch build-stamp
+
+install:	install-stamp
+install-stamp:	build
+		dh_testdir
+		dh_testroot
+		dh_clean -k
+		dh_installdirs
+		$(MAKE) install PREFIX=$(PWD)/$(TMP_DIR)/usr
+		touch install-stamp
+
+binary-indep:	build install
+		dh_testdir
+		dh_testroot
+		dh_install --sourcedir=$(TMP_DIR)
+		dh_installdocs
+		dh_installchangelogs CHANGES
+		dh_compress
+		dh_fixperms
+		dh_installdeb
+		dh_perl
+		dh_gencontrol
+		dh_md5sums
+		dh_builddeb
+
+binary-arch:
+
+binary:		binary-indep binary-arch
+
+.PHONY:		clean build install binary-indep binary-arch binary
+
+## ----------------------------------------------------------------------
--- vcheck-1.2.1.orig/debian/patches/00list
+++ vcheck-1.2.1/debian/patches/00list
@@ -0,0 +1 @@
+01_replace_fuzzy_chars.dpatch
--- vcheck-1.2.1.orig/debian/patches/01_replace_fuzzy_chars.dpatch
+++ vcheck-1.2.1/debian/patches/01_replace_fuzzy_chars.dpatch
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_replace_fuzzy_chars.dpatch by Dario Minnucci <debian@midworld.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch is used to replace fuzzy characters present in vcheck executable to issue STDOUT messages and generate the manpage. Avoid Lintian to issue 'W: vcheck binary: manpage-has-errors-from-man usr/share/man/man1/vcheck.1p.gz /tmp/zman3cAY6t:484: warning: can't find numbered character 167' when building package from source.
+
+@DPATCH@
+diff -urNad vcheck-1.2.1~/vcheck vcheck-1.2.1/vcheck
+--- vcheck-1.2.1~/vcheck	2007-03-05 01:18:43.000000000 +0100
++++ vcheck-1.2.1/vcheck	2007-03-05 01:20:10.761484963 +0100
+@@ -713,7 +713,7 @@
+       },
+       dlexec => {
+         type => 'string',
+-        help => 'command to be executed after a §Usuccessful§N download'
++        help => 'command to be executed after a \'Usuccessful\' download'
+       },
+       dlprefs => {
+         type => 'string',
+@@ -831,7 +831,7 @@
+       dlexec => {
+         type => 'string',
+         blank => 1,
+-        help => 'command to be executed after a §Usuccessful§N download'
++        help => 'command to be executed after a \'Usuccessful\' download'
+       },
+       dlexplicit => {
+         type => 'string',
+@@ -1830,7 +1830,7 @@
+ 
+ This option defines whether the script should look for and delete any obsolete
+ versions of a program located in its download directory after each
+-§Usuccessful§N download of a new version of that program.  A successful
++'Usuccessful' download of a new version of that program.  A successful
+ download in this context is any download of a file of a known type whose
+ integrity could be verified.  Overrides B<config.deleteold>; the deletion of
+ obsolete versions is disabled by default and only activated by
--- vcheck-1.2.1.orig/debian/compat
+++ vcheck-1.2.1/debian/compat
@@ -0,0 +1 @@
+5
--- vcheck-1.2.1.orig/debian/changelog
+++ vcheck-1.2.1/debian/changelog
@@ -0,0 +1,50 @@
+vcheck (1.2.1-6) unstable; urgency=low
+
+  * New maintainer (Closes: #245101)
+  * debian/control: Bumped Standards-Version to 3.7.2, no changes.
+  * debian/control: Build-Depends-Indep: moved to Build-Depends:
+  * debian/rules: Added 'dpatch' support.
+  * debian/control: Added 'dpatch' to Build-Depends:
+  * debian/control: Upgraded 'debhelper' version to 5
+  * debian/compat: Upgraded 'debhelper' version to 5
+  * Minor changes were made in order to fix Lintian issues when 
+    building package from source (Closes: #413415)
+
+ -- Dario Minnucci <debian@midworld.net>  Mon,  5 Mar 2007 01:33:31 +0100
+
+vcheck (1.2.1-5) unstable; urgency=low
+
+  * debian/control: upgraded to Debian Policy 3.6.1 (no changes)
+  * debian/control: 'Maintainer' set to the'Debian QA Group'
+  * orphaned
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Wed, 21 Apr 2004 08:40:34 -0500
+
+vcheck (1.2.1-4) unstable; urgency=low
+
+  * debian/rules: moved debhelper compatibility level setting to
+    'debian/compat' per latest debhelper best practices
+  * debian/control: changed build dependency on 'debhelper' to '(>= 4.1)'
+  * debian/control: upgraded to Debian Policy 3.6.0 (no changes)
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Tue, 29 Jul 2003 20:04:58 -0500
+
+vcheck (1.2.1-3) unstable; urgency=low
+
+  * debian/rules: fixed various small inconsistencies with other rules files
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sat, 10 Aug 2002 12:05:29 -0500
+
+vcheck (1.2.1-2) unstable; urgency=low
+
+  * debian/control: improved short description
+    (closes: Bug#154760)
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Tue, 30 Jul 2002 18:34:43 -0500
+
+vcheck (1.2.1-1) unstable; urgency=low
+
+  * Initial release
+    (closes: Bug#153781)
+
+ -- Ardo van Rangelrooij <ardo@debian.org>  Sun, 21 Jul 2002 15:52:10 -0500
--- vcheck-1.2.1.orig/debian/control
+++ vcheck-1.2.1/debian/control
@@ -0,0 +1,16 @@
+Source: vcheck
+Section: utils
+Priority: optional
+Maintainer: Dario Minnucci <debian@midworld.net>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), dpatch, perl, libwww-perl (>= 5.0)
+
+Package: vcheck
+Section: utils
+Priority: optional
+Architecture: all
+Depends: ${perl:Depends}, libwww-perl (>= 5.0)
+Description: Utility to check and download the most recent program version
+ This is a tool for checking for latest versions of programs at HTTP
+ and FTP locations given a list of URLs and (Perl-style) regular
+ expressions to match, and to optionally download them automatically.
