From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- mail-client/sylpheed/Manifest | 3 +- mail-client/sylpheed/files/sylpheed-tls-1.3.patch | 17 ++++++ mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild | 67 ++++++++++++++++++++++ mail-client/sylpheed/sylpheed-3.7.0.ebuild | 68 ----------------------- 4 files changed, 86 insertions(+), 69 deletions(-) create mode 100644 mail-client/sylpheed/files/sylpheed-tls-1.3.patch create mode 100644 mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild delete mode 100644 mail-client/sylpheed/sylpheed-3.7.0.ebuild (limited to 'mail-client/sylpheed') diff --git a/mail-client/sylpheed/Manifest b/mail-client/sylpheed/Manifest index f46fff6fbbd7..4a610fa0cbd9 100644 --- a/mail-client/sylpheed/Manifest +++ b/mail-client/sylpheed/Manifest @@ -1,3 +1,4 @@ +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.ebuild 1607 BLAKE2B 8b8b9c5412c9ec740d50448f47627015f544fb7f0e82394ee196f5d181635fe7e4cf5a56d0aa55eacdb5fc7bccd982bb6fe0a0a1730ced9da8f51344f368b988 SHA512 91341cb41f5d76135dd07211723e11f659a17e2d219e574ca51d87ef311380c033d5db60481ad3cc274c240d5a555f2826ced1daddf99657d34e12fc305fb653 +EBUILD sylpheed-3.7.0-r1.ebuild 1609 BLAKE2B ff5385bce6c6451d01548af01f55f66f55ca37dcb460a691b7d0ae808ae00acc02a316005f416c17584feae69ddd7f6d0b1f132cf959ce9646002f4a8f74cf14 SHA512 353696c8828ed30913cae0d01a9a06d75a0ec990597e6603182e380ce7f78dfe320d4567e82034296c083595f9a76e026b8c6ca8d4419c1a249e944c987593ce MISC metadata.xml 352 BLAKE2B 405cc3d3cb69bbfeb0efdaa63e29393c3e1792bf8ce5a5cfbb69c1bebd9746287e3ee11c30b59d92ac7072965baed99ef991c68553fb24a47ff972feece097e7 SHA512 3392043b42819ac3ed03543881fd1eafc56f253d47d424b8ba4b62346ac04c1e6ac8e925bfcada44320bb26283f4e777832c5349e32a77c1e7b14796c0b03ed8 diff --git a/mail-client/sylpheed/files/sylpheed-tls-1.3.patch b/mail-client/sylpheed/files/sylpheed-tls-1.3.patch new file mode 100644 index 000000000000..a8215dd2a0d1 --- /dev/null +++ b/mail-client/sylpheed/files/sylpheed-tls-1.3.patch @@ -0,0 +1,17 @@ +https://sylpheed.sraoss.jp/redmine/issues/306 + +Author: Antonio Ospite + +--- a/libsylph/ssl.c ++++ b/libsylph/ssl.c +@@ -262,6 +262,10 @@ gboolean ssl_init_socket_with_method(SockInfo *sockinfo, SSLMethod method) + return FALSE; + } + ++#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME ++ SSL_set_tlsext_host_name(sockinfo->ssl, sockinfo->hostname); ++#endif ++ + SSL_set_fd(sockinfo->ssl, sockinfo->sock); + while ((ret = SSL_connect(sockinfo->ssl)) != 1) { + err = SSL_get_error(sockinfo->ssl, ret); diff --git a/mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild b/mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild new file mode 100644 index 000000000000..86628b8d25bf --- /dev/null +++ b/mail-client/sylpheed/sylpheed-3.7.0-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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 libressl 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? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + )" +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 ) +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 +} diff --git a/mail-client/sylpheed/sylpheed-3.7.0.ebuild b/mail-client/sylpheed/sylpheed-3.7.0.ebuild deleted file mode 100644 index d61712d49c3f..000000000000 --- a/mail-client/sylpheed/sylpheed-3.7.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils - -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 libressl nls oniguruma pda 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:= ) - pda? ( app-pda/jpilot ) - spell? ( - app-text/gtkspell:2 - dev-libs/dbus-glib - ) - ssl? ( - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) - )" -RDEPEND="${CDEPEND} - app-misc/mime-types - net-misc/curl" -DEPEND="${CDEPEND} - virtual/pkgconfig - xface? ( media-libs/compface )" - -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 pda jpilot) \ - $(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 -} -- cgit v1.2.3