- Provide an optional patch to hide the OS and GTK signature in the

mail header [1]
- Enable GnuPG support by default to encourage people to use crypto

PR:		207214 [1]
Submitted by:	admin@vladiom.com.ua [1]
This commit is contained in:
Emanuel Haupt 2016-02-24 18:55:57 +00:00
parent 18ac2e79c3
commit 2bc541da68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409476
2 changed files with 21 additions and 2 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= sylpheed
PORTVERSION= 3.5.0
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v${PORTVERSION:C/\.[^\.]*$//}/ \
LOCAL/ehaupt
@ -32,17 +33,18 @@ CONFIGURE_ARGS= --enable-ipv6 \
CONFLICTS= sylpheed-1.[0-8]* sylpheed-2.[0-9]* sylpheed-gtk2-[0-9]*
OPTIONS_DEFINE= CA_BUNDLE COMPFACE CURL DOCS GPGME GTKSPELL JPILOT LDAP \
ONIGURUMA SSL
ONIGURUMA SSL HIDE_OSSIG
CA_BUNDLE_DESC= Include CA bundle for certificate verification
COMPFACE_DESC= X-Face support
CURL_DESC= libcurl dependency (remote update check)
GPGME_DESC= GnuPG support using GPGME
GTKSPELL_DESC= Spell checking support
HIDE_OSSIG_DESC=Hide OS and GTK signature in mail header
JPILOT_DESC= JPilot support
ONIGURUMA_DESC= Oniguruma support
OPTIONS_DEFAULT=CA_BUNDLE CURL GTKSPELL SSL
OPTIONS_DEFAULT=CA_BUNDLE CURL GTKSPELL GPGME SSL
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
CA_BUNDLE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-libsylph_ssl.c
@ -59,6 +61,8 @@ GPGME_CONFIGURE_ENABLE= gpgme
GTKSPELL_LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
GTKSPELL_CONFIGURE_ENABLE= gtkspell
HIDE_OSSIG_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_main.c
JPILOT_LIB_DEPENDS= libpisock.so:${PORTSDIR}/palm/pilot-link
JPILOT_RUN_DEPENDS= jpilot:${PORTSDIR}/palm/jpilot
JPILOT_CONFIGURE_ENABLE= jpilot

View file

@ -0,0 +1,15 @@
--- src/main.c.orig 2014-11-20 03:16:13 UTC
+++ src/main.c
@@ -280,10 +280,8 @@ int main(int argc, char *argv[])
colorlabel_read_config();
prefs_common.user_agent_str = g_strdup_printf
- ("%s (GTK+ %d.%d.%d; %s)",
- prog_version,
- gtk_major_version, gtk_minor_version, gtk_micro_version,
- TARGET_ALIAS);
+ ("%s",
+ prog_version);
#if defined(G_OS_WIN32) || defined(__APPLE__)
fix_font_setting();