Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 07:00:03 -0700 (PDT)
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/30302: add support for GNUPG to mail/sylpheed using GPGME
Message-ID:  <200109041400.f84E03494436@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/30302; it has been noted by GNATS.

From: Oliver Lehmann <lehmann@ans-netz.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Peter Pentchev <roam@ringlet.net>,
	TERAMOTO Masahiro <teramoto@comm.eng.osaka-u.ac.jp>
Subject: Re: ports/30302: add support for GNUPG to mail/sylpheed using GPGME
Date: Tue, 4 Sep 2001 15:53:55 +0200 (CEST)

 Ok.. i had plans to do these with the next version, because there
 release versions verry often, and i would'nt "spam" the PR database ;).
 But ok...
 
   - add PGP support
   - add SSL support
   - fix the local spool directory
 
 Thanks to SASAKI Katuhiro
 
 Patch:
 
 
 diff -ruN sylpheed.old/Makefile sylpheed/Makefile
 --- sylpheed.old/Makefile	Tue Sep  4 15:46:37 2001
 +++ sylpheed/Makefile	Tue Sep  4 15:48:46 2001
 @@ -7,6 +7,7 @@
  
  PORTNAME=	sylpheed
  PORTVERSION=	0.6.1
 +PORTREVISION=	1
  CATEGORIES=	mail ipv6
  MASTER_SITES=	http://sylpheed.good-day.net/sylpheed/
  
 @@ -20,7 +21,32 @@
  		LIBS="-L${LOCALBASE}/lib"
  CONFIGURE_ARGS=	--disable-compface --disable-gdk-pixbuf --enable-ipv6
  
 +.if defined(WITH_GPGME)
 +LIB_DEPENDS+=	gpgme.3:${PORTSDIR}/security/gpgme
 +RUN_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
 +CONFIGURE_ARGS+=--enable-gpgme
 +.endif
 +.if !defined(WITHOUT_SSL)
 +USE_OPENSSL=	yes
 +CONFIGURE_ARGS+=--enable-ssl
 +.endif
 +
  PORTDOCS=	ChangeLog INSTALL README TODO
 +
 +pre-extract:
 +.if defined(WITH_GPGME)
 +	@${ECHO_MSG}
 +	@${ECHO_MSG} "WARNING: GnuPG support using GPGME is still experimental."
 +.else
 +	@${ECHO_MSG}
 +	@${ECHO_MSG} "You can enable GnuPG support using GPGME by defining WITH_GPGME."
 +	@${ECHO_MSG} "WARNING: GnuPG support is still experimental."
 +.endif
 +.if !defined(WITHOUT_SSL)
 +	@${ECHO_MSG}
 +	@${ECHO_MSG} "You can disable OpenSSL support by defining WITHOUT_SSL."
 +.endif
 +	@${ECHO_MSG}
  
  post-install:
  .if !defined(NOPORTDOCS)
 diff -ruN sylpheed.old/files/patch-ac sylpheed/files/patch-ac
 --- sylpheed.old/files/patch-ac	Tue Sep  4 15:46:37 2001
 +++ sylpheed/files/patch-ac	Tue Sep  4 15:48:46 2001
 @@ -1,6 +1,6 @@
 ---- src/defs.h.orig	Thu Nov  9 01:28:14 2000
 -+++ src/defs.h	Thu Nov  9 01:28:24 2000
 -@@ -57,8 +57,8 @@
 +--- src/defs.h.orig	Mon Sep  3 01:07:32 2001
 ++++ src/defs.h	Mon Sep  3 04:50:35 2001
 +@@ -58,8 +58,8 @@
   #define MARK_VERSION		2
   
   #define DEFAULT_SIGNATURE	".signature"
 @@ -10,4 +10,13 @@
  +#define DEFAULT_INC_PROGRAM	""
   /* #define DEFAULT_INC_PATH	"/usr/bin/imget" */
   /* #define DEFAULT_INC_PROGRAM	"imget" */
 + #define DEFAULT_SENDMAIL_CMD	"/usr/sbin/sendmail -t"
 +@@ -67,7 +67,7 @@
 + #ifdef _PATH_MAILDIR
 + #  define DEFAULT_SPOOL_PATH	_PATH_MAILDIR
 + #else
 +-#  define DEFAULT_SPOOL_PATH	"/var/spool/mail"
 ++#  define DEFAULT_SPOOL_PATH	"/var/mail"
 + #endif
   
 + #define BUFFSIZE			8192

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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