pkgsrc/mail/sqlgrey/patches/patch-ac
fhajny 6dbffa4855 Update sqlgrey to 1.8.0.
Add SMF support, clean up etc.

* Mon Feb 13 2012 Martin Matuska <martin@matuska.org>
 - 1.8.0 release
 - Allow to specify complete DSN in configuration file
 - Support listening on UNIX sockets
 - Support pidfile command line argument

* Mon Feb 01 2010 Michal Ludvig <mludvig@logix.net.nz>
 - Upgraded VERSION to 1.8.0-rc2
 - Reverted GNU sed syntax in Makefile

* Sat Jan 23 2010 Michal Ludvig <mludvig@logix.net.nz>
 - Upgraded VERSION to 1.8.0-rc1
 - 'make dist' now creates sqlgrey-$VERSION.tar.gz with
   the help of 'git archive'

* Mon Aug 17 2009 Michal Ludvig <mludvig@logix.net.nz>
 - 1.7.7 release getting ready
 - Reworked "smart"/"class-c" IPv6 address handling.
 - Added IPv6 address support for clients_ip_whitelist(.local)
   file
 - client_ip_whitelist(.local) now supports address/prefix
   notation both for IPv4 and IPv6 addresses.

* Sun Aug 05 2007 Lionel Bouton <lionel-dev@bouton.name>
 - 1.7.6 release
 - Database handling fix (deactivated InactiveDestroy unless
   needed)
 - Reopen database connection on SIGUSR1

* Thu Feb 15 2007 Dan Faerch <dan.sqlgrey @hacker.dk>
 - 1.7.5 release
 - Changed db_cleanup. clean time stored in db for better
   handling,
   especially in  clustered environments
 - Fix for harmless warnings about "possible typo"
 - Fix for sqlgrey dying if syslog is offline
 - Filled feature req from Riaan Kok. Support "postfix attributes
   on both
   sides".. Ie:  "client_name !~ helo_name"

* Sun Aug 03 2006 Dan Faerch <dan-NOSPAM@hacker.dk>
 - 1.7.4 release
 - Added feature Discrimination
 - Added feature DBCluster
 - Added config option reject_code (eg. answer 451 instead of 450)

* Wed Nov 16 2005 Lionel Bouton <lionel-dev@bouton.name>
 - 1.7.3 release
 - fixes for a crash with '*' in email adresses

* Tue Oct 25 2005 Lionel Bouton <lionel-dev@bouton.name>
 - 1.7.2 release
 - fixes for several errors in logging
 - clean_method ported from 1.6.x

* Thu Sep 15 2005 Lionel Bouton <lionel-dev@bouton.name>
 - 1.7.1 release
 - fix for a race condition in multiple instances configurations
 - fix for weekly stats

* Tue Jun 21 2005 Lionel Bouton <lionel-dev@bouton.name>
 - 1.7.0 release
 - now continue if the DB isn't available at startup time
 - based on 1.6.0 with Michel Bouissou's work:
  . better connect cleanup when creating AWL entries
  . source IP throttling
2016-05-25 21:39:44 +00:00

24 lines
565 B
Text

$NetBSD: patch-ac,v 1.2 2016/05/25 21:39:44 fhajny Exp $
Default dirs.
--- update_sqlgrey_config.orig 2005-03-02 01:49:41.000000000 +0100
+++ update_sqlgrey_config
@@ -24,7 +24,7 @@ fi
LANG=C
LC_ALL=C
-MYDIR=/etc/sqlgrey
+MYDIR=@PKG_SYSCONFDIR@
CONF=$MYDIR/sqlgrey.conf
# Get whitelists host and pidfile from conf
@@ -36,7 +36,7 @@ fi
pidfile=`grep "^[[:space:]]*pidfile" $CONF | cut -d= -f2 | awk '{print $1}'`
if [ -z "$pidfile" ]
then
- pidfile="/var/run/sqlgrey.pid"
+ pidfile="@SQLGREY_PIDDIR@/sqlgrey.pid"
fi
# Go into a temp directory