libassuan: Update to version 3.0.1

Message ID 20240808193217.3774124-2-adolf.belka@ipfire.org
State Staged
Commit 1e639a1dfa86011656001c9612d11d7bdcfca1cb
Headers
Series libassuan: Update to version 3.0.1 |

Commit Message

Adolf Belka Aug. 8, 2024, 7:32 p.m. UTC
  - Update from version 2.5.5 to 3.0.1
- Update of rootfile
- Changelog
    3.0.1
	 * Change Unix symbol versioning to help the Debian transitioning
	   process.
    3.0.0
	 * API change: For new code, which uses libassuan with nPTH, please
	   use gpgrt_get_syscall_clamp and assuan_control, instead of the
	   system_hooks API.  Use of ASSUAN_SYSTEM_NPTH is deprecated with new
	   API version 3.  If it's really needed to keep using old
	   implementation of ASSUAN_SYSTEM_NPTH, you need to change your your
	   application code, to define
	   ASSUAN_REALLY_REQUIRE_V2_NPTH_SYSTEM_HOOKS before including
	   <assuan.h>.  For an application which uses version 2 API
	   (NEED_LIBASSUAN_API=2 in its configure.ac), use of
	   ASSUAN_SYSTEM_NPTH is still supported.  [T5914]
	 * New function assuan_control.  [T6625]
	 * New function assuan_sock_accept.  [T5925]
	 * New functions assuan_pipe_wait_server_termination and
	   assuan_pipe_kill_server to support abstraction of process.  [T6487]
	 * Windows support for sendfd/recvfd.  [T6236]
	 * Implement timeout in assuan_sock_connect_byname.  [T3302]
	 * No support for WindowsCE, any more.  [T6170]
	 * New socket flags "linger" and "reuseaddr".  [rA87f92fe962]
	 * Interface changes relative to the 2.5.0 release:
		 assuan_sock_accept                  NEW.
		 assuan_pipe_wait_server_termination NEW.
		 assuan_pipe_kill_server             NEW.
		 assuan_sock_set_flag                EXTENDED.
		 assuan_sock_get_flag                EXTENDED.
    2.5.7
	 New configure option --with-libtool-modification. [T6619]
	 Change the naming of the 64 bit Windows DLL from libassuan6-0.dll to
	  libassuan-0.dll to sync this with what we did for libgpg-error.
    2.5.6
	 * Fix logging of confidential data.  [rA0fc31770fa]
	 * Fix memory wiping.  [T5977]
	 * Fix macOS build problem.  [T5440,T5610]
	 * Upgrade autoconf stuff.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/libassuan |  7 +++----
 lfs/libassuan                       | 11 ++++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/libassuan b/config/rootfiles/packages/libassuan
index fd57c7dd6..625cd061a 100644
--- a/config/rootfiles/packages/libassuan
+++ b/config/rootfiles/packages/libassuan
@@ -1,9 +1,8 @@ 
-usr/bin/libassuan-config
 #usr/include/assuan.h
 #usr/lib/libassuan.la
-usr/lib/libassuan.so
-usr/lib/libassuan.so.0
-usr/lib/libassuan.so.0.8.5
+#usr/lib/libassuan.so
+usr/lib/libassuan.so.9
+usr/lib/libassuan.so.9.0.1
 #usr/lib/pkgconfig/libassuan.pc
 #usr/share/aclocal/libassuan.m4
 #usr/share/info/assuan.info
diff --git a/lfs/libassuan b/lfs/libassuan
index 4b59508ab..d796c6055 100644
--- a/lfs/libassuan
+++ b/lfs/libassuan
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2020  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -26,7 +26,7 @@  include Config
 
 SUMMARY    = IPC library used by GnuPG version 2
 
-VER        = 2.5.5
+VER        = 3.0.1
 
 THISAPP    = libassuan-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = libassuan
-PAK_VER    = 7
+PAK_VER    = 8
 
 DEPS       =
 
@@ -48,7 +48,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 24952e97c757b97c387ab4c2c4bf7b040f2874e9326c129805c7f5326fa14d80e083b0842e336a635531a2c8d4a66d428c816bae6b175f1c4518add1ffa3554d
+$(DL_FILE)_BLAKE2 = 5d6a7e4e9ce1b196bc7d126786716d95896de6145b8d753e2289bd36cbc96efa216360ac127fadb7be2d577e7fa203c8c8695d4aa11afcca6ed5397dd40209cb
 
 install : $(TARGET)
 
@@ -82,7 +82,8 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
-	cd $(DIR_APP) && ./configure --prefix=/usr
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)