mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
libksba: update 1.6.6 -> 1.6.7
(From OE-Core rev: d832c99de2315a852157b9dc56c87cff2dc71a3e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
aa463a8da1
commit
b773b1ca8a
@@ -1,4 +1,4 @@
|
|||||||
From ca8174aa81d7bf364b33f7254a9e887735c4996d Mon Sep 17 00:00:00 2001
|
From 46c0582d1087220e9404a14a851085b8f29773c4 Mon Sep 17 00:00:00 2001
|
||||||
From: Chen Qi <Qi.Chen@windriver.com>
|
From: Chen Qi <Qi.Chen@windriver.com>
|
||||||
Date: Mon, 3 Dec 2012 18:17:31 +0800
|
Date: Mon, 3 Dec 2012 18:17:31 +0800
|
||||||
Subject: [PATCH] libksba: add pkgconfig support
|
Subject: [PATCH] libksba: add pkgconfig support
|
||||||
@@ -10,19 +10,20 @@ This patch is rejected by upstream for the reason below:
|
|||||||
They think pkgconfig adds no portability and maintaining them is not worthwhile.
|
They think pkgconfig adds no portability and maintaining them is not worthwhile.
|
||||||
|
|
||||||
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
||||||
|
|
||||||
---
|
---
|
||||||
src/ksba.m4 | 90 +++--------------------------------------------------
|
src/ksba.m4 | 93 +++--------------------------------------------------
|
||||||
1 file changed, 4 insertions(+), 86 deletions(-)
|
1 file changed, 5 insertions(+), 88 deletions(-)
|
||||||
|
|
||||||
diff --git a/src/ksba.m4 b/src/ksba.m4
|
diff --git a/src/ksba.m4 b/src/ksba.m4
|
||||||
index 452c245..aa96255 100644
|
index 80f0d38..8f8761a 100644
|
||||||
--- a/src/ksba.m4
|
--- a/src/ksba.m4
|
||||||
+++ b/src/ksba.m4
|
+++ b/src/ksba.m4
|
||||||
@@ -23,37 +23,6 @@ dnl with a changed API.
|
@@ -107,39 +107,7 @@ dnl this features allows to prevent build against newer versions of libksba
|
||||||
|
dnl with a changed API.
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN([AM_PATH_KSBA],
|
AC_DEFUN([AM_PATH_KSBA],
|
||||||
[ AC_REQUIRE([AC_CANONICAL_HOST])
|
-[ AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
|
- AC_REQUIRE([_AM_PATH_GPGRT_CONFIG])dnl
|
||||||
- dnl --with-libksba-prefix=PFX is the preferred name for this option,
|
- dnl --with-libksba-prefix=PFX is the preferred name for this option,
|
||||||
- dnl since that is consistent with how our three siblings use the directory/
|
- dnl since that is consistent with how our three siblings use the directory/
|
||||||
- dnl package name in --with-$dir_name-prefix=PFX.
|
- dnl package name in --with-$dir_name-prefix=PFX.
|
||||||
@@ -54,10 +55,11 @@ index 452c245..aa96255 100644
|
|||||||
- if test -z "$use_gpgrt_config"; then
|
- if test -z "$use_gpgrt_config"; then
|
||||||
- AC_PATH_PROG(KSBA_CONFIG, ksba-config, no)
|
- AC_PATH_PROG(KSBA_CONFIG, ksba-config, no)
|
||||||
- fi
|
- fi
|
||||||
|
+[ AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
|
||||||
tmp=ifelse([$1], ,1:1.0.0,$1)
|
tmp=ifelse([$1], ,1:1.0.0,$1)
|
||||||
if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
|
if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
|
||||||
@@ -64,56 +33,13 @@ AC_DEFUN([AM_PATH_KSBA],
|
@@ -150,56 +118,13 @@ AC_DEFUN([AM_PATH_KSBA],
|
||||||
min_ksba_version="$tmp"
|
min_ksba_version="$tmp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -117,7 +119,7 @@ index 452c245..aa96255 100644
|
|||||||
if test "$tmp" -gt 0 ; then
|
if test "$tmp" -gt 0 ; then
|
||||||
AC_MSG_CHECKING([KSBA API version])
|
AC_MSG_CHECKING([KSBA API version])
|
||||||
if test "$req_ksba_api" -eq "$tmp" ; then
|
if test "$req_ksba_api" -eq "$tmp" ; then
|
||||||
@@ -126,14 +52,8 @@ AC_DEFUN([AM_PATH_KSBA],
|
@@ -212,14 +137,8 @@ AC_DEFUN([AM_PATH_KSBA],
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test $ok = yes; then
|
if test $ok = yes; then
|
||||||
@@ -133,7 +135,7 @@ index 452c245..aa96255 100644
|
|||||||
if test x"$libksba_config_host" != xnone ; then
|
if test x"$libksba_config_host" != xnone ; then
|
||||||
if test x"$libksba_config_host" != x"$host" ; then
|
if test x"$libksba_config_host" != x"$host" ; then
|
||||||
AC_MSG_WARN([[
|
AC_MSG_WARN([[
|
||||||
@@ -147,8 +67,6 @@ AC_DEFUN([AM_PATH_KSBA],
|
@@ -233,8 +152,6 @@ AC_DEFUN([AM_PATH_KSBA],
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
|
|||||||
SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
|
SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
|
||||||
file://ksba-add-pkgconfig-support.patch"
|
file://ksba-add-pkgconfig-support.patch"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "5dec033d211559338838c0c4957c73dfdc3ee86f73977d6279640c9cd08ce6a4"
|
SRC_URI[sha256sum] = "cf72510b8ebb4eb6693eef765749d83677a03c79291a311040a5bfd79baab763"
|
||||||
|
|
||||||
do_configure:prepend () {
|
do_configure:prepend () {
|
||||||
# Else these could be used in preference to those in aclocal-copy
|
# Else these could be used in preference to those in aclocal-copy
|
||||||
Reference in New Issue
Block a user