aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/sylpheed/Makefile8
-rw-r--r--mail/sylpheed/files/extra-patch-src_main.c15
2 files changed, 21 insertions, 2 deletions
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile
index 89fa32f2a5e3..03c59758ff5e 100644
--- a/mail/sylpheed/Makefile
+++ b/mail/sylpheed/Makefile
@@ -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
diff --git a/mail/sylpheed/files/extra-patch-src_main.c b/mail/sylpheed/files/extra-patch-src_main.c
new file mode 100644
index 000000000000..e336f69365f6
--- /dev/null
+++ b/mail/sylpheed/files/extra-patch-src_main.c
@@ -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();