9 Commits

Author SHA1 Message Date
Daniel Golle
9495c22625 libassuan: update to version 3.0.2
Noteworthy changes in version 3.0.2 (2025-02-18) [C9/A0/R2]
------------------------------------------------

 * Fix for FreeBSD to set the pid of assuan_peercred_t.
   [rAdfa5e6532d]

 * Use socklen_t for the length of socket address.  [T5924]

 * Fix errno setting on Widnows for assuan_sock_bind failure.  [T7456]

 * New assuan_sock_get_flag "w32_error" to get the actual Windows
   error after a system call and not just the mapped errno.  [T7456]

 Release-info: https://dev.gnupg.org/T7163

Noteworthy changes in version 3.0.1 (2024-06-24) [C9/A0/R1]
------------------------------------------------

 * Change Unix symbol versioning to help the Debian transitioning
   process.

 Release-info: https://dev.gnupg.org/T7163

Noteworthy changes in version 3.0.0 (2024-06-18) [C9/A0/R0]
------------------------------------------------

 * 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.

 Release-info: https://dev.gnupg.org/T7163

OpenWrt package maintainer note:
autotools is trying to be smart with detecting gpgrt-config, let's
try to be *even smarter* and force it to use the version in
STAGING_DIR...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-04-26 16:55:22 +01:00
Fabrice Fontaine
cb9b994a53 libassuan: Fix license
libassuan license is wrong since the addition of the package in commit
https://git.openwrt.org/?p=feed/packages.git;a=commit;h=e24e8fa98c813911419271d64433deb2b453fa02

Indeed, libassuan has been licensed under LGPL-2.1+ since version 1.0.3
back in 2007 [1]:

Noteworthy changes in version 1.0.3 (2007-08-24)
------------------------------------------------

 * Changed the license of the library code back to LGPLv2.1 to support
   a bunch of GPLv2(only) software which does not allow the use of
   LGPLv3.  Note that this is only a temporary change and authors of
   GPLv2(only) software are asked to switch to GPLv3 or to add an
   exception which allow the use of LPGLv3 software.

[1]: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libassuan.git;a=blob;f=NEWS;h=3a86eca4175fbcb12bb00722c2047062df67a46d;hb=HEAD

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2023-12-22 13:09:18 +00:00
Daniel Golle
5b6b0c67ad libassuan: update to version 2.5.6
Changes since version 2.5.5:
2023-06-19  Werner Koch  <wk@gnupg.org>

	Release 2.5.6.
	+ commit 6b50ee6bcdd6aa81bd7cc3fb2379864c3ed479b8

2023-06-16  Werner Koch  <wk@gnupg.org>

	Flush data before clearing the confidential flag.
	+ commit 0fc31770fa6277c57940b774d4049d7a3ad148e8
	* src/context.c (assuan_end_confidential): Flush data.

2023-06-16  NIIBE Yutaka  <gniibe@fsij.org>

	build: Fix listing m4 files.
	+ commit e686c85e207e52130388c68018ac2e75b7fb574a
	* m4/Makefile.am (EXTRA_DIST): Add ax_cc_for_build.m4 and
	gpg-error.m4.  Remove sys_socket_h.m4.

	build: Better cross build support.
	+ commit 1939b040ca2301270a7f5be4e3049c551bf73dab
	* configure.ac: Use AX_CC_FOR_BUILD.
	* src/Makefile.am: Use EXEEXT_FOR_BUILD.
	* m4/ax_cc_for_build.m4: New from libgpg-error.

	tests: Use -no-fast-install LDFLAGS for Windows.
	+ commit 32d9abf299ec5b217c5751d8dcf8cbb5989bdd9c
	* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize.

	build: Update gpg-error.m4.
	+ commit dbd5c48a36e6b6a28d12119a43ff2a65208dc152
	* m4/gpg-error.m4: Update from libgpg-error master.

	build: Update gpg-error.m4.
	+ commit d7533c4333bfa93537eaf639fd18a6b1377df11e
	* m4/gpg-error.m4: Update from libgpg-error 1.46.

	build: Update config.guess, config.sub, and config.rpath.
	+ commit 84d5349d23031c13762a0d59c105a9dec8cc9e90
	* build-aux/config.guess: Update from upstream.
	* build-aux/config.sub: Ditto.
	* build-aux/config.rpath: Update from gettext 0.21.

	build: Update gpg-error.m4.
	+ commit f16fcb14c3661ff94e06612f3a3e46a5e98a62a8
	* m4/gpg-error.m4: Update from libgpg-error.

	Don't access NULL by wipememory.
	+ commit ff1f8ee7a8fb9729e08fb51419de9a8c93a4fdb6
	* src/assuan-inquire.c (assuan_inquire): Check mb->buf.

	client: Wipe the inbound buffer when CONFIDENTIAL.
	+ commit aac300389210031588a1f4c6d7f1efb4b45c4c95
	* src/client.c (assuan_transact): Wipe the buffer.

	server,client: Wipe the outbound buffer when CONFIDENTIAL.
	+ commit 5ac7e6ba19fa5ed472b50c1b12ba7cf94015c734
	* src/assuan-buffer.c (assuan_send_data): Wipe the buffer.

	server: Wipe out the memory used by assuan_inquire if CONFIDENTIAL.
	+ commit 4bfcd8a0f6f314581b40bed0cffe5f91441f4dff
	* src/assuan-inquire.c (assuan_inquire): Wipe the memory and
	inbound buffer.

2021-12-22  NIIBE Yutaka  <gniibe@fsij.org>

	build: Update for newer autoconf.
	+ commit 66d5fe281c8dcbbbc13edc8630aaf631b6cb5e85
	* configure.ac (AC_PREREQ): Require >= 2.69.
	(AC_HEADER_STDC): Remove.
	* m4/sys_socket_h.m4: Remove.

2021-12-17  NIIBE Yutaka  <gniibe@fsij.org>

	build,w32: Update configure script.
	+ commit 576fbb033805b077ffe2270cb8a17c3f2dc830ae
	* configure.ac: Don't use gl_HEADER_SYS_SOCKET, but check winsock2.h.

2021-11-10  NIIBE Yutaka  <gniibe@fsij.org>

	libtool: Link without -flat_namespace for macOS.
	+ commit e342b58b6230d22c1225ed680f05e9d134a8f657
	* m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
	defined.  Only specify -flat_namespace to linker for specific
	(older) versions and hosts.

2021-08-05  NIIBE Yutaka  <gniibe@fsij.org>

	build: Simplify configure.ac.
	+ commit 669c76ee28c0b10c418bb47f95b1401631478c5a
	* configure.ac (AC_CHECK_HEADERS): Remove string.h.

2021-05-27  NIIBE Yutaka  <gniibe@fsij.org>

	build: _DARWIN_C_SOURCE should be 1.
	+ commit 335030e3d204afe33873df83c29302ff1caa0217
	* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.

2021-04-21  NIIBE Yutaka  <gniibe@fsij.org>

	build: Update gpg-error.m4.
	+ commit 8ec3e9f1dd88e14f42f31e8692a8664bd894226b
	* m4/gpg-error.m4: Update from libgpg-error.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-08-05 12:17:53 +01:00
Paul Fertser
0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Alexander Egorenkov
52af17df39 libassuan: remove gpgrt-config workaround
After the recent libgpg-error update, the workaround for gpgrt-config
is no more necessary.

Reverts 63481e619 ("libassuan: fix linking of host's libgpg-error").

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2021-05-22 00:15:34 +01:00
Alexander Egorenkov
63481e619c libassuan: fix linking of host's libgpg-error
gpgrt-config is trying to use the host's /usr/lib path when looking for
libgpg-error. Therefore, disable it and gpg-error-config will be used
as a fallback.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2021-05-11 17:02:15 +01:00
Daniel Golle
1f50a9e417 libassuan: update to version 2.5.5
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-04-29 00:59:15 +01:00
Daniel Golle
180a6ce5eb libassuan: update to version 2.5.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-08 20:59:40 +00:00
Daniel Golle
e24e8fa98c libassuan: new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00