aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix-policyd-sf
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-24 19:40:04 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-24 19:40:04 +0000
commit169759055f441cbf3073c7a42a148187ab4bdcf7 (patch)
tree5cde3c05772153e30285e421d338b3ac82f80cb9 /mail/postfix-policyd-sf
parent6e0e3bf3ec855cdb608a6949984235de30b5c072 (diff)
downloadports-169759055f441cbf3073c7a42a148187ab4bdcf7.tar.gz
ports-169759055f441cbf3073c7a42a148187ab4bdcf7.zip
Notes
Diffstat (limited to 'mail/postfix-policyd-sf')
-rw-r--r--mail/postfix-policyd-sf/Makefile4
-rw-r--r--mail/postfix-policyd-sf/distinfo4
-rw-r--r--mail/postfix-policyd-sf/files/patch-Makefile18
-rw-r--r--mail/postfix-policyd-sf/files/patch-policyd.conf11
4 files changed, 24 insertions, 13 deletions
diff --git a/mail/postfix-policyd-sf/Makefile b/mail/postfix-policyd-sf/Makefile
index fedb8ade5d34..641c8696a42f 100644
--- a/mail/postfix-policyd-sf/Makefile
+++ b/mail/postfix-policyd-sf/Makefile
@@ -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 @@ SUB_LIST+= REALNAME=${REALNAME}
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 --git a/mail/postfix-policyd-sf/distinfo b/mail/postfix-policyd-sf/distinfo
index 1fa2d9c81ba9..638043b234c1 100644
--- a/mail/postfix-policyd-sf/distinfo
+++ b/mail/postfix-policyd-sf/distinfo
@@ -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 --git a/mail/postfix-policyd-sf/files/patch-Makefile b/mail/postfix-policyd-sf/files/patch-Makefile
index 9210ae38f98c..ce76404340a6 100644
--- a/mail/postfix-policyd-sf/files/patch-Makefile
+++ b/mail/postfix-policyd-sf/files/patch-Makefile
@@ -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 --git a/mail/postfix-policyd-sf/files/patch-policyd.conf b/mail/postfix-policyd-sf/files/patch-policyd.conf
new file mode 100644
index 000000000000..1348eb903e25
--- /dev/null
+++ b/mail/postfix-policyd-sf/files/patch-policyd.conf
@@ -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