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]
This commit is contained in:
Silvan Calarco 2024-01-05 17:28:03 +01:00
parent ff049bea9d
commit 09aedb2e28
2 changed files with 21 additions and 2 deletions

View File

@ -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.

View File

@ -22,7 +22,7 @@
Name: %{?sitename:%sitename-website-}roundcubemail Name: %{?sitename:%sitename-website-}roundcubemail
Version: 1.0.5 Version: 1.0.5
Release: 2mamba Release: 3mamba
Summary: A browser-based multilingual IMAP client with an application-like user interface Summary: A browser-based multilingual IMAP client with an application-like user interface
Group: Applications/Web Group: Applications/Web
Vendor: openmamba Vendor: openmamba
@ -31,6 +31,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://roundcube.net/ URL: http://roundcube.net/
Source: http://downloads.sourceforge.net/project/roundcubemail/roundcubemail-dependent/%{version}/roundcubemail-%{version}-dep.tar.gz Source: http://downloads.sourceforge.net/project/roundcubemail/roundcubemail-dependent/%{version}/roundcubemail-%{version}-dep.tar.gz
Patch0: roundcubemail-0.8.5-php-no_strict.patch Patch0: roundcubemail-0.8.5-php-no_strict.patch
Patch1: roundcubemail-1.0.5-password-postfix-integration.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -43,6 +44,7 @@ Requires: pear-Net_IDNA2
Requires: php-openssl Requires: php-openssl
Requires: php-mysql Requires: php-mysql
Requires: php-pear Requires: php-pear
Requires: pear-Net_Sieve
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -51,7 +53,7 @@ Roundcube webmail is a browser-based multilingual IMAP client with an applicatio
%prep %prep
%setup -q -n roundcubemail-%{version}-dep %setup -q -n roundcubemail-%{version}-dep
#%patch0 -p1 %patch1 -p1
%build %build
@ -120,6 +122,10 @@ fi
# %doc README.md # %doc README.md
%changelog %changelog
* Thu Mar 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 1.0.5-2mamba * Thu Feb 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-2mamba
- require php-pear - require php-pear