diff options
Diffstat (limited to 'mail/postfixadmin33/files')
-rw-r--r-- | mail/postfixadmin33/files/patch-config.inc.php | 18 | ||||
-rw-r--r-- | mail/postfixadmin33/files/pkg-message.in | 23 |
2 files changed, 41 insertions, 0 deletions
diff --git a/mail/postfixadmin33/files/patch-config.inc.php b/mail/postfixadmin33/files/patch-config.inc.php new file mode 100644 index 000000000000..9fade3e9ea4a --- /dev/null +++ b/mail/postfixadmin33/files/patch-config.inc.php @@ -0,0 +1,18 @@ +--- config.inc.php.orig 2021-08-09 14:34:09 UTC ++++ config.inc.php +@@ -212,10 +212,11 @@ $CONF['authlib_default_flavor'] = 'md5raw'; + // for dovecot 1.x + // $CONF['dovecotpw'] = "/usr/sbin/dovecotpw"; + // for dovecot 2.x (dovecot 2.0.0 - 2.0.7 is not supported!) +-$CONF['dovecotpw'] = "/usr/sbin/doveadm pw"; +-if(@file_exists('/usr/bin/doveadm')) { // @ to silence openbase_dir stuff; see https://github.com/postfixadmin/postfixadmin/issues/171 +- $CONF['dovecotpw'] = "/usr/bin/doveadm pw"; # debian +-} ++#$CONF['dovecotpw'] = "/usr/sbin/doveadm pw"; ++#if(@file_exists('/usr/bin/doveadm')) { // @ to silence openbase_dir stuff; see https://github.com/postfixadmin/postfixadmin/issues/171 ++# $CONF['dovecotpw'] = "/usr/bin/doveadm pw"; # debian ++#} ++$CONF['dovecotpw'] = "/usr/local/sbin/dovecotpw"; # FreeBSD + + // Password validation + // New/changed passwords will be validated using all regular expressions in the array. diff --git a/mail/postfixadmin33/files/pkg-message.in b/mail/postfixadmin33/files/pkg-message.in new file mode 100644 index 000000000000..9b1f449d5b69 --- /dev/null +++ b/mail/postfixadmin33/files/pkg-message.in @@ -0,0 +1,23 @@ +[ +{ type: install + message: <<EOM +If you are upgrading, you may need to update your existing database. +You can do so by browsing to [URL]/setup.php where [URL] is the +postfixadmin root. + +To avoid checksum errors when uninstalling or upgrading postfixadmin, +do not edit config.inc.php. Instead, put your configuration settings +in config.local.php in the postfixadmin webroot. That file will be +included automatically by config.inc.php. + +For detailed information, please see the complete installation steps +in %%DOCSDIR%%/INSTALL.TXT. +EOM +} +{ type: upgrade + message: <<EOM +For upgrade-related details, including configuration changes, see +%%DOCSDIR%%/CHANGELOG.TXT. +EOM +} +] |