mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-26 14:43:33 +01:00
Compare commits
3 Commits
c202f5cf48
...
9eab0d1fbe
| Author | SHA1 | Date | |
|---|---|---|---|
| 9eab0d1fbe | |||
| ba25d8f5ba | |||
| 6b5606cadb |
13
mail-client/sylpheed/Manifest
Normal file
13
mail-client/sylpheed/Manifest
Normal file
@@ -0,0 +1,13 @@
|
||||
AUX sylpheed-CVE-2021-37746.patch 1284 BLAKE2B c0b17ed528a957c9a907c5cbf8ba3288ce989cd0f6da28571e92a210e36008a3c26bc52f0d6eeea6c6c922d1fb3c920a81aeeb2cae6b8f785edee780615d768c SHA512 dd3d00ee9bfaff6e1670ed312d90ddd016c28cee244eae35feb8acd922adf916fdf134663b497bd3541e2706a612f62a932bee11ff2629d4109d2994251e39a1
|
||||
AUX sylpheed-debian-Specify-MACRO_DIRS-as-general.patch 506 BLAKE2B 0b1ec398cbdb6ea9c6b1b258d7c945b35f03c24838322d66ecacdf34e70014ec15fabe4ee3e3f4a8aafca64219115512ba0e32fb0f1829cb266e1a89ad413436 SHA512 c2540d4288af38102cac4e966c643b2271a40b743d2a1804890080c5e9cb1b8900a358c999c5db8c14c29e34677c22fef15c712a163c8afce33c7d2a6f484c9e
|
||||
AUX sylpheed-debian-address-book.patch 901 BLAKE2B 7f33a243da7b7d2eb355530417897eba180b7fd16dc29fa455b8e24519aa337353b4077ac96b5330620e409eed9b1df6c81642bb72375e88b4e9c86d47e32865 SHA512 ecaf23f5e8d83ad58b72b934204baab02617ced1b30788903a8cef10868b963899602d9ba8540eee1e82ef906ae89a66b4152c2509932bfadf1db551962e2764
|
||||
AUX sylpheed-debian-detect-oniguruma-without-onig-config.patch 1028 BLAKE2B 060ba20c02555570ff49bfa15e624e5a51f8ee0cc91d3b558f34449b43991330118bb735607d8f502e9c1c8e4eea89921948140231a4312fd349699a51e72555 SHA512 2b612d1cfdf3963387242f41e7a68c5081c028faedee4353e21ba4be29aab93c013b9ccf9042dacbf711166190f52f6c8e1943fd64cbc96d3e342d6374a0c613
|
||||
AUX sylpheed-debian-escape-from-at-the-beginning.patch 854 BLAKE2B a3e7127ff1c64aba650c2086f36b979738d001960f6fbc7f4962f05ab166c3832287a599ec9ae9354a1dd977d2dc7db4aaa03e03daddd276c8b04faa2f7910b9 SHA512 63339ccb6ddacfa33cf8ed9f4582a98177290aaafca0015faeb2c14f7334eabcd8ea7266e3e7301e1d9889bd10a3ed45dd366f100ea9ed1486b44eab9397fbc3
|
||||
AUX sylpheed-debian-fix-typo-import.patch 647 BLAKE2B 937bc5a64933ebc1bd40d4edee05d9827fe28a93b8c5125c2998c8a52f113a7c77c37823b01cbaa89de53c4657c59e3f72243709262d92d7298921e4c0fef228 SHA512 3e89634b9e38ed9e0c185d4e8820e6fb2b09c4f2c91c1926c3fd4ca2514e0288bb53f43891114db49113c93e1e30615169d1f86fae993a7a3aed0d71f0752b06
|
||||
AUX sylpheed-debian-support-SNI-for-IMAP.patch 740 BLAKE2B 7dc9f7b3058d66e55aed5955a9491f757af244aea974f77bb3e29628aaa459827489932736515a08d5925dd0f1b5fa659fd8edc097c746454ddc512b8e4fc8ad SHA512 14c5aec311c0b623a4b62386f73675f25a63de765129f14cee5be93e681fa73498f4a7b75178b56213791909e1c257d153c8bf5fe1be09a0d860a821d35a7619
|
||||
AUX sylpheed-debian-use-enchant-2.patch 1057 BLAKE2B 137dec5110fd1d299ad747e736de7ee9dfebae5040c7ea5bdd718c1041e4ef541204f22660433aaaa43dfeda06486ca7ac10adef9edac32f45f3721f21a77a13 SHA512 2afcd0c1bb5e05edb09aee3da63a1ee2056d676e874027490f17308dcc77907e100132a3925e93f1af192048e0b0d579a8081f8e55cd493fb4d4a44768bcdd42
|
||||
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.8.0.ebuild 2105 BLAKE2B 1de2293b8b73ce7b164ca175dcf5f3dfd5c7d9fa25050c346c58b9e3eac35b015c9b68e11bf8f9b06416d7a9395ca2a034fb5d291906f551b5c4795969697332 SHA512 8be8b86c01ddf8f491d6fd815f13a205d77c1ee1649f60b3b3c79b41355b0809b6a9fdaad6c5da24c478c7b5a35dbb346cbb3dbe07358d7d540326c1d5f59a83
|
||||
MISC metadata.xml 353 BLAKE2B fcf86ed5908d01a1bbc2ee5c0a20a9b378a72039814d5cdcc1a139c14cab31d4137d020449c705002e61b0fa9294d4f8e1abd09a71ca7adae37f6e298c881448 SHA512 44dac43e49c796178bad4884b9a57cd225e6e6e9f78e72eb01e34a2f68fd277bce050aa527284f9a638d8b05c2cda9fdbdc2af72d2efdeca5ebbd0e0b168fc71
|
||||
39
mail-client/sylpheed/files/sylpheed-CVE-2021-37746.patch
Normal file
39
mail-client/sylpheed/files/sylpheed-CVE-2021-37746.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
https://src.fedoraproject.org/rpms/sylpheed/blob/rawhide/f/sylpheed-3.7.0-uri-check.patch
|
||||
|
||||
From 4d7dfe055673b49391af66f45643bc956799a4ca Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
||||
Date: Mon, 2 Aug 2021 12:04:42 +0200
|
||||
Subject: [PATCH] harden link checker before accepting click
|
||||
|
||||
http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=ac286a71ed78429e16c612161251b9ea90ccd431;hp=a4a629ce824011f5ae3f0b8cb1117f9608b7f5ad
|
||||
|
||||
Resolves: CVE-2021-37746
|
||||
---
|
||||
src/textview.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/textview.c b/src/textview.c
|
||||
index e55eea9e..6fbb8a1d 100644
|
||||
--- a/src/textview.c
|
||||
+++ b/src/textview.c
|
||||
@@ -2689,7 +2689,7 @@ static gboolean textview_uri_security_check(TextView *textview, RemoteURI *uri)
|
||||
gboolean retval = TRUE;
|
||||
|
||||
if (is_uri_string(uri->uri) == FALSE)
|
||||
- return TRUE;
|
||||
+ return FALSE;
|
||||
|
||||
buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview->text));
|
||||
gtk_text_buffer_get_iter_at_offset(buffer, &start_iter, uri->start);
|
||||
@@ -2725,6 +2725,8 @@ static gboolean textview_uri_security_check(TextView *textview, RemoteURI *uri)
|
||||
if (aval == G_ALERTDEFAULT)
|
||||
retval = TRUE;
|
||||
}
|
||||
+ if (strlen(uri->uri) > get_uri_len(uri->uri))
|
||||
+ retval = FALSE;
|
||||
|
||||
g_free(visible_str);
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
From: Hideki Yamane <henrich@debian.org>
|
||||
Date: Sun, 28 Jan 2018 18:20:49 +0900
|
||||
Subject: Specify MACRO_DIRS as general
|
||||
|
||||
It breaks configure that is generated with autoreconf
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 090177d..3c12182 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -71,7 +71,7 @@ AM_PROG_LEX
|
||||
AC_PROG_YACC
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
-SYLPHEED_ACLOCAL_INCLUDE(ac)
|
||||
+AC_CONFIG_MACRO_DIRS([ac])
|
||||
|
||||
native_win32=no
|
||||
os_osx=no
|
||||
@@ -0,0 +1,31 @@
|
||||
From: Gustavo Noronha Silva <kov@debian.org>
|
||||
Date: Sun, 28 Jan 2018 18:20:19 +0900
|
||||
Subject: fix small bug in addressbook window
|
||||
Forwarded: yes
|
||||
|
||||
---
|
||||
src/addressbook.c | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/src/addressbook.c b/src/addressbook.c
|
||||
index b013507..592050d 100644
|
||||
--- a/src/addressbook.c
|
||||
+++ b/src/addressbook.c
|
||||
@@ -1326,6 +1326,17 @@ static void addressbook_to_clicked(GtkButton *button, gpointer data)
|
||||
if (new_compose)
|
||||
compose_block_modified(addrbook.target_compose);
|
||||
|
||||
+ /*
|
||||
+ * nothing selected, but maybe there's something on the text entry
|
||||
+ */
|
||||
+ if (node == NULL) {
|
||||
+ gchar *addr;
|
||||
+ addr = gtk_entry_get_text(GTK_ENTRY(addrbook.entry));
|
||||
+ if (addr)
|
||||
+ compose_entry_append(addrbook.target_compose, addr,
|
||||
+ (ComposeEntryType) data);
|
||||
+ }
|
||||
+
|
||||
while( node ) {
|
||||
AddressObject *obj = node->data;
|
||||
Compose *compose = addrbook.target_compose;
|
||||
@@ -0,0 +1,29 @@
|
||||
From: Hideki Yamane <henrich@debian.org>
|
||||
Date: Fri, 9 Feb 2018 23:04:58 +0900
|
||||
Subject: detect oniguruma without onig-config
|
||||
|
||||
---
|
||||
configure.ac | 9 +++------
|
||||
1 file changed, 3 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 3c12182..0bd2e35 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -346,13 +346,10 @@ AC_MSG_CHECKING([whether to use Oniguruma])
|
||||
if test "$ac_cv_enable_oniguruma" = yes; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_MSG_CHECKING([whether Oniguruma is available])
|
||||
- dnl AC_CHECK_PROG(ONIG_CONFIG, onig-config, onig-config)
|
||||
- ONIG_CONFIG=onig-config
|
||||
- ONIG_VERSION=`$ONIG_CONFIG --version 2>/dev/null`
|
||||
- if test "x$ONIG_VERSION" != "x"; then
|
||||
+ if `pkg-config --exists oniguruma`; then
|
||||
AC_MSG_RESULT(yes)
|
||||
- CFLAGS="$CFLAGS `$ONIG_CONFIG --cflags`"
|
||||
- LIBS="$LIBS `$ONIG_CONFIG --libs`"
|
||||
+ CFLAGS="$CFLAGS `pkg-config --cflags oniguruma`"
|
||||
+ LIBS="$LIBS `pkg-config --libs oniguruma`"
|
||||
AC_DEFINE(USE_ONIGURUMA, 1, Define if you want to use Oniguruma.)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
@@ -0,0 +1,28 @@
|
||||
From: Darren Salt <linux@youmustbejoking.demon.co.uk>
|
||||
Reviewed-by: Francesco Poli <frx@firenze.linux.it>
|
||||
Date: Sun, 28 Jan 2018 18:20:19 +0900
|
||||
Subject: escape '^From ' lines for not breaking GPG MIME signatures
|
||||
Bug-Debian: http://bugs.debian.org/485855
|
||||
|
||||
---
|
||||
libsylph/quoted-printable.c | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/libsylph/quoted-printable.c b/libsylph/quoted-printable.c
|
||||
index adcdb05..adee4bc 100644
|
||||
--- a/libsylph/quoted-printable.c
|
||||
+++ b/libsylph/quoted-printable.c
|
||||
@@ -52,6 +52,13 @@ void qp_encode_line(gchar *out, const guchar *in)
|
||||
if (*inp == '\r')
|
||||
inp++;
|
||||
inp++;
|
||||
+ if (strncmp(inp, "From ", 5) == 0) {
|
||||
+ *outp++ = '=';
|
||||
+ *outp++ = '4';
|
||||
+ *outp++ = '6';
|
||||
+ len += 3;
|
||||
+ inp++;
|
||||
+ }
|
||||
} else if (ch == '\t' || ch == ' ') {
|
||||
if (IS_LBREAK(inp + 1)) {
|
||||
SOFT_LBREAK_IF_REQUIRED(3);
|
||||
@@ -0,0 +1,18 @@
|
||||
From: Ricardo Mones <mones@debian.org>
|
||||
Subject: fix typo in import.c file
|
||||
Last-Updated: 2022-09-14
|
||||
Forwarded: no
|
||||
|
||||
diff --git a/src/import.c b/src/import.c
|
||||
index a59f11f..b323270 100644
|
||||
--- a/src/import.c
|
||||
+++ b/src/import.c
|
||||
@@ -734,7 +734,7 @@ static void import_filesel_cb(GtkWidget *widget, gpointer data)
|
||||
|
||||
utf8_filename = g_filename_to_utf8(filename, -1, NULL, NULL, NULL);
|
||||
if (!utf8_filename) {
|
||||
- g_warning("import_filesel_cb(): failed to convert characer set.");
|
||||
+ g_warning("import_filesel_cb(): failed to convert character set.");
|
||||
utf8_filename = g_strdup(filename);
|
||||
}
|
||||
gtk_entry_set_text(GTK_ENTRY(file_entry), utf8_filename);
|
||||
@@ -0,0 +1,27 @@
|
||||
From: Antonio Ospite <ao2@ao2.it>
|
||||
Date: Fri, 24 Aug 2018 10:46:04 +0200
|
||||
Subject: [PATCH v2] libsylph/ssl.c: Support SNI, some servers (imap.gmail.com)
|
||||
seem to require it
|
||||
|
||||
---
|
||||
libsylph/ssl.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/libsylph/ssl.c b/libsylph/ssl.c
|
||||
index 61e770f8..b4f6be0c 100644
|
||||
--- 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);
|
||||
--
|
||||
2.19.0.rc2
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
Description: Switch to enchant-2
|
||||
Author: Laurent Bigonville <bigon@debian.org>
|
||||
Forwarded: not-needed
|
||||
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949720
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -319,10 +319,10 @@ if test "$ac_cv_enable_gtkspell" = yes;
|
||||
LIBS="$LIBS `$PKG_CONFIG --libs gtkspell-2.0`"
|
||||
if $PKG_CONFIG --atleast-version 2.0.13 gtkspell-2.0 ; then
|
||||
AC_DEFINE(USE_ENCHANT, 1, Use Enchant with GtkSpell)
|
||||
- LIBS="$LIBS `$PKG_CONFIG --libs enchant`"
|
||||
+ LIBS="$LIBS `$PKG_CONFIG --libs enchant-2`"
|
||||
|
||||
dnl Workaroud for zemberek crash
|
||||
- if $PKG_CONFIG --atleast-version 1.4.2 enchant ; then
|
||||
+ if $PKG_CONFIG --atleast-version 1.4.2 enchant-2 ; then
|
||||
CFLAGS="$CFLAGS `$PKG_CONFIG --cflags dbus-glib-1`"
|
||||
LIBS="$LIBS `$PKG_CONFIG --libs dbus-glib-1`"
|
||||
fi
|
||||
--- a/src/compose.c
|
||||
+++ b/src/compose.c
|
||||
@@ -71,7 +71,7 @@
|
||||
# include <gtk/gtkradiomenuitem.h>
|
||||
# include <gtkspell/gtkspell.h>
|
||||
#if USE_ENCHANT
|
||||
-# include <enchant/enchant.h>
|
||||
+# include <enchant-2/enchant.h>
|
||||
#else
|
||||
# include <aspell.h>
|
||||
#endif
|
||||
17
mail-client/sylpheed/files/sylpheed-tls-1.3.patch
Normal file
17
mail-client/sylpheed/files/sylpheed-tls-1.3.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
https://sylpheed.sraoss.jp/redmine/issues/306
|
||||
|
||||
Author: Antonio Ospite <ao2@ao2.it>
|
||||
|
||||
--- 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);
|
||||
11
mail-client/sylpheed/metadata.xml
Normal file
11
mail-client/sylpheed/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hattya@gentoo.org</email>
|
||||
<name>Akinori Hattori</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="oniguruma">Use <pkg>dev-libs/oniguruma</pkg> for regular expression</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
69
mail-client/sylpheed/sylpheed-3.7.0-r5.ebuild
Normal file
69
mail-client/sylpheed/sylpheed-3.7.0-r5.ebuild
Normal file
@@ -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:0= )"
|
||||
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
|
||||
}
|
||||
78
mail-client/sylpheed/sylpheed-3.8.0.ebuild
Normal file
78
mail-client/sylpheed/sylpheed-3.8.0.ebuild
Normal file
@@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit git-r3 autotools desktop xdg
|
||||
|
||||
DESCRIPTION="A lightweight email client and newsreader"
|
||||
HOMEPAGE="http://sylpheed.sraoss.jp/"
|
||||
EGIT_REPO_URI="https://github.com/sylpheed-mail/sylpheed"
|
||||
EGIT_COMMIT="${EGIT_COMMIT:c47d366}"
|
||||
|
||||
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:0= )"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-misc/mime-types
|
||||
net-misc/curl"
|
||||
DEPEND="${CDEPEND}
|
||||
xface? ( media-libs/compface )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-debian-address-book.patch
|
||||
"${FILESDIR}"/${PN}-debian-escape-from-at-the-beginning.patch
|
||||
"${FILESDIR}"/${PN}-debian-Specify-MACRO_DIRS-as-general.patch
|
||||
"${FILESDIR}"/${PN}-debian-detect-oniguruma-without-onig-config.patch
|
||||
"${FILESDIR}"/${PN}-debian-support-SNI-for-IMAP.patch
|
||||
"${FILESDIR}"/${PN}-debian-use-enchant-2.patch
|
||||
"${FILESDIR}"/${PN}-debian-fix-typo-import.patch
|
||||
"${FILESDIR}"/${PN}-tls-1.3.patch
|
||||
"${FILESDIR}"/${PN}-CVE-2021-37746.patch
|
||||
)
|
||||
DOCS="AUTHORS ChangeLog* NEW* PLUGIN* README* TODO*"
|
||||
|
||||
src_configure() {
|
||||
eautoreconf
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user