From cc70c8ad2c644bb88f695be13c36c740ee3a92e9 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 19 Dec 2007 12:42:50 +0000 Subject: [PATCH] Greylite is an implementation of a modified greylisting technology for fighting SPAM on mailservers running qmail. Greylite does not require patching qmail, it is self-contained because it uses sqlite, it uses a technology that minimizes delivery delays and enables suspect senders to be multiply rejected and never whitelisted. Greylite is easy to setup and maintain, and it is small and fast. WWW: http://mij.oltrelinux.com/net/greylite/ PR: ports/118233 Submitted by: Mij --- mail/Makefile | 1 + mail/greylite/Makefile | 41 +++++++++++++++++++++++++++++++++++++++ mail/greylite/distinfo | 3 +++ mail/greylite/pkg-descr | 10 ++++++++++ mail/greylite/pkg-message | 8 ++++++++ 5 files changed, 63 insertions(+) create mode 100644 mail/greylite/Makefile create mode 100644 mail/greylite/distinfo create mode 100644 mail/greylite/pkg-descr create mode 100644 mail/greylite/pkg-message diff --git a/mail/Makefile b/mail/Makefile index 02b0357128a6..6a79949d0626 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -155,6 +155,7 @@ SUBDIR += gnumail SUBDIR += gotmail SUBDIR += grepmail + SUBDIR += greylite SUBDIR += gtray SUBDIR += gubby SUBDIR += hashcash diff --git a/mail/greylite/Makefile b/mail/greylite/Makefile new file mode 100644 index 000000000000..6a9ab963170e --- /dev/null +++ b/mail/greylite/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: greylite +# Date created: 2007-12-11 +# Whom: Mij +# +# $FreeBSD$ +# + +PORTNAME= greylite +DISTVERSION= 1.3 +CATEGORIES= mail +MASTER_SITES= http://mij.oltrelinux.com/net/greylite/ + +MAINTAINER= mij@bitchx.it +COMMENT= An efficient greylisting module for qmail + +USE_BZIP2= yes +USE_SQLITE= 3 +PLIST_FILES= bin/greylite + +MAN8= greylite.8 +MANCOMPRESSED= yes + +OPTIONS= GEOIP "Enable support for GeoIP in suspicion rules" On + +.include + +.if !defined(WITHOUT_GEOIP) +LIB_DEPENDS+= GeoIP:$(PORTSDIR)/net/GeoIP +MAKE_ARGS+= WITH_GEOIP=yep +.endif + +post-patch: + ${CP} ${WRKSRC}/Makefile.bsdmake ${WRKSRC}/Makefile + +do-build: + $(MAKE) -C $(WRKSRC) $(MAKE_ARGS) + +post-install: + @$(CAT) pkg-message + +.include diff --git a/mail/greylite/distinfo b/mail/greylite/distinfo new file mode 100644 index 000000000000..1e08b8867e1b --- /dev/null +++ b/mail/greylite/distinfo @@ -0,0 +1,3 @@ +MD5 (greylite-1.3.tar.bz2) = a034d736a75555a3b710a288f33ade96 +SHA256 (greylite-1.3.tar.bz2) = 8393fd976daa4e0f514567f9a39905d4115cbe1f5809315bf4b16e082e8f7eba +SIZE (greylite-1.3.tar.bz2) = 13629 diff --git a/mail/greylite/pkg-descr b/mail/greylite/pkg-descr new file mode 100644 index 000000000000..9ead2a04996d --- /dev/null +++ b/mail/greylite/pkg-descr @@ -0,0 +1,10 @@ +Greylite is an implementation of a modified greylisting technology for fighting +SPAM on mailservers running qmail. + +Greylite does not require patching qmail, it is self-contained because it uses +sqlite, it uses a technology that minimizes delivery delays and enables suspect +senders to be multiply rejected and never whitelisted. + +Greylite is easy to setup and maintain, and it is small and fast. + +WWW: http://mij.oltrelinux.com/net/greylite/ diff --git a/mail/greylite/pkg-message b/mail/greylite/pkg-message new file mode 100644 index 000000000000..7c915c9d3183 --- /dev/null +++ b/mail/greylite/pkg-message @@ -0,0 +1,8 @@ +################################################################ +Greylite has been installed. Some steps are required for setting +it up with qmail. greylite(8) has a synthesis and the website at +http://mij.oltrelinux.com/net/greylite/ has more information. +You might be also interested in further refinements to improve +the effectiveness and performance of greylite: +http://mij.oltrelinux.com/net/greylite/practmatters.html +################################################################