ports/152216: [NEW PORT] mail/spamass-iXhash: iXhash plugin for SpamAssassin
Michael Ranner
michael at ranner.eu
Mon Nov 22 10:40:08 UTC 2010
The following reply was made to PR ports/152216; it has been noted by GNATS.
From: Michael Ranner <michael at ranner.eu>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/152216: [NEW PORT] mail/spamass-iXhash: iXhash plugin for SpamAssassin
Date: Mon, 22 Nov 2010 11:30:26 +0100
--Boundary-00=_CZk6MHP7KU9j/JB
Content-Type: multipart/alternative;
boundary="Boundary-01=_CZk6M8JfwWQarFX"
Content-Transfer-Encoding: 7bit
--Boundary-01=_CZk6M8JfwWQarFX
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
I have missed something and used LOCALBASE instead of PREFIX.
The fixed port attached.
--Boundary-01=_CZk6M8JfwWQarFX
Content-Type: text/html;
charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Monospace'; font-size:13pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I have missed something and used LOCALBASE instead of PREFIX.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">The fixed port attached.</p></body></html>
--Boundary-01=_CZk6M8JfwWQarFX--
--Boundary-00=_CZk6MHP7KU9j/JB
Content-Type: application/x-shar;
name="spamass-ixhash.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="spamass-ixhash.shar"
--- spamass-iXhash-1.5.5.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# spamass-ixhash
# spamass-ixhash/files
# spamass-ixhash/files/pkg-message.in
# spamass-ixhash/Makefile
# spamass-ixhash/distinfo
# spamass-ixhash/pkg-descr
#
echo c - spamass-ixhash
mkdir -p spamass-ixhash > /dev/null 2>&1
echo c - spamass-ixhash/files
mkdir -p spamass-ixhash/files > /dev/null 2>&1
echo x - spamass-ixhash/files/pkg-message.in
sed 's/^X//' >spamass-ixhash/files/pkg-message.in << 'e5bca58a760ef25399d88c6780d09264'
X*************************************************************************
X
XiXhash is installed in %%PREFIX%%/etc/mail/spamassassin
X
X*************************************************************************
e5bca58a760ef25399d88c6780d09264
echo x - spamass-ixhash/Makefile
sed 's/^X//' >spamass-ixhash/Makefile << 'ace063b08c0792fb623649598d6fd5f6'
X# New ports collection makefile for: spamass-ixhash
X# Date created: 2010-11-12
X# Whom: Michael Ranner <michael at ranner.eu>
X#
X# $FreeBSD$
X#
X
XPORTNAME= iXhash
XPORTVERSION= 1.5.5
XCATEGORIES= mail
XMASTER_SITES= SF/ixhash/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
XPKGNAMEPREFIX= spamass-
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= michael at ranner.eu
XCOMMENT= iXhash plugin for SpamAssassin
X
XRUN_DEPENDS= spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin \
X ${SITE_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
X p5-Net-DNS>=0.63:${PORTSDIR}/dns/p5-Net-DNS
X
XLICENSE= ASL
XLICENSE_FILE= ${WRKSRC}/LICENSE
XSUB_FILES= pkg-message
XNO_BUILD= yes
XSPAMASS_CONF= etc/mail/spamassassin
XSPAMASS_FILES= iXhash.cf iXhash.pm
XINSTALL_DIR= ${PREFIX}/${SPAMASS_CONF}
X
XPORTDOCS= CHANGELOG LICENSE WHERE_ARE_THE_OTHER_FILES INSTALL README
XPLIST_FILES= ${SPAMASS_CONF}/iXhash.cf.sample ${SPAMASS_CONF}/iXhash.pm
X
Xpost-patch:
X @${REINPLACE_CMD} -e "s,/etc/mail,${LOCALBASE}/etc/mail," \
X ${WRKSRC}/iXhash/iXhash.cf
X
Xdo-install:
X @${MKDIR} ${INSTALL_DIR}
X ${CP} ${WRKSRC}/iXhash/iXhash.cf ${INSTALL_DIR}/iXhash.cf.sample
X ${CP} ${WRKSRC}/iXhash/iXhash.pm ${INSTALL_DIR}
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}/
X. for i in ${PORTDOCS}
X @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
X. endfor
X.endif
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
ace063b08c0792fb623649598d6fd5f6
echo x - spamass-ixhash/distinfo
sed 's/^X//' >spamass-ixhash/distinfo << 'a39c0076f21bc5c677b91c633eef2e2a'
XSHA256 (iXhash-1.5.5.tgz) = b44e8f845c2e1c2c8a8dd1cf1af6568e8886b076c230be076cbe56481b2fe5db
XSIZE (iXhash-1.5.5.tgz) = 11900
a39c0076f21bc5c677b91c633eef2e2a
echo x - spamass-ixhash/pkg-descr
sed 's/^X//' >spamass-ixhash/pkg-descr << 'b31073ae5f89a4499dc57366d2053f34'
XiXhash is a plugin for the popular spam filter SpamAssassin.
X
XIt computes MD5 checksums of fragments of the body of an e-mail and compares
Xthem to those of know spam. As such it works similar to the now standard
Xplugins that use the Pyzor, Razor and DCC software packages from within
XSpamAssassin.
X
XWWW: http://ixhash.sourceforge.net/
b31073ae5f89a4499dc57366d2053f34
exit
--- spamass-iXhash-1.5.5.shar ends here ---
--Boundary-00=_CZk6MHP7KU9j/JB--
More information about the freebsd-ports-bugs
mailing list