diff options
Diffstat (limited to 'meta-networking/recipes-support/dovecot')
-rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch | 24 | ||||
-rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot_2.3.21.1.bb (renamed from meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb) | 8 |
2 files changed, 29 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch b/meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch new file mode 100644 index 0000000000..0765d963c1 --- /dev/null +++ b/meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830 Mon Sep 17 00:00:00 2001 | ||
2 | From: fundawang <fundawang@yeah.net> | ||
3 | Date: Sun, 27 Oct 2024 22:11:21 +0800 | ||
4 | Subject: [PATCH] configure: Explicitly check for icu-uc | ||
5 | |||
6 | Ensure we link against libicu-uc when it's split in v76. | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/dovecot/core/commit/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | m4/want_icu.m4 | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | --- a/m4/want_icu.m4 | ||
15 | +++ b/m4/want_icu.m4 | ||
16 | @@ -1,7 +1,7 @@ | ||
17 | AC_DEFUN([DOVECOT_WANT_ICU], [ | ||
18 | if test "$want_icu" != "no"; then | ||
19 | if test "$PKG_CONFIG" != "" && $PKG_CONFIG --exists icu-i18n 2>/dev/null; then | ||
20 | - PKG_CHECK_MODULES(LIBICU, icu-i18n) | ||
21 | + PKG_CHECK_MODULES(LIBICU, [icu-i18n icu-uc]) | ||
22 | have_icu=yes | ||
23 | AC_DEFINE(HAVE_LIBICU,, [Define if you want ICU normalization support for FTS]) | ||
24 | elif test "$want_icu" = "yes"; then | ||
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.1.bb index 17fbd789b6..3177cdb1d7 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.1.bb | |||
@@ -11,8 +11,9 @@ SRC_URI = "http://dovecot.org/releases/2.3/dovecot-${PV}.tar.gz \ | |||
11 | file://dovecot.socket \ | 11 | file://dovecot.socket \ |
12 | file://0001-not-check-pandoc.patch \ | 12 | file://0001-not-check-pandoc.patch \ |
13 | file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \ | 13 | file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \ |
14 | file://1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch \ | ||
14 | " | 15 | " |
15 | SRC_URI[sha256sum] = "05b11093a71c237c2ef309ad587510721cc93bbee6828251549fc1586c36502d" | 16 | SRC_URI[sha256sum] = "2d90a178c4297611088bf7daae5492a3bc3d5ab6328c3a032eb425d2c249097e" |
16 | 17 | ||
17 | DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" | 18 | DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" |
18 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | 19 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
@@ -50,9 +51,10 @@ SYSTEMD_AUTO_ENABLE = "disable" | |||
50 | do_install:append () { | 51 | do_install:append () { |
51 | rm -rf ${D}${libdir}/dovecot/dovecot-config | 52 | rm -rf ${D}${libdir}/dovecot/dovecot-config |
52 | install -d 755 ${D}/etc/dovecot | 53 | install -d 755 ${D}/etc/dovecot |
53 | touch 644 ${D}/etc/dovecot/dovecot.conf | 54 | touch ${D}/etc/dovecot/dovecot.conf |
55 | chmod 644 ${D}/etc/dovecot/dovecot.conf | ||
54 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then | 56 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then |
55 | install -m 0644 ${WORKDIR}/dovecot.service ${D}${systemd_unitdir}/system | 57 | install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system |
56 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service | 58 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service |
57 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service | 59 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/dovecot.service |
58 | fi | 60 | fi |