Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2018 21:11:54 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484899 - head/mail/spamassassin
Message-ID:  <201811132111.wADLBs9d009039@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Tue Nov 13 21:11:54 2018
New Revision: 484899
URL: https://svnweb.freebsd.org/changeset/ports/484899

Log:
  mail/spamassassin: Revert r484326
  
  Revert r484326, switch to gpg2, silence gpg2 memory warnings.
  
  I have gotten multiple reports of this causing issues when upgrading or
  installing.  Revert this until I can look at this in more detail.

Modified:
  head/mail/spamassassin/Makefile
  head/mail/spamassassin/pkg-plist

Modified: head/mail/spamassassin/Makefile
==============================================================================
--- head/mail/spamassassin/Makefile	Tue Nov 13 21:06:37 2018	(r484898)
+++ head/mail/spamassassin/Makefile	Tue Nov 13 21:11:54 2018	(r484899)
@@ -3,7 +3,7 @@
 
 PORTNAME=	spamassassin
 PORTVERSION=	3.4.2
-PORTREVISION?=	1	# also bump japanese/spamassassin
+PORTREVISION?=	2	# also bump japanese/spamassassin
 CATEGORIES?=	mail perl5
 MASTER_SITES=	APACHE/spamassassin/source CPAN/Mail
 DISTNAME=	Mail-SpamAssassin-${PORTVERSION}
@@ -24,8 +24,6 @@ RUN_DEPENDS:=	${BUILD_DEPENDS} \
 		p5-URI>=0:net/p5-URI \
 		re2c>=.12.0:devel/re2c
 
-USES=		cpe perl5
-
 .for dep in DCC DKIM MYSQL PGSQL PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY SSL
 TEST_DEPENDS+=	${${dep}_RUN_DEPENDS}
 .endfor
@@ -34,6 +32,7 @@ CONFLICTS?=	ja-spamassassin-[0-9]*
 
 CPE_VENDOR=	apache
 
+USES=		cpe perl5
 USE_PERL5=	configure
 USE_LDCONFIG=	yes
 
@@ -56,7 +55,7 @@ OPTIONS_GROUP_DATABASE=	MYSQL PGSQL
 OPTIONS_GROUP_PLUGINS=	DCC DKIM PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY
 OPTIONS_SINGLE=		GPG
 OPTIONS_SINGLE_GPG=	GNUPG_NONE GNUPG GNUPG2
-OPTIONS_DEFAULT=	AS_ROOT DKIM GNUPG2 SSL SPF_QUERY
+OPTIONS_DEFAULT=	AS_ROOT DKIM GNUPG SSL SPF_QUERY
 
 AS_ROOT_DESC=		Run spamd as root (recommended)
 
@@ -175,9 +174,5 @@ post-install::
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "sql ldap" ${STAGEDIR}${DOCSDIR})
-
-post-install-GNUPG2-on:
-	${MKDIR} ${STAGEDIR}/${ETCDIR}/sa-update-keys
-	${ECHO} "no-secmem-warning" >${STAGEDIR}/${ETCDIR}/sa-update-keys/gpg.conf
 
 .include <bsd.port.post.mk>

Modified: head/mail/spamassassin/pkg-plist
==============================================================================
--- head/mail/spamassassin/pkg-plist	Tue Nov 13 21:06:37 2018	(r484898)
+++ head/mail/spamassassin/pkg-plist	Tue Nov 13 21:11:54 2018	(r484899)
@@ -16,7 +16,6 @@ bin/spamd
 @sample %%ETCDIR%%/v340.pre.sample
 @sample %%ETCDIR%%/v341.pre.sample
 @sample %%ETCDIR%%/v342.pre.sample
-%%GNUPG2%%%%ETCDIR%%/sa-update-keys/gpg.conf
 include/libspamc.h
 lib/libspamc.so
 lib/libspamc.so.0



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