public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] core199: Ship gnupg
@ 2025-11-14 11:17 Adolf Belka
  2025-11-14 11:17 ` [PATCH] core199: Ship libassuan Adolf Belka
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/core/199/filelists/gnupg | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 config/rootfiles/core/199/filelists/gnupg

diff --git a/config/rootfiles/core/199/filelists/gnupg b/config/rootfiles/core/199/filelists/gnupg
new file mode 120000
index 000000000..a1a156447
--- /dev/null
+++ b/config/rootfiles/core/199/filelists/gnupg
@@ -0,0 +1 @@
+../../../common/gnupg
\ No newline at end of file
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] core199: Ship libassuan
  2025-11-14 11:17 [PATCH] core199: Ship gnupg Adolf Belka
@ 2025-11-14 11:17 ` Adolf Belka
  2025-11-14 11:17 ` [PATCH] core199: Ship libksba Adolf Belka
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/core/199/filelists/libassuan | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 config/rootfiles/core/199/filelists/libassuan

diff --git a/config/rootfiles/core/199/filelists/libassuan b/config/rootfiles/core/199/filelists/libassuan
new file mode 120000
index 000000000..2b0ac7c4f
--- /dev/null
+++ b/config/rootfiles/core/199/filelists/libassuan
@@ -0,0 +1 @@
+../../../common/libassuan
\ No newline at end of file
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] core199: Ship libksba
  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 ` Adolf Belka
  2025-11-14 11:17 ` [PATCH] core199: Ship npth Adolf Belka
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/core/199/filelists/libksba | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 config/rootfiles/core/199/filelists/libksba

diff --git a/config/rootfiles/core/199/filelists/libksba b/config/rootfiles/core/199/filelists/libksba
new file mode 120000
index 000000000..8d01f8224
--- /dev/null
+++ b/config/rootfiles/core/199/filelists/libksba
@@ -0,0 +1 @@
+../../../common/libksba
\ No newline at end of file
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] core199: Ship npth
  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 ` Adolf Belka
  2025-11-14 11:17 ` [PATCH] gnupg: Update to version 2.4.8 Adolf Belka
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/core/199/filelists/npth | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 config/rootfiles/core/199/filelists/npth

diff --git a/config/rootfiles/core/199/filelists/npth b/config/rootfiles/core/199/filelists/npth
new file mode 120000
index 000000000..5cf1d0e3d
--- /dev/null
+++ b/config/rootfiles/core/199/filelists/npth
@@ -0,0 +1 @@
+../../../common/npth
\ No newline at end of file
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] gnupg: Update to version 2.4.8
  2025-11-14 11:17 [PATCH] core199: Ship gnupg Adolf Belka
                   ` (2 preceding siblings ...)
  2025-11-14 11:17 ` [PATCH] core199: Ship npth Adolf Belka
@ 2025-11-14 11:17 ` Adolf Belka
  2025-11-14 11:17 ` [PATCH] libassuan: Update to version 3.0.2 and make into core program Adolf Belka
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- Update from version 1.4.23 (2018) to 2.4.8 (2025)
- The old 1.4 branch is left available for users that have old documents stored that
   required PGP-2.6 support for decryption. As PGP-2.6 has been obsolete for a long time
   it is not in gnupg-2.4 branch.
- IPFire is not using pgp-2.6 for the addon and update packages. Therefore version 1.4.23
   is not required.
- This patch updates gnupg to the current released branch. This branch requires
   libassuan, libksba and npth libraries to be available for both the build and run time
   stages. keyboxd is required for the key import stage. Additional patches are in this
   set for the above changes
- This update was tested out on my vm. I built the updated gnupg in a CU198 version.
   This was then installed and 11 addons successfully installed. Then the install was
   successfully updated to CU199 (unstable). Then a further 3 addons were successfully
   installed. In both versions the list updates also occurred successfully.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/gnupg | 106 +++++++++++++++++++++++++++++++---
 lfs/gnupg                     |  11 ++--
 2 files changed, 104 insertions(+), 13 deletions(-)

diff --git a/config/rootfiles/common/gnupg b/config/rootfiles/common/gnupg
index 5b16f0326..5deaadcf7 100644
--- a/config/rootfiles/common/gnupg
+++ b/config/rootfiles/common/gnupg
@@ -1,15 +1,103 @@
+#usr/bin/dirmngr
+#usr/bin/dirmngr-client
 usr/bin/gpg
-#usr/bin/gpg-zip
+#usr/bin/gpg-agent
+#usr/bin/gpg-card
+#usr/bin/gpg-connect-agent
+#usr/bin/gpg-mail-tube
+#usr/bin/gpg-wks-client
+#usr/bin/gpg-wks-server
+#usr/bin/gpgconf
+#usr/bin/gpgparsemail
+#usr/bin/gpgscm
+#usr/bin/gpgsm
 #usr/bin/gpgsplit
+#usr/bin/gpgtar
 #usr/bin/gpgv
-#usr/lib/gnupg
-usr/lib/gnupg/gpgkeys_curl
-usr/lib/gnupg/gpgkeys_finger
-usr/lib/gnupg/gpgkeys_hkp
+#usr/bin/kbxutil
+#usr/bin/watchgnupg
+#usr/lib/dirmngr_ldap
+#usr/lib/gpg-auth
+#usr/lib/gpg-check-pattern
+#usr/lib/gpg-pair-tool
+#usr/lib/gpg-preset-passphrase
+#usr/lib/gpg-protect-tool
+#usr/lib/gpg-wks-client
+usr/lib/keyboxd
+#usr/lib/scdaemon
+#usr/sbin/addgnupghome
+#usr/sbin/applygnupgdefaults
+#usr/share/doc/gnupg
+#usr/share/doc/gnupg/DCO
+#usr/share/doc/gnupg/DETAILS
+#usr/share/doc/gnupg/FAQ
+#usr/share/doc/gnupg/HACKING
+#usr/share/doc/gnupg/KEYSERVER
+#usr/share/doc/gnupg/OpenPGP
+#usr/share/doc/gnupg/README
+#usr/share/doc/gnupg/TRANSLATE
+#usr/share/doc/gnupg/examples
+#usr/share/doc/gnupg/examples/README
+#usr/share/doc/gnupg/examples/common.conf
+#usr/share/doc/gnupg/examples/gpgconf.conf
+#usr/share/doc/gnupg/examples/gpgconf.rnames
+#usr/share/doc/gnupg/examples/pwpattern.list
+#usr/share/doc/gnupg/examples/qualified.txt
+#usr/share/doc/gnupg/examples/scd-event
+#usr/share/doc/gnupg/examples/trustlist.txt
 #usr/share/gnupg
-#usr/share/gnupg/FAQ
-#usr/share/gnupg/options.skel
-#usr/share/info/gnupg1.info
-#usr/share/man/man1/gpg-zip.1
+#usr/share/gnupg/distsigkey.gpg
+#usr/share/gnupg/help.be.txt
+#usr/share/gnupg/help.ca.txt
+#usr/share/gnupg/help.cs.txt
+#usr/share/gnupg/help.da.txt
+#usr/share/gnupg/help.de.txt
+#usr/share/gnupg/help.el.txt
+#usr/share/gnupg/help.eo.txt
+#usr/share/gnupg/help.es.txt
+#usr/share/gnupg/help.et.txt
+#usr/share/gnupg/help.fi.txt
+#usr/share/gnupg/help.fr.txt
+#usr/share/gnupg/help.gl.txt
+#usr/share/gnupg/help.hu.txt
+#usr/share/gnupg/help.id.txt
+#usr/share/gnupg/help.it.txt
+#usr/share/gnupg/help.ja.txt
+#usr/share/gnupg/help.nb.txt
+#usr/share/gnupg/help.pl.txt
+#usr/share/gnupg/help.pt.txt
+#usr/share/gnupg/help.pt_BR.txt
+#usr/share/gnupg/help.ro.txt
+#usr/share/gnupg/help.ru.txt
+#usr/share/gnupg/help.sk.txt
+#usr/share/gnupg/help.sv.txt
+#usr/share/gnupg/help.tr.txt
+#usr/share/gnupg/help.txt
+#usr/share/gnupg/help.zh_CN.txt
+#usr/share/gnupg/help.zh_TW.txt
+#usr/share/gnupg/sks-keyservers.netCA.pem
+#usr/share/info/gnupg.info
+#usr/share/info/gnupg.info-1
+#usr/share/info/gnupg.info-2
+#usr/share/info/gnupg.info-3
+#usr/share/man/man1/dirmngr-client.1
+#usr/share/man/man1/gpg-agent.1
+#usr/share/man/man1/gpg-card.1
+#usr/share/man/man1/gpg-check-pattern.1
+#usr/share/man/man1/gpg-connect-agent.1
+#usr/share/man/man1/gpg-mail-tube.1
+#usr/share/man/man1/gpg-preset-passphrase.1
+#usr/share/man/man1/gpg-wks-client.1
+#usr/share/man/man1/gpg-wks-server.1
 #usr/share/man/man1/gpg.1
+#usr/share/man/man1/gpgconf.1
+#usr/share/man/man1/gpgparsemail.1
+#usr/share/man/man1/gpgsm.1
+#usr/share/man/man1/gpgtar.1
 #usr/share/man/man1/gpgv.1
+#usr/share/man/man1/scdaemon.1
+#usr/share/man/man1/watchgnupg.1
+#usr/share/man/man7/gnupg.7
+#usr/share/man/man8/addgnupghome.8
+#usr/share/man/man8/applygnupgdefaults.8
+#usr/share/man/man8/dirmngr.8
diff --git a/lfs/gnupg b/lfs/gnupg
index cf6a86b8b..653ff8bcb 100644
--- a/lfs/gnupg
+++ b/lfs/gnupg
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2021  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        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 1.4.23
+VER        = 2.4.8
 
 THISAPP    = gnupg-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = ec5e6bef0c7bb2a65813d7852cebeaa24c4855f9d9d9e802070da50b89fff56b747682933aa766dd130f849efcfe28f7aa74f3153405429bcf3845ef29c6dd6e
+$(DL_FILE)_BLAKE2 = ab7126aac6c7bf323075c68084c963f75d93c729d8918b6ca10ef0a4466879636433c682a5437776d2ce9f5d432e1f66995dd94a4f44d7f184542f030087dbb2
 
 install : $(TARGET)
 
@@ -74,7 +74,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
 	rm -rf /home/nobody/.gnupg /root/.gnupg
-	cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/lib --disable-nls
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr \
+				--libexecdir=/usr/lib \
+				--disable-nls
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	chmod -v 755 /usr/bin/gpg
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] libassuan: Update to version 3.0.2 and make into core program
  2025-11-14 11:17 [PATCH] core199: Ship gnupg Adolf Belka
                   ` (3 preceding siblings ...)
  2025-11-14 11:17 ` [PATCH] gnupg: Update to version 2.4.8 Adolf Belka
@ 2025-11-14 11:17 ` Adolf Belka
  2025-11-14 11:17 ` [PATCH] libksba: New dependency for gnupg-2.4 branch Adolf Belka
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- 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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] libksba: New dependency for gnupg-2.4 branch
  2025-11-14 11:17 [PATCH] core199: Ship gnupg Adolf Belka
                   ` (4 preceding siblings ...)
  2025-11-14 11:17 ` [PATCH] libassuan: Update to version 3.0.2 and make into core program Adolf Belka
@ 2025-11-14 11:17 ` 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
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libksba |  7 +++
 lfs/libksba                     | 80 +++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)
 create mode 100644 config/rootfiles/common/libksba
 create mode 100644 lfs/libksba

diff --git a/config/rootfiles/common/libksba b/config/rootfiles/common/libksba
new file mode 100644
index 000000000..7c0c433fb
--- /dev/null
+++ b/config/rootfiles/common/libksba
@@ -0,0 +1,7 @@
+#usr/include/ksba.h
+#usr/lib/libksba.la
+#usr/lib/libksba.so
+usr/lib/libksba.so.8
+usr/lib/libksba.so.8.14.7
+#usr/lib/pkgconfig/ksba.pc
+#usr/share/aclocal/ksba.m4
diff --git a/lfs/libksba b/lfs/libksba
new file mode 100644
index 000000000..867cb7d15
--- /dev/null
+++ b/lfs/libksba
@@ -0,0 +1,80 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# 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        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.6.7
+
+THISAPP    = libksba-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 95f51bc9a0a7ee14b91089aded3a420cf2f986a1599e39e36dc46fd0b71bef465af9c6576c19516d0aadae67399eca69ae0448239216ba486812884ebefa1ae7
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+b2 : $(subst %,%_BLAKE2,$(objects))
+
+###############################################################################
+# Downloading, checking, b2sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_BLAKE2,$(objects)) :
+	@$(B2SUM)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	$(UPDATE_AUTOMAKE)
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr \
+				--disable-doc
+	cd $(DIR_APP) && make $(MAKETUNING)
+	cd $(DIR_APP) && make install
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] make.sh: Add in gnupg-2.4.x dependencies
  2025-11-14 11:17 [PATCH] core199: Ship gnupg Adolf Belka
                   ` (5 preceding siblings ...)
  2025-11-14 11:17 ` [PATCH] libksba: New dependency for gnupg-2.4 branch Adolf Belka
@ 2025-11-14 11:17 ` Adolf Belka
  2025-11-14 11:17 ` [PATCH] npth:New dependency for gnupg-2.4 branch Adolf Belka
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 make.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/make.sh b/make.sh
index ed4222ac5..71fbcdc2b 100755
--- a/make.sh
+++ b/make.sh
@@ -1765,6 +1765,8 @@ build_system() {
 	lfsmake2 perl-Try-Tiny
 	lfsmake2 perl-HTTP-Message
 	lfsmake2 perl-HTTP-Date
+	lfsmake2 libksba
+	lfsmake2 npth
 	lfsmake2 gnupg
 	lfsmake2 hdparm
 	lfsmake2 whatmask
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] npth:New dependency for gnupg-2.4 branch
  2025-11-14 11:17 [PATCH] core199: Ship gnupg Adolf Belka
                   ` (6 preceding siblings ...)
  2025-11-14 11:17 ` [PATCH] make.sh: Add in gnupg-2.4.x dependencies Adolf Belka
@ 2025-11-14 11:17 ` Adolf Belka
  7 siblings, 0 replies; 9+ messages in thread
From: Adolf Belka @ 2025-11-14 11:17 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/npth |  7 ++++
 lfs/npth                     | 80 ++++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)
 create mode 100644 config/rootfiles/common/npth
 create mode 100644 lfs/npth

diff --git a/config/rootfiles/common/npth b/config/rootfiles/common/npth
new file mode 100644
index 000000000..6b0701445
--- /dev/null
+++ b/config/rootfiles/common/npth
@@ -0,0 +1,7 @@
+#usr/include/npth.h
+#usr/lib/libnpth.la
+#usr/lib/libnpth.so
+usr/lib/libnpth.so.0
+usr/lib/libnpth.so.0.3.0
+#usr/lib/pkgconfig/npth.pc
+#usr/share/aclocal/npth.m4
diff --git a/lfs/npth b/lfs/npth
new file mode 100644
index 000000000..f7b50e31a
--- /dev/null
+++ b/lfs/npth
@@ -0,0 +1,80 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# 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        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.8
+
+THISAPP    = npth-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = 554620f6a45f57bb958d245f7464abffd565b592941f0c404ce384c854be57ee35754a78dcf6afac751ee87e1df230bf3d2b78fb37cb1ef3e5ea534ddfd4ef2a
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+b2 : $(subst %,%_BLAKE2,$(objects))
+
+###############################################################################
+# Downloading, checking, b2sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_BLAKE2,$(objects)) :
+	@$(B2SUM)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	$(UPDATE_AUTOMAKE)
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr \
+				--disable-tests
+	cd $(DIR_APP) && make $(MAKETUNING)
+	cd $(DIR_APP) && make install
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
-- 
2.51.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-11-14 11:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH] libassuan: Update to version 3.0.2 and make into core program Adolf Belka
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox