|
|
|
@ -40,3 +40,20 @@ pkg_dovecot_autoconfig() {
|
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
pkg_dovecot_autoconfig "$pkg_dovecot_options" |
|
|
|
|
|
|
|
|
|
# development version support |
|
|
|
|
pkg_dovecot_devel_version() { |
|
|
|
|
# development version does not include the docs |
|
|
|
|
if [ ! -f doc/wiki/Authentication.txt ]; then |
|
|
|
|
var_append extraconfopt ' ' "--without-docs" |
|
|
|
|
# fool autogen.sh to not fetch exported wiki pages |
|
|
|
|
touch doc/wiki/Authentication.txt |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# development version does not include UnicodeData.txt |
|
|
|
|
if [ ! -f src/lib/UnicodeData.txt ]; then |
|
|
|
|
echo_warning "Copying local copy of 'UnicodeData.txt' into 'src/lib'" |
|
|
|
|
cp -vp $( match_source_file -p ".*unicodedata.*\.txt" dovecot ) src/lib/UnicodeData.txt |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
hook_add preconf 5 'pkg_dovecot_devel_version' |
|
|
|
|