From 79caabae492eb9cacd2c9cc6755d48455a3cf4c1 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Tue, 27 Jun 2023 05:44:25 -0600 Subject: [PATCH] mail-client/sylpheed: Changed dependency: dev-libs/openssl-compat --- mail-client/sylpheed/Manifest | 5 ++ mail-client/sylpheed/sylpheed-3.7.0-r6.ebuild | 69 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 mail-client/sylpheed/sylpheed-3.7.0-r6.ebuild diff --git a/mail-client/sylpheed/Manifest b/mail-client/sylpheed/Manifest index 8bcca88..57be37c 100644 --- a/mail-client/sylpheed/Manifest +++ b/mail-client/sylpheed/Manifest @@ -1 +1,6 @@ +AUX sylpheed-CVE-2021-37746.patch 1284 BLAKE2B c0b17ed528a957c9a907c5cbf8ba3288ce989cd0f6da28571e92a210e36008a3c26bc52f0d6eeea6c6c922d1fb3c920a81aeeb2cae6b8f785edee780615d768c SHA512 dd3d00ee9bfaff6e1670ed312d90ddd016c28cee244eae35feb8acd922adf916fdf134663b497bd3541e2706a612f62a932bee11ff2629d4109d2994251e39a1 +AUX sylpheed-tls-1.3.patch 496 BLAKE2B faa07a14de7f8f0501a2de29fc98ebcda52138f6a912ceaf114fddd4b5029fb81a2a2c3a55724beb191fcaa613a828225bbacf6a7cdb46a66b69e763525b5483 SHA512 a4590da5381ff60d5d0549af674f9f1a30acb7617a5d76a5e11b34d74d699bc91e1d80380e5b346a66933b097ea915fffd7508571df504686777e13701585377 DIST sylpheed-3.7.0.tar.bz2 3612328 BLAKE2B bd8182db8a46b956e12b3da4b15d3ee8184a612e2fb216aca20fd4a022610b17416f994d36b390a5a92835915e95f08bd59bf71154a86962c9564162be891f21 SHA512 490837528bf7ba9d26994cd5fff00b6e5390a127419b9d0efd9fc25c38be1291d55c5b8daebdf5ca9d9159a51c938449e76212328f3eae40cc039db88cb5caa4 +EBUILD sylpheed-3.7.0-r5.ebuild 1639 BLAKE2B feeb2b39247eba5e68a2fdd52b814e9580078fbe27cdf4574c848e5adb0a376fe0b716c1ed8fb473eb7013a7fe11db1aa6982ba10188fca3d64b4ceb627a38c7 SHA512 2f87420bf825ca14a40bb4b0e8815cd6eda32496b110f3bd1448239316a110ad8fafffa52b1696dee4384c869c105b57955aeadc2f1017ebd07488de7db97fd5 +EBUILD sylpheed-3.7.0-r6.ebuild 1650 BLAKE2B 453d0a434e4f977343528c2086171982ed7fc6c068060ff781f9fbfea7a97c2b76fa47213074051477c77475774f0aadd274126366c59051d50013778642eac9 SHA512 e00864145d8074f595053bd9cd0f16e41281467238d427b4fedac6d84d31a7c6a9616036afcdd2bb8d5b7c13288a34bb3410246d9ad3870ea57d6ea814e1b49c +MISC metadata.xml 353 BLAKE2B fcf86ed5908d01a1bbc2ee5c0a20a9b378a72039814d5cdcc1a139c14cab31d4137d020449c705002e61b0fa9294d4f8e1abd09a71ca7adae37f6e298c881448 SHA512 44dac43e49c796178bad4884b9a57cd225e6e6e9f78e72eb01e34a2f68fd277bce050aa527284f9a638d8b05c2cda9fdbdc2af72d2efdeca5ebbd0e0b168fc71 diff --git a/mail-client/sylpheed/sylpheed-3.7.0-r6.ebuild b/mail-client/sylpheed/sylpheed-3.7.0-r6.ebuild new file mode 100644 index 0000000..363dbd4 --- /dev/null +++ b/mail-client/sylpheed/sylpheed-3.7.0-r6.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit desktop xdg + +DESCRIPTION="A lightweight email client and newsreader" +HOMEPAGE="http://sylpheed.sraoss.jp/" +SRC_URI="http://${PN}.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86" +IUSE="crypt ipv6 ldap nls oniguruma spell ssl xface" + +CDEPEND="net-libs/liblockfile + x11-libs/gtk+:2 + crypt? ( app-crypt/gpgme:= ) + ldap? ( net-nds/openldap:= ) + nls? ( sys-devel/gettext ) + oniguruma? ( dev-libs/oniguruma:= ) + spell? ( + app-text/gtkspell:2 + dev-libs/dbus-glib + ) + ssl? ( dev-libs/openssl-compat:1.1.1= )" +RDEPEND="${CDEPEND} + app-misc/mime-types + net-misc/curl" +DEPEND="${CDEPEND} + xface? ( media-libs/compface )" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-tls-1.3.patch + "${FILESDIR}"/${PN}-CVE-2021-37746.patch +) +DOCS="AUTHORS ChangeLog* NEW* PLUGIN* README* TODO*" + +src_configure() { + local htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + econf \ + $(use_enable crypt gpgme) \ + $(use_enable ipv6) \ + $(use_enable ldap) \ + $(use_enable oniguruma) \ + $(use_enable spell gtkspell) \ + $(use_enable ssl) \ + $(use_enable xface compface) \ + --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins \ + --with-manualdir="${htmldir}"/manual \ + --with-faqdir="${htmldir}"/faq \ + --disable-updatecheck +} + +src_install() { + default + + doicon *.png + domenu *.desktop + + cd plugin/attachment_tool + emake DESTDIR="${D}" install-plugin + docinto plugin/attachment_tool + dodoc README + + find "${ED}" -name '*.la' -delete || die +}