commit:     8dfdbde3c36499cfcff2be128fcef1c0b010b43f
Author:     Lucian Poston <lucianposton <AT> pm <DOT> me>
AuthorDate: Sat May 19 11:35:11 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 17 11:20:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfdbde3

mail-mta/protonmail-bridge-bin: new package

Closes: https://bugs.gentoo.org/656112
Closes: https://github.com/gentoo/gentoo/pull/8483
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 licenses/protonmail-bridge-EULA                    | 33 +++++++++++++++++
 mail-mta/protonmail-bridge-bin/Manifest            |  1 +
 mail-mta/protonmail-bridge-bin/metadata.xml        | 12 +++++++
 .../protonmail-bridge-bin-1.0.4.ebuild             | 42 ++++++++++++++++++++++
 profiles/license_groups                            |  2 +-
 5 files changed, 89 insertions(+), 1 deletion(-)

diff --git a/licenses/protonmail-bridge-EULA b/licenses/protonmail-bridge-EULA
new file mode 100644
index 00000000000..5a2af884ffd
--- /dev/null
+++ b/licenses/protonmail-bridge-EULA
@@ -0,0 +1,33 @@
+End User License Agreement ("Agreement")
+
+Last updated: January 17, 2017
+
+Please read this End User License Agreement ("Agreement") carefully before 
downloading or using the ProtonMail Bridge ("Application").
+
+By downloading or using the Application, you are agreeing to be bound by the 
terms and conditions of this Agreement.
+If you do not agree to the terms of this Agreement, do not download or use the 
Application.
+
+License
+Proton Technologies AG ("ProtonMail") grants you a revocable, nonexclusive, 
non-transferable, limited license to download, install and use the Application 
solely for your personal, non-commercial purposes strictly in accordance with 
the terms of this Agreement.
+
+Restrictions
+You agree not to, and you will not permit others to:
+a) license, sell, rent, lease, assign, distribute, transmit, host, outsource, 
disclose or otherwise commercially exploit the Application or make the 
Application available to any third party.
+
+Modifications to Application
+ProtonMail reserves the right to modify, suspend or discontinue, temporarily 
or permanently, the Application or any service to which it connects, with or 
without notice and without liability to you.
+
+Term and Termination
+This Agreement shall remain in effect until terminated by you or ProtonMail. 
ProtonMail may, in its sole discretion, at any time and for any or no reason, 
suspend or terminate this Agreement with or without prior notice.
+This Agreement will terminate immediately, without prior notice from 
ProtonMail, in the event that you fail to comply with any provision of this 
Agreement. You may also terminate this Agreement by deleting the Application 
and all copies thereof from your mobile device or from your desktop.
+Upon termination of this Agreement, you shall cease all use of the Application 
and delete all copies of the Application from your mobile device or from your 
desktop.
+
+Severability
+If any provision of this Agreement is held to be unenforceable or invalid, 
such provision will be changed and interpreted to accomplish the objectives of 
such provision to the greatest extent possible under applicable law and the 
remaining provisions will continue in full force and effect.
+
+Amendments to this Agreement
+ProtonMail reserves the right, at its sole discretion, to modify or replace 
this Agreement at any time. If a revision is material, we will provide at least 
30 days' notice prior to any new terms taking effect. What constitutes a 
material change will be determined at our sole discretion.
+
+Contact Information
+If you have any questions about this Agreement, please contact us.
+

diff --git a/mail-mta/protonmail-bridge-bin/Manifest 
b/mail-mta/protonmail-bridge-bin/Manifest
new file mode 100644
index 00000000000..2209f0bab9d
--- /dev/null
+++ b/mail-mta/protonmail-bridge-bin/Manifest
@@ -0,0 +1 @@
+DIST protonmail-bridge-1.0.4-1.x86_64.rpm 47422421 BLAKE2B 
0846ce606feec1402e606a3b1bbe5c4431f804afc07e24689c77bcc64f211fe756a6890598e79cb6f6169a41a20158f7685b8d26a10fb91926abc77a5681ae20
 SHA512 
6d366ac02dec8ae3fa2bf188eff7cdaf6155c30386c76d29771362b573b3f3abc0e26df837955cb5f56d51ed1cd1b0b603911886478b5cfc7a750b2ee0077538

