From kiwi@kiwi.oav.net  Mon Oct 24 11:39:57 2005
Return-Path: <kiwi@kiwi.oav.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 14EB316A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Oct 2005 11:39:57 +0000 (GMT)
	(envelope-from kiwi@kiwi.oav.net)
Received: from kiwi.oav.net (kiwi.oav.net [82.225.248.92])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 94AB143D48
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Oct 2005 11:39:56 +0000 (GMT)
	(envelope-from kiwi@kiwi.oav.net)
Received: by kiwi.oav.net (Postfix, from userid 1000)
	id 61D372E02B; Mon, 24 Oct 2005 13:44:00 +0200 (CEST)
Message-Id: <20051024114400.61D372E02B@kiwi.oav.net>
Date: Mon, 24 Oct 2005 13:44:00 +0200 (CEST)
From: Xavier Beaudouin <kiwi@oav.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] mail/postfix-policyd-sf: update to 1.69
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87915
>Category:       ports
>Synopsis:       [MAINTAINER] mail/postfix-policyd-sf: update to 1.69
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 24 11:40:20 GMT 2005
>Closed-Date:    Mon Oct 24 19:40:36 GMT 2005
>Last-Modified:  Mon Oct 24 19:40:36 GMT 2005
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
Association KAZAR / The Caudium Group
>Environment:
System: FreeBSD proxy.home.oav.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Sat May 14 15:27:19 CEST 2005
>Description:
- Update to 1.69

Changelog :

[Oct 24  2005]
Changes from v1.67 -> v1.68 (new functionality)

 *       helo.c: remove hardcoded display of 10 HELO abuses. patch by John Beaver.
 *    cleanup.c: clean up spamtrap table. patch by John Beaver.
 *    cleanup.c: cosmetic fix, throttlesender showed hour instead of day.
 *    cleanup.c: clean up blacklist_helo table. patch by John Beaver.


[Oct 23  2005]
Changes from v1.67 -> v1.68 (new functionality+bugfixes)

 *  whitelist.c: save sql lookup on whitelist_dnsname if there is no reverse
                 record. Requested by Leonardo Rodrigues Magalhaes.
 *      stats.c: stats wasn't working, GREYLISTING is now set to 1 and not 2.
 *      stats.c: extended the stats. by Leonardo Rodrigues Magalhaes.
 *    cleanup.c: policy_training wasn't getting cleaned. noticed by Ed Walker.
 * policyd.conf: fixed some grammatical errors. patch by Dudi Goldenberg.
 *   README.txt: fixed a boatload of bad spelling mistakes.
 * policyd.conf: changed default triplet timeout to 4 minutes.
 *    generic.c: fixed WHITELISTNULL extract(), spotted by dan.
 *      mysql.c: db_charquery() kept stale data. spotted by Aaron Lambers.
 *   greylist.c: you can now choose how many octets you wish to record in
                 the triplet database. the default will stay as "192.168.0"
                 and not "192.168.0.1" for example.
 *    cleanup.c: clean up sender throttling instance records every hour.
 *  throttle*.c: insert fallback config defaults into database.
 *  throttle*.c: implemented sender throttle on mails per time unit.
 *  throttle*.c: new variables _abuse_(cur|tot) so policyd can keep track
                 on how many times a user/host has reached/abuse their limit.
 *  blacklist.c: cosmetic fix, debug was showing the wrong variable.
 *  blacklist.c: blacklist_sender was not working. spotted by Micha Holzmann.
 * policyd.spec: fix license. patch by Nigel Kukard.
 *     Makefile: raise MAXFDS limit at compile time. patch by Catalin Muresan.
 *    policyd.c: raise softlimit to match MAXFDS. patch by Catalin Muresan.
 *  throttle*.c: speed increase by cutting down on unnecessary MySQL data.
 *   README.txt: updated throttling docs for pre-populating the database. if
                 unset, _date got whacked by cleanup. noted by John Beaver.



Added file(s):
- files/patch-policyd.conf

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- postfix-policyd-sf-1.69.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/Makefile /usr/ports/mail/postfix-policyd-sf/Makefile
--- /usr/ports/mail/postfix-policyd-sf.old/Makefile	Mon Oct 24 13:30:22 2005
+++ /usr/ports/mail/postfix-policyd-sf/Makefile	Mon Oct 24 13:40:56 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	policyd
-PORTVERSION=	1.67
+PORTVERSION=	1.69
 CATEGORIES=	mail
 MASTER_SITES=	http://policyd.sourceforge.net/
 PKGNAMEPREFIX=	postfix-
@@ -28,7 +28,7 @@
 ALL_TARGET=	linux
 
 DOCS=		Changelog.txt README.txt License.txt DATABASE.mysql \
-		doc/WHITELIST.sql doc/SUPPORT.txt
+		doc/whitelist.sql doc/support.txt doc/blacklist_helo.sql
 PORTDOCS=	*
 
 PLIST_FILES=	sbin/${REALNAME}-cleanup \
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/distinfo /usr/ports/mail/postfix-policyd-sf/distinfo
--- /usr/ports/mail/postfix-policyd-sf.old/distinfo	Mon Oct 24 13:30:22 2005
+++ /usr/ports/mail/postfix-policyd-sf/distinfo	Mon Oct 24 13:30:48 2005
@@ -1,2 +1,2 @@
-MD5 (policyd-v1.67.tar.gz) = 77c59852a7316d48a5f84bb6841fc23c
-SIZE (policyd-v1.67.tar.gz) = 52456
+MD5 (policyd-v1.69.tar.gz) = 931553e5ff8cf107804659f90efe2f38
+SIZE (policyd-v1.69.tar.gz) = 56810
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/files/patch-Makefile /usr/ports/mail/postfix-policyd-sf/files/patch-Makefile
--- /usr/ports/mail/postfix-policyd-sf.old/files/patch-Makefile	Mon Oct 24 13:30:22 2005
+++ /usr/ports/mail/postfix-policyd-sf/files/patch-Makefile	Mon Oct 24 13:38:57 2005
@@ -1,5 +1,5 @@
---- Makefile.orig	Sat Jul 23 12:17:05 2005
-+++ Makefile	Tue Aug  2 22:53:14 2005
+--- Makefile.orig	Mon Oct 24 13:36:01 2005
++++ Makefile	Mon Oct 24 13:38:36 2005
 @@ -1,20 +1,8 @@
 -#
 -# systems which install in /usr
@@ -17,18 +17,18 @@
 -
 -CC       := gcc
 -CPPFLAGS := -O $(inc)
--CFLAGS   := -g -W -Wall
+-CFLAGS   := -g -W -Wall -DMAXFDS=1023
 +inc      := -I$(LOCALBASE)/include/mysql
 +lib      := -L$(LOCALBASE)/lib/mysql
 +CC       ?= gcc
-+CPPFLAGS += $(inc)
-+CFLAGS   ?= -g -W -Wall
++CPPFLAGS += -O $(inc)
++CFLAGS   ?= -g -W -Wall -DMAXFDS=1023
  OS_NAME  := $(shell uname | tr [A-Z] [a-z])
  LDLIBS    = $(lib) -lmysqlclient -lz
  
-@@ -22,15 +10,7 @@
- LDLIBS   += -lsocket -lnsl -lm
- endif
+@@ -26,15 +14,7 @@
+ 	@echo "  compiling ${CFLAGS} $<"
+ 	@${CC} ${CPPFLAGS} ${CFLAGS} -o $@ -c $<
  
 -all:
 -	@echo ""
@@ -41,5 +41,5 @@
 -	@exit
 +all: build
  
- build: policyd cleanup
+ build: policyd cleanup stats
  
diff -ruN --exclude=CVS /usr/ports/mail/postfix-policyd-sf.old/files/patch-policyd.conf /usr/ports/mail/postfix-policyd-sf/files/patch-policyd.conf
--- /usr/ports/mail/postfix-policyd-sf.old/files/patch-policyd.conf	Thu Jan  1 01:00:00 1970
+++ /usr/ports/mail/postfix-policyd-sf/files/patch-policyd.conf	Thu Sep  8 14:00:29 2005
@@ -0,0 +1,11 @@
+--- policyd.conf.orig	Thu Sep  8 13:59:51 2005
++++ policyd.conf	Thu Sep  8 14:00:05 2005
+@@ -100,7 +100,7 @@
+ #
+ #   where policyd will write its current pid to
+ #
+-PIDFILE=/var/run/policyd.pid
++PIDFILE=/var/run/postfix-policyd-sf.pid
+ 
+ #
+ # syslog facility
--- postfix-policyd-sf-1.69.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Mon Oct 24 19:32:21 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87915 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Mon Oct 24 19:40:35 GMT 2005 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87915 
>Unformatted:
