Date: Thu, 19 Jul 2012 08:02:05 -0500 (CDT) From: Rusty Nejdl <rnejdl@ringofsaturn.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169999: Update port mail/assp to latest version Message-ID: <assp.05470fec0a.201207191302.q6JD25iC035126@tethys.ringofsaturn.com> Resent-Message-ID: <201207191310.q6JDACYt050955@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169999 >Category: ports >Synopsis: Update port mail/assp to latest version >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jul 19 13:10:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Rusty Nejdl >Release: FreeBSD 9.0-STABLE amd64 >Organization: >Environment: System: FreeBSD tethys.ringofsaturn.com 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jun 16 08:27:21 CDT 2012 root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Attached patch updates ASSP to latest version. >How-To-Repeat: >Fix: --- assp-1.9.3.7.diff begins here --- diff -ruN mail/assp/Makefile mail/assp.new/Makefile --- mail/assp/Makefile 2012-06-12 15:54:33.000000000 -0500 +++ mail/assp.new/Makefile 2012-07-18 13:36:45.000000000 -0500 @@ -6,7 +6,7 @@ # PORTNAME= assp -PORTVERSION= 1.9.3.6 +PORTVERSION= 1.9.3.7 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://www.ringofsaturn.com/distfiles/ diff -ruN mail/assp/Makefile.orig mail/assp.new/Makefile.orig --- mail/assp/Makefile.orig 1969-12-31 18:00:00.000000000 -0600 +++ mail/assp.new/Makefile.orig 2012-06-13 07:25:08.000000000 -0500 @@ -0,0 +1,165 @@ +# New ports collection makefile for: assp +# Date created: 16 May 2005 +# Whom: J.R. Oldroyd <fbsd@opal.com> +# +# $FreeBSD: ports/mail/assp/Makefile,v 1.48 2012/06/12 20:54:33 jgh Exp $ +# + +PORTNAME= assp +PORTVERSION= 1.9.3.6 +PORTEPOCH= 1 +CATEGORIES= mail +MASTER_SITES= http://www.ringofsaturn.com/distfiles/ +DISTNAME= ${PORTNAME:U}_${PORTVERSION}-Install + +MAINTAINER= rnejdl@ringofsaturn.com +COMMENT= Anti-Spam SMTP Proxy + +USE_ZIP= yes +NO_BUILD= yes +USE_PERL5_RUN= yes + +MAN8= assp.8 assplog.8 + +ASSP_USER= assp +ASSP_GROUP= assp +USERS= ${ASSP_USER} +GROUPS= ${ASSP_GROUP} +ASSP_HOME= /var/db/assp +ASSP_LOG= /var/log/assp + +PLIST_SUB= ASSP_HOME="${ASSP_HOME}" ASSP_LOG="${ASSP_LOG}" + +SUB_FILES= 510.assp assp.8 assplog.8 assplog.pl pkg-install +SUB_LIST= ASSP_USER="${ASSP_USER}" ASSP_GROUP="${ASSP_GROUP}" \ + ASSP_HOME="${ASSP_HOME}" ASSP_LOG="${ASSP_LOG}" \ + DATADIR="${DATADIR}" PERL="${PERL}" + +USE_RC_SUBR= ${PORTNAME} + +OPTIONS_DEFINE= EMVALID LDAP SPF SRS SEND FBACKW ZLIB CLAMAV DNSBL MYSQL \ + MATCHRE SENDERB MIMEMOD SSL IPV6 + +EMVALID_DESC= RFC822 recipient address validator +LDAP_DESC= LDAP validation of recipient addresses +SPF_DESC= SPF validation of client IP +SRS_DESC= Sender Rewriting Scheme +SEND_DESC= Resending .eml files +FBACKW_DESC= File Reading Backwards +ZLIB_DESC= HTTP Header Compression on Admin Interface +CLAMAV_DESC= ClamAV virus scanner +DNSBL_DESC= DNS block list checking +MYSQL_DESC= Use MySQL db to store white/red/delaylists +MATCHRE_DESC= Match IP ranges and CIDR blocks in lists +SENDERB_DESC= Country Code checks +MIMEMOD_DESC= Multiple Attachement detection +SSL_DESC= SSL secure sockets support +IPV6_DESC= IPv6 sockets support + +OPTIONS_DEFAULT= EMVALID SPF SRS SEND FBACKW ZLIB CLAMAV DNSBL MATCHRE SENDERB MIMEMOD SSL IPV6 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${DISTNAME}/${PORTNAME:U} + +.include <bsd.port.pre.mk> + + +RUN_DEPENDS+= p5-Net-DNS>=0.68:${PORTSDIR}/dns/p5-Net-DNS +RUN_DEPENDS+= p5-libwww>=6.04:${PORTSDIR}/www/p5-libwww \ + p5-HTML-Parser>=3.69:${PORTSDIR}/www/p5-HTML-Parser + +.if ${PORT_OPTIONS:MEMVALID} +RUN_DEPENDS+= p5-Email-Valid>=0.190:${PORTSDIR}/mail/p5-Email-Valid +.endif + +.if ${PORT_OPTIONS:MLDAP} +RUN_DEPENDS+= p5-perl-ldap>=0.4400:${PORTSDIR}/net/p5-perl-ldap +.endif + +.if ${PORT_OPTIONS:MSPF} +RUN_DEPENDS+= p5-Mail-SPF>=2.007:${PORTSDIR}/mail/p5-Mail-SPF +.endif + +.if ${PORT_OPTIONS:MSRS} +RUN_DEPENDS+= p5-Mail-SRS>=0.31:${PORTSDIR}/mail/p5-Mail-SRS +.endif + +.if ${PORT_OPTIONS:MSEND} +RUN_DEPENDS+= p5-Email-Send>=2.198:${PORTSDIR}/mail/p5-Email-Send +.endif + +.if ${PORT_OPTIONS:MFBACKW} +RUN_DEPENDS+= p5-File-ReadBackwards>=1.05:${PORTSDIR}/devel/p5-File-ReadBackwards +.endif + +.if ${PORT_OPTIONS:MZLIB} +. if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.052:${PORTSDIR}/archivers/p5-IO-Compress +. endif +.endif + +.if ${PORT_OPTIONS:MCLAMAV} +RUN_DEPENDS+= p5-File-Scan-ClamAV>=1.9.1:${PORTSDIR}/security/p5-File-Scan-ClamAV +PLIST_SUB+= ASSP_CLAMAV="" +.else +PLIST_SUB+= ASSP_CLAMAV="@comment " +.endif + +.if ${PORT_OPTIONS:MDNSBL} +RUN_DEPENDS+= p5-Net-DNS>=0.68:${PORTSDIR}/dns/p5-Net-DNS +.endif + +.if ${PORT_OPTIONS:MMYSQL} +RUN_DEPENDS+= p5-Tie-DBI>=1.05:${PORTSDIR}/databases/p5-Tie-DBI +.endif + +.if ${PORT_OPTIONS:MMATCHRE} +RUN_DEPENDS+= p5-Net-IP-Match-Regexp>=1.01:${PORTSDIR}/net-mgmt/p5-Net-IP-Match-Regexp +.endif + +.if ${PORT_OPTIONS:MSENDERB} +RUN_DEPENDS+= p5-Net-SenderBase>=1.02:${PORTSDIR}/mail/p5-Net-SenderBase +.endif + +.if ${PORT_OPTIONS:MMIMEMOD} +RUN_DEPENDS+= p5-Email-MIME>=1.910:${PORTSDIR}/mail/p5-Email-MIME +.endif + +.if ${PORT_OPTIONS:MSSL} +RUN_DEPENDS+= p5-IO-Socket-SSL>=1.74:${PORTSDIR}/security/p5-IO-Socket-SSL +.endif + +.if ${PORT_OPTIONS:MIPV6} +RUN_DEPENDS+= p5-IO-Socket-INET6>=2.69:${PORTSDIR}/net/p5-IO-Socket-INET6 +.endif + +EXTRACT_AFTER_ARGS= -d ${PORTNAME}-${PORTVERSION} + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/assp.pl ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/rebuildspamdb.pl ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/stat.pl ${DATADIR} + + ( cd ${WRKSRC} && ${COPYTREE_SHARE} "files images reports" \ + ${DATADIR}/ "! -name '*.orig' ! -name '*.bak'" ) + + ${INSTALL_SCRIPT} ${WRKDIR}/assplog.pl ${PREFIX}/sbin/assplog + + ${INSTALL_MAN} ${WRKDIR}/assp.8 ${MAN8PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKDIR}/assplog.8 ${MAN8PREFIX}/man/man8 + + ${MKDIR} ${PREFIX}/etc/periodic/daily + ${INSTALL_SCRIPT} ${WRKDIR}/510.assp ${PREFIX}/etc/periodic/daily/ + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/*.htm ${DOCSDIR} +.endif + +post-install: + @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.post.mk> diff -ruN mail/assp/distinfo mail/assp.new/distinfo --- mail/assp/distinfo 2012-06-12 15:54:33.000000000 -0500 +++ mail/assp.new/distinfo 2012-07-18 13:37:06.000000000 -0500 @@ -1,2 +1,2 @@ -SHA256 (ASSP_1.9.3.6-Install.zip) = f317e98254cf0ca1139aac94b4d07629a2dce8ae94a43bb7f3d31e7bc1d57f19 -SIZE (ASSP_1.9.3.6-Install.zip) = 862587 +SHA256 (ASSP_1.9.3.7-Install.zip) = ed48173914b53b61a603582da260763bec2d0116c30b5b99d648270e43898e80 +SIZE (ASSP_1.9.3.7-Install.zip) = 863635 diff -ruN mail/assp/distinfo.orig mail/assp.new/distinfo.orig --- mail/assp/distinfo.orig 1969-12-31 18:00:00.000000000 -0600 +++ mail/assp.new/distinfo.orig 2012-06-13 07:25:08.000000000 -0500 @@ -0,0 +1,2 @@ +SHA256 (ASSP_1.9.3.6-Install.zip) = f317e98254cf0ca1139aac94b4d07629a2dce8ae94a43bb7f3d31e7bc1d57f19 +SIZE (ASSP_1.9.3.6-Install.zip) = 862587 --- assp-1.9.3.7.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.05470fec0a.201207191302.q6JD25iC035126>