diff options
author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-09-24 22:55:20 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-09-24 14:17:45 -0700 |
commit | 8e1e733f249ff23c6b8e04b7010798e72efba32c (patch) | |
tree | 788c9cf3cc86958c15220f3617c94b685b675fdb | |
parent | 964b42d7de062ffbd1d9f65cbe7f32bd4beb8d08 (diff) | |
download | meta-openembedded-8e1e733f249ff23c6b8e04b7010798e72efba32c.tar.gz |
znc: upgrade 1.8.2 -> 1.10.1
The project has switched to cmake since the last update.
The changelog is long, but there is a link:
https://github.com/znc/znc/blob/master/ChangeLog.md
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-irc/znc/znc_1.10.1.bb | 22 | ||||
-rw-r--r-- | meta-networking/recipes-irc/znc/znc_1.8.2.bb | 26 |
2 files changed, 22 insertions, 26 deletions
diff --git a/meta-networking/recipes-irc/znc/znc_1.10.1.bb b/meta-networking/recipes-irc/znc/znc_1.10.1.bb new file mode 100644 index 0000000000..4477068bba --- /dev/null +++ b/meta-networking/recipes-irc/znc/znc_1.10.1.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "ZNC, an advanced IRC bouncer" | ||
2 | SECTION = "net" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
5 | |||
6 | DEPENDS = "zlib" | ||
7 | SRC_URI = "gitsm://github.com/znc/znc.git;branch=master;protocol=https;tag=${BP}" | ||
8 | |||
9 | SRCREV = "29694fd26f5e9ec46731ee13bf66224181984966" | ||
10 | |||
11 | inherit cmake pkgconfig | ||
12 | |||
13 | PACKAGECONFIG ??= "openssl zlib icu ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
14 | PACKAGECONFIG[ipv6] = "-DWANT_IPV6=YES, -DWANT_IPV6=NO" | ||
15 | PACKAGECONFIG[openssl] = "-DWANT_OPENSSL=YES, -DWANT_OPENSSL=NO, openssl" | ||
16 | PACKAGECONFIG[zlib] = "-DWANT_ZLIB=YES, -DWANT_ZLIB=NO" | ||
17 | PACKAGECONFIG[icu] = "-DWANT_ICU=YES, -DWANT_ICU=NO, icu" | ||
18 | PACKAGECONFIG[i18n] = "-DWANT_I18N=YES, -DWANT_I18N=NO, boost gettext-native" | ||
19 | |||
20 | do_install:append() { | ||
21 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g; s|${STAGING_BINDIR_NATIVE}||g' ${D}${libdir}/pkgconfig/*.pc | ||
22 | } | ||
diff --git a/meta-networking/recipes-irc/znc/znc_1.8.2.bb b/meta-networking/recipes-irc/znc/znc_1.8.2.bb deleted file mode 100644 index 7356115d53..0000000000 --- a/meta-networking/recipes-irc/znc/znc_1.8.2.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | SUMMARY = "ZNC, an advanced IRC bouncer" | ||
2 | SECTION = "net" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
5 | |||
6 | DEPENDS = "openssl zlib icu" | ||
7 | |||
8 | SRC_URI = "gitsm://github.com/znc/znc.git;branch=master;protocol=https" | ||
9 | |||
10 | SRCREV = "bf253640d33d03331310778e001fb6f5aba2989e" | ||
11 | |||
12 | |||
13 | inherit autotools-brokensep pkgconfig | ||
14 | |||
15 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
16 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
17 | |||
18 | # ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail | ||
19 | do_configure:prepend() { | ||
20 | automake --add-missing || true | ||
21 | } | ||
22 | |||
23 | do_install:append() { | ||
24 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc | ||
25 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${bindir}/znc-buildmod | ||
26 | } | ||