pkgsrc/mail/sqlgrey/Makefile

83 lines
2.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2020/03/20 11:58:00 nia Exp $
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 23:39:44 +02:00
DISTNAME= sqlgrey-1.8.0
2019-08-11 15:17:48 +02:00
PKGREVISION= 5
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlgrey/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sqlgrey.sourceforge.net/
COMMENT= Postfix greylisting policy daemon
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 23:39:44 +02:00
LICENSE= gnu-gpl-v2
USE_TOOLS+= perl:run
DEPENDS+= p5-Net-Server>=0.87:../../net/p5-Net-Server
DEPENDS+= p5-IO-Multiplex>=1:../../devel/p5-IO-Multiplex
# update_sqlgrey_config relies on diff, md5sum and wget
USE_TOOLS+= diff:run wget:run
DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
.include "../../mk/bsd.prefs.mk"
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 23:39:44 +02:00
BUILD_DEFS+= VARBASE SQLGREY_DIR SQLGREY_PIDDIR
BUILD_DEFS+= SQLGREY_USER SQLGREY_GROUP
SQLGREY_USER?= sqlgrey
SQLGREY_GROUP?= sqlgrey
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 23:39:44 +02:00
SQLGREY_DIR?= ${VARBASE}/db/sqlgrey
SQLGREY_PIDDIR?= ${VARBASE}/run
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 23:39:44 +02:00
PKG_USERS+= ${SQLGREY_USER}:${SQLGREY_GROUP}
PKG_GROUPS+= ${SQLGREY_GROUP}
PKG_HOME.${SQLGREY_USER}= ${SQLGREY_DIR}
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 23:39:44 +02:00
PKG_USERS_VARS= SQLGREY_USER
PKG_GROUPS_VARS= SQLGREY_GROUP
OWN_DIRS_PERMS+= ${SQLGREY_DIR} ${SQLGREY_USER} ${SQLGREY_GROUP} 0755
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALLATION_DIRS+= share/doc/sqlgrey
PKG_SYSCONFSUBDIR= ${PKGBASE}
RCD_SCRIPTS= sqlgrey
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 23:39:44 +02:00
CONFIG_FILES= sqlgrey.conf \
clients_fqdn_whitelist clients_ip_whitelist \
discrimination.regexp dyn_fqdn.regexp \
smtp_server.regexp
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 23:39:44 +02:00
DOC_FILES= FAQ HOWTO README README.DBCLUSTER \
README.DISCRIMINATION README.OPTINOUT \
README.PERF
.for file in ${CONFIG_FILES}
CONF_FILES+= ${EGDIR}/${file} ${PKG_SYSCONFDIR}/${file}
.endfor
REPLACE_PERL= sqlgrey-logstats.pl
REPLACE_PERL+= sqlgrey
REPLACE_SH= update_sqlgrey_config
SUBST_CLASSES+= sysconfdir
SUBST_STAGE.sysconfdir= pre-configure
SUBST_FILES.sysconfdir= sqlgrey update_sqlgrey_config etc/sqlgrey.conf
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 23:39:44 +02:00
SUBST_VARS.sysconfdir= PKG_SYSCONFDIR SQLGREY_PIDDIR
SUBST_VARS.sysconfdir+= SQLGREY_USER SQLGREY_GROUP
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 23:39:44 +02:00
FILES_SUBST+= SQLGREY_USER=${SQLGREY_USER}
FILES_SUBST+= SQLGREY_GROUP=${SQLGREY_GROUP}
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 23:39:44 +02:00
MAKE_ENV+= EGDIR=${EGDIR}
post-install:
${RM} -f ${DESTDIR}${PREFIX}/share/examples/sqlgrey/README
.for file in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/sqlgrey
.endfor
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"