From patchwork Sat Jul 25 16:46:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10069 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4h6rNm0CVLz3wkB for ; Sat, 25 Jul 2026 16:46:48 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4h6rNl6PDfz6YJ for ; Sat, 25 Jul 2026 16:46:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4h6rNl5cPvz35ZH for ; Sat, 25 Jul 2026 16:46:47 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4h6rNj1Htdz34k9 for ; Sat, 25 Jul 2026 16:46:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4h6rNg1G6Wz128; Sat, 25 Jul 2026 16:46:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1784998003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ckZ4zwd+W+mfe5agE9Gs5MTS85nkUPpHSSO94Lbqq6U=; b=80hAUD09jqv3K8VhKcdA9v/Ey5Ck/Whl3tfMWA7HAlamVCPAlpe2mamaMeljaPtGOFWGbp 0rzrnNdLv7K1ZPDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1784998003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ckZ4zwd+W+mfe5agE9Gs5MTS85nkUPpHSSO94Lbqq6U=; b=AQpVvwoQ+b3pxp30/f5bV0mYIA2H30xKVfvpCGwLEKsblYFHVTxxRCISZQ1/nCQslY5Gbe 129LNv+5pXVR7aig0ZvoJSuuDIMjYx5q67wotuV/5vU3u8JL+4txNhCBWx3hU3dgdRETAg JweQ9XiyEuWCoacnsCNwjCl+xok2kC+xHu2W+HLx8zVXAReg+wzdb7VzCD8BlqSvq87vUO cg12ANNYgdQSGYPYB+VXQUYH42rp9ZLIq6OHaNVp6mw5YEOhRK0YeEiaSR4bVWrOf4zuTr XCiuHNier6L8/i5ivMeHxqIeeNYSXXCzvzyEbcc0hRnMYNqtFf0CQuuOpK6kWQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] ddns: Update to version 015 Date: Sat, 25 Jul 2026 18:46:38 +0200 Message-ID: <20260725164638.3752130-2-adolf.belka@ipfire.org> In-Reply-To: <20260725164638.3752130-1-adolf.belka@ipfire.org> References: <20260725164638.3752130-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 014 to 015 - Update of rootfile - To get the tarball, I created a clone of the ddns repo and then used git archive to create the tarball and then compressed it with xz - Changelog 015 - infomaniak.ch added as a provider (Apr 2024) - explicitly configure gettext (May 2025) - Czech, Spanish and German language updates (Nov 2025 to Apr 2026) Signed-off-by: Adolf Belka --- config/rootfiles/common/ddns | 9 ++++- lfs/ddns | 16 +++------ .../ddns-014-freednsafraid-fix-typo.patch | 21 ----------- src/patches/ddns-014_gettext-0.25_fix.patch | 24 ------------- ...eption-when-host-is-not-dual-stacked.patch | 35 ------------------- 5 files changed, 12 insertions(+), 93 deletions(-) delete mode 100644 src/patches/ddns-014-freednsafraid-fix-typo.patch delete mode 100644 src/patches/ddns-014_gettext-0.25_fix.patch delete mode 100644 src/patches/ddns-system-Catch-exception-when-host-is-not-dual-stacked.patch diff --git a/config/rootfiles/common/ddns b/config/rootfiles/common/ddns index 975723171..8eba5d5ec 100644 --- a/config/rootfiles/common/ddns +++ b/config/rootfiles/common/ddns @@ -18,18 +18,25 @@ usr/lib/python3.10/site-packages/ddns/system.py #usr/share/locale/es/LC_MESSAGES/ddns.mo #usr/share/locale/fa/LC_MESSAGES/ddns.mo #usr/share/locale/fr/LC_MESSAGES/ddns.mo +#usr/share/locale/hr/LC_MESSAGES/ddns.mo #usr/share/locale/hu/LC_MESSAGES/ddns.mo #usr/share/locale/id/LC_MESSAGES/ddns.mo #usr/share/locale/it/LC_MESSAGES/ddns.mo #usr/share/locale/ja/LC_MESSAGES/ddns.mo +#usr/share/locale/jv/LC_MESSAGES/ddns.mo #usr/share/locale/km_KH/LC_MESSAGES/ddns.mo #usr/share/locale/nl/LC_MESSAGES/ddns.mo #usr/share/locale/pl/LC_MESSAGES/ddns.mo +#usr/share/locale/pt/LC_MESSAGES/ddns.mo #usr/share/locale/pt_BR/LC_MESSAGES/ddns.mo #usr/share/locale/pt_PT/LC_MESSAGES/ddns.mo -#usr/share/locale/ro_RO/LC_MESSAGES/ddns.mo +#usr/share/locale/ro/LC_MESSAGES/ddns.mo #usr/share/locale/ru/LC_MESSAGES/ddns.mo +#usr/share/locale/rw/LC_MESSAGES/ddns.mo +#usr/share/locale/sk/LC_MESSAGES/ddns.mo #usr/share/locale/sq/LC_MESSAGES/ddns.mo +#usr/share/locale/sr/LC_MESSAGES/ddns.mo +#usr/share/locale/su/LC_MESSAGES/ddns.mo #usr/share/locale/sv/LC_MESSAGES/ddns.mo #usr/share/locale/th/LC_MESSAGES/ddns.mo #usr/share/locale/tk/LC_MESSAGES/ddns.mo diff --git a/lfs/ddns b/lfs/ddns index 47358c009..5ccaf993f 100644 --- a/lfs/ddns +++ b/lfs/ddns @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2025 IPFire Team # +# Copyright (C) 2007-2026 IPFire Team # # # # 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,11 +24,11 @@ include Config -VER = 014 +VER = 015 THISAPP = ddns-$(VER) DL_FILE = $(THISAPP).tar.xz -DL_FROM = https://source.ipfire.org/releases/ddns/ +DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 007bf9f062bc0dc5c8c7ea946dcfabd03faff5f5c1791e9141f01a7d80bbc899b3565bf5e69f44f66ebe39b3ab02b95e3f6e25daa145272cef6ce4bd7f2bd82c +$(DL_FILE)_BLAKE2 = 8aa55f69ea2a3aa45f7ab243b4c198f82f397a7a4ea371e8945006a3db2ec428be8d6216f1fa6222a1297cc353634a50fd8b4ee56aacfa098df90630dbce7648 install : $(TARGET) @@ -70,12 +70,6 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - - # Apply upstream patches. - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-014-freednsafraid-fix-typo.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-system-Catch-exception-when-host-is-not-dual-stacked.patch - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-014_gettext-0.25_fix.patch - cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh cd $(DIR_APP) && \ PKG_CONFIG=false \ @@ -83,9 +77,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --prefix=/usr \ --sysconfdir=/var/ipfire \ --disable-manpages - cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install - @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/src/patches/ddns-014-freednsafraid-fix-typo.patch b/src/patches/ddns-014-freednsafraid-fix-typo.patch deleted file mode 100644 index 4982d52f4..000000000 --- a/src/patches/ddns-014-freednsafraid-fix-typo.patch +++ /dev/null @@ -1,21 +0,0 @@ -commit 3a162595b9b44a4cbf08a3db14a4d2ebfeeb5583 -Author: Stefan Schantl -Date: Sat Oct 23 21:11:27 2021 +0200 - - FreeDNSAfraid.org: Fix typo in checking if the IP has been changed. - - Signed-off-by: Stefan Schantl - -diff --git a/src/ddns/providers.py b/src/ddns/providers.py -index 4f27af9..5b2a82d 100644 ---- a/src/ddns/providers.py -+++ b/src/ddns/providers.py -@@ -1204,7 +1204,7 @@ class DDNSProviderFreeDNSAfraidOrg(DDNSProvider): - output = response.read().decode() - - # Handle success messages. -- if output.startswith("Updated") or output.startswith("No IP changed detected"): -+ if output.startswith("Updated") or output.startswith("No IP change detected"): - return - - # Handle error codes. diff --git a/src/patches/ddns-014_gettext-0.25_fix.patch b/src/patches/ddns-014_gettext-0.25_fix.patch deleted file mode 100644 index e12f8fd28..000000000 --- a/src/patches/ddns-014_gettext-0.25_fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur ddns-014.orig/autogen.sh ddns-014/autogen.sh ---- ddns-014.orig/autogen.sh 2021-07-12 17:29:29.000000000 +0200 -+++ ddns-014/autogen.sh 2025-05-14 10:51:56.418304212 +0200 -@@ -1,4 +1,5 @@ - #!/bin/sh - -+autopoint - intltoolize --force --automake - autoreconf --force --install --symlink -diff -Naur ddns-014.orig/configure.ac ddns-014/configure.ac ---- ddns-014.orig/configure.ac 2021-07-12 17:29:29.000000000 +0200 -+++ ddns-014/configure.ac 2025-05-14 10:50:38.840855781 +0200 -@@ -42,7 +42,10 @@ - ]) - AM_SILENT_RULES([yes]) - --IT_PROG_INTLTOOL([0.40.0]) -+AM_GNU_GETTEXT_VERSION(0.25) -+AM_GNU_GETTEXT([external]) -+ -+IT_PROG_INTLTOOL([0.51.0]) - - GETTEXT_PACKAGE=ddns - AC_SUBST(GETTEXT_PACKAGE) diff --git a/src/patches/ddns-system-Catch-exception-when-host-is-not-dual-stacked.patch b/src/patches/ddns-system-Catch-exception-when-host-is-not-dual-stacked.patch deleted file mode 100644 index f75471d97..000000000 --- a/src/patches/ddns-system-Catch-exception-when-host-is-not-dual-stacked.patch +++ /dev/null @@ -1,35 +0,0 @@ -From de57b2caf44bf10de72e42a20abf690eca50d512 Mon Sep 17 00:00:00 2001 -From: Michael Tremer -Date: Mon, 4 Apr 2022 10:33:46 +0100 -Subject: [PATCH] system: Catch exception when host is not dual-stacked - -This problem seems to have been introduced with an upgrade to Python -3.10. - -Reported-by: Adrian Zaugg -Signed-off-by: Michael Tremer ---- - src/ddns/system.py | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/ddns/system.py b/src/ddns/system.py -index 73a27a5..48c9a8f 100644 ---- a/src/ddns/system.py -+++ b/src/ddns/system.py -@@ -226,8 +226,12 @@ class DDNSSystem(object): - if e.reason.errno == -2: - raise DDNSResolveError - -+ # Cannot assign requested address -+ elif e.reason.errno == 99: -+ raise DDNSNetworkUnreachableError -+ - # Network Unreachable (e.g. no IPv6 access) -- if e.reason.errno == 101: -+ elif e.reason.errno == 101: - raise DDNSNetworkUnreachableError - - # Connection Refused --- -2.30.2 -