summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2005-06-12 15:43:00 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2005-06-12 15:43:00 +0000
commit3c41dcc16a22ea38d88e70f179c764015d6acac2 (patch)
tree3af8074a61d37863b9708dc199fbf8623482ad20 /mail
parent- Fix "Variable PKGNAMESUFFIX is recursive" problem encountered on older (diff)
Update to gps development version 1.004 after repocopy from
ports/mail/postfix-gps. PR: ports/81618 Submitted by: Dennis K Jensen <freebsd@freesbee.dk> Repocopy by: marcus
Notes
Notes: svn path=/head/; revision=137324
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix-gps-devel/Makefile23
-rw-r--r--mail/postfix-gps-devel/distinfo4
-rw-r--r--mail/postfix-gps-devel/files/patch-src__Makefile.am (renamed from mail/postfix-gps-devel/files/patch-src::Makefile.am)0
-rw-r--r--mail/postfix-gps-devel/files/patch-src__pmatcher.h (renamed from mail/postfix-gps-devel/files/patch-src::pmatcher.h)0
-rw-r--r--mail/postfix-gps-devel/pkg-message7
5 files changed, 16 insertions, 18 deletions
diff --git a/mail/postfix-gps-devel/Makefile b/mail/postfix-gps-devel/Makefile
index 6725ba1fc8fd..376c52a515de 100644
--- a/mail/postfix-gps-devel/Makefile
+++ b/mail/postfix-gps-devel/Makefile
@@ -1,20 +1,19 @@
-# New ports collection makefile for: postfix-gps
-# Date created: 2 September 2004
-# Whom: Xin LI <delphij@FreeBSD.org>
+# New ports collection makefile for: postfix-gps-devel
+# Date created: 29 May 2005
+# Whom: Dennis K. Jensen <freebsd@signout.dk>
#
# $FreeBSD$
#
PORTNAME= gps
-PORTVERSION= 0.93
-PORTREVISION= 1
+PORTVERSION= 1.004
CATEGORIES= mail security
MASTER_SITES= http://mimo.gn.apc.org/gps/
PKGNAMEPREFIX= postfix-
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
-EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+PKGNAMESUFFIX= -devel
+DISTNAME= gps-${PORTVERSION}
-MAINTAINER= delphij@FreeBSD.org
+MAINTAINER= freebsd@signout.dk
COMMENT= Greylist Policy Service for postfix
LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi
@@ -28,9 +27,9 @@ USE_AUTOCONF_VER= 259
USE_AUTOMAKE_VER= 19
USE_GCC= 3.4
CONFIGURE_ARGS= --bindir=${PREFIX}/libexec --includedir=${PREFIX}/include
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \
- CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include" \
- LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
pre-configure:
@cd ${WRKSRC} && ${ACLOCAL}
@@ -39,6 +38,6 @@ post-install:
.for f in ${SCRIPT_FILES}
@${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec
.endfor
- @${CAT} ${PKGMESSAGE}
+ @${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/mail/postfix-gps-devel/distinfo b/mail/postfix-gps-devel/distinfo
index 20ab5b7e682b..c90946904f73 100644
--- a/mail/postfix-gps-devel/distinfo
+++ b/mail/postfix-gps-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (gps-0.93.tar.gz) = cd12ea6ca4b4bea06690a3356aabd7b2
-SIZE (gps-0.93.tar.gz) = 338790
+MD5 (gps-1.004.tar.gz) = 9a0a0a80535c13f4a4486f23dbc212af
+SIZE (gps-1.004.tar.gz) = 348669
diff --git a/mail/postfix-gps-devel/files/patch-src::Makefile.am b/mail/postfix-gps-devel/files/patch-src__Makefile.am
index 6cb666ce6f83..6cb666ce6f83 100644
--- a/mail/postfix-gps-devel/files/patch-src::Makefile.am
+++ b/mail/postfix-gps-devel/files/patch-src__Makefile.am
diff --git a/mail/postfix-gps-devel/files/patch-src::pmatcher.h b/mail/postfix-gps-devel/files/patch-src__pmatcher.h
index 78d804db9ce7..78d804db9ce7 100644
--- a/mail/postfix-gps-devel/files/patch-src::pmatcher.h
+++ b/mail/postfix-gps-devel/files/patch-src__pmatcher.h
diff --git a/mail/postfix-gps-devel/pkg-message b/mail/postfix-gps-devel/pkg-message
index 73328bfb24e3..1e61bd1e1225 100644
--- a/mail/postfix-gps-devel/pkg-message
+++ b/mail/postfix-gps-devel/pkg-message
@@ -13,7 +13,7 @@ since this can be used even within a jail(8) environment. An example
entry is:
policy unix - n n - - spawn
- user=nobody argv=/usr/local/libexec/gps -v /usr/local/etc/gps.conf
+ user=nobody argv=%%PREFIX%%/libexec/gps -v %%PREFIX%%/etc/gps.conf
In order to make policy server effect on your postfix installation,
you should add something like:
@@ -25,7 +25,6 @@ Into your smtpd_sender_restrictions configuration in postfix's main.cf.
Also, you may want to include the following line into your crontab so
system will automatically do daily cleanup of the greylist table:
-27 * * * * /usr/local/libexec/gps-maintain.pl -delete -eq 0 -age 86400 /usr/local/etc/gps.conf
-55 3 * * * /usr/local/libexec/gps-maintain.pl -delete -age 3110400 /usr/local/etc/gps.conf
+27 * * * * %%PREFIX%%/libexec/gps-maintain.pl -delete -eq 0 -age 86400 %%PREFIX%%/etc/gps.conf
+55 3 * * * %%PREFIX%%/libexec/gps-maintain.pl -delete -age 3110400 %%PREFIX%%/etc/gps.conf
========================================================================
-