ports/157485: [update] mail/sqlgrey to 1.8.0-rc2

Ryan Steinmetz rpsfa at rit.edu
Wed Jun 1 01:40:11 UTC 2011


>Number:         157485
>Category:       ports
>Synopsis:       [update] mail/sqlgrey to 1.8.0-rc2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 01 01:40:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        8.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
>Description:
-Update to 1.8.0rc2
-Rename rc script

1.8.0 features improved IPv6 support, which should result in IPv6 working just as good as IPv4, including whitelisting.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/mail/sqlgrey/Makefile sqlgrey/Makefile
--- /usr/ports/mail/sqlgrey/Makefile	2009-11-09 03:15:15.000000000 -0500
+++ sqlgrey/Makefile	2011-05-31 21:21:36.000000000 -0400
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	sqlgrey
-PORTVERSION=	1.7.6
+DISTVERSION=	1.8.0-rc2
 CATEGORIES=	mail
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-1.7%20%28devel%29/${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-1.8%20%28stable%29
 
 MAINTAINER=	chifeng at gmail.com
 COMMENT=	Greylisting policy server for Postfix using an SQL backend
@@ -18,8 +18,7 @@
 		${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser
 
 USE_PERL5_RUN=	yes
-USE_RC_SUBR=	sqlgrey.sh
-USE_BZIP2=	yes
+USE_RC_SUBR=	sqlgrey
 NO_BUILD=	yes
 
 ETCFILES=	clients_fqdn_whitelist clients_ip_whitelist dyn_fqdn.regexp smtp_server.regexp sqlgrey.conf
diff -urN /usr/ports/mail/sqlgrey/distinfo sqlgrey/distinfo
--- /usr/ports/mail/sqlgrey/distinfo	2008-02-05 08:48:12.000000000 -0500
+++ sqlgrey/distinfo	2011-05-31 21:19:06.000000000 -0400
@@ -1,3 +1,2 @@
-MD5 (sqlgrey-1.7.6.tar.bz2) = 1e7e5e3ed5f02b29f71ef4e26edc1c36
-SHA256 (sqlgrey-1.7.6.tar.bz2) = 48f6c855e18d3ac3d19a0c2ecd250394a355d0116acd631187b880cb813646d1
-SIZE (sqlgrey-1.7.6.tar.bz2) = 63738
+SHA256 (sqlgrey-1.8.0-rc2.tar.gz) = c109aab28c9dcf798beb708d1efa37facfb3dfacd0f15fa87b5f6c1f023d2068
+SIZE (sqlgrey-1.8.0-rc2.tar.gz) = 68821
diff -urN /usr/ports/mail/sqlgrey/files/sqlgrey.in sqlgrey/files/sqlgrey.in
--- /usr/ports/mail/sqlgrey/files/sqlgrey.in	1969-12-31 19:00:00.000000000 -0500
+++ sqlgrey/files/sqlgrey.in	2011-05-30 15:53:21.000000000 -0400
@@ -0,0 +1,40 @@
+#!/bin/sh
+# $FreeBSD: ports/mail/sqlgrey/files/sqlgrey.sh.in,v 1.5 2010/03/27 00:13:26 dougb Exp $
+#
+
+# PROVIDE: sqlgrey
+# REQUIRE: LOGIN
+# BEFORE: mail
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable sqlgrey:
+#
+# sqlgrey_enable="YES"
+#
+# See man sqlgrey for flags or the config file.
+#
+
+. /etc/rc.subr
+
+name=sqlgrey
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/sbin/sqlgrey
+extra_commands=reload
+command_interpreter=%%PERL%%
+
+stop_postcmd=${name}_poststop
+
+sqlgrey_poststop()
+{
+	rm -f $pidfile
+}
+
+load_rc_config $name
+
+sqlgrey_enable=${sqlgrey_enable-"NO"}
+sqlgrey_config=${sqlgrey_config-"/usr/local/%%ETCDIR%%/sqlgrey.conf"}
+sqlgrey_flags=${sqlgrey_flags-"--daemonize --configfile=${sqlgrey_config}"}
+
+run_rc_command "$1"
diff -urN /usr/ports/mail/sqlgrey/files/sqlgrey.sh.in sqlgrey/files/sqlgrey.sh.in
--- /usr/ports/mail/sqlgrey/files/sqlgrey.sh.in	2010-03-26 20:13:26.000000000 -0400
+++ sqlgrey/files/sqlgrey.sh.in	1969-12-31 19:00:00.000000000 -0500
@@ -1,40 +0,0 @@
-#!/bin/sh
-# $FreeBSD: ports/mail/sqlgrey/files/sqlgrey.sh.in,v 1.5 2010/03/27 00:13:26 dougb Exp $
-#
-
-# PROVIDE: sqlgrey
-# REQUIRE: LOGIN
-# BEFORE: mail
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable sqlgrey:
-#
-# sqlgrey_enable="YES"
-#
-# See man sqlgrey for flags or the config file.
-#
-
-. /etc/rc.subr
-
-name=sqlgrey
-rcvar=`set_rcvar`
-
-command=%%PREFIX%%/sbin/sqlgrey
-extra_commands=reload
-command_interpreter=%%PERL%%
-
-stop_postcmd=${name}_poststop
-
-sqlgrey_poststop()
-{
-	rm -f $pidfile
-}
-
-load_rc_config $name
-
-sqlgrey_enable=${sqlgrey_enable-"NO"}
-sqlgrey_config=${sqlgrey_config-"/usr/local/%%ETCDIR%%/sqlgrey.conf"}
-sqlgrey_flags=${sqlgrey_flags-"--daemonize --configfile=${sqlgrey_config}"}
-
-run_rc_command "$1"


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list