svn commit: r380419 - in head: . mail mail/greylite mail/greylite/files
Oliver Lehmann
oliver at FreeBSD.org
Wed Mar 4 07:41:08 UTC 2015
Author: oliver
Date: Wed Mar 4 07:41:04 2015
New Revision: 380419
URL: https://svnweb.freebsd.org/changeset/ports/380419
QAT: https://qat.redports.org/buildarchive/r380419/
Log:
restore greylite
STAGEify it
move distfiles to public_distfiles-mirror
move MAN8 into PLIST_FILES
move pkg-message to SUB_FILES
Added:
head/mail/greylite/
head/mail/greylite/Makefile (contents, props changed)
head/mail/greylite/distinfo (contents, props changed)
head/mail/greylite/files/
head/mail/greylite/files/pkg-message.in (contents, props changed)
head/mail/greylite/pkg-descr (contents, props changed)
Modified:
head/MOVED
head/mail/Makefile
Modified: head/MOVED
==============================================================================
--- head/MOVED Wed Mar 4 05:22:30 2015 (r380418)
+++ head/MOVED Wed Mar 4 07:41:04 2015 (r380419)
@@ -6656,7 +6656,6 @@ mail/ezmlm-web||2014-09-01|Not staged
mail/firemime||2014-09-01|Not staged
mail/firepay||2014-09-01|Not staged
mail/ftrack||2014-09-01|Not staged
-mail/greylite||2014-09-01|Not staged
mail/ilohamail||2014-09-01|Not staged
mail/majordomo||2014-09-01|Not staged
mail/p3scan||2014-09-01|Not staged
Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile Wed Mar 4 05:22:30 2015 (r380418)
+++ head/mail/Makefile Wed Mar 4 07:41:04 2015 (r380419)
@@ -159,6 +159,7 @@
SUBDIR += gotmail
SUBDIR += grepmail
SUBDIR += greyfix
+ SUBDIR += greylite
SUBDIR += gubby
SUBDIR += hashcash
SUBDIR += hbiff
Added: head/mail/greylite/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/greylite/Makefile Wed Mar 4 07:41:04 2015 (r380419)
@@ -0,0 +1,64 @@
+# Created by: Mij <mij at bitchx.it>
+# $FreeBSD$
+
+PORTNAME= greylite
+PORTVERSION= 2.3
+PORTREVISION= 4
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= oliver
+
+MAINTAINER= oliver at FreeBSD.org
+COMMENT= Modified greylisting for qmail and for any other MDA
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
+
+USES= tar:bzip2
+USE_SQLITE= 3
+PLIST_FILES= bin/greylite \
+ %%DNSBLENV%%bin/dnsblenv \
+ %%UCSPI2SOCKET%%bin/ucspi2socket \
+ man/man8/greylite.8.gz
+
+MANCOMPRESSED= yes
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= GEOIP DNSBLENV UCSPI2SOCKET
+OPTIONS_DEFAULT= GEOIP DNSBLENV UCSPI2SOCKET
+GEOIP_DESC= Support for GeoIP in suspicion rules
+DNSBLENV_DESC= Module for interfacing with DNS blacklists
+UCSPI2SOCKET_DESC= Module for using greylite as SMTP proxy
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MGEOIP}
+LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP
+MAKE_ARGS+= WITH_GEOIP=yep
+.endif
+
+.if ${PORT_OPTIONS:MDNSBLENV}
+LIB_DEPENDS+= libcares.so:${PORTSDIR}/dns/c-ares
+MAKE_ARGS+= WITH_DNSBLENV=yep
+PLIST_SUB+= DNSBLENV=""
+.else
+PLIST_SUB+= DNSBLENV="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MUCSPI2SOCKET}
+MAKE_ARGS+= WITH_UCSPI2SOCKET=yep
+PLIST_SUB+= UCSPI2SOCKET=""
+.else
+PLIST_SUB+= UCSPI2SOCKET="@comment "
+.endif
+
+post-patch:
+ ${CP} ${WRKSRC}/Makefile.bsdmake ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|PREFIX\?=.*|PREFIX=${STAGEDIR}${PREFIX}|g' \
+ ${WRKSRC}/Makefile
+
+do-build:
+ ${MAKE} -C ${WRKSRC} ${MAKE_ARGS}
+
+.include <bsd.port.post.mk>
Added: head/mail/greylite/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/greylite/distinfo Wed Mar 4 07:41:04 2015 (r380419)
@@ -0,0 +1,2 @@
+SHA256 (greylite-2.3.tar.bz2) = db676e2511ff42ad9ba2201be55df10e89b19bbc225ce523fa218d4e542c16db
+SIZE (greylite-2.3.tar.bz2) = 20663
Added: head/mail/greylite/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/greylite/files/pkg-message.in Wed Mar 4 07:41:04 2015 (r380419)
@@ -0,0 +1,5 @@
+################################################################
+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.
+################################################################
Added: head/mail/greylite/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/greylite/pkg-descr Wed Mar 4 07:41:04 2015 (r380419)
@@ -0,0 +1,14 @@
+Greylite is a SPAM filter with exceptional effectiveness and without false
+positives. It combines natively with qmail and works as a proxy for any SMTP
+server.
+
+It implements a modified greylisting algorithm that improves the filtering
+effectiveness and minimizes the delay drawbacks associated with the standard
+greylisting algorithm.
+
+It can be tuned to recognize suspicious clients and reject their attempts
+multiple times, reaching filtering rates of over 99% without false positives.
+
+Greylite is easy to setup and maintain, and it is small and fast.
+
+WWW: http://mij.oltrelinux.com/net/greylite/
More information about the svn-ports-all
mailing list