--- varmon-1.2.1.orig/debian/docs
+++ varmon-1.2.1/debian/docs
@@ -0,0 +1,2 @@
+USAGE.pdf
+README
--- varmon-1.2.1.orig/debian/compat
+++ varmon-1.2.1/debian/compat
@@ -0,0 +1 @@
+5
--- varmon-1.2.1.orig/debian/varmon.8
+++ varmon-1.2.1/debian/varmon.8
@@ -0,0 +1,19 @@
+.TH varmon 8 "24/05/2003"
+.SH NAME
+varmon \- a VA RAID monitor
+.SH SYNOPSIS
+.B varmon
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B varmon
+commands.  \fBvarmon\fP is a text-based tool to monitor DAC 960 RAID controllers. This includes Mylex RAID cards from the 960 and 1100 series, eXteremeRAID 2000 & 3000, AcceleRAID 352 & 170.
+.br
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.SH SEE ALSO
+All the documentation is available in directory \fB/usr/share/doc/varmon/\fP.
+.SH AUTHOR
+This manual page was written by Igor Genibel <igenibel@debian.org>,
+for the Debian project (but may be used by others).
--- varmon-1.2.1.orig/debian/manpages
+++ varmon-1.2.1/debian/manpages
@@ -0,0 +1 @@
+debian/varmon.8
--- varmon-1.2.1.orig/debian/copyright
+++ varmon-1.2.1/debian/copyright
@@ -0,0 +1,9 @@
+This is the Debian GNU/Linux packaged version of the VA RAID Monitor.
+
+varmon is Copyright 1999 Dragan Stancevic <visitor@valinux.com> and can
+be found at http://varmon.sourceforge.net/ .
+
+This software is licensed under version 2 of the GNU General Public
+License. On Debian systems you can find the GPL in
+/usr/share/common-licenses/GPL .
+
--- varmon-1.2.1.orig/debian/changelog
+++ varmon-1.2.1/debian/changelog
@@ -0,0 +1,110 @@
+varmon (1.2.1-1.5.201403121439) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Wed, 12 Mar 2014 14:39:12 +0100
+
+varmon (1.2.1-1) unstable; urgency=low
+
+  * New upstream release
+    + Fix segmentation fault on start (Closes: #491505)
+  * Bump standard version
+
+ -- Julien Danjou <acid@debian.org>  Mon, 18 Aug 2008 09:40:04 +0200
+
+varmon (1.2.0-6) unstable; urgency=medium
+
+  * Bump standard policy
+  * Fix the way of giving CFLAGS to make in debian/rules (Closes: #476042)
+  * Set urgency to medium since this fixes an RC bug
+
+ -- Julien Danjou <acid@debian.org>  Thu, 17 Apr 2008 09:54:25 +0200
+
+varmon (1.2.0-5) unstable; urgency=low
+
+  * Don't strip the package if not needed (Closes: #438239)
+  * Switch to debhelper 5
+
+ -- Julien Danjou <acid@debian.org>  Thu, 16 Aug 2007 19:11:18 +0200
+
+varmon (1.2.0-4) unstable; urgency=high
+
+  * The `There is a gun pointed at my head' release
+  * Compile with -O2 to avoid a segfault (Closes: #401236)
+
+ -- Julien Danjou <acid@debian.org>  Wed, 20 Dec 2006 09:52:51 +0100
+
+varmon (1.2.0-3) unstable; urgency=low
+
+  * Fix a bug in postinst
+
+ -- Julien Danjou <acid@debian.org>  Wed,  1 Nov 2006 14:43:46 +0100
+
+varmon (1.2.0-2) unstable; urgency=medium
+
+  * Call MAKEDEV to create game device (Closes: #393619)
+  * Bump standards version
+
+ -- Julien Danjou <acid@debian.org>  Wed,  1 Nov 2006 14:40:28 +0100
+
+varmon (1.2.0-1) unstable; urgency=low
+
+  * New upstream release. 
+
+ -- Julien Danjou <acid@debian.org>  Tue, 21 Sep 2004 14:16:26 +0200
+
+varmon (1.1.0-1) unstable; urgency=low
+
+  * New upstream release. 
+
+ -- Julien Danjou <acid@debian.org>  Sun, 19 Sep 2004 13:33:14 +0200
+
+varmon (1.0.2-6) unstable; urgency=low
+
+  * Add support for 2.6 kernel (Closes: #224137)
+
+ -- Julien Danjou <acid@debian.org>  Thu,  9 Sep 2004 11:30:26 +0200
+
+varmon (1.0.2-5) unstable; urgency=low
+
+  * New Maintainer (Closes: #233663)
+  * Remove bugs:// (Closes: #220093)
+  * Remove Origin
+  * Patch it for devfs (Closes: #225765)
+  * Clean debian/rules
+  * Bump standards to 3.6.1.0
+
+ -- Julien Danjou <acid@debian.org>  Tue, 17 Aug 2004 13:09:13 +0200
+
+varmon (1.0.2-4) unstable; urgency=low
+
+  * Orphan this package
+
+ -- Igor Genibel <igenibel@debian.org>  Thu, 19 Feb 2004 11:16:25 +0100
+
+varmon (1.0.2-3) unstable; urgency=low
+
+  * New Maintainer (Closes: #170921)
+  * Fix gcc warning at varmon.c:2650
+  * Create varmon.8 manpage
+  * Conforms to Standards Version 3.5.10
+
+ -- Igor Genibel <igenibel@debian.org>  Sat, 24 May 2003 12:05:43 +0200
+
+varmon (1.0.2-2) unstable; urgency=low
+
+  * QA upload.
+  * Package is orphaned (#170921); set maintainer to Debian QA Group.
+  * DAC960.h: Avoid conflict with gcc's bool typedef.
+  * Add build dependencies.
+  * Convert to debhelper.
+  * Fix typo.  Closes: #125451.
+  * Conforms to Standards version 3.5.8.
+
+ -- Matej Vela <vela@debian.org>  Mon, 16 Dec 2002 02:31:02 +0100
+
+varmon (1.0.2-1) unstable; urgency=low
+
+  * Initial release for Debian
+
+ -- Wichert Akkerman <wakkerma@debian.org>  Fri, 17 Nov 2000 13:19:31 +0000
--- varmon-1.2.1.orig/debian/postinst
+++ varmon-1.2.1/debian/postinst
@@ -0,0 +1,49 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+
+DEVICE_GAM=/dev/dac960_gam
+
+case "$1" in
+    configure)
+	if [ ! -e $DEVICE_GAM ]
+	then
+		echo -n "Create special file $DEVICE_GAM... "
+		cd /dev && MAKEDEV dac960 && echo "done"
+	fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- varmon-1.2.1.orig/debian/control
+++ varmon-1.2.1/debian/control
@@ -0,0 +1,14 @@
+Source: varmon
+Maintainer: Julien Danjou <acid@debian.org> 
+Section: admin
+Priority: extra
+Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 5), libncurses5-dev
+
+Package: varmon
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: VA RAID monitor
+ A text-based tool to monitor DAC 960 RAID controllers. This
+ includes Mylex RAID cards from the 960 and 1100 series,
+ eXteremeRAID 2000 & 3000, AcceleRAID 352 & 170.
--- varmon-1.2.1.orig/debian/rules
+++ varmon-1.2.1/debian/rules
@@ -0,0 +1,65 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess. 
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 
+        CFLAGS += -O0 
+else 
+        CFLAGS += -O2 
+endif 
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) CFLAGS="$(CFLAGS)"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) clean 
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/<packagename>
+	dh_install varmon usr/sbin
+
+# 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_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
