Browse Source

dovecot: improved to be able to build development snapshots from dovecot mercurial

user/chris/wip/linux37
Christian Wiese 12 years ago
parent
commit
f64758b92b
  1. 17
      mail/dovecot/dovecot.conf
  2. 3
      mail/dovecot/dovecot.desc

17
mail/dovecot/dovecot.conf

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

3
mail/dovecot/dovecot.desc

@ -39,3 +39,6 @@
[CV-URL] http://www.dovecot.org/download.html
[D] 717176319 dovecot-2.2.0.tar.gz http://dovecot.org/releases/2.2/
# development version
#[D] 831575579 dovecot-2.2-82ce71d8625c.tar.bz2 !http://hg.dovecot.org/dovecot-2.2/archive/82ce71d8625c.tar.bz2
#[D] 2417517696 dovecot-unicodedata-2012-08-08.txt !http://www.unicode.org/Public/UNIDATA/UnicodeData.txt

Loading…
Cancel
Save