|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../dovecot/dovecot.conf |
|
|
|
|
# Copyright (C) 2007 - 2011 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2013 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -20,21 +20,3 @@ if pkginstalled openldap ; then
|
|
|
|
|
pkgprefix -t openldap |
|
|
|
|
var_append extraconfopt ' ' "--with-ldap" |
|
|
|
|
fi |
|
|
|
|
dovecotdir= |
|
|
|
|
dovecotsievedir= |
|
|
|
|
|
|
|
|
|
manage_sieve() { |
|
|
|
|
|
|
|
|
|
if [ -z "$dovecotdir" ] ; then |
|
|
|
|
dovecotdir="$PWD" |
|
|
|
|
var_append patchfiles ' ' "$( match_source_file -p diff )" |
|
|
|
|
elif [ -z "$dovecotsievedir" ] ; then |
|
|
|
|
dovecotsievedir="$PWD" |
|
|
|
|
var_append confopt ' ' "--with-dovecot=$dovecotdir" |
|
|
|
|
else |
|
|
|
|
var_append confopt ' ' "--with-dovecot=$dovecotdir" |
|
|
|
|
var_append confopt ' ' "--with-dovecot-sieve=$dovecotsievedir" |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
hook_add prepatch 5 'manage_sieve' |
|
|
|
|