diff --git a/mail-mta/protonmail-bridge-bin/metadata.xml 
b/mail-mta/protonmail-bridge-bin/metadata.xml
new file mode 100644
index 00000000000..6bf484adc0d
--- /dev/null
+++ b/mail-mta/protonmail-bridge-bin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Lucian Poston</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild 
b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild
new file mode 100644
index 00000000000..b00b93b2007
--- /dev/null
+++ b/mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit rpm
+
+DESCRIPTION="Serves ProtonMail to IMAP/SMTP clients"
+HOMEPAGE="https://protonmail.com/bridge/";
+SRC_URI="https://protonmail.com/download/${P/-bin/}-1.x86_64.rpm";
+
+RESTRICT="bindist mirror"
+
+LICENSE="MIT protonmail-bridge-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+       app-crypt/libsecret
+       dev-libs/glib:2
+       media-sound/pulseaudio
+       virtual/opengl
+"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="*"
+
+src_install() {
+       # Using doins -r would strip executable bits from all binaries
+       cp -pPR "${S}"/usr "${D}"/ || die "Failed to copy files"
+
+       dosym "Desktop-Bridge" "/usr/bin/${PN}" || die
+
+       cat <<-EOF > "${T}/50-${PN}" || die
+               SEARCH_DIRS_MASK="/usr/lib*/protonmail/bridge"
+       EOF
+       insinto /etc/revdep-rebuild
+       doins "${T}/50-${PN}"
+}

diff --git a/profiles/license_groups b/profiles/license_groups
index 061270706dd..93840420b61 100644
--- a/profiles/license_groups
+++ b/profiles/license_groups
@@ -71,7 +71,7 @@ BINARY-REDISTRIBUTABLE @FREE bh-luxi Broadcom Dina 
intel-ucode ipw2100-fw ipw220
 
 # License agreements that try to take away your rights. These are more
 # restrictive than "all-rights-reserved" or require explicit approval.
-EULA AdobeFlash-11.x ArxFatalis-EULA-JoWooD baudline BCS bf1942-lnxded 
CAPYBARA-EULA Coherent-Graphics CROSSOVER-2 DOOM3 ETQW f.lux FAH-EULA-2014 
FraunhoferFDK GameFront Gameplay-Group-EULA geekbench genymotion GIMPS GOG-EULA 
google-chrome Google-TOS Intel-SDP Introversion LastPass LOKI-EULA LRCTF 
MakeMKV-EULA MARBLEBLAST Mendeley-terms Microsemi MTA-0.5 NVIDIA-CODEC-SDK 
NVIDIA-CUDA Nero-AAC-EULA Nero-EULA-US OPERA-12 OPERA-2014 Oracle-BCLA-JavaSE 
PAPERS-PLEASE POMPOM postal2 Primate-Plunge PUEL Q3AEULA Q3AEULA-20000111 
QUAKE4 Quartus-prime-megacore RAR RTCW RTCW-ETEULA RuneScape-EULA SJ-Labs 
StarUML-EULA supermicro teamspeak3 TeamViewer THINKTANKS UPEK-SDK-EULA ut2003 
ut2003-demo Vivaldi worklog-assistant zi-labone
+EULA AdobeFlash-11.x ArxFatalis-EULA-JoWooD baudline BCS bf1942-lnxded 
CAPYBARA-EULA Coherent-Graphics CROSSOVER-2 DOOM3 ETQW f.lux FAH-EULA-2014 
FraunhoferFDK GameFront Gameplay-Group-EULA geekbench genymotion GIMPS GOG-EULA 
google-chrome Google-TOS Intel-SDP Introversion LastPass LOKI-EULA LRCTF 
MakeMKV-EULA MARBLEBLAST Mendeley-terms Microsemi MTA-0.5 NVIDIA-CODEC-SDK 
NVIDIA-CUDA Nero-AAC-EULA Nero-EULA-US OPERA-12 OPERA-2014 Oracle-BCLA-JavaSE 
PAPERS-PLEASE POMPOM postal2 Primate-Plunge protonmail-bridge-EULA PUEL Q3AEULA 
Q3AEULA-20000111 QUAKE4 Quartus-prime-megacore RAR RTCW RTCW-ETEULA 
RuneScape-EULA SJ-Labs StarUML-EULA supermicro teamspeak3 TeamViewer THINKTANKS 
UPEK-SDK-EULA ut2003 ut2003-demo Vivaldi worklog-assistant zi-labone
 
 # Local Variables:
 # mode: conf-space

Reply via email to