From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4ZsqD74P18z2yfD for ; Wed, 7 May 2025 09:07:51 +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 RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZsqD74Gn9z2yTm for ; Wed, 7 May 2025 09:07:51 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [172.28.1.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "people01.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4ZsqD70kL6z2nG for ; Wed, 7 May 2025 09:07:51 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1746608871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=wQH99dMcW0eGCN8cLvwE+TYWRrQZAx0lp4A9ZwYBLyY=; b=415wsduqvWLGHRoug+CYhNpPQzwus2Ii+iW9Pf+w9H1fvzv6E9h9tDg/SEXYsxr45tege8 i7qvvGLTImnXnHDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1746608871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=wQH99dMcW0eGCN8cLvwE+TYWRrQZAx0lp4A9ZwYBLyY=; b=ghCxGuki1H4UVWEedtgXyyraGFNBNOZ4r2AByEWh066FJ4gJBA6rrs0bsWCnkVfM1e2JtL oN/KguJCghRvst1+8TCAYw+SVUnZg8QVu5RFvZ7eOzmYAl9YzGp/JuAj3AtsSNDiTvnSQA tR8zGDj4lccp5KIDlOEZPBNHVWSjIfbPrP9ayh4hdsFjWrmHh2b2R2Fvj2fiREaYxG6eVC zlxmFSW/fkdG/MwSKl3T5RVGjAdlLtT3A1wIXg3fyr+BfkgvSVDpAmcaKssfXpy5TEt6MI D1sny0d7G9hS6eLmHWATFASl8egeqpFLZqW+N/3Z/dOi0yYP2tutKcAOIIxdlg== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4ZsqD70L9kz2xKQ; Wed, 7 May 2025 09:07:51 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, core194, created. 262809b881398c77f31d73a06f4b51461820fe85 X-Git-Refname: refs/heads/core194 X-Git-Reftype: branch X-Git-Oldrev: 0000000000000000000000000000000000000000 X-Git-Newrev: 262809b881398c77f31d73a06f4b51461820fe85 Message-Id: <4ZsqD70L9kz2xKQ@people01.haj.ipfire.org> Date: Wed, 7 May 2025 09:07:51 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, core194 has been created at 262809b881398c77f31d73a06f4b51461820fe85 (commit) - Log ----------------------------------------------------------------- commit 262809b881398c77f31d73a06f4b51461820fe85 Author: Adolf Belka Date: Thu May 1 09:41:03 2025 +0200 core194: Fix cert name and change other check to ! -s - This v2 version corrects the b! -z to ! -s - Error in hostcert extension - -z is for use with strings and not with files. This should have been ! -s. Thanks to @Nick for spotting this and flagging it up. Th ! -z would do the test against the filename string and as this doesn't change then it would always come up true. - I thought I had tested the original patch of this change but obviously not because there was missing whitespace and filenames not quoted plus the fixes I have added in this patch. - I definitely tested this out this time by copying it from the update.sh and applying it to my vm system. I have also tested this out with the hostcert.pem file present and not and with the index.txt file empty and containing something. This now works as it should, which is to only carry out the edit on the serial file if the hostcert.pem file is present AND the index.txt file is empty. - I clearly need to look more carefully at and test even more carefully at any bash statements that I put together. Tested-by: Adolf Belka Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer ----------------------------------------------------------------------- hooks/post-receive -- IPFire 2.x development tree