Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 11:39:01 +0200
From:      "Marcin Jessa" <yazzy@yazzy.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/95252: Updated postfix-policyd-sf
Message-ID:  <1144057141.53248@marcin.witelcom.net>
Resent-Message-ID: <200604030940.k339eGoj000718@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95252
>Category:       ports
>Synopsis:       Updated postfix-policyd-sf
>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:   Mon Apr 03 09:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Jessa
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
YazzY.org 
>Environment:


System: FreeBSD 6.1-PRERELEASE #8: Mon Mar 27 10:41:47 CEST 2006
    root@marcin.witelcom.net:/usr/obj/usr/src/sys/WITELCOM



>Description:


Fixed the Makefile patch and distinfo of postfix-policyd-sf.diff to match the newest avaliable tarball.


>How-To-Repeat:





>Fix:


--- postfix-policyd-sf.diff begins here ---
diff -ruN postfix-policyd-sf/Makefile /home/yazzy/postfix-policyd-sf/Makefile
--- postfix-policyd-sf/Makefile	Sat Mar 25 22:22:53 2006
+++ /home/yazzy/postfix-policyd-sf/Makefile	Mon Apr  3 11:19:31 2006
@@ -17,7 +17,7 @@
 MAINTAINER=	kiwi@oav.net
 COMMENT=	Anti-spam plugin for Postfix (written in C)
 
-BROKEN=		Size mismatch
+#BROKEN=		Size mismatch
 
 USE_MYSQL=	yes
 USE_GMAKE=	yes
diff -ruN postfix-policyd-sf/distinfo /home/yazzy/postfix-policyd-sf/distinfo
--- postfix-policyd-sf/distinfo	Mon Mar 13 01:53:32 2006
+++ /home/yazzy/postfix-policyd-sf/distinfo	Mon Apr  3 11:19:31 2006
@@ -1,3 +1,3 @@
-MD5 (policyd-v1.73.tar.gz) = f1fbbf3494ddb7fc4c3c80552ea62e3c
-SHA256 (policyd-v1.73.tar.gz) = f78e3c89e80479157ab75077c81509bcc139fca737ba6a1f7c454466dfc2074a
-SIZE (policyd-v1.73.tar.gz) = 61747
+MD5 (policyd-v1.73.tar.gz) = 25965546d9e54aee6d0d8f05674bf9d0
+SHA256 (policyd-v1.73.tar.gz) = f7f2075d3304720ea961fb995e9ab9f09b2946e146b00eac57701c5e747811bc
+SIZE (policyd-v1.73.tar.gz) = 61381
diff -ruN postfix-policyd-sf/files/patch-Makefile /home/yazzy/postfix-policyd-sf/files/patch-Makefile
--- postfix-policyd-sf/files/patch-Makefile	Mon Oct 24 21:40:04 2005
+++ /home/yazzy/postfix-policyd-sf/files/patch-Makefile	Mon Apr  3 11:19:31 2006
@@ -1,32 +1,19 @@
---- 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
--inc  = -I/usr/include/mysql
--lib  = -L/usr/lib/mysql
--# systems with single mysql subdir
--inc += -I/usr/local/mysql/include -I/usr/local/mysql/include/mysql
--lib += -L/usr/local/mysql/lib -L/usr/local/mysql/lib/mysql
--# freebsd ports
--inc += -I/usr/local/include/mysql
--lib += -L/usr/local/lib/mysql
--# netbsd pkgsrc
--inc += -I/usr/pkg/include/mysql
--lib += -L/usr/pkg/lib/mysql
--
+--- Makefile.orig	Wed Mar 15 07:02:14 2006
++++ Makefile	Mon Apr  3 11:17:09 2006
+@@ -12,9 +12,9 @@
+ inc += -I/usr/pkg/include/mysql
+ lib += -L/usr/pkg/lib/mysql
+ 
 -CC       := gcc
 -CPPFLAGS := -O $(inc)
--CFLAGS   := -g -W -Wall -DMAXFDS=1023
-+inc      := -I$(LOCALBASE)/include/mysql
-+lib      := -L$(LOCALBASE)/lib/mysql
+-CFLAGS   := -g -W -Wall -DMAXFDS=4096
 +CC       ?= gcc
 +CPPFLAGS += -O $(inc)
-+CFLAGS   ?= -g -W -Wall -DMAXFDS=1023
++CFLAGS   ?= -g -W -Wall -DMAXFDS=4096
  OS_NAME  := $(shell uname | tr [A-Z] [a-z])
  LDLIBS    = $(lib) -lmysqlclient -lz
  
-@@ -26,15 +14,7 @@
+@@ -26,15 +26,7 @@
  	@echo "  compiling ${CFLAGS} $<"
  	@${CC} ${CPPFLAGS} ${CFLAGS} -o $@ -c $<
  
@@ -39,7 +26,7 @@
 -	@echo "  make clean"
 -	@echo ""
 -	@exit
-+all: build
++all:	build
  
  build: policyd cleanup stats
  
--- postfix-policyd-sf.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?1144057141.53248>