public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] libassuan: Update to version 3.0.2 and make into core program
Date: Fri, 14 Nov 2025 12:17:44 +0100	[thread overview]
Message-ID: <20251114111748.24374-6-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20251114111748.24374-1-adolf.belka@ipfire.org>

- libassuan was previously an addon package, although not used by anything in IPFire.
- The update of gnupg to the 2.4 branch requires libassuan to be available for both the
   build and the runtime, therefore this patch changes it from an addon package to a
   core program.
- Update from version 3.0.1 to 3.0.2
- Update of rootfile
- Changelog
    3.0.2
	 * 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]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 .../rootfiles/{packages => common}/libassuan  |  3 +--
 lfs/libassuan                                 | 20 ++++++-------------
 2 files changed, 7 insertions(+), 16 deletions(-)
 rename config/rootfiles/{packages => common}/libassuan (73%)

diff --git a/config/rootfiles/packages/libassuan b/config/rootfiles/common/libassuan
similarity index 73%
rename from config/rootfiles/packages/libassuan
rename to config/rootfiles/common/libassuan
index 625cd061a..a85eeb9a3 100644
--- a/config/rootfiles/packages/libassuan
+++ b/config/rootfiles/common/libassuan
@@ -2,7 +2,6 @@
 #usr/lib/libassuan.la
 #usr/lib/libassuan.so
 usr/lib/libassuan.so.9
-usr/lib/libassuan.so.9.0.1
+usr/lib/libassuan.so.9.0.2
 #usr/lib/pkgconfig/libassuan.pc
 #usr/share/aclocal/libassuan.m4
-#usr/share/info/assuan.info
diff --git a/lfs/libassuan b/lfs/libassuan
index d796c6055..cb9391c58 100644
--- a/lfs/libassuan
+++ b/lfs/libassuan
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  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,19 +26,13 @@ include Config
 
 SUMMARY    = IPC library used by GnuPG version 2
 
-VER        = 3.0.1
+VER        = 3.0.2
 
 THISAPP    = libassuan-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-PROG       = libassuan
-PAK_VER    = 8
-
-DEPS       =
-
-SERVICES   =
 
 ###############################################################################
 # Top-level Rules
@@ -48,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 5d6a7e4e9ce1b196bc7d126786716d95896de6145b8d753e2289bd36cbc96efa216360ac127fadb7be2d577e7fa203c8c8695d4aa11afcca6ed5397dd40209cb
+$(DL_FILE)_BLAKE2 = 1ce087f02f64dcae13a90c329010c08a4779b6e86fc5d019326d0d38ff125caea56a1db873ab083db8a762e548d1b5a6f0e2eba8480288d61a98a13b08e19173
 
 install : $(TARGET)
 
@@ -58,9 +52,6 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 b2 : $(subst %,%_BLAKE2,$(objects))
 
-dist:
-	@$(PAK)
-
 ###############################################################################
 # Downloading, checking, b2sum
 ###############################################################################
@@ -80,10 +71,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
 	cd $(DIR_APP) && ./configure \
-				--prefix=/usr
+				--prefix=/usr \
+				--disable-doc
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)
-- 
2.51.2



  parent reply	other threads:[~2025-11-14 11:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14 11:17 [PATCH] core199: Ship gnupg Adolf Belka
2025-11-14 11:17 ` [PATCH] core199: Ship libassuan Adolf Belka
2025-11-14 11:17 ` [PATCH] core199: Ship libksba Adolf Belka
2025-11-14 11:17 ` [PATCH] core199: Ship npth Adolf Belka
2025-11-14 11:17 ` [PATCH] gnupg: Update to version 2.4.8 Adolf Belka
2025-11-14 11:17 ` Adolf Belka [this message]
2025-11-14 11:17 ` [PATCH] libksba: New dependency for gnupg-2.4 branch Adolf Belka
2025-11-14 11:17 ` [PATCH] make.sh: Add in gnupg-2.4.x dependencies Adolf Belka
2025-11-14 11:17 ` [PATCH] npth:New dependency for gnupg-2.4 branch Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251114111748.24374-6-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox