diff options
author | Armin Kuster <akuster@mvista.com> | 2017-11-21 12:01:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-02 11:25:32 +0000 |
commit | a3d175cd8dcc1dadcf0e176a728325194c6f4224 (patch) | |
tree | 62fe6d0dfa2534b457a7aaca3a9805ddbd3da724 /meta/recipes-support/libassuan | |
parent | 78e84b3470fd209451db25885dacea4d63da5f06 (diff) | |
download | poky-a3d175cd8dcc1dadcf0e176a728325194c6f4224.tar.gz |
libassuan: update to 2.4.4
forward ported patch
assuan-def.h checksum changed do to "SPDX formating"
assuan.c checksum changes do to "SPDX formating"
(From OE-Core rev: ec00c2eb893b1755f9fdf89d0c74dc0e0bc3cf01)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libassuan')
-rw-r--r-- | meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch | 77 | ||||
-rw-r--r-- | meta/recipes-support/libassuan/libassuan_2.4.4.bb (renamed from meta/recipes-support/libassuan/libassuan_2.4.3.bb) | 11 |
2 files changed, 45 insertions, 43 deletions
diff --git a/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch b/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch index b6ccdda6a5..525b076205 100644 --- a/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch +++ b/meta/recipes-support/libassuan/libassuan/libassuan-add-pkgconfig-support.patch | |||
@@ -6,32 +6,15 @@ Upstream-Status: Denied | |||
6 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 6 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
7 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> | 7 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> |
8 | 8 | ||
9 | Index: libassuan-2.1.2/Makefile.am | 9 | forward ported to 2.4.4 |
10 | =================================================================== | 10 | Signed-off-by: Armin Kuster <akuster@mvista.com> |
11 | --- libassuan-2.1.2.orig/Makefile.am | 11 | |
12 | +++ libassuan-2.1.2/Makefile.am | 12 | Index: libassuan-2.4.4/libassuan.pc.in |
13 | @@ -24,10 +24,13 @@ AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gz | ||
14 | # (A suitable gitlog-to-changelog script can be found in GnuPG master.) | ||
15 | GITLOG_TO_CHANGELOG=gitlog-to-changelog | ||
16 | |||
17 | +pkgconfigdir = $(libdir)/pkgconfig | ||
18 | +pkgconfig_DATA = libassuan.pc | ||
19 | + | ||
20 | EXTRA_DIST = autogen.sh autogen.rc README.GIT \ | ||
21 | ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \ | ||
22 | tests/ChangeLog-2011 contrib/ChangeLog-2011 \ | ||
23 | - build-aux/git-log-footer build-aux/git-log-fix | ||
24 | + build-aux/git-log-footer build-aux/git-log-fix libassuan.pc.in | ||
25 | |||
26 | SUBDIRS = m4 src doc tests | ||
27 | |||
28 | Index: libassuan-2.1.2/libassuan.pc.in | ||
29 | =================================================================== | 13 | =================================================================== |
30 | --- /dev/null | 14 | --- /dev/null |
31 | +++ libassuan-2.1.2/libassuan.pc.in | 15 | +++ libassuan-2.4.4/libassuan.pc.in |
32 | @@ -0,0 +1,14 @@ | 16 | @@ -0,0 +1,13 @@ |
33 | +prefix=@prefix@ | 17 | +prefix=@exec_prefix@ |
34 | +exec_prefix=@exec_prefix@ | ||
35 | +libdir=@libdir@ | 18 | +libdir=@libdir@ |
36 | +includedir=@includedir@ | 19 | +includedir=@includedir@ |
37 | +api_version=@LIBASSUAN_CONFIG_API_VERSION@ | 20 | +api_version=@LIBASSUAN_CONFIG_API_VERSION@ |
@@ -44,24 +27,42 @@ Index: libassuan-2.1.2/libassuan.pc.in | |||
44 | +Libs: -L${libdir} -lassuan | 27 | +Libs: -L${libdir} -lassuan |
45 | +Libs.private: -lgpg-error | 28 | +Libs.private: -lgpg-error |
46 | +Cflags: -I${includedir} | 29 | +Cflags: -I${includedir} |
47 | Index: libassuan-2.1.2/configure.ac | 30 | Index: libassuan-2.4.4/Makefile.am |
48 | =================================================================== | 31 | =================================================================== |
49 | --- libassuan-2.1.2.orig/configure.ac | 32 | --- a/Makefile.am |
50 | +++ libassuan-2.1.2/configure.ac | 33 | +++ b/Makefile.am |
51 | @@ -439,7 +439,7 @@ AC_CONFIG_FILES([doc/Makefile]) | 34 | @@ -25,10 +25,13 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-doc |
35 | # (A suitable gitlog-to-changelog script can be found in GnuPG master.) | ||
36 | GITLOG_TO_CHANGELOG=gitlog-to-changelog | ||
37 | |||
38 | +pkgconfigdir = $(libdir)/pkgconfig | ||
39 | +pkgconfig_DATA = libassuan.pc | ||
40 | + | ||
41 | EXTRA_DIST = autogen.sh autogen.rc README.GIT VERSION \ | ||
42 | ChangeLog-2011 doc/ChangeLog-2011 src/ChangeLog-2011 \ | ||
43 | tests/ChangeLog-2011 contrib/ChangeLog-2011 \ | ||
44 | - build-aux/git-log-footer build-aux/git-log-fix | ||
45 | + build-aux/git-log-footer build-aux/git-log-fix libassuan.pc.in | ||
46 | |||
47 | if BUILD_DOC | ||
48 | doc = doc | ||
49 | Index: 2.4.4-r0/libassuan-2.4.4/configure.ac | ||
50 | =================================================================== | ||
51 | --- a/configure.ac | ||
52 | +++ b/configure.ac | ||
53 | @@ -485,6 +485,7 @@ AC_CONFIG_FILES([doc/Makefile]) | ||
52 | AC_CONFIG_FILES([tests/Makefile]) | 54 | AC_CONFIG_FILES([tests/Makefile]) |
53 | AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config]) | 55 | AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config]) |
54 | AC_CONFIG_FILES([src/versioninfo.rc]) | 56 | AC_CONFIG_FILES([src/versioninfo.rc]) |
55 | - | ||
56 | +AC_CONFIG_FILES([libassuan.pc]) | 57 | +AC_CONFIG_FILES([libassuan.pc]) |
58 | |||
57 | AC_OUTPUT | 59 | AC_OUTPUT |
58 | 60 | ||
59 | echo " | 61 | Index: libassuan-2.4.4/src/libassuan.m4 |
60 | Index: libassuan-2.1.2/src/libassuan.m4 | ||
61 | =================================================================== | 62 | =================================================================== |
62 | --- libassuan-2.1.2.orig/src/libassuan.m4 | 63 | --- a/src/libassuan.m4 |
63 | +++ libassuan-2.1.2/src/libassuan.m4 | 64 | +++ b/src/libassuan.m4 |
64 | @@ -15,18 +15,6 @@ dnl Returns ok set to yes or no. | 65 | @@ -16,18 +16,6 @@ dnl Returns ok set to yes or no. |
65 | dnl | 66 | dnl |
66 | AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], | 67 | AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], |
67 | [ AC_REQUIRE([AC_CANONICAL_HOST]) | 68 | [ AC_REQUIRE([AC_CANONICAL_HOST]) |
@@ -80,7 +81,7 @@ Index: libassuan-2.1.2/src/libassuan.m4 | |||
80 | 81 | ||
81 | tmp=ifelse([$1], ,1:0.9.2,$1) | 82 | tmp=ifelse([$1], ,1:0.9.2,$1) |
82 | if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then | 83 | if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then |
83 | @@ -37,51 +25,12 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], | 84 | @@ -38,51 +26,12 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], |
84 | min_libassuan_version="$tmp" | 85 | min_libassuan_version="$tmp" |
85 | fi | 86 | fi |
86 | 87 | ||
@@ -105,7 +106,7 @@ Index: libassuan-2.1.2/src/libassuan.m4 | |||
105 | - | 106 | - |
106 | - if test "$major" -gt "$req_major"; then | 107 | - if test "$major" -gt "$req_major"; then |
107 | - ok=yes | 108 | - ok=yes |
108 | - else | 109 | - else |
109 | - if test "$major" -eq "$req_major"; then | 110 | - if test "$major" -eq "$req_major"; then |
110 | - if test "$minor" -gt "$req_minor"; then | 111 | - if test "$minor" -gt "$req_minor"; then |
111 | - ok=yes | 112 | - ok=yes |
@@ -134,7 +135,7 @@ Index: libassuan-2.1.2/src/libassuan.m4 | |||
134 | if test "$tmp" -gt 0 ; then | 135 | if test "$tmp" -gt 0 ; then |
135 | AC_MSG_CHECKING([LIBASSUAN API version]) | 136 | AC_MSG_CHECKING([LIBASSUAN API version]) |
136 | if test "$req_libassuan_api" -eq "$tmp" ; then | 137 | if test "$req_libassuan_api" -eq "$tmp" ; then |
137 | @@ -96,7 +45,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], | 138 | @@ -97,7 +46,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], |
138 | 139 | ||
139 | if test $ok = yes; then | 140 | if test $ok = yes; then |
140 | if test x"$host" != x ; then | 141 | if test x"$host" != x ; then |
@@ -143,7 +144,7 @@ Index: libassuan-2.1.2/src/libassuan.m4 | |||
143 | if test x"$libassuan_config_host" != xnone ; then | 144 | if test x"$libassuan_config_host" != xnone ; then |
144 | if test x"$libassuan_config_host" != x"$host" ; then | 145 | if test x"$libassuan_config_host" != x"$host" ; then |
145 | AC_MSG_WARN([[ | 146 | AC_MSG_WARN([[ |
146 | @@ -137,12 +86,8 @@ dnl | 147 | @@ -138,12 +87,8 @@ dnl |
147 | AC_DEFUN([AM_PATH_LIBASSUAN], | 148 | AC_DEFUN([AM_PATH_LIBASSUAN], |
148 | [ _AM_PATH_LIBASSUAN_COMMON($1) | 149 | [ _AM_PATH_LIBASSUAN_COMMON($1) |
149 | if test $ok = yes; then | 150 | if test $ok = yes; then |
diff --git a/meta/recipes-support/libassuan/libassuan_2.4.3.bb b/meta/recipes-support/libassuan/libassuan_2.4.4.bb index 926c279f90..7921c1d725 100644 --- a/meta/recipes-support/libassuan/libassuan_2.4.3.bb +++ b/meta/recipes-support/libassuan/libassuan_2.4.4.bb | |||
@@ -7,17 +7,18 @@ LICENSE_${PN} = "LGPLv2.1+" | |||
7 | LICENSE_${PN}-doc = "GPLv3+" | 7 | LICENSE_${PN}-doc = "GPLv3+" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ |
9 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | 9 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
10 | file://src/assuan.c;endline=20;md5=0f465544183405055ec179869fc5b5ba \ | 10 | file://src/assuan.c;endline=20;md5=ab92143a5a2adabd06d7994d1467ea5c\ |
11 | file://src/assuan-defs.h;endline=20;md5=20cd55535260ca1779edae5c7b80b21e" | 11 | file://src/assuan-defs.h;endline=20;md5=15d950c83e82978e35b35e790d7e4d39" |
12 | 12 | ||
13 | DEPENDS = "libgpg-error" | 13 | DEPENDS = "libgpg-error" |
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 15 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
16 | SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \ | 16 | SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \ |
17 | file://libassuan-add-pkgconfig-support.patch" | 17 | file://libassuan-add-pkgconfig-support.patch \ |
18 | " | ||
18 | 19 | ||
19 | SRC_URI[md5sum] = "8e01a7c72d3e5d154481230668e6eb5a" | 20 | SRC_URI[md5sum] = "52385ec8d34f258bf10165d32c486002" |
20 | SRC_URI[sha256sum] = "22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71" | 21 | SRC_URI[sha256sum] = "9e69a102272324de0bb56025779f84fd44901afcc6eac51505f6a63ea5737ca1" |
21 | 22 | ||
22 | BINCONFIG = "${bindir}/libassuan-config" | 23 | BINCONFIG = "${bindir}/libassuan-config" |
23 | 24 | ||