ports/120570: maintainer-update minor fixes for SpamAssassin

Michael Scheidell scheidell at secnap.net
Tue Feb 12 22:00:05 UTC 2008


>Number:         120570
>Category:       ports
>Synopsis:       maintainer-update minor fixes for SpamAssassin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 12 22:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        FreeBSD 5.5-RELEASE-p16 i386
>Organization:
SECNAP Network Security http://www.secnap.com
>Environment:
System: FreeBSD scanner.secnap.net 5.5-RELEASE-p16 FreeBSD 5.5-RELEASE-p16 #1: Sat Oct 20 12:34:28 EDT 2007 scheidell at scanner.secnap.net:/usr/obj/usr/src/sys/HACKERTRAP_750 i386
>Description:

Depending on what order ports are installed, some modules may be 
missing:

make does this:
REQUIRED module missing: Digest::SHA1

if SHA1 is this version:
pkg_info | grep SHA1
p5-Digest-SHA1-2.10 Perl interface to the SHA-1 Algorithm
>How-To-Repeat:
downgrade p5-Digest-SHA1 to less than 2.11
cd /usr/ports/mail/p5-Mail-SpamAssassin
Don't select any options
make
>Fix:

This patch also fixes (adds reload) to sa-spamd.sh.in
(thanks to Cristiano Deana )

diff -bBru /var/tmp/sa324/ ./
diff -bBru /var/tmp/sa324/Makefile ./Makefile
--- /var/tmp/sa324/Makefile     Thu Jan 31 09:04:06 2008
+++ ./Makefile  Tue Feb 12 16:42:03 2008
@@ -7,7 +7,7 @@
 
 PORTNAME=      Mail-SpamAssassin
 PORTVERSION=   3.2.4
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=    mail perl5
 MASTER_SITES=  ${MASTER_SITE_APACHE:S/$/:apache/} 
${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
 MASTER_SITE_SUBDIR=    spamassassin/source/:apache Mail/:cpan
@@ -22,7 +22,8 @@
                p5-HTML-Parser>=3.43:${PORTSDIR}/www/p5-HTML-Parser \
                
p5-IO-Compress-Zlib>=2.04:${PORTSDIR}/archivers/p5-IO-Compress-Zlib \
                
p5-Compress-Zlib>=2.04:${PORTSDIR}/archivers/p5-Compress-Zlib \
-               
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
+               
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+               p5-Digest-SHA1>=2.11:${PORTSDIR}/security/p5-Digest-SHA1
 
 RUN_DEPENDS=   ${BUILD_DEPENDS} \
                ${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \
diff -bBru /var/tmp/sa324/files/sa-spamd.sh.in ./files/sa-spamd.sh.in
--- /var/tmp/sa324/files/sa-spamd.sh.in Mon Mar 20 08:03:33 2006
+++ ./files/sa-spamd.sh.in      Tue Feb 12 16:41:09 2008
@@ -21,6 +21,7 @@
 name=spamd
 rcvar=`set_rcvar`
 
+extra_commands="reload"
 load_rc_config $name
 
 # Set defaults


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list