forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mail-mta/protonmail-bridge-bin: new package
Closes: https://bugs.gentoo.org/656112 Closes: gentoo#8483 Package-Manager: Portage-2.3.24, Repoman-2.3.6
- Loading branch information
1 parent
e009aad
commit 8dfdbde
Showing
5 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
42
mail-mta/protonmail-bridge-bin/protonmail-bridge-bin-1.0.4.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters