[BACK]Return to patch-ac CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / sqlgrey / patches

File: [cvs.NetBSD.org] / pkgsrc / mail / sqlgrey / patches / patch-ac (download)

Revision 1.2, Wed May 25 21:39:44 2016 UTC (7 years, 10 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, HEAD
Changes since 1.1: +5 -3 lines

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

$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