Browse Source

qmail: changed to apply errno and hotfixes patch conditionally

Note:

Current behavior is preserved thus those patches will be applied by default.
The only condition where they cannot be applied is when using the big patch
from milky, which itself includes those fixes too.
user/chris/wip/linux37
Christian Wiese 12 years ago
parent
commit
8ff0b84851
  1. 3
      mail/qmail/errno.diff
  2. 3
      mail/qmail/hotfixes.diff
  3. 11
      mail/qmail/qmail.conf

3
mail/qmail/errno.patch → mail/qmail/errno.diff

@ -1,7 +1,8 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../qmail/errno.patch
# Filename: package/.../qmail/errno.diff
# Copyright (C) 2013 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.

3
mail/qmail/hotfixes.patch → mail/qmail/hotfixes.diff

@ -1,7 +1,8 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../qmail/hotfixes.patch
# Filename: package/.../qmail/hotfixes.diff
# Copyright (C) 2013 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.

11
mail/qmail/qmail.conf

@ -108,4 +108,13 @@ createdoc=0
[ "$SDECFG_PKG_QMAIL_QUEUE" == "1" ] && var_append patchfiles ' ' "$( match_source_file -p qmailqueue )"
[ "$SDECFG_PKG_QMAIL_QMTP" == "1" ] && var_append patchfiles ' ' "$( match_source_file -p qmtpc )"
[ "$SDECFG_PKG_QMAIL_HOLD" == "1" ] && var_append patchfiles ' ' "$( match_source_file -p hold )"
[ "$SDECFG_PKG_QMAIL_MILKYPATCH" == "1" ] && var_append patchfiles ' ' "$( match_source_file -p milky )"
if [ "$SDECFG_PKG_QMAIL_MILKYPATCH" == "1" ]; then
var_append patchfiles ' ' "$( match_source_file -p milky )"
pkg_qmail_no_local_patches=true
fi
if [ ! $pkg_qmail_no_local_patches ]; then
var_append patchfiles ' ' "$confdir/errno.diff"
var_append patchfiles ' ' "$confdir/hotfixes.diff"
fi

Loading…
Cancel
Save