FreeBSD Bugzilla – Attachment 46906 Details for
Bug 71912
[NEW PORT]: mail/postfix-gps
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
postfix-gps.shar
postfix-gps.shar (text/plain), 5.00 KB, created by
Xin LI
on 2004-09-19 19:10:13 UTC
(
hide
)
Description:
postfix-gps.shar
Filename:
MIME Type:
Creator:
Xin LI
Created:
2004-09-19 19:10:13 UTC
Size:
5.00 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># postfix-gps ># postfix-gps/pkg-plist ># postfix-gps/pkg-descr ># postfix-gps/distinfo ># postfix-gps/Makefile ># postfix-gps/files ># postfix-gps/files/patch-configure.in ># postfix-gps/files/patch-src::Makefile.am ># postfix-gps/pkg-message ># >echo c - postfix-gps >mkdir -p postfix-gps > /dev/null 2>&1 >echo x - postfix-gps/pkg-plist >sed 's/^X//' >postfix-gps/pkg-plist << 'END-of-postfix-gps/pkg-plist' >Xetc/gps.conf-dist >Xlibexec/gps >Xlibexec/gps-maintain.pl >X >END-of-postfix-gps/pkg-plist >echo x - postfix-gps/pkg-descr >sed 's/^X//' >postfix-gps/pkg-descr << 'END-of-postfix-gps/pkg-descr' >XThis program is an implementation of a greylist policy service for >Xpostfix (2.1.0 and later). Greylisting is a concept to reduce the >Xamount of UCE ('spam') by technical means. Tests on production >Xsystems show that greylisting is hugely effective. >X >XRead more about greylisting on: >XWWW: http://www.greylisting.org and >XWWW: http://projects.puremagic.com/greylisting/whitepaper.html >X >XAlso, please consult homepage of this program: >XWWW: http://mimo.gn.apc.org/gps/ >END-of-postfix-gps/pkg-descr >echo x - postfix-gps/distinfo >sed 's/^X//' >postfix-gps/distinfo << 'END-of-postfix-gps/distinfo' >XMD5 (gps-0.9.tar.gz) = a5ede393225b799a855fd91e5d017c57 >XSIZE (gps-0.9.tar.gz) = 321568 >XMD5 (gps-maintain.pl) = e42d47d0b093d54277de826f24ccb1bd >XSIZE (gps-maintain.pl) = 3502 >END-of-postfix-gps/distinfo >echo x - postfix-gps/Makefile >sed 's/^X//' >postfix-gps/Makefile << 'END-of-postfix-gps/Makefile' >X# New ports collection makefile for: postfix-gps >X# Date created: 2 September 2004 >X# Whom: Xin LI <delphij@FreeBSD.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= gps >XPORTVERSION= 0.9 >XCATEGORIES= mail security >XMASTER_SITES= http://mimo.gn.apc.org/gps/ >XPKGNAMEPREFIX= postfix- >XDISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ >X ${SCRIPT_FILES} >XEXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} >X >XMAINTAINER= delphij@FreeBSD.org >XCOMMENT= Greylist Policy Service for postfix >X >XLIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi >XRUN_DEPENDS= ${LOCALBASE}/lib/dbd:${PORTSDIR}/databases/libdbi-drivers >X >XSCRIPT_FILES= gps-maintain.pl >X >XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >X >XUSE_AUTOCONF_VER= 259 >XUSE_AUTOMAKE_VER= 18 >XUSE_GCC= 3.3 >XCONFIGURE_ARGS= --bindir=${PREFIX}/libexec --includedir=${PREFIX}/include >XCONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \ >X CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include" \ >X LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" >X >Xpre-configure: >X @cd ${WRKSRC} && ${ACLOCAL} >Xpost-install: >X @${INSTALL_DATA} ${WRKSRC}/etc/gps.conf ${PREFIX}/etc/gps.conf-dist >X.for f in ${SCRIPT_FILES} >X @${INSTALL_SCRIPT} ${_DISTDIR}/${f} ${PREFIX}/libexec >X.endfor >X @${PAGER} pkg-message >X >X.include <bsd.port.mk> >END-of-postfix-gps/Makefile >echo c - postfix-gps/files >mkdir -p postfix-gps/files > /dev/null 2>&1 >echo x - postfix-gps/files/patch-configure.in >sed 's/^X//' >postfix-gps/files/patch-configure.in << 'END-of-postfix-gps/files/patch-configure.in' >X--- configure.in.orig Fri Sep 17 07:55:55 2004 >X+++ configure.in Mon Sep 20 01:48:31 2004 >X@@ -20,9 +20,6 @@ >X >X AC_LANG_CPLUSPLUS >X AC_PROG_CXX >X-AM_PROG_LIBTOOL >X-AC_PROG_LD >X-AM_PROG_LD >X dnl AC_CHECK_LIB(dbi, libdbi) >X >X AC_HAVE_HEADERS(syslog.h) >END-of-postfix-gps/files/patch-configure.in >echo x - postfix-gps/files/patch-src::Makefile.am >sed 's/^X//' >postfix-gps/files/patch-src::Makefile.am << 'END-of-postfix-gps/files/patch-src::Makefile.am' >X--- src/Makefile.am.orig Wed Sep 15 05:25:25 2004 >X+++ src/Makefile.am Mon Sep 20 01:49:53 2004 >X@@ -7,5 +7,5 @@ >X # the library search path. >X gps_LDFLAGS = $(all_libraries) >X noinst_HEADERS = configreader.h db.h read.h triplet.h defs.h strtrim.h cfg.h wlmodule.h wldb.h tmplwlmod.h dbdefs.h doxygen.h wlcacheddb.h dbiquote.h >X-gps_LDADD = -ldbi -ldl >X+gps_LDADD = -ldbi >X METASOURCES = AUTO >END-of-postfix-gps/files/patch-src::Makefile.am >echo x - postfix-gps/pkg-message >sed 's/^X//' >postfix-gps/pkg-message << 'END-of-postfix-gps/pkg-message' >X======================================================================== >XCCoonnffiigguurraattiioonn IInnssttrruuccttiioonnss >X >XYou need to create a database for greylisting manually, and a user for >Xthis, too. Additionally, please copy the gps.conf-dist found in your >Xlocal etc directory. >X >XAfter you have all these done, modify the postfix master.cf and include >Xgps as policy server. >X >XAlso, you may want to include the following line into your crontab so >Xsystem will automatically do daily cleanup of the greylist table: >X >X27 * * * * /usr/local/libexec/gps-maintain.pl -delete -eq 0 -age 86400 /usr/local/etc/gps.conf >X55 3 * * * /usr/local/libexec/gps-maintain.pl -delete -age 3110400 /usr/local/etc/gps.conf >X======================================================================== >X >END-of-postfix-gps/pkg-message >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 71912
: 46906