Update to 1.69

PR:		87915
Submitted by:	Xavier Beaudouin <kiwi@oav.net> (maintainer)
This commit is contained in:
Marcus Alves Grando 2005-10-24 19:40:04 +00:00
parent 6e0e3bf3ec
commit 169759055f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146277
4 changed files with 24 additions and 13 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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

View File

@ -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