--- asio-1.4.1.orig/debian/copyright
+++ asio-1.4.1/debian/copyright
@@ -0,0 +1,44 @@
+This package was debianized by Simon Richter <sjr@debian.org> on
+Mon, 06 Aug 2007 19:58:02 +0200.
+
+It was downloaded from http://asio.sourceforge.net/
+
+Upstream Author:
+
+ Christopher M. Kohlhoff <chris@kohlhoff.com>
+
+Copyright:
+
+ Copyright 2003, 2004, 2005, 2006, 2007
+ Christopher M. Kohlhoff <chris@kohlhoff.com>
+ Copyright 2005 Indrek Juhani <Indrek.Juhani@voipster.com>
+ Copyright 2005 Stefan Arentz <stefan@soze.com>
+
+License:
+
+ Boost Software License - Version 1.0 - August 17th, 2003
+
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+ The Debian packaging is (C) 2007, Simon Richter <sjr@debian.org> and
+ is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- asio-1.4.1.orig/debian/changelog
+++ asio-1.4.1/debian/changelog
@@ -0,0 +1,96 @@
+asio (1.4.1-3.2) unstable; urgency=low
+
+ * Non maintainer upload.
+ * Fix build failure with GCC 4.7. Closes: #671992.
+
+ -- Matthias Klose <doko@debian.org> Tue, 22 May 2012 09:41:57 +0000
+
+asio (1.4.1-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "FTBFS: ./../include/asio/ssl/detail/openssl_context_service.hpp:73:20:
+ error: '::SSLv2_method' has not been declared":
+ add patch from Cristian Greco:
+ - Enable building when OpenSSL has disabled SSLv2. Throw exception if
+ SSLv2 connection requested but OPENSSL_NO_SSL2 defined. Fall back to
+ returning invalid state if exceptions are disabled.
+ (Closes: #622068, LP: #831346)
+
+ -- gregor herrmann <gregoa@debian.org> Sun, 27 Nov 2011 17:58:44 +0100
+
+asio (1.4.1-3) unstable; urgency=low
+
+ * Update Boost dependency declarations to use boost-defaults
+ * Fix debian/rules to use versionless automake invocation (Closes: #543043)
+
+ -- Simon Richter <sjr@debian.org> Mon, 24 Aug 2009 10:35:37 +0200
+
+asio (1.4.1-2) unstable; urgency=low
+
+ * Allow use together with Boost 1.38
+
+ -- Simon Richter <sjr@debian.org> Mon, 27 Apr 2009 10:46:47 +0200
+
+asio (1.4.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Update dependencies to allow Boost 1.37
+ * Add dependency on Boost.DateTime (Closes: #514076)
+ * Add recommendation of Boost.Regex (Closes: #514077)
+ * Add examples to documentation package (Closes: #492349)
+
+ -- Simon Richter <sjr@debian.org> Mon, 09 Mar 2009 15:36:04 +0100
+
+asio (1.3.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Simon Richter <sjr@debian.org> Fri, 12 Dec 2008 12:19:28 +0100
+
+asio (1.3.0-1) unstable; urgency=low
+
+ * New upstream release
+ * Allow parallel builds using the parallel= option
+
+ -- Simon Richter <sjr@debian.org> Sat, 18 Oct 2008 06:59:18 +0200
+
+asio (1.1.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #489703)
+ * Always force a rebuild of the autoconf generated files
+
+ -- Simon Richter <sjr@debian.org> Mon, 07 Jul 2008 13:40:31 +0200
+
+asio (1.1.0-2) unstable; urgency=low
+
+ * Allow use together with boost 1.35
+ * Correct name of DEB_BUILD_OPTIONS variable
+
+ -- Simon Richter <sjr@debian.org> Mon, 09 Jun 2008 07:36:55 +0200
+
+asio (1.1.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Simon Richter <sjr@debian.org> Fri, 06 Jun 2008 15:23:04 +0200
+
+asio (1.0.0-1) unstable; urgency=low
+
+ * New upstream release (Closes: #461920)
+
+ -- Simon Richter <sjr@debian.org> Thu, 22 May 2008 00:03:36 +0200
+
+asio (0.3.8~rc3-2) unstable; urgency=low
+
+ * Add missing build dependencies, thanks Matt Kraai for noticing
+ (Closes: #441149)
+
+ -- Simon Richter <sjr@debian.org> Fri, 07 Sep 2007 11:10:41 +0200
+
+asio (0.3.8~rc3-1) unstable; urgency=low
+
+ * Initial release (Closes: #391678)
+ * Fixed a bug in asio that made asio::has_service<T> fail to instantiate
+
+ -- Simon Richter <sjr@debian.org> Wed, 08 Aug 2007 04:40:44 +0200
+
--- asio-1.4.1.orig/debian/compat
+++ asio-1.4.1/debian/compat
@@ -0,0 +1 @@
+5
--- asio-1.4.1.orig/debian/control
+++ asio-1.4.1/debian/control
@@ -0,0 +1,30 @@
+Source: asio
+Section: devel
+Priority: optional
+Maintainer: Simon Richter <sjr@debian.org>
+Build-Depends: debhelper (>= 5), autoconf, automake, libssl-dev,
+ libboost-dev, libboost-date-time-dev, libboost-regex-dev, libboost-test-dev
+Standards-Version: 3.8.0
+
+Package: libasio-dev
+Section: libdevel
+Architecture: all
+Depends: libboost-dev, libboost-date-time-dev
+Recommends: libboost-regex-dev, libssl-dev
+Description: cross-platform C++ library for network programming
+ asio is a cross-platform C++ library for network programming that provides
+ developers with a consistent asynchronous I/O model using a modern C++
+ approach. It has recently been accepted into Boost.
+ .
+ This package contains the development header files.
+
+Package: libasio-doc
+Section: doc
+Architecture: all
+Recommends: libasio-dev
+Description: cross-platform C++ library for network programming
+ asio is a cross-platform C++ library for network programming that provides
+ developers with a consistent asynchronous I/O model using a modern C++
+ approach. It has recently been accepted into Boost.
+ .
+ This package contains the documentation.
--- asio-1.4.1.orig/debian/watch
+++ asio-1.4.1/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=dversionmangle=s/~rc/rc/ \
+ http://sf.net/asio/asio-(.*)\.tar\.gz
--- asio-1.4.1.orig/debian/libasio-dev.install
+++ asio-1.4.1/debian/libasio-dev.install
@@ -0,0 +1 @@
+debian/tmp/usr/include/* /usr/include
--- asio-1.4.1.orig/debian/rules
+++ asio-1.4.1/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+CXXFLAGS = -W -Wall -g -pipe
+
+configure: configure.ac
+ aclocal
+ automake -a -c
+ autoconf
+
+config.status: configure
+ dh_testdir
+ ./configure --prefix=/usr \
+ --enable-maintainer-mode \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ CXXFLAGS="$(CXXFLAGS)" \
+ LDFLAGS="-Wl,-z,defs"
+
+ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),)
+all_or_check = check
+else
+all_or_check = all
+endif
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+parallel = -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+endif
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+ $(MAKE) $(parallel) $(all_or_check)
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) maintainer-clean
+ $(RM) configure
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ sed -i -e 's@\(../\)\{1,2\}src/@@g' debian/libasio-doc/usr/share/doc/libasio-doc/asio/examples.html
+ find debian/libasio-doc/usr/share/doc/libasio-doc/asio/examples/ -type f -not -name \*.[ch]pp -print0 | xargs -r0 rm
+ find debian/libasio-doc/usr/share/doc/libasio-doc/asio/examples/ -depth -type d -empty -exec rmdir {} \;
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+# dh_installman
+ dh_compress -X.cpp -X.hpp
+ dh_fixperms
+# dh_perl
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch:
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- asio-1.4.1.orig/debian/libasio-doc.install
+++ asio-1.4.1/debian/libasio-doc.install
@@ -0,0 +1,2 @@
+doc/* /usr/share/doc/libasio-doc
+src/examples /usr/share/doc/libasio-doc/asio