--- firecookie-1.0.2.orig/debian/changelog
+++ firecookie-1.0.2/debian/changelog
@@ -0,0 +1,20 @@
+firecookie (1.0.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+    - updated my mail address.
+    - updated homepage field since it was pointing to
+      the Russian homepage.
+    - long description improved. (Closes: #558357)
+  * debian/rules:
+    - removing chmod hack, permissions are now set
+      correctly during build.
+    - removed XPI_BUILD_COMMAND, it's the default now.
+
+ -- Andrea Veri <and@debian.org>  Sun, 24 Jan 2010 16:10:15 +0100
+
+firecookie (0.9.1-1) unstable; urgency=low
+
+  * Initial release (closes: #552427); 
+
+ -- Dmitry E. Oboukhov <unera@debian.org>  Mon, 26 Oct 2009 10:36:18 +0300
--- firecookie-1.0.2.orig/debian/rules
+++ firecookie-1.0.2/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/mozilla-devscripts/xpi.mk
--- firecookie-1.0.2.orig/debian/control
+++ firecookie-1.0.2/debian/control
@@ -0,0 +1,24 @@
+Source: firecookie
+Section: web
+Priority: optional
+Maintainer: Dmitry E. Oboukhov <unera@debian.org>
+Uploaders: Debian Mozilla Extension Maintainers <pkg-mozext-maintainers@lists.alioth.debian.org>,
+ Andrea Veri <and@debian.org>,
+ Benjamin Drung <bdrung@ubuntu.com>
+Build-Depends: cdbs, debhelper (>= 7), mozilla-devscripts (>= 0.16~)
+DM-Upload-Allowed: yes
+Standards-Version: 3.8.3
+Homepage: https://addons.mozilla.org/firefox/addon/6683
+VCS-Git: git://git.debian.org/pkg-mozext/firecookie.git
+VCS-Browser: http://git.debian.org/?p=pkg-mozext/firecookie.git;a=summary
+
+Package: xul-ext-firecookie
+Architecture: all
+Depends: ${misc:Depends}, xul-ext-firebug
+Recommends: ${xpi:Recommends}
+Provides: ${xpi:Provides}
+Enhances: ${xpi:Enhances}
+Description: extension for Firebug to view and manage cookies in your browser
+ This Iceweasel / Firefox addon provides a cookie manager for Firebug. You can use
+ this extension to create new cookies, delete existing ones, browse the list of cookies 
+ for the current website or directly manage their permissions and a lot more.
--- firecookie-1.0.2.orig/debian/copyright
+++ firecookie-1.0.2/debian/copyright
@@ -0,0 +1,76 @@
+This package was debianized by Dmitry E. Oboukhov <unera@debian.org> on
+Mon Oct 26 10:42:48 MSK 2009
+
+It was downloaded from:
+	https://addons.mozilla.org/en-US/firefox/addon/6683
+
+Upstream Author:
+	Jan Odvarko <odvarko@gmail.com>
+
+Contributors:
+	Aleksandar Gajic (cookie icon)
+	Leszek(teo)Życzkowski	
+
+Translators:
+	Leszek(teo)Życzkowski (pl-PL)
+	CosmicForce (de-De)
+	Alberto Eidh (pt-BR)
+	Efecan Erdur (tr-TR)
+	Lukáš Kucharczyk (cs-CZ)
+	delphine (fr-FR)
+	Johnbo (es-ES)
+	Hisateru Tanaka (ja-JP)
+	Dark Preacher (ru-RU)
+	alexxed (ro-RO)
+	Hector Zhao (zh-CN)
+	gLes (hu-HU)
+	eternoendless (es-AR)
+	Andriy Zhouck (uk-UA)
+	l0stintranslation (it-IT)
+	peter3 (sv-SE)
+	markh (nl-NL)
+
+Copyright (c) 2008, Jan Odvarko <odvarko@gmail.com>
+
+License:
+	Software License Agreement (BSD License)
+
+	Copyright (c) 2008, Jan Odvarko <odvarko@gmail.com>
+	http://www.softwareishard.com
+	http://www.janodvarko.cz/firecookie
+
+	All rights reserved.
+
+	Redistribution and use of this software in source and binary forms,
+	with or without modification, are permitted provided that the
+	following conditions are met:
+
+	* Redistributions of source code must retain the above
+	  copyright notice, this list of conditions and the
+	  following disclaimer.
+
+	* Redistributions in binary form must reproduce the above
+	  copyright notice, this list of conditions and the
+	  following disclaimer in the documentation and/or other
+	  materials provided with the distribution.
+
+	* Neither the name of Jan Odvarko nor the names of its
+	  contributors may be used to endorse or promote products
+	  derived from this software without specific prior
+	  written permission.
+
+	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+	"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+	LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+	FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+	COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+	INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+	(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+	SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+	HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+	STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+	OF THE POSSIBILITY OF SUCH DAMAGE.  
+
+Debian packaging is (C) 2009, Dmitry E. Oboukhov <unera@debian.org>
+and is licensed under the GPLv3, see /usr/share/common-licenses/GPL-3.
--- firecookie-1.0.2.orig/debian/compat
+++ firecookie-1.0.2/debian/compat
@@ -0,0 +1 @@
+7
--- firecookie-1.0.2.orig/debian/watch
+++ firecookie-1.0.2/debian/watch
@@ -0,0 +1,4 @@
+version=3
+  opts="uversionmangle=s/(?=[^\.\d]+(?:\d+)?)$/\~/;s/0(\d)/0.$1/g" \
+  http://releases.mozilla.org/pub/mozilla.org/addons/6683/ \
+    firecookie-(\d+(?:\.\d+){1,3}(?:\w+\d+)?).*\.xpi
