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
This commit is contained in:
Simon L. B. Nielsen 2005-06-12 15:43:00 +00:00
parent 9be432b88c
commit 3c41dcc16a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137324
5 changed files with 16 additions and 18 deletions

View file

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

View file

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

View file

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