--- pe-ruby-mysql-2.8.2.orig/debian/changelog
+++ pe-ruby-mysql-2.8.2/debian/changelog
@@ -0,0 +1,87 @@
+pe-ruby-mysql (2.8.2-1puppet2) lucid squeeze precise wheezy; urgency=low
+
+  * Update debian/changelog
+
+ -- Matthaus Owens <matthaus@puppetlabs.com>  Tue, 02 Jul 2013 18:53:30 +0000
+
+pe-ruby-mysql (2.8.2-1puppet1) lucid squeeze precise wheezy; urgency=low
+
+  * Import upstream of 2.8.2 from debian's wheezy package.
+
+ -- Matthaus Litteken <matthaus@puppetlabs.com>  Fri, 26 Apr 2013 05:38:27 +0000
+
+pe-ruby-mysql (2.9.11-1puppet2) lucid squeeze precise wheezy; urgency=low
+
+  * Add the mysql ruby library to do the right things with ext.so
+
+ -- Matthaus Owens <matthaus@puppetlabs.com>  Tue, 23 Apr 2013 20:58:35 +0000
+
+pe-ruby-mysql (2.9.11-1puppet1) lucid squeeze precise wheezy; urgency=low
+
+  * Imported Upstream version 2.9.11
+
+ -- Matthaus Litteken <matthaus@puppetlabs.com>  Fri, 19 Apr 2013 00:38:17 +0000
+
+pe-ruby-mysql (2.7.3-1puppet10) lucid; urgency=low
+
+  * Unify the control files for all the debs/ubuntus. Depend on
+    libmysqlclient 16 or 18.
+
+ -- Matthaus Litteken <matthaus@puppetlabs.com>  Thu, 18 Apr 2013 23:24:11 +0000
+
+pe-ruby-mysql (2.7.3-1puppet9) wheezy; urgency=low
+
+  * Build pe-ruby-mysql for wheezy
+
+ -- Matthaus Litteken <matthaus@puppetlabs.com>  Mon, 05 Nov 2012 20:04:04 +0000
+
+pe-ruby-mysql (2.7.3-1puppet8) precise; urgency=low
+
+  * Update mysql dep to libmysqlclient18 for precise
+
+ -- Moses Mendoza <moses@puppetlabs.com>  Mon, 16 Apr 2012 11:51:56 +0000
+
+pe-ruby-mysql (2.7.3-1puppet7) precise; urgency=low
+
+  * Add precise to dist list
+
+ -- Matthaus Litteken <matthaus@puppetlabs.com>  Wed, 11 Apr 2012 23:10:56 +0000
+
+pe-ruby-mysql (2.7.3-1puppet6) precise; urgency=low
+
+  * Update dependency for precise
+
+ -- Michael Stahnke <stahnma@puppetlabs.com>  Wed, 03 Aug 2011 15:31:23 -0800
+
+pe-ruby-mysql (2.7.3-1puppet5) precise; urgency=low
+
+  * [5dc0e85] Update debian/control maintainer information to reflect
+    Puppet Labs
+  * [17fd8b7] Update libmysqlclient package for Debian (precise)
+  * [5ca40dd] Fix libmysqlclient package dependency for Debian (precise)
+
+ -- Jacob Helwig <jacob@puppetlabs.com>  Fri, 14 Jan 2011 14:21:22 -0800
+
+pe-ruby-mysql (2.7.3-1puppet4) precise; urgency=low
+
+  * [acf397f] Update lintian overrides for i386
+
+ -- Jacob Helwig <jacob@puppetlabs.com>  Fri, 17 Dec 2010 01:11:18 -0800
+
+pe-ruby-mysql (2.7.3-1puppet3) precise; urgency=low
+
+  * [856f2de] Bump required version of ruby to >= 1.8.7.299
+
+ -- Jacob Helwig <jacob@puppetlabs.com>  Mon, 13 Dec 2010 00:22:56 -0800
+
+pe-ruby-mysql (2.7.3-1puppet2) precise; urgency=low
+
+  * [e3f59f6] Add missing runtime dependency on libmysqlclient16
+
+ -- Jacob Helwig <jacob@puppetlabs.com>  Sun, 12 Dec 2010 10:55:21 -0800
+
+pe-ruby-mysql (2.7.3-1puppet1) precise; urgency=low
+
+  * [2dfaa8d] Start packaging MySQL/Ruby for Puppet Enterprise
+
+ -- Jacob Helwig <jacob@puppetlabs.com>  Sat, 11 Dec 2010 19:06:02 -0800
--- pe-ruby-mysql-2.8.2.orig/debian/copyright
+++ pe-ruby-mysql-2.8.2/debian/copyright
@@ -0,0 +1,74 @@
+This package was debianized by Jacob Helwig <jacob@puppetlabs.com> on
+Sat, 11 Dec 2010 18:19:16 -0800
+
+It was downloaded from http://www.tmtm.org/en/mysql/ruby/
+
+Upstream Author:
+
+    TOMITA Masahiro <tommy@tmtm.org>
+
+Copyright:
+
+    Copyright (C) TOMITA Masahiro
+
+License:
+    On Debian systems, the complete text of the GNU General
+    Public License can be found in '/usr/share/common-licenses/GPL-2'.
+
+
+Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
+You can redistribute it and/or modify it under either the terms of the GPL
+(see the file GPL), or the conditions below:
+
+  1. You may make and give away verbatim copies of the source form of the
+     software without restriction, provided that you duplicate all of the
+     original copyright notices and associated disclaimers.
+
+  2. You may modify your copy of the software in any way, provided that
+     you do at least ONE of the following:
+
+       a) place your modifications in the Public Domain or otherwise
+          make them Freely Available, such as by posting said
+	  modifications to Usenet or an equivalent medium, or by allowing
+	  the author to include your modifications in the software.
+
+       b) use the modified software only within your corporation or
+          organization.
+
+       c) give non-standard binaries non-standard names, with
+          instructions on where to get the original software distribution.
+
+       d) make other distribution arrangements with the author.
+
+  3. You may distribute the software in object code or binary form,
+     provided that you do at least ONE of the following:
+
+       a) distribute the binaries and library files of the software,
+	  together with instructions (in the manual page or equivalent)
+	  on where to get the original distribution.
+
+       b) accompany the distribution with the machine-readable source of
+	  the software.
+
+       c) give non-standard binaries non-standard names, with
+          instructions on where to get the original software distribution.
+
+       d) make other distribution arrangements with the author.
+
+  4. You may modify and include the part of the software into any other
+     software (possibly commercial).  But some files in the distribution
+     are not written by the author, so that they are not under these terms.
+
+     For the list of those files and their copying conditions, see the
+     file LEGAL.
+
+  5. The scripts and library files supplied as input to or produced as 
+     output from the software do not automatically fall under the
+     copyright of the software, but belong to whomever generated them, 
+     and may be sold commercially, and may be aggregated with this
+     software.
+
+  6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+     IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+     PURPOSE.
--- pe-ruby-mysql-2.8.2.orig/debian/compat
+++ pe-ruby-mysql-2.8.2/debian/compat
@@ -0,0 +1 @@
+5
--- pe-ruby-mysql-2.8.2.orig/debian/gbp.conf
+++ pe-ruby-mysql-2.8.2/debian/gbp.conf
@@ -0,0 +1,29 @@
+[DEFAULT]
+snapshot-number = os.popen("git-log --pretty=oneline | wc -l").readlines()[0]
+postbuild = lintian --suppress-tags bad-distribution-in-changes-file $GBP_CHANGES_FILE
+# tell git-buildpackage howto clean the source tree
+cleaner = fakeroot debian/rules clean
+# this is how we invoke pbuilder, arguments passed to git-buildpackage will be
+# passed to dpkg-buildpackge in the chroot
+pbuilder = true
+# Sign tags by default:
+sign-tags = True
+#keyid = 0x3f3e6426
+# use pristine tar by defaul
+pristine-tar = True
+
+
+[git-dch]
+git-log=--no-merges
+# Parse meta tags like Closes: from commit messages
+meta = True
+# Add seven digits of the commits sha1 to the commit message
+id-length = 7
+# Regex for matching bugs to close
+meta-closes = Closes|LP|BZ
+# Ignore these in commit messages
+ignore-regex = (Signed-off|Acked)-by:
+
+[git-import-orig]
+# Automatically forward the changelog after importing a new upstream version
+postimport = git-dch -N%(version)s -S -a --debian-branch=$GBP_BRANCH
--- pe-ruby-mysql-2.8.2.orig/debian/control
+++ pe-ruby-mysql-2.8.2/debian/control
@@ -0,0 +1,14 @@
+Source: pe-ruby-mysql
+Section: ruby
+Priority: optional
+Maintainer: Puppet Labs <info@puppetlabs.com>
+Build-Depends: cdbs, debhelper (>> 7), libmysqlclient-dev, pe-ruby
+Standards-Version: 3.9.1
+Homepage: http://www.tmtm.org/en/mysql/ruby/
+
+Package: pe-ruby-mysql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, pe-ruby, libmysqlclient16 | libmysqlclient18
+Description: MySQL library for Ruby
+ This is the MySQL API module for Ruby. It provides the same functions
+ for Ruby programs that the MySQL C API provides for C programs.
--- pe-ruby-mysql-2.8.2.orig/debian/rules
+++ pe-ruby-mysql-2.8.2/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/buildcore.mk
+
+pe_prefix = opt/puppet
+
+RUBY = /$(pe_prefix)/bin/ruby
+
+build/pe-ruby-mysql::
+	$(RUBY) extconf.rb --with-mysql-config
+	make
+
+binary-install/pe-ruby-mysql::
+	env DESTDIR=$(CURDIR)/debian/$(cdbs_curpkg) make install
+
