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:
parent
ff049bea9d
commit
09aedb2e28
13
roundcubemail-1.0.5-password-postfix-integration.patch
Normal file
13
roundcubemail-1.0.5-password-postfix-integration.patch
Normal 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.
|
@ -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 <silvan.calarco@mambasoft.it>
|
||||
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 <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
|
||||
- require php-pear
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user