Skip to contentSkip to conversation

libcrypt is old..

Buildroot New Sagaert Johan 4 participants 4 messages Mar 27, 2010 – Mar 29, 2010

lore
Share & tools
lore
#1 lore raw
Quoted 3 lines · On Sat, 27 Mar 2010 01:48:50 +0100 "Sagaert Johan" <[email protected]>…

Why not bumping libcrypt to 1.4.5 (the current one 1.2.4 is from 2005..)

Change the version,and get rid of the 2 patches.

Good idea. Could you provide a patch ?

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 libgcrypt: bump to 1.4.5

From: Lionel Landwerlin <[email protected]>

Also autotools.in conversion and change source location from gd.tuwien.ac.at to ftp.gnupg.org

---
 .../libgcrypt-00-ac_cv_sys_symbol_underscore.patch |   27 ++++---
 package/libgcrypt/libgcrypt-01-reconfigure.patch   |   28 +++++--
 package/libgcrypt/libgcrypt.mk                     |   85 ++-----------------
 3 files changed, 43 insertions(+), 97 deletions(-)
package/libgcrypt/libgcrypt-00-ac_cv_sys_symbol_underscore.patch +15 -12
index fe71360..95db0fb 100644
@@ -1,24 +1,27 @@
-diff -u libgcrypt-1.2.4.oorig/acinclude.m4 libgcrypt-1.2.4/acinclude.m4
---- libgcrypt-1.2.4.oorig/acinclude.m4	2005-07-29 15:45:48.000000000 +0200
-+++ libgcrypt-1.2.4/acinclude.m4	2007-09-19 13:33:19.000000000 +0200
-@@ -99,12 +99,14 @@
+diff --git a/acinclude.m4 b/acinclude.m4
+index a7bc0fa..1a5bffc 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -76,13 +76,14 @@ case "${host}" in
      i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)
          ac_cv_sys_symbol_underscore=yes
          ;;
 -    *)
 -      if test "$cross_compiling" = yes; then
--         ac_cv_sys_symbol_underscore=yes
+-        if test "x$ac_cv_sys_symbol_underscore" = x ; then
+-           ac_cv_sys_symbol_underscore=yes
+-        fi
 -      else
 -         tmp_do_check="yes"
--      fi
 +    *) if test -z "$ac_cv_sys_symbol_underscore"; then
-+         if test "$cross_compiling" = yes && 
-+         then
-+           ac_cv_sys_symbol_underscore=yes
++         if test "$cross_compiling" = yes; then
++           if test "x$ac_cv_sys_symbol_underscore" = x ; then
++              ac_cv_sys_symbol_underscore=yes
++           fi
 +         else
-+           tmp_do_check="yes"
++            tmp_do_check="yes"
 +         fi
-+        fi
+       fi
         ;;
  esac
- if test "$tmp_do_check" = "yes"; then
+ 
package/libgcrypt/libgcrypt-01-reconfigure.patch +19 -9
index 963ae8b..87d29a2 100644
@@ -1,17 +1,27 @@
---- libgcrypt-1.2.4.oorig/configure	2007-09-19 13:40:48.000000000 +0200
-+++ libgcrypt-1.2.4/configure	2007-09-19 13:41:44.000000000 +0200
-@@ -27370,12 +27370,13 @@
+diff --git a/configure b/configure
+index 70a6d50..8f55d95 100755
+--- a/configure
++++ b/configure
+@@ -22306,14 +22306,15 @@ case "${host}" in
      i386-emx-os2 | i345686-pc-os2*emx | i386-pc-msdosdjgpp)
          ac_cv_sys_symbol_underscore=yes
          ;;
 -    *)
+-      if test "$cross_compiling" = yes; then
+-        if test "x$ac_cv_sys_symbol_underscore" = x ; then
+-           ac_cv_sys_symbol_underscore=yes
 +    *)if test -z "$ac_cv_sys_symbol_underscore";then
-       if test "$cross_compiling" = yes; then
-          ac_cv_sys_symbol_underscore=yes
-       else
-          tmp_do_check="yes"
-       fi
-+      fi
++        if test "$cross_compiling" = yes; then
++            if test "x$ac_cv_sys_symbol_underscore" = x ; then
++                ac_cv_sys_symbol_underscore=yes
++            fi
++        else
++            tmp_do_check="yes"
++        fi
+         fi
+-      else
+-         tmp_do_check="yes"
+-      fi
         ;;
  esac
  if test "$tmp_do_check" = "yes"; then
package/libgcrypt/libgcrypt.mk +9 -76

91 lines not on this page · raw message

Signature · 1 line
1.7.0.2
#3 lore raw

PATCH 1/1 libgcrypt: bump to 1.4.5

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"llandwerlin" == llandwerlin <[email protected]> writes:

llandwerlin> From: Lionel Landwerlin <[email protected]>
llandwerlin> Also autotools.in conversion and change source location from gd.tuwien.ac.at to ftp.gnupg.org

Thanks, but you forgot the libgpg_error dependency:

checking for GPG Error - version >= 1.4... no
configure: error: libgpg-error is needed.
See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ .
make: *** [/tmp/br/build/libgcrypt-1.4.5/.stamp_configured] Error 1

I've fixed that and committed.

Signature · 1 line
Bye, Peter Korsgaard