From 09aedb2e28e518543c0cc3ab011c9a42dde27afc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:28:03 +0100 Subject: [PATCH] require pear-Net_Sieve patch password plugin config.php.dist for easy change password integration with postfix/mysql [release 1.0.5-3mamba;Thu Mar 12 2015] --- ...ubemail-1.0.5-password-postfix-integration.patch | 13 +++++++++++++ roundcubemail.spec | 10 ++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 roundcubemail-1.0.5-password-postfix-integration.patch diff --git a/roundcubemail-1.0.5-password-postfix-integration.patch b/roundcubemail-1.0.5-password-postfix-integration.patch new file mode 100644 index 0000000..0aa2c95 --- /dev/null +++ b/roundcubemail-1.0.5-password-postfix-integration.patch @@ -0,0 +1,13 @@ +--- roundcubemail-1.0.5-dep/plugins/password/config.inc.php.dist.orig 2015-03-12 12:17:58.762644322 +0100 ++++ roundcubemail-1.0.5-dep/plugins/password/config.inc.php.dist 2015-03-12 12:20:18.255595645 +0100 +@@ -62,6 +62,10 @@ + // Default: "SELECT update_passwd(%c, %u)" + $config['password_query'] = 'SELECT update_passwd(%c, %u)'; + ++// Postfix/Postfixadmin integration ++//$config['password_db_dsn'] = 'mysql://user:pass@localhost/db'; ++//$config['password_query'] = 'UPDATE mailbox SET password=%c,modified=now() WHERE username=%u LIMIT 1'; ++ + // By default the crypt() function which is used to create the '%c' + // parameter uses the md5 algorithm. To use different algorithms + // you can choose between: des, md5, blowfish, sha256, sha512. diff --git a/roundcubemail.spec b/roundcubemail.spec index 6e98135..8881e30 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -22,7 +22,7 @@ Name: %{?sitename:%sitename-website-}roundcubemail Version: 1.0.5 -Release: 2mamba +Release: 3mamba Summary: A browser-based multilingual IMAP client with an application-like user interface Group: Applications/Web Vendor: openmamba @@ -31,6 +31,7 @@ Packager: Silvan Calarco URL: http://roundcube.net/ Source: http://downloads.sourceforge.net/project/roundcubemail/roundcubemail-dependent/%{version}/roundcubemail-%{version}-dep.tar.gz Patch0: roundcubemail-0.8.5-php-no_strict.patch +Patch1: roundcubemail-1.0.5-password-postfix-integration.patch License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END @@ -43,6 +44,7 @@ Requires: pear-Net_IDNA2 Requires: php-openssl Requires: php-mysql Requires: php-pear +Requires: pear-Net_Sieve BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -51,7 +53,7 @@ Roundcube webmail is a browser-based multilingual IMAP client with an applicatio %prep %setup -q -n roundcubemail-%{version}-dep -#%patch0 -p1 +%patch1 -p1 %build @@ -120,6 +122,10 @@ fi # %doc README.md %changelog +* Thu Mar 12 2015 Silvan Calarco 1.0.5-3mamba +- require pear-Net_Sieve +- patch password plugin config.php.dist for easy change password integration with postfix/mysql + * Thu Feb 05 2015 Silvan Calarco 1.0.5-2mamba - require php-pear