mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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:
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
|
@ -1,20 +1,19 @@
|
||||||
# New ports collection makefile for: postfix-gps
|
# New ports collection makefile for: postfix-gps-devel
|
||||||
# Date created: 2 September 2004
|
# Date created: 29 May 2005
|
||||||
# Whom: Xin LI <delphij@FreeBSD.org>
|
# Whom: Dennis K. Jensen <freebsd@signout.dk>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= gps
|
PORTNAME= gps
|
||||||
PORTVERSION= 0.93
|
PORTVERSION= 1.004
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= mail security
|
CATEGORIES= mail security
|
||||||
MASTER_SITES= http://mimo.gn.apc.org/gps/
|
MASTER_SITES= http://mimo.gn.apc.org/gps/
|
||||||
PKGNAMEPREFIX= postfix-
|
PKGNAMEPREFIX= postfix-
|
||||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
PKGNAMESUFFIX= -devel
|
||||||
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
DISTNAME= gps-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= delphij@FreeBSD.org
|
MAINTAINER= freebsd@signout.dk
|
||||||
COMMENT= Greylist Policy Service for postfix
|
COMMENT= Greylist Policy Service for postfix
|
||||||
|
|
||||||
LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi
|
LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi
|
||||||
|
@ -28,9 +27,9 @@ USE_AUTOCONF_VER= 259
|
||||||
USE_AUTOMAKE_VER= 19
|
USE_AUTOMAKE_VER= 19
|
||||||
USE_GCC= 3.4
|
USE_GCC= 3.4
|
||||||
CONFIGURE_ARGS= --bindir=${PREFIX}/libexec --includedir=${PREFIX}/include
|
CONFIGURE_ARGS= --bindir=${PREFIX}/libexec --includedir=${PREFIX}/include
|
||||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||||
CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include" \
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||||
LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@cd ${WRKSRC} && ${ACLOCAL}
|
@cd ${WRKSRC} && ${ACLOCAL}
|
||||||
|
@ -39,6 +38,6 @@ post-install:
|
||||||
.for f in ${SCRIPT_FILES}
|
.for f in ${SCRIPT_FILES}
|
||||||
@${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec
|
@${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec
|
||||||
.endfor
|
.endfor
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (gps-0.93.tar.gz) = cd12ea6ca4b4bea06690a3356aabd7b2
|
MD5 (gps-1.004.tar.gz) = 9a0a0a80535c13f4a4486f23dbc212af
|
||||||
SIZE (gps-0.93.tar.gz) = 338790
|
SIZE (gps-1.004.tar.gz) = 348669
|
||||||
|
|
|
@ -13,7 +13,7 @@ since this can be used even within a jail(8) environment. An example
|
||||||
entry is:
|
entry is:
|
||||||
|
|
||||||
policy unix - n n - - spawn
|
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,
|
In order to make policy server effect on your postfix installation,
|
||||||
you should add something like:
|
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
|
Also, you may want to include the following line into your crontab so
|
||||||
system will automatically do daily cleanup of the greylist table:
|
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
|
27 * * * * %%PREFIX%%/libexec/gps-maintain.pl -delete -eq 0 -age 86400 %%PREFIX%%/etc/gps.conf
|
||||||
55 3 * * * /usr/local/libexec/gps-maintain.pl -delete -age 3110400 /usr/local/etc/gps.conf
|
55 3 * * * %%PREFIX%%/libexec/gps-maintain.pl -delete -age 3110400 %%PREFIX%%/etc/gps.conf
|
||||||
========================================================================
|
========================================================================
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue