Skip to content

Commit

Permalink
mail-mta/protonmail-bridge-bin: new package
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/656112
Closes: gentoo#8483
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
lucianposton authored and mgorny committed Jun 17, 2018
1 parent e009aad commit 8dfdbde
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 1 deletion.
33 changes: 33 additions & 0 deletions licenses/protonmail-bridge-EULA
Original file line number Diff line number Diff line change
@@ -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.

1 change: 1 addition & 0 deletions mail-mta/protonmail-bridge-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST protonmail-bridge-1.0.4-1.x86_64.rpm 47422421 BLAKE2B 0846ce606feec1402e606a3b1bbe5c4431f804afc07e24689c77bcc64f211fe756a6890598e79cb6f6169a41a20158f7685b8d26a10fb91926abc77a5681ae20 SHA512 6d366ac02dec8ae3fa2bf188eff7cdaf6155c30386c76d29771362b573b3f3abc0e26df837955cb5f56d51ed1cd1b0b603911886478b5cfc7a750b2ee0077538
12 changes: 12 additions & 0 deletions mail-mta/protonmail-bridge-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>
42 changes: 42 additions & 0 deletions mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild
Original file line number Diff line number Diff line change
@@ -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}"
}
2 changes: 1 addition & 1 deletion profiles/license_groups
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dfdbde

Please sign in to comment.