diff options
author | Joonas Niilola <juippis@gentoo.org> | 2023-10-21 15:01:35 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-10-21 15:03:57 +0300 |
commit | 9b9ecd3a1659ab916315d9aa46b7811c646f0e16 (patch) | |
tree | e634d6926af35ce4ed434c5b98735952840414ea /x11-plugins | |
parent | dev-db/sqlmap: Stabilize 1.7.9 amd64, #916064 (diff) | |
download | gentoo-9b9ecd3a1659ab916315d9aa46b7811c646f0e16.tar.gz gentoo-9b9ecd3a1659ab916315d9aa46b7811c646f0e16.tar.bz2 gentoo-9b9ecd3a1659ab916315d9aa46b7811c646f0e16.zip |
x11-plugins/enigmail: treeclean
Bug: https://bugs.gentoo.org/914486
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/enigmail/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/enigmail/enigmail-2.2.4.ebuild | 78 | ||||
-rw-r--r-- | x11-plugins/enigmail/files/enigmail-no_pEp_auto_download.patch | 33 | ||||
-rw-r--r-- | x11-plugins/enigmail/metadata.xml | 8 |
4 files changed, 0 insertions, 120 deletions
diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest deleted file mode 100644 index bcd0c9596dd3..000000000000 --- a/x11-plugins/enigmail/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST enigmail-2.2.4.tar.gz 432157 BLAKE2B e6d5eab4cba2cd66669ddf38f8152511606c48ce995be331551a7b403ecbd06967c22702a06e06aa89219b5c905e835ddb4d146c0fc2cb11e1a647e46854dd1f SHA512 bf23f52ed61002b05e2e432a0abd1f576fe6eb97d94ab2241e17be86138cee153d668747f5759b967d9a4977be3dc901ee78ddb168347bdbbfed9229d27f786d diff --git a/x11-plugins/enigmail/enigmail-2.2.4.ebuild b/x11-plugins/enigmail/enigmail-2.2.4.ebuild deleted file mode 100644 index c9283c4c4b69..000000000000 --- a/x11-plugins/enigmail/enigmail-2.2.4.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit python-any-r1 - -DESCRIPTION="Mozilla extension to provide GPG support in mail clients" -HOMEPAGE="https://www.enigmail.net/" - -SLOT="0" -LICENSE="MPL-2.0 GPL-3" -IUSE="" -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/enigmail/source" - S="${WORKDIR}/${P}" -else - if [[ ${PV} = *_beta* ]] ; then - SRC_URI="https://www.enigmail.net/download/beta/${P/_/-}.tar.gz" - else - SRC_URI="https://www.enigmail.net/download/source/${P}.tar.gz" - KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux" - fi - S="${WORKDIR}/${PN}" -fi - -RDEPEND=" - ( >=app-crypt/gnupg-2.0 - || ( - app-crypt/pinentry[gtk(-)] - app-crypt/pinentry[qt5(-)] - ) - ) - !<mail-client/thunderbird-78 -" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - app-arch/zip - dev-lang/perl - " - -PATCHES=( "${FILESDIR}/enigmail-no_pEp_auto_download.patch" ) - -src_prepare() { - default - - export MAKEOPTS=-j1 -} - -src_install() { - local build_dir=build-tb - local emid=$(sed -n '/"id":/!d; s/.*\({.*}\).*/\1/; p; q' ${build_dir}/dist/manifest.json) - [[ -n ${emid} ]] || die "Could not scrape EM:ID from install.rdf" - - mv ${build_dir}/enigmail*.xpi ${build_dir}/"${emid}.xpi" || die 'Could not rename XPI to match EM:ID' - - # thunderbird - insinto "/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}" - doins ${build_dir}/"${emid}.xpi" -} - -pkg_postinst() { - local peimpl=$(eselect --brief --colour=no pinentry show) - case "${peimpl}" in - *gtk*|*qt*) ;; - *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird." - ewarn "You may be prompted for your password in an inaccessible shell!!" - ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end" - ;; - esac - if [[ -n ${REPLACING_VERSIONS} ]]; then - elog - elog "Please restart thunderbird in order for them to use" - elog "the newly installed version of enigmail." - fi -} diff --git a/x11-plugins/enigmail/files/enigmail-no_pEp_auto_download.patch b/x11-plugins/enigmail/files/enigmail-no_pEp_auto_download.patch deleted file mode 100644 index 086e00e649ae..000000000000 --- a/x11-plugins/enigmail/files/enigmail-no_pEp_auto_download.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Daniel Kahn Gillmor <dkg@fifthhorseman.net> -Date: Wed, 7 Mar 2018 11:31:50 +0100 -Subject: Avoid auto-download of pEpEngine (Closes: #891882) - -When pEpEngine is available in debian, enigmail should Depend: or -Recommend: it. In the meantime, we should disable auto-download of -the pEp engine and prefer enigmail. ---- - package/prefs/defaultPrefs.js | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/package/prefs/defaultPrefs.js b/package/prefs/defaultPrefs.js -index a1f031e..10f2c25 100755 ---- a/package/prefs/defaultPrefs.js -+++ b/package/prefs/defaultPrefs.js -@@ -14,7 +14,7 @@ - // 0: force using Enigmail - // 1: automatic mode (use pEp if Enigmail and S/MIME are not configured for any identity) - // 2: force using pEp --pref("extensions.enigmail.juniorMode", 1); -+pref("extensions.enigmail.juniorMode", 0); - - // the last configured Enigmail version - pref("extensions.enigmail.configuredVersion", ""); -@@ -204,7 +204,7 @@ pref("extensions.enigmail.warnDownloadContactKeys", true); - pref("extensions.enigmail.wrapHtmlBeforeSend", true); - - // automatically download pepmda if it is available (without askin user) --pref("extensions.enigmail.pEpAutoDownload", true); -+pref("extensions.enigmail.pEpAutoDownload", false); - - // holds the last result of the last check for pEp updates - pref("extensions.enigmail.pEpLastUpdate", 0); diff --git a/x11-plugins/enigmail/metadata.xml b/x11-plugins/enigmail/metadata.xml deleted file mode 100644 index aef898a0bf82..000000000000 --- a/x11-plugins/enigmail/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>mozilla@gentoo.org</email> - <name>Gentoo Mozilla Team</name> -</maintainer> -</pkgmetadata> |