Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2016 18:55:57 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409476 - in head/mail/sylpheed: . files
Message-ID:  <201602241855.u1OItvsj019038@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 24 18:55:57 2016
New Revision: 409476
URL: https://svnweb.freebsd.org/changeset/ports/409476

Log:
  - 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]

Added:
  head/mail/sylpheed/files/extra-patch-src_main.c   (contents, props changed)
Modified:
  head/mail/sylpheed/Makefile

Modified: head/mail/sylpheed/Makefile
==============================================================================
--- head/mail/sylpheed/Makefile	Wed Feb 24 18:48:47 2016	(r409475)
+++ head/mail/sylpheed/Makefile	Wed Feb 24 18:55:57 2016	(r409476)
@@ -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

Added: head/mail/sylpheed/files/extra-patch-src_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/sylpheed/files/extra-patch-src_main.c	Wed Feb 24 18:55:57 2016	(r409476)
@@ -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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602241855.u1OItvsj019038>