1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 0.14.5

From Changelog:
        0.1.14.4
        - DNS Errors were not handled correctly. May lead to a DoS.
        - DNS Error responses were subsequently concatenated

        0.1.14.5
        - 'A' lookups were not performed if 'MX' lookups returned NXDOMAIN
        (introduced in 0.1.14.4)
        - Detection Regex of dynamic clients corrected
        - man 8 policyd-weight minor changes to reflect MTA states

PR:		112567
Submitted by:	Robert Felber <robtone@ek-muc.de> (maintainer)
This commit is contained in:
Martin Wilke 2007-05-27 10:40:39 +00:00
parent 981dd2dd35
commit 8a4390b14d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191995
4 changed files with 16 additions and 14 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= policyd-weight
PORTVERSION= 0.1.14.3
PORTVERSION= 0.1.14.5
CATEGORIES= mail
MASTER_SITES= http://www.policyd-weight.org/releases/
@ -15,11 +15,10 @@ PKGNAMEPREFIX= postfix-
MAINTAINER= robtone@ek-muc.de
COMMENT= Weighted policy daemon for postfix
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
postfix:${PORTSDIR}/mail/postfix
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
SUB_FILES= pkg-message
PLIST_FILES= libexec/postfix/${PORTNAME} etc/${PORTNAME}.conf.sample
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample
USE_RC_SUBR+= policyd-weight
@ -29,7 +28,7 @@ MAN5+= policyd-weight.conf.5
.include <bsd.port.pre.mk>
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/postfix/
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc/
.for i in 5 8
@${MKDIR} ${PREFIX}/man/man$i

View File

@ -1,3 +1,3 @@
MD5 (policyd-weight-0.1.14.3.tar.gz) = afa9286a5adc393b63641994bbb78a16
SHA256 (policyd-weight-0.1.14.3.tar.gz) = 642d5ca134fe6deeb6e7d7e0147dedcf615c8e4d3b4d7d848f1a0ff023a67b50
SIZE (policyd-weight-0.1.14.3.tar.gz) = 49105
MD5 (policyd-weight-0.1.14.5.tar.gz) = ff3b8e68c7955f1f2b4ac50d48afc11e
SHA256 (policyd-weight-0.1.14.5.tar.gz) = 6d48598530202a379a9f8f855cd44da8c9a1443ff57faf52eccc039be913dd8f
SIZE (policyd-weight-0.1.14.5.tar.gz) = 50043

View File

@ -1,7 +1,7 @@
**********
* Start with:
# %%PREFIX%%/libexec/postfix/policyd-weight start
# %%PREFIX%%/bin/policyd-weight start
* To use this from Postfix SMTPD, use in %%PREFIX%%/etc/postfix/main.cf
@ -23,10 +23,13 @@ smtpd_recipient_restrictions =
* An example is provided in %%PREFIX%%/etc/policyd-weight.conf.sample
*
*
* ATTENTION !!! ATTENTION
* Notes:
*
* Since version 0.1.14 beta the master.cf mode is deprecated. Use the daemon
* mode instead. More info in man 8 policyd-weight.
*
* Since version 0.1.14.5 beta the policyd-weight executable is located in
* %%PREFIX%%/bin. Please remove older versions in %%PREFIX%%/libexec/postfix/
* manually.
*
* ATTENTION !!! ATTENTION
*************

View File

@ -29,16 +29,16 @@ case "$policyd_weight_enable" in
*) echo "To make use of $name set $rcvar=\"YES\" in /etc/rc.conf" ;;
esac
command="/usr/local/libexec/postfix/policyd-weight"
command="/usr/local/bin/policyd-weight"
pidfile=/var/run/policyd-weight.pid
policyd_weight_start() {
/usr/local/libexec/postfix/policyd-weight start
/usr/local/bin/policyd-weight start
}
policyd_weight_stop() {
echo "Stopping $name"
/usr/local/libexec/postfix/policyd-weight stop
/usr/local/bin/policyd-weight stop
}
run_rc_command "$1"