- Update to 1.18

PR:		ports/113221
Submitted by:	Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
This commit is contained in:
Jean Milanez Melo 2007-06-01 14:04:06 +00:00
parent 9780f4d72e
commit 14b27354ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192529
2 changed files with 29 additions and 23 deletions

View file

@ -6,9 +6,11 @@
#
PORTNAME= softfail
PORTVERSION= 1.15
PORTVERSION= 1.18
CATEGORIES= mail
MASTER_SITES= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail-smtpextfork/
MASTER_SITES= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail-smtpextfork/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jmelo/${PORTNAME}
DISTNAME= ${PORTNAME}_fbsdbrasil-${PORTVERSION}
MAINTAINER= eksffa@freebsdbrasil.com.br
@ -30,6 +32,8 @@ IGNORE= this software only works with qmail-spamcontrol
QMAIL_SLAVEPORT= spamcontrol
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
crontab-entry: extract
@ -44,14 +48,14 @@ pre-everything::
@${ECHO_MSG} " WITH_MYSQL_PASSWD=<value> Set user's password to mysql"
@${ECHO_MSG} " WITH_MYSQL_DB=<value> Set MySQL database to use"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_UNBLOCK_TIME=<value> How long (minutes) before"
@${ECHO_MSG} " accepting greylisted e-mails"
@${ECHO_MSG} " WITH_SEEN_TIME=<value> Minium time a retry should wait"
@${ECHO_MSG} " WITH_SEEN_MAXTIMES=<value> Number of times we will allow"
@${ECHO_MSG} " WITH_SEEN_TIME be not respected"
@${ECHO_MSG} " before AUTO blacklisting IP"
@${ECHO_MSG} " WITH_MAXDAYS_AUTO=<value> How long (days) an AUTOmatically"
@${ECHO_MSG} " added entry will exist in DB"
@${ECHO_MSG} " WITH_MAXDAYSAUTOBLACKINDB=<value>"
@${ECHO_MSG} " How long (days) an AUTOmatically"
@${ECHO_MSG} " added blacklist entry will exist in DB"
@${ECHO_MSG} " (used for rotate-softfail-db program)"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_REPORTMAIL=<e-mail>"
@${ECHO_MSG} " Whom (e-mail address) to report statistics when"
@${ECHO_MSG} " qmail-sf.log get rotated."
@${ECHO_MSG} ""
pre-build:
@ -85,20 +89,20 @@ pre-build:
@${REINPLACE_CMD} -e 's|USE softfail|USE ${WITH_MYSQL_DB}|g' \
${WRKSRC}/softfail.sql
.endif
.if defined(WITH_UNBLOCK_TIME)
@${ECHO_CMD} "#define UNBLOCK_AFTER_SEEN ${WITH_UNBLOCK_TIME}" \
.if defined(WITH_SFGLTIME)
@${ECHO_CMD} "#define UNBLOCK_AFTER_SEEN ${WITH_SFGLTIME}" \
>> ${WRKSRC}/conf.h
.endif
.if defined(WITH_SEEN_TIME)
@${ECHO_CMD} "#define RFCSEENTIME ${WITH_SEEN_TIME}" \
.if defined(WITH_SFSEENTIME)
@${ECHO_CMD} "#define RFCSEENTIME ${WITH_SFSEENTIME}" \
>> ${WRKSRC}/conf.h
.endif
.if defined(WITH_SEEN_MAXTIMES)
@${ECHO_CMD} "#define SEENCONSECMAXTIME ${WITH_SEEN_MAXTIMES}" \
.if defined(WITH_SFMAXSEENTIMES)
@${ECHO_CMD} "#define SEENCONSECMAXTIME ${WITH_SFMAXSEENTIMES}" \
>> ${WRKSRC}/conf.h
.endif
.if defined(WITH_MAXDAYS_AUTO)
@${ECHO_CMD} "#define MAXDAYSAUTOINDB ${WITH_MAXDAYS_AUTO}" \
.if defined(WITH_MAXDAYSAUTOBLACKINDB)
@${ECHO_CMD} "#define MAXDAYSAUTOINDB ${WITH_MAXDAYSAUTOBLACKINDB}" \
>> ${WRKSRC}/conf.h
.endif
@ -108,11 +112,13 @@ post-patch:
${WRKSRC}/rotate-softfail.sh
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/softfail.sql ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (softfail_fbsdbrasil-1.15.tar.bz2) = 8fc9915ea8bea48ff53bb7c9ebfc4407
SHA256 (softfail_fbsdbrasil-1.15.tar.bz2) = 0d0bc4fae0cfff28d60c8f158302736f3264600fea8fbe62cc6cdfcb795b6476
SIZE (softfail_fbsdbrasil-1.15.tar.bz2) = 11787
MD5 (softfail_fbsdbrasil-1.18.tar.bz2) = b218a9ea259ce773e2ba792de94abefb
SHA256 (softfail_fbsdbrasil-1.18.tar.bz2) = eceef2c16b78c248d0254e514ec291d88bcaa638ac227eb7a8816cbe9de0ab58
SIZE (softfail_fbsdbrasil-1.18.tar.bz2) = 12434