p5-MailSpamAssassin Makefile

Olli Hauer ohauer at gmx.de
Sun May 8 05:53:43 PDT 2005


Hi,

there is an error in the new p5-Mail-SpamAssassin Makefile 

In the OPTION section the variable "SSL" is used, but then 
 ".if !defined(WITHOUT_OPENSSL)" so it will build always with SSL

see http://lists.freebsd.org/pipermail/freebsd-perl/2005-January/000387.html

also an error in the RUN_DEPENDS if build with SSL
 
 INSTALL file from Mail-SpamAssassin (line 303)
  - IO::Socket::SSL (from CPAN)

    If you wish to use SSL encryption to communicate between spamc and
    spamd (the --ssl option to spamd), you need to install this
    module. (You will need the OpenSSL libraries and use the
    ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL
    compatibile spamc.)



--- Makefile~	Sun May  8 11:40:39 2005
+++ Makefile	Sun May  8 14:41:03 2005
@@ -28,7 +28,7 @@
 	       	CONTACT_ADDRESS="the administrator of that system" \
 		BUILD_SPAMC=yes RUN_NET_TESTS=yes
 
-OPTIONS=	SSL "Build with SSL support" on \
+OPTIONS=	OPENSSL "Build with SSL support for spamd/spamc" on \
 		MYSQL "Add MySQL support" off \
 		PGSQL "Add PostreSQL support" off \
 		SPF_QUERY "Add SPF query support" off \
@@ -42,6 +42,7 @@
 
 .if !defined(WITHOUT_OPENSSL)
 .include
"${PORTSDIR}/Mk/bsd.openssl.mk"
+RUN_DEPENDS+=	${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
 USE_OPENSSL=	yes
 CFLAGS+=	-I${OPENSSLINC}
 LDFLAGS+=	-L${OPENSSLLIB}



olli

-- 
+++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++
Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


More information about the freebsd-perl mailing list