diff options
author | Mel Pilgrim <ports.maintainer@evilphi.com> | 2021-10-25 07:36:01 +0000 |
---|---|---|
committer | Yasuhiro Kimura <yasu@FreeBSD.org> | 2021-10-26 07:21:22 +0000 |
commit | 3d87bd0fc819729e9089ce28e097e30d7b92d950 (patch) | |
tree | 114c8f54e357f2e8e64f934f93b6858c2e32dfb3 /mail/postfixadmin33/files/patch-config.inc.php | |
parent | c252fd8222e2fb45c941c99648e6a2ab5e0bdaf8 (diff) | |
download | ports-3d87bd0fc819729e9089ce28e097e30d7b92d950.tar.gz ports-3d87bd0fc819729e9089ce28e097e30d7b92d950.zip |
mail/postfixadmin33(-lite): Add new ports
* Add mail/postfixadmin33 as PostfixAdmin 3.3.x release
* Add mail/postfixadmin33-lite as slave port of mail/postfixadmin33
PR: 258651
Approved by: ygy (mentor)
Differential Revision: https://reviews.freebsd.org/D32637
Diffstat (limited to 'mail/postfixadmin33/files/patch-config.inc.php')
-rw-r--r-- | mail/postfixadmin33/files/patch-config.inc.php | 18 |
1 files changed, 18 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. |