--- libotr-3.2.0.orig/debian/libotr2-bin.install
+++ libotr-3.2.0/debian/libotr2-bin.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/* usr/bin
+debian/tmp/usr/share/man/* usr/share/man
--- libotr-3.2.0.orig/debian/compat
+++ libotr-3.2.0/debian/compat
@@ -0,0 +1 @@
+4
--- libotr-3.2.0.orig/debian/docs
+++ libotr-3.2.0/debian/docs
@@ -0,0 +1,3 @@
+README
+Protocol-v2.html
+UPGRADING
--- libotr-3.2.0.orig/debian/watch
+++ libotr-3.2.0/debian/watch
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=2
+http://www.cypherpunks.ca/otr/	libotr-(.*)\.t(?:ar\.)?gz	debian	uupdate
--- libotr-3.2.0.orig/debian/libotr2-bin.dirs
+++ libotr-3.2.0/debian/libotr2-bin.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
--- libotr-3.2.0.orig/debian/libotr2-bin.copyright
+++ libotr-3.2.0/debian/libotr2-bin.copyright
@@ -0,0 +1,27 @@
+This package was debianized by OTR Dev Team <otr@cypherpunks.ca> on
+Tue, 18 Jan 2005 16:23:41 -0500.
+
+It was downloaded from http://www.cypherpunks.ca/otr/
+
+Copyright (C) 2004-2005 by Nikita Borisov and Ian Goldberg
+
+Upstream Authors: OTR Dev Team <otr@cypherpunks.ca>
+
+License:
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of version 2 of the GNU General Public License
+  as published by the Free Software Foundation.
+
+  This program 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 can be found in `/usr/share/common-licenses/GPL-2'.
--- libotr-3.2.0.orig/debian/libotr2-dev.copyright
+++ libotr-3.2.0/debian/libotr2-dev.copyright
@@ -0,0 +1,29 @@
+This package was debianized by OTR Dev Team <otr@cypherpunks.ca> on
+Tue, 18 Jan 2005 16:23:41 -0500.
+
+It was downloaded from http://www.cypherpunks.ca/otr/
+
+Copyright (C) 2004-2005 by Nikita Borisov and Ian Goldberg
+
+Upstream Authors: OTR Dev Team <otr@cypherpunks.ca>
+
+License:
+
+   This package is free software; you can redistribute it and/or modify
+   it under  the terms of the GNU Lesser General Public Licence
+   as published by the Free Software Foundation; version 2.1 dated
+   February, 1999.
+
+   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 Lesser 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 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
--- libotr-3.2.0.orig/debian/rules
+++ libotr-3.2.0/debian/rules
@@ -0,0 +1,98 @@
+#!/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
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	./configure --with-pic --prefix=/usr --mandir=/usr/share/man
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# 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 ChangeLog
+	dh_installdocs
+#	dh_installexamples
+	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installman
+#	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps -L libotr2 -l debian/libotr2/usr/lib
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- libotr-3.2.0.orig/debian/libotr2.copyright
+++ libotr-3.2.0/debian/libotr2.copyright
@@ -0,0 +1,29 @@
+This package was debianized by OTR Dev Team <otr@cypherpunks.ca> on
+Tue, 18 Jan 2005 16:23:41 -0500.
+
+It was downloaded from http://www.cypherpunks.ca/otr/
+
+Copyright (C) 2004-2005 by Nikita Borisov and Ian Goldberg
+
+Upstream Authors: OTR Dev Team <otr@cypherpunks.ca>
+
+License:
+
+   This package is free software; you can redistribute it and/or modify
+   it under  the terms of the GNU Lesser General Public Licence
+   as published by the Free Software Foundation; version 2.1 dated
+   February, 1999.
+
+   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 Lesser 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 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
--- libotr-3.2.0.orig/debian/libotr2.install
+++ libotr-3.2.0/debian/libotr2.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.* usr/lib
--- libotr-3.2.0.orig/debian/changelog
+++ libotr-3.2.0/debian/changelog
@@ -0,0 +1,69 @@
+libotr (3.2.0-1~bpo40+1) etch-backports; urgency=low
+
+  * Backport testing version for backports.org (no source changes)
+
+ -- Micah Anderson <micah@debian.org>  Tue,  9 Sep 2008 15:49:23 -0600
+
+libotr (3.2.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Thibaut VARENE <varenet@debian.org>  Sun, 22 Jun 2008 22:48:01 +0200
+
+libotr (3.1.0-2) unstable; urgency=low
+
+  * Closes: #459458: -dev package now depends on libgcrypt11-dev
+
+ -- Thibaut VARENE <varenet@debian.org>  Sun, 13 Jan 2008 18:42:33 +0100
+
+libotr (3.1.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Thibaut VARENE <varenet@debian.org>  Mon, 20 Aug 2007 21:24:29 +0200
+
+libotr (3.0.0+cvs20070515-1) unstable; urgency=low
+
+  * Upstream snapshot to work with pidgin-otr (Closes: #423722)
+
+ -- Thibaut VARENE <varenet@debian.org>  Tue, 15 May 2007 18:55:22 +0200
+
+libotr (3.0.0-2) unstable; urgency=low
+
+  * Fix typo: "malformed messahes" (Closes: #345400)
+
+ -- Thibaut VARENE <varenet@debian.org>  Mon,  2 Jan 2006 19:52:18 +0100
+
+libotr (3.0.0-1) unstable; urgency=low
+
+  * New upstream release (closes: #337851)
+  * Support for OTR protocol version 2
+
+ -- Thibaut VARENE <varenet@debian.org>  Sat, 19 Nov 2005 00:08:41 +0100
+
+libotr (2.0.2-1) unstable; urgency=high
+
+  * New upstream release
+  * Fixes a potential security issue (buffer overflow in src/privkey.c)
+
+ -- Thibaut VARENE <varenet@debian.org>  Mon, 16 May 2005 18:53:59 +0200
+
+libotr (2.0.1-1) unstable; urgency=low
+
+  * New upstream release
+  * First Debian upload (closes: #291261)
+
+ -- Thibaut VARENE <varenet@debian.org>  Wed, 23 Feb 2005 20:20:06 +0100
+
+libotr (2.0.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- OTR Dev Team <otr@cypherpunks.ca>  Tue, 08 Feb 2005 15:00:13 -0500
+
+libotr (1.99.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- OTR Dev Team <otr@cypherpunks.ca>  Wed, 02 Feb 2005 09:37:01 -0500
+
--- libotr-3.2.0.orig/debian/libotr2-dev.dirs
+++ libotr-3.2.0/debian/libotr2-dev.dirs
@@ -0,0 +1,3 @@
+usr/lib
+usr/include
+usr/share/aclocal
--- libotr-3.2.0.orig/debian/control
+++ libotr-3.2.0/debian/control
@@ -0,0 +1,83 @@
+Source: libotr
+Section: libs
+Priority: optional
+Maintainer: Thibaut VARENE <varenet@debian.org>
+Build-Depends: debhelper (>= 4.0.0), libgpg-error-dev (>= 1.0), libgcrypt11-dev (>= 1.2.0)
+Standards-Version: 3.8.0
+
+Package: libotr2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: libotr2-bin (>= ${binary:Version})
+Replaces: libotr0
+Description: Off-the-Record Messaging library
+ Off-the-Record (OTR) Messaging Library and Toolkit
+ .
+ OTR allows you to have private conversations over IM by providing:
+  - Encryption
+    - No one else can read your instant messages.
+  - Authentication
+    - You are assured the correspondent is who you think it is.
+  - Deniability
+    - The messages you send do _not_ have digital signatures that are
+      checkable by a third party.  Anyone can forge messages after a
+      conversation to make them look like they came from you.  However,
+      _during_ a conversation, your correspondent is assured the messages
+      he sees are authentic and unmodified.
+  - Perfect forward secrecy
+    - If you lose control of your private keys, no previous conversation
+      is compromised.
+
+Package: libotr2-bin
+Section: misc
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: libotr1-bin
+Replaces: libotr1-bin
+Description: toolkit for Off-the-Record Messaging library
+ Off-the-Record (OTR) Messaging Library toolkit
+ .
+ OTR allows you to have private conversations over IM by providing:
+  - Encryption
+    - No one else can read your instant messages.
+  - Authentication
+    - You are assured the correspondent is who you think it is.
+  - Deniability
+    - The messages you send do _not_ have digital signatures that are
+      checkable by a third party.  Anyone can forge messages after a
+      conversation to make them look like they came from you.  However,
+      _during_ a conversation, your correspondent is assured the messages
+      he sees are authentic and unmodified.
+  - Perfect forward secrecy
+    - If you lose control of your private keys, no previous conversation
+      is compromised.
+  .
+  This package contains the program files for the OTR library.
+
+Package: libotr2-dev
+Section: libdevel
+Architecture: any
+Depends: libotr2 (= ${binary:Version}), libgcrypt11-dev, ${shlibs:Depends}
+Conflicts: libotr-dev, libotr1-dev
+Replaces: libotr-dev, libotr0-dev, libotr1-dev
+Description: Off-the-Record Messaging library development files
+ Off-the-Record (OTR) Messaging Library
+ .
+ OTR allows you to have private conversations over IM by providing:
+  - Encryption
+    - No one else can read your instant messages.
+  - Authentication
+    - You are assured the correspondent is who you think it is.
+  - Deniability
+    - The messages you send do _not_ have digital signatures that are
+      checkable by a third party.  Anyone can forge messages after a
+      conversation to make them look like they came from you.  However,
+      _during_ a conversation, your correspondent is assured the messages
+      he sees are authentic and unmodified.
+  - Perfect forward secrecy
+    - If you lose control of your private keys, no previous conversation
+      is compromised.
+  .
+  This package contains the header files and static libraries needed to
+  develop applications using libotr.
--- libotr-3.2.0.orig/debian/libotr2.dirs
+++ libotr-3.2.0/debian/libotr2.dirs
@@ -0,0 +1 @@
+usr/lib
--- libotr-3.2.0.orig/debian/libotr2-dev.install
+++ libotr-3.2.0/debian/libotr2-dev.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/include/* usr/include
+debian/tmp/usr/lib/lib*.a usr/lib
+debian/tmp/usr/lib/lib*.la usr/lib
+debian/tmp/usr/lib/lib*.so usr/lib
+debian/tmp/usr/share/aclocal/* usr/share/aclocal
