From patchwork Wed Feb 28 19:31:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7570 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 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4TlPcR2r5cz3wmD for ; Wed, 28 Feb 2024 19:31:51 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4TlPcL1gwNz3B8; Wed, 28 Feb 2024 19:31:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4TlPcK5kGFz32pl; Wed, 28 Feb 2024 19:31:45 +0000 (UTC) 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 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4TlPcJ11FLz32pY for ; Wed, 28 Feb 2024 19:31:44 +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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4TlPcH4fMYz1Lq; Wed, 28 Feb 2024 19:31:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1709148703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9dJ1iE/hetk3lcbsWhD+XX9bQfpmZ03bqUPyl9QwIpY=; b=IBuvcyrZcdcWbdbWqUJVkMAkpr3fFYwvdyTwGr7trL2ktSvVdAqUxZ/EUc3pEmTazqDpFh 4Xct3h4cQqiN5UCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1709148703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9dJ1iE/hetk3lcbsWhD+XX9bQfpmZ03bqUPyl9QwIpY=; b=cAktW4qoDyLd/wlwLOVHZHSWv0Dg0FS9SwVtYL2/hG+EPobH7EcVmvVQKVrxEQ7MkEMBIe Qes9unauBz6RJVWZ8MmMU7zSh4/qUu0RR0EFZfuh8+/h+LG6TvQPgxs7z7r3HDTToGbFza fmMWc8MCZzfV8XFgqOJ58h6gHd0J+3KLQF4o+Bu7Zr1fjM8hz5btePtLbl0O8Y/D3C0zI2 GsuIpCR8/cB7zJ9rMeXtEsXB7dFXg4YffzjQQ32hSNhcMSz6c9c1e6FZXp/MvbNDHYfpC6 5yTXXd9MTvIyhmEOzmHw8t/HsAPkYZmv/VpNLtL60w7wPaCOxXlIOkRH0XKdUQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] gptfdisk: Update to version 1.0.10 Date: Wed, 28 Feb 2024 20:31:32 +0100 Message-ID: <20240228193137.2586482-3-adolf.belka@ipfire.org> In-Reply-To: <20240228193137.2586482-1-adolf.belka@ipfire.org> References: <20240228193137.2586482-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: RSVECQ2UPCYJNTI7WXD5ZV2SAN6RAD5S X-Message-ID-Hash: RSVECQ2UPCYJNTI7WXD5ZV2SAN6RAD5S X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 1.0.9 to 1.0.10 - Update of rootfile not required - Changelog 1.0.10 - Fixed problem that caused sgdisk to crash with errors about being unable to read the disk's partition table when compiled with the latest popt (commit 740, which is pre-release as I type; presumably version 1.19 and later once released). - Updated guid.cc to deal with minor change in libuuid. - Fixed potential NULL derefernce bug in sgdisk. Thanks to Damian Kurek for this fix. - The partition number of "0" can now be used to reference newly-created partitions when the --largest-new=0 option to sgdisk is used. Thanks to David JoaquĆ­n Shourabi Porcel for this improvement. - Make explicit casts in gptcurses.cc to eliminate compiler warnings about mis-matched types in printw() statements. - Minor code cleanup based on valgrind analysis. - In previous versions, GPT fdisk accepted only integer values for partition start points, end points, and sizes, and it interpreted decimal values incorrectly. That is, if you typed "+9.5G" as the partition end point, you'd end up with something just 9 sectors in size. This version now truncates decimal numbers to their integral values, so you'd get a 9 GiB partition instead. - Changes to optimize disk handling, particularly on Windows, courtesy of Frediano Ziglio. - Added numerous new partition type codes from Discoverable Partitions Specification (https://uapi-group.org/specifications/specs/discoverable_partitions_specification/). - Added new sgdisk -k/--move-backup-table and gdisk k (on the experts' menu) option to relocate the backup partition table. This is the counterpart of the sgdisk -j/--move-main-table and gdisk j (on the experts' menu) option to move the main partition table. This code comes from Niklas Gollenstede. Signed-off-by: Adolf Belka --- lfs/gptfdisk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lfs/gptfdisk b/lfs/gptfdisk index eb1c60357..9e6f4310a 100644 --- a/lfs/gptfdisk +++ b/lfs/gptfdisk @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2024 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 # @@ -25,7 +25,7 @@ include Config -VER = 1.0.9 +VER = 1.0.10 THISAPP = gptfdisk-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = gptfdisk -PAK_VER = 2 +PAK_VER = 3 DEPS = @@ -45,7 +45,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 1939ffd75972a4d7f92af2bfab90c7b0223825b5478b6b808dd35af943c687d38ba81663cd7ba5e0f9400656db4dac019c13a9f75d90b7bd716568c676c24dd2 +$(DL_FILE)_BLAKE2 = 9047bf68a2c5c254bda9b2815488963dc19a9415c90fbf4a127268a37fe8a545b7d45a333e356bd9da22e37ef649d9f60896ffedfdc35b60c7642a48e4ed2e5a install : $(TARGET)