ports/119736: [maintainer update] greylite 2.0
Mij
mij at bitchx.it
Thu Jan 17 00:50:03 UTC 2008
>Number: 119736
>Category: ports
>Synopsis: [maintainer update] greylite 2.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 17 00:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Mij
>Release: 6.2-STABLE
>Organization:
>Environment:
FreeBSD asd 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat May 5 16:21:47 CEST 2007 xyz i386
>Description:
updates greylite to 2.0, see
http://mij.oltrelinux.com/net/greylite/releases/changes-2.0.txt
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN greylite/Makefile greylite-new/Makefile
--- greylite/Makefile 2007-12-19 13:42:50.000000000 +0100
+++ greylite-new/Makefile 2008-01-17 02:32:59.000000000 +0100
@@ -5,37 +5,58 @@
# $FreeBSD: ports/mail/greylite/Makefile,v 1.1 2007/12/19 12:42:50 miwi Exp $
#
-PORTNAME= greylite
-DISTVERSION= 1.3
-CATEGORIES= mail
-MASTER_SITES= http://mij.oltrelinux.com/net/greylite/
-
-MAINTAINER= mij at bitchx.it
-COMMENT= An efficient greylisting module for qmail
-
-USE_BZIP2= yes
-USE_SQLITE= 3
-PLIST_FILES= bin/greylite
+PORTNAME= greylite
+DISTVERSION= 2.0
+CATEGORIES= mail
+MASTER_SITES= http://mij.oltrelinux.com/net/greylite/releases/
+
+MAINTAINER= mij at bitchx.it
+COMMENT= Modified greylisting for qmail and for any other MDA
+
+RUN_DEPENDS= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
+
+USE_BZIP2= yes
+USE_SQLITE= 3
+PLIST_FILES= bin/greylite \
+ %%DNSBLENV%%bin/dnsblenv \
+ %%UCSPI2SOCKET%%bin/ucspi2socket
-MAN8= greylite.8
+MAN8= greylite.8
MANCOMPRESSED= yes
-OPTIONS= GEOIP "Enable support for GeoIP in suspicion rules" On
+OPTIONS= GEOIP "Support for GeoIP in suspicion rules" On \
+ DNSBLENV "Module for interfacing with DNS blacklists" On \
+ UCSPI2SOCKET "Module for using greylite as SMTP proxy" On
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_GEOIP)
-LIB_DEPENDS+= GeoIP:$(PORTSDIR)/net/GeoIP
+LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP
MAKE_ARGS+= WITH_GEOIP=yep
.endif
+.if !defined(WITHOUT_DNSBLENV)
+LIB_DEPENDS+= cares:${PORTSDIR}/dns/c-ares
+MAKE_ARGS+= WITH_DNSBLENV=yep WITH_CARES14=yep
+PLIST_SUB+= DNSBLENV=""
+.else
+PLIST_SUB+= DNSBLENV="@comment "
+.endif
+
+.if !defined(WITHOUT_UCSPI2SOCKET)
+MAKE_ARGS+= WITH_UCSPI2SOCKET=yep
+PLIST_SUB+= UCSPI2SOCKET=""
+.else
+PLIST_SUB+= UCSPI2SOCKET="@comment "
+.endif
+
post-patch:
${CP} ${WRKSRC}/Makefile.bsdmake ${WRKSRC}/Makefile
do-build:
- $(MAKE) -C $(WRKSRC) $(MAKE_ARGS)
+ ${MAKE} -C ${WRKSRC} ${MAKE_ARGS}
post-install:
- @$(CAT) pkg-message
+ @${CAT} pkg-message
.include <bsd.port.post.mk>
diff -ruN greylite/distinfo greylite-new/distinfo
--- greylite/distinfo 2007-12-19 13:42:50.000000000 +0100
+++ greylite-new/distinfo 2008-01-17 02:32:59.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (greylite-1.3.tar.bz2) = a034d736a75555a3b710a288f33ade96
-SHA256 (greylite-1.3.tar.bz2) = 8393fd976daa4e0f514567f9a39905d4115cbe1f5809315bf4b16e082e8f7eba
-SIZE (greylite-1.3.tar.bz2) = 13629
+MD5 (greylite-2.0.tar.bz2) = 4de0975465025b5808f0cf6c21d324af
+SHA256 (greylite-2.0.tar.bz2) = 7f6900746931cc9bb76cd25e579fe4213266a89282f4bfe954683fd2ab0ecee5
+SIZE (greylite-2.0.tar.bz2) = 19082
diff -ruN greylite/pkg-message greylite-new/pkg-message
--- greylite/pkg-message 2007-12-19 13:42:50.000000000 +0100
+++ greylite-new/pkg-message 2008-01-17 02:32:59.000000000 +0100
@@ -2,7 +2,4 @@
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
################################################################
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list