diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gnupg/drop-unknown-suffix.inc | 29 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch | 31 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.5.5.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/libassuan/libassuan_3.0.2.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error_1.55.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/libksba/libksba_1.6.7.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/libproxy/libproxy_0.5.10.bb (renamed from meta/recipes-support/libproxy/libproxy_0.5.9.bb) | 4 | ||||
-rw-r--r-- | meta/recipes-support/pinentry/pinentry_1.3.1.bb | 2 |
9 files changed, 43 insertions, 34 deletions
diff --git a/meta/recipes-support/gnupg/drop-unknown-suffix.inc b/meta/recipes-support/gnupg/drop-unknown-suffix.inc new file mode 100644 index 0000000000..dc8f31869c --- /dev/null +++ b/meta/recipes-support/gnupg/drop-unknown-suffix.inc | |||
@@ -0,0 +1,29 @@ | |||
1 | # | ||
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
6 | |||
7 | # | ||
8 | # This .inc file is used to remove unknown suffix in runtime version | ||
9 | # for gnupg and its related packages. | ||
10 | # | ||
11 | # In these packages, if autogen.sh is run outside of a git repo, | ||
12 | # the find-version function always assumes that the package is a | ||
13 | # beta version and adds the suffix '-unknown' to the version number. | ||
14 | # | ||
15 | # This .inc file modifies autogen.sh to: | ||
16 | # 1. Replace beta=yes with beta=no | ||
17 | # 2. Replace tmp="-unknown" with tmp="" | ||
18 | # | ||
19 | |||
20 | do_configure:prepend() { | ||
21 | if [ -f ${S}/autogen.sh ]; then | ||
22 | sed -i \ | ||
23 | -e 's/^\([[:space:]]*\)beta=yes$/\1beta=no/' \ | ||
24 | -e 's/^\([[:space:]]*\)tmp="-unknown"$/\1tmp=""/' \ | ||
25 | ${S}/autogen.sh | ||
26 | else | ||
27 | bbwarn "autogen.sh not found in ${S}." | ||
28 | fi | ||
29 | } | ||
diff --git a/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch b/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch deleted file mode 100644 index fc7d964ec4..0000000000 --- a/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 4d8cc1982273d571b4e80fe981878d0fa5884236 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
3 | Date: Wed, 16 Aug 2017 11:23:22 +0800 | ||
4 | Subject: [PATCH] autogen.sh: fix find-version for beta checking | ||
5 | |||
6 | find-version always assumes that gnupg is beta if autogen.sh is run | ||
7 | out of git-repo. This doesn't work for users whom just take release | ||
8 | tarball and re-run autoconf in their local build dir. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
13 | |||
14 | Rebase to 2.1.23 | ||
15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
16 | --- | ||
17 | autogen.sh | 1 - | ||
18 | 1 file changed, 1 deletion(-) | ||
19 | |||
20 | diff --git a/autogen.sh b/autogen.sh | ||
21 | index 9f91297..116fb7f 100755 | ||
22 | --- a/autogen.sh | ||
23 | +++ b/autogen.sh | ||
24 | @@ -270,7 +270,6 @@ if [ "$myhost" = "find-version" ]; then | ||
25 | rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null))) | ||
26 | else | ||
27 | ingit=no | ||
28 | - beta=yes | ||
29 | tmp="-unknown" | ||
30 | cid="0000000" | ||
31 | rev="0000000" | ||
diff --git a/meta/recipes-support/gnupg/gnupg_2.5.5.bb b/meta/recipes-support/gnupg/gnupg_2.5.5.bb index a30dbac62e..cbf0988953 100644 --- a/meta/recipes-support/gnupg/gnupg_2.5.5.bb +++ b/meta/recipes-support/gnupg/gnupg_2.5.5.bb | |||
@@ -13,10 +13,11 @@ DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt" | |||
13 | 13 | ||
14 | inherit autotools gettext texinfo pkgconfig upstream-version-is-even | 14 | inherit autotools gettext texinfo pkgconfig upstream-version-is-even |
15 | 15 | ||
16 | require drop-unknown-suffix.inc | ||
17 | |||
16 | UPSTREAM_CHECK_URI = "https://gnupg.org/ftp/gcrypt/gnupg/" | 18 | UPSTREAM_CHECK_URI = "https://gnupg.org/ftp/gcrypt/gnupg/" |
17 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | 19 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
18 | file://0002-use-pkgconfig-instead-of-npth-config.patch \ | 20 | file://0002-use-pkgconfig-instead-of-npth-config.patch \ |
19 | file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \ | ||
20 | file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \ | 21 | file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \ |
21 | " | 22 | " |
22 | SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ | 23 | SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ |
diff --git a/meta/recipes-support/libassuan/libassuan_3.0.2.bb b/meta/recipes-support/libassuan/libassuan_3.0.2.bb index f0b7746284..0d2ccce989 100644 --- a/meta/recipes-support/libassuan/libassuan_3.0.2.bb +++ b/meta/recipes-support/libassuan/libassuan_3.0.2.bb | |||
@@ -26,6 +26,8 @@ BINCONFIG = "${bindir}/libassuan-config" | |||
26 | 26 | ||
27 | inherit autotools texinfo binconfig-disabled pkgconfig multilib_header | 27 | inherit autotools texinfo binconfig-disabled pkgconfig multilib_header |
28 | 28 | ||
29 | require recipes-support/gnupg/drop-unknown-suffix.inc | ||
30 | |||
29 | do_configure:prepend () { | 31 | do_configure:prepend () { |
30 | # Else these could be used in preference to those in aclocal-copy | 32 | # Else these could be used in preference to those in aclocal-copy |
31 | rm -f ${S}/m4/*.m4 | 33 | rm -f ${S}/m4/*.m4 |
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb index 5574e8c821..14cbe53647 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb +++ b/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb | |||
@@ -32,6 +32,8 @@ BINCONFIG = "${bindir}/libgcrypt-config" | |||
32 | 32 | ||
33 | inherit autotools texinfo binconfig-disabled pkgconfig ptest | 33 | inherit autotools texinfo binconfig-disabled pkgconfig ptest |
34 | 34 | ||
35 | require recipes-support/gnupg/drop-unknown-suffix.inc | ||
36 | |||
35 | EXTRA_OECONF = "--disable-asm" | 37 | EXTRA_OECONF = "--disable-asm" |
36 | EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" | 38 | EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" |
37 | 39 | ||
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.55.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.55.bb index 842f54b0ff..7de52314a4 100644 --- a/meta/recipes-support/libgpg-error/libgpg-error_1.55.bb +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.55.bb | |||
@@ -25,6 +25,8 @@ BINCONFIG = "${bindir}/gpg-error-config" | |||
25 | 25 | ||
26 | inherit autotools binconfig-disabled pkgconfig gettext multilib_header multilib_script ptest | 26 | inherit autotools binconfig-disabled pkgconfig gettext multilib_header multilib_script ptest |
27 | 27 | ||
28 | require recipes-support/gnupg/drop-unknown-suffix.inc | ||
29 | |||
28 | RDEPENDS:${PN}-ptest:append = " make bash" | 30 | RDEPENDS:${PN}-ptest:append = " make bash" |
29 | 31 | ||
30 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config" | 32 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config" |
diff --git a/meta/recipes-support/libksba/libksba_1.6.7.bb b/meta/recipes-support/libksba/libksba_1.6.7.bb index b7a9fc4050..d97fa84977 100644 --- a/meta/recipes-support/libksba/libksba_1.6.7.bb +++ b/meta/recipes-support/libksba/libksba_1.6.7.bb | |||
@@ -20,6 +20,8 @@ BINCONFIG = "${bindir}/ksba-config" | |||
20 | 20 | ||
21 | inherit autotools binconfig-disabled pkgconfig texinfo | 21 | inherit autotools binconfig-disabled pkgconfig texinfo |
22 | 22 | ||
23 | require recipes-support/gnupg/drop-unknown-suffix.inc | ||
24 | |||
23 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 25 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
24 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | 26 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
25 | file://ksba-add-pkgconfig-support.patch" | 27 | file://ksba-add-pkgconfig-support.patch" |
diff --git a/meta/recipes-support/libproxy/libproxy_0.5.9.bb b/meta/recipes-support/libproxy/libproxy_0.5.10.bb index ed8a4df2a8..21930ada00 100644 --- a/meta/recipes-support/libproxy/libproxy_0.5.9.bb +++ b/meta/recipes-support/libproxy/libproxy_0.5.10.bb | |||
@@ -13,8 +13,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | |||
13 | 13 | ||
14 | DEPENDS = "glib-2.0" | 14 | DEPENDS = "glib-2.0" |
15 | 15 | ||
16 | SRC_URI = "git://github.com/libproxy/libproxy;protocol=https;branch=main" | 16 | SRC_URI = "git://github.com/libproxy/libproxy;protocol=https;branch=main;tag=${PV}" |
17 | SRCREV = "77e2a2b88a319974cf099c8eaaaa03030bc4c0d4" | 17 | SRCREV = "7e4852f9658084c61a95973b8a1d720b1763437a" |
18 | 18 | ||
19 | inherit meson pkgconfig gobject-introspection vala gi-docgen | 19 | inherit meson pkgconfig gobject-introspection vala gi-docgen |
20 | GIDOCGEN_MESON_OPTION = 'docs' | 20 | GIDOCGEN_MESON_OPTION = 'docs' |
diff --git a/meta/recipes-support/pinentry/pinentry_1.3.1.bb b/meta/recipes-support/pinentry/pinentry_1.3.1.bb index 14b368177c..0fc652cdba 100644 --- a/meta/recipes-support/pinentry/pinentry_1.3.1.bb +++ b/meta/recipes-support/pinentry/pinentry_1.3.1.bb | |||
@@ -20,6 +20,8 @@ SRC_URI[sha256sum] = "bc72ee27c7239007ab1896c3c2fae53b076e2c9bd2483dc2769a16902b | |||
20 | 20 | ||
21 | inherit autotools pkgconfig | 21 | inherit autotools pkgconfig |
22 | 22 | ||
23 | require recipes-support/gnupg/drop-unknown-suffix.inc | ||
24 | |||
23 | PACKAGECONFIG ??= "ncurses" | 25 | PACKAGECONFIG ??= "ncurses" |
24 | 26 | ||
25 | PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses" | 27 | PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses" |