1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
This patch should allow you to use PostgreSQL instead of MySQL.
Use at your own risk. In particular you should probably put the
package on hold to avoid upgrades to the MySQL version.
In a future release, this will be a configuration option in /etc/gld.conf.
--- a/debian/control
+++ b/debian/control
@@ -3,14 +3,14 @@ Section: mail
Priority: optional
Maintainer: Santiago Vila <sanvila@debian.org>
Standards-Version: 4.6.2
-Build-Depends: debhelper-compat (= 13), default-libmysqlclient-dev
+Build-Depends: debhelper-compat (= 13), libpq-dev
Homepage: https://www.gasmi.net/gld.html
Rules-Requires-Root: no
Package: postfix-gld
Architecture: any
Depends: adduser, lsb-base (>= 3.0-6), psmisc, ${shlibs:Depends}, ${misc:Depends}
-Recommends: default-mysql-server, postfix (>= 2.1)
+Recommends: postfix (>= 2.1), postgresql
Description: greylisting daemon for postfix, written in C, uses MySQL
gld stands for GreyList Daemon. gld is a standalone policy delegation
server for postfix that implements the greylist algorithm as defined
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
%:
dh $@
-DATABASE = mysql
+DATABASE = pgsql
override_dh_auto_configure:
dh_auto_configure -- --with-$(DATABASE)
|