aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/postfix-policyd-sf/Makefile4
-rw-r--r--mail/postfix-policyd-sf/distinfo6
-rw-r--r--mail/postfix-policyd-sf/files/patch-Makefile33
3 files changed, 14 insertions, 29 deletions
diff --git a/mail/postfix-policyd-sf/Makefile b/mail/postfix-policyd-sf/Makefile
index 6e3ce0d7b0bc..673bb610c421 100644
--- a/mail/postfix-policyd-sf/Makefile
+++ b/mail/postfix-policyd-sf/Makefile
@@ -17,8 +17,6 @@ DISTNAME= policyd-v${PORTVERSION}
MAINTAINER= kiwi@oav.net
COMMENT= Anti-spam plugin for Postfix (written in C)
-BROKEN= Size mismatch
-
USE_MYSQL= yes
USE_GMAKE= yes
USE_RC_SUBR= policyd.sh
@@ -50,7 +48,7 @@ do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
for f in ${DOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
done
.endif
diff --git a/mail/postfix-policyd-sf/distinfo b/mail/postfix-policyd-sf/distinfo
index 8b73f2997b28..ff7525722a09 100644
--- a/mail/postfix-policyd-sf/distinfo
+++ b/mail/postfix-policyd-sf/distinfo
@@ -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 --git a/mail/postfix-policyd-sf/files/patch-Makefile b/mail/postfix-policyd-sf/files/patch-Makefile
index ce76404340a6..7948f89f4067 100644
--- a/mail/postfix-policyd-sf/files/patch-Makefile
+++ b/mail/postfix-policyd-sf/files/patch-Makefile
@@ -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