--- microcom-2012.06.0.orig/debian/changelog
+++ microcom-2012.06.0/debian/changelog
@@ -0,0 +1,35 @@
+microcom (2012.06.0-2) unstable; urgency=low
+
+  * Make the package arch: linux-any, as the new upsteam release only
+    supports linux so far: CAN support seems to be only available on
+    linux and can currently not be disabled at compile time.
+    (Closes: #677641)
+
+ -- Alexander Reichle-Schmehl <tolimar@debian.org>  Fri, 15 Jun 2012 21:20:06 +0200
+
+microcom (2012.06.0-1) unstable; urgency=low
+
+  [ The "Oh god, it is bein used" release ]
+  * New upstream release
+  * Really fix Upstream URL
+
+ -- Alexander Reichle-Schmehl <tolimar@debian.org>  Thu, 14 Jun 2012 15:06:47 +0200
+
+microcom (2012.02.20-1) unstable; urgency=low
+
+  * New upstream release
+    * Add libreadline6-dev to build-depends
+    * Add new option to manpage
+  * Fix Upstream URL in debian/control (Closes: #631604)
+  * Bump Standards Version to 3.9.3 (no changes necessary)
+  * Build with hardening buildflags
+    * Add dpkg-dev (>= 1.16.1~) to build-depends
+  * Fix typo in manpage found by lintian
+
+ -- Alexander Reichle-Schmehl <tolimar@debian.org>  Thu, 14 Jun 2012 10:35:08 +0200
+
+microcom (2009.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #532975)
+
+ -- Alexander Reichle-Schmehl <tolimar@debian.org>  Sat, 13 Jun 2009 13:45:04 +0200
--- microcom-2012.06.0.orig/debian/rules
+++ microcom-2012.06.0/debian/rules
@@ -0,0 +1,77 @@
+#!/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
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp: configure-stamp  
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	docbook-to-man debian/microcom.sgml > microcom.1
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) clean
+
+	dh_clean microcom.1
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# Add here commands to install the package into debian/microcom.
+	dh_install -s microcom usr/bin
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installman microcom.1
+	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 configure
--- microcom-2012.06.0.orig/debian/dirs
+++ microcom-2012.06.0/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- microcom-2012.06.0.orig/debian/control
+++ microcom-2012.06.0/debian/control
@@ -0,0 +1,17 @@
+Source: microcom
+Section: comm
+Priority: extra
+Maintainer: Alexander Reichle-Schmehl <tolimar@debian.org>
+Build-Depends: debhelper (>= 9), docbook-to-man, libreadline6-dev, dpkg-dev (>= 1.16.1~)
+Standards-Version: 3.9.3
+Homepage: http://git.pengutronix.de/?p=tools/microcom.git;a=tags
+
+Package: microcom
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: minimalistic terminal program
+ microcom is a minimalistic terminal program for accessing devices (e.g.
+ switches) via a serial connection.  It features connection via RS232
+ serial interfaces (including setting of transferrates) as well as in
+ "telnetmode" as specified in rfc2217.
+
--- microcom-2012.06.0.orig/debian/microcom.sgml
+++ microcom-2012.06.0/debian/microcom.sgml
@@ -0,0 +1,188 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Alexander</firstname>">
+  <!ENTITY dhsurname   "<surname>Reichle-Schmehl</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>June 13, 2009</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>tolimar@debian.org</email>">
+  <!ENTITY dhusername  "Alexander Reichle-Schmehl">
+  <!ENTITY dhucpackage "<refentrytitle>MICROCOM</refentrytitle>">
+  <!ENTITY dhpackage   "microcom">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2009</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>A minimalistic terminal program</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-p <replaceable>devfile</replaceable></option></arg>
+
+      <arg><option>-s <replaceable>speed</replaceable></option></arg>
+
+      <arg><option>-t <replaceable>host:port</replaceable></option></arg>
+
+      <arg><option>-c <replaceable>interface:rx_id:tx_id</replaceable></option></arg>
+
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      </para>
+
+    <para><command>&dhpackage;</command> is a is a minimalistic terminal
+    program for accessing devices (e.g.  switches) via a serial connection.
+    It features connection via RS232 serial interfaces (including setting of
+    transferrates) as well as in `telnetmode' as specified in
+    rfc2217.</para>
+
+    <para>The default escape character is crtl-\. You may enter the
+    program menu with the escape character followed by c.  You may leave
+    the program by the escape character followed by q.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show help.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-p</option>
+          <option>--port</option>
+        </term>
+        <listitem>
+          <para>use the specified serial port device (default /dev/ttyS0).</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-s</option>
+          <option>--speed</option>
+        </term>
+        <listitem>
+          <para>use specified baudrate (default 115200).</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-t</option>
+          <option>--telnet</option>
+        </term>
+        <listitem>
+          <para>work in telnet (rfc2217) mode.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-c</option>
+          <option>--can</option>
+        </term>
+        <listitem>
+          <para>work in CAN mode (default: (can0:200:200))</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-d</option>
+          <option>--debug</option>
+        </term>
+        <listitem>
+          <para>turn on debug mode.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (and may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any
+      later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL-2.
+    </para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- microcom-2012.06.0.orig/debian/compat
+++ microcom-2012.06.0/debian/compat
@@ -0,0 +1 @@
+9
--- microcom-2012.06.0.orig/debian/copyright
+++ microcom-2012.06.0/debian/copyright
@@ -0,0 +1,46 @@
+This package was debianized by:
+
+    Alexander Reichle-Schmehl <tolimar@debian.org> on Sat, 13 Jun 2009 13:02:20 +0200
+
+It was downloaded from:
+
+    <http://git.pengutronix.de/?p=tools/microcom;a=summary>
+
+Upstream Authors:
+
+    Anca and Lucian Jurubita, Sascha Hauer, Marc Kleine-Budde and Wolfram Sang
+
+Copyright:
+
+    Copyright (C) 1999 Anca and Lucian Jurubita <ljurubita@hotmail.com>
+    (All files but telnet.c and gitlog2changelog.py)
+    Copyright (C) 2008, 2009 Sascha Hauer <s.hauer@pengutronix.de>
+    telnet.c
+    Copyright (C) 2008 Marcus D. Hanwell <marcus@cryos.org>
+    gitlog2changelog.py
+
+License:
+
+    This package 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 package 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 package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Alexander Reichle-Schmehl <tolimar@debian.org>
+
+and is licensed under the GPL version 2, 
+see `/usr/share/common-licenses/GPL-2'.
--- microcom-2012.06.0.orig/debian/source/format
+++ microcom-2012.06.0/debian/source/format
@@ -0,0 +1 @@
+1.0
--- microcom-2012.06.0.orig/debian/source/lintian-overrides
+++ microcom-2012.06.0/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+## I have no idea how to watch a git stuff
+source: debian-watch-file-is-missing
+
