[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-messenger-build/master] Add thunderbird



commit 2c28bee39ec6137026afa1948fe1c6679efb0a85
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date:   Thu Mar 19 13:16:14 2015 +0100

    Add thunderbird
---
 keyring/thunderbird.gpg     |  Bin 0 -> 2780 bytes
 projects/thunderbird/build  |    7 +++++++
 projects/thunderbird/config |   18 ++++++++++++++++++
 3 files changed, 25 insertions(+)

diff --git a/keyring/thunderbird.gpg b/keyring/thunderbird.gpg
new file mode 100644
index 0000000..f21b9f5
Binary files /dev/null and b/keyring/thunderbird.gpg differ
diff --git a/projects/thunderbird/build b/projects/thunderbird/build
new file mode 100644
index 0000000..d7cbf9b
--- /dev/null
+++ b/projects/thunderbird/build
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+mv [% c('input_files_by_name/thunderbird') %] [% c('var/src_filename') %]
+grep [% c('var/moz_osname') %]/en-US/[% c('var/src_filename') %] sha512sums-[% c("version") %] | \
+    perl -pe 's/[% c('var/moz_osname') %]\/en-US\/[% c('var/src_filename') %]$/[% c('var/src_filename') %]/' | \
+    sha512sum -c
+cp -p [% c('var/src_filename') %] [% dest_dir %]/[% c('filename') %]
diff --git a/projects/thunderbird/config b/projects/thunderbird/config
new file mode 100644
index 0000000..135376f
--- /dev/null
+++ b/projects/thunderbird/config
@@ -0,0 +1,18 @@
+# vim: filetype=yaml
+version: 31.5.0
+filename: 'thunderbird-[% c("version") %]-[% c("var/osname") %].[% c("var/extension") %]'
+
+var:
+    moz_osname: '[% c("var/osname") %]'
+    extension: tar.bz2
+    src_filename: 'thunderbird-[% c("version") %].[% c("var/extension") %]'
+
+input_files:
+    - filename: 'mozilla-thunderbird-[% c("version") %]-[% c("var/moz_osname") %].[% c("var/extension") %]'
+      URL: 'https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/[% c("version") %]/[% c("var/moz_osname") %]/en-US/[% c("var/src_filename") %]'
+      name: thunderbird
+    - filename: 'sha512sums-[% c("version") %]'
+      URL: 'https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/[% c("version") %]/SHA512SUMS'
+      file_gpg_id: 1
+      sig_ext: asc
+      gpg_keyring: thunderbird.gpg



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits