summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-09 15:46:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-12 19:25:18 +0000
commit7458016bda0c4b3a1d894ed95c85548bc52839fb (patch)
tree3ccaec745356629bddf6434883f90faeff4414bd
parentAdding upstream version 0.10.2. (diff)
downloadmailredirect-7458016bda0c4b3a1d894ed95c85548bc52839fb.tar.xz
mailredirect-7458016bda0c4b3a1d894ed95c85548bc52839fb.zip
Adding progress-linux version 0.10.2-0+progress5u1.HEADprogress-linux/0.10.2-0+progress5u1progress-linux
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/control31
-rw-r--r--debian/copyright22
-rw-r--r--debian/patches/progress-linux/0001-build-directory.patch42
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules15
-rw-r--r--debian/source/format1
7 files changed, 117 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f9c262c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mailredirect (0.10.2-0+progress5u1) engywuck-extras; urgency=low
+
+ * Initial upload to engywuck-extras.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 09 Feb 2019 16:40:36 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..17366f3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: mailredirect
+Section: mail
+Priority: optional
+Maintainer: Progress Linux Maintainers <maintainers@lists.progress-linux.org>
+XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org>
+Bugs: mailto:maintainers@lists.progress-linux.org
+Build-Depends:
+ debhelper-compat (= 12),
+ mozilla-devscripts,
+ rsync,
+Rules-Requires-Root: no
+Standards-Version: 4.3.0
+Homepage: https://mailredirect.sourceforge.io
+Vcs-Browser: https://git.progress-linux.org/distributions/engywuck-extras/packages/mailredirect
+Vcs-Git: https://git.progress-linux.org/distributions/engywuck-extras/packages/mailredirect
+
+Package: webext-mailredirect
+Section: mail
+Architecture: all
+Depends:
+ thunderbird,
+ ${misc:Depends},
+Enhances:
+ thunderbird,
+Description: redirect mail messages to other recipients
+ Thunderbird is an mail client suitable for free distribution. The goal of
+ Thunderbird is to produce a cross platform stand-alone mail application using
+ the XUL user interface language.
+ .
+ This package contains an extension that allows one to redirect (aka "remail" or
+ "bounce") mail messages to other recipients.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6efa017
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,22 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Mailredirect
+Upstream-Contact: Onno Ekker <o.e.ekker@gmail.com>
+Source: https://sourceforge.net/projects/mailredirect/
+
+Files: *
+Copyright: 2004-2010 Paweł Krześniak <pawel.krzesniak@gmail.com>
+ 2010-2012 Ronald Wahl <rwahl@gmx.de>
+ 2012-2019 Onno Ekker <o.e.ekker@gmail.com>
+License: MPL-2.0
+
+Files: debian/*
+Copyright: 2010-2019 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: MPL-2.0
+
+License: MPL-2.0
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ .
+ The complete text of the Mozilla Public License
+ can be found in /usr/share/common-licenses/MPL-2 file.
diff --git a/debian/patches/progress-linux/0001-build-directory.patch b/debian/patches/progress-linux/0001-build-directory.patch
new file mode 100644
index 0000000..fa9086e
--- /dev/null
+++ b/debian/patches/progress-linux/0001-build-directory.patch
@@ -0,0 +1,42 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Building xpi in build directory.
+
+diff -Naurp mailredirect.orig/make-amo.sh mailredirect/make-amo.sh
+--- mailredirect.orig/make-amo.sh
++++ mailredirect/make-amo.sh
+@@ -4,16 +4,14 @@ DEST=amo
+ if [ "$(uname)" == "Linux" ]
+ then
+ SRC=$(basename "$(dirname "$(readlink -f "${0}")")")
+- cd $(dirname .)/..
+ else
+ SRC=$(basename "$(dirname "$(cygpath -u $(cygpath -m -s "${0}"))")")
+- cd $(dirname $(cygpath -u $(cygpath -m -s "${0}")))/..
+ fi
+-[ -d xpi ] || mkdir xpi
+-cd xpi
+-rm -fr ${DEST}/
+-rsync -a --exclude-from=../${SRC}/make-exclude.txt ../${SRC}/* ${DEST}/
+-cd ${DEST}/chrome/locale
++rm -fr build
++mkdir build
++cd build
++rsync -a --exclude-from=../make-exclude.txt --exclude build --exclude debian ../* .
++cd chrome/locale
+ for locale in *
+ do
+ if [ "${locale}" != "en-US" ]
+@@ -84,7 +82,7 @@ echo icon.png >> mailredirect.txt
+ echo LICENSE >> mailredirect.txt
+ echo README >> mailredirect.txt
+ grep \<em:update install.rdf > make-grep.txt
+-grep -v -f make-grep.txt ../../${SRC}/install.rdf > install.rdf
++grep -v -f make-grep.txt ../install.rdf > install.rdf
+ rm make-grep.txt
+ version=$(grep em:version install.rdf | sed -r "s/^[^>]*>//" | sed -r "s/<.*$//")
+ grep -v update_url manifest.json > manifest.tmp
+@@ -94,4 +92,3 @@ rm manifest.tmp
+ rm mailredirect-${version}-sm+tb.xpi 2> /dev/null
+ zip -r -D -9 mailredirect-${version}-sm+tb.xpi -@ < mailredirect.txt
+ rm mailredirect.txt
+-read -p "Press any key to continue . . . " -n 1
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3a4405e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+progress-linux/0001-build-directory.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..84582b1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@}
+
+override_dh_auto_clean:
+ dh_auto_clean
+
+ rm -rf build
+
+override_dh_auto_build:
+ ./make-amo.sh
+
+override_dh_auto_install:
+ install-xpi build/*.xpi
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)