From patchwork Thu Dec 14 07:07:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastien GISLAIN X-Patchwork-Id: 7393 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) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4SrNht1tFmz3wtG for ; Thu, 14 Dec 2023 07:07:42 +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 4SrNhr3ynbzrX; Thu, 14 Dec 2023 07:07:40 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4SrNhr1Cj3z30Wj; Thu, 14 Dec 2023 07:07:40 +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 4SrNhp0xtfz2yts for ; Thu, 14 Dec 2023 07:07:38 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp-26.smtpout.orange.fr [80.12.242.26]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.smtpout.orange.fr", Issuer "DigiCert Global G2 TLS RSA SHA256 2020 CA1" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4SrNhm6FnXzlZ for ; Thu, 14 Dec 2023 07:07:36 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=wanadoo.fr header.s=t20230301 header.b=Bxhrdozc; spf=softfail (mail01.ipfire.org: 80.12.242.26 is neither permitted nor denied by domain of sebastien.gislain@gmail.com) smtp.mailfrom=sebastien.gislain@gmail.com; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=wanadoo.fr header.s=t20230301 header.b=Bxhrdozc; spf=softfail (mail01.ipfire.org: 80.12.242.26 is neither permitted nor denied by domain of sebastien.gislain@gmail.com) smtp.mailfrom=sebastien.gislain@gmail.com; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1702537657; 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:dkim-signature; bh=djdTGQkc9bI9rC1/9neXW7wWfZY0qTo+9yB7mTAlsac=; b=wbhBp9O1JkR3htqbOkmkuqHT7vojWIQR7nNcfl8esNK636GDNMU4Q1gPUH2AKJuZ/vhuyl UG5MfRxjrDhoM4YAFRKqoG5SoA/uJfjbqsqI2cp0Ltd61NFdVwnYJpjk59UJPPKcUjDGkg EglR4Sw2h7soIINRJPDlhpOOibq14XBHtc2uVXS0Trfgz0vZoSnIkxku1O6VHnyFSratF+ sV8myl1BKDJf6mNM90tPTTV7/tVfmv8ujLPS0xTMw8wEjgB+94v4bw2GAgQoIY9Hwd9gDV G2/vudBZjZMIx39aV5rMFGoI6DnwzUI2+mT15xyj1k+PO6W1kLR8yTpZ6AAWOQ== ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1702537657; a=rsa-sha256; cv=none; b=v7IEiUdYj1ZAbyon5sYwGIRreuO9r2f6dTXTHYae2Q0pZRKRre6bZoeKRExJohGs9K8z6B eF1cOAxp9V5OtQiXwa93heevU3cUjFYJuSSvdFBI76XbwMcm4iwlqA180I+raCmdFlAF0H 4C6Ya3+pOT0XsdIeM0p28SgEnW/mYGXrRMo0AyhjNbaFzxvi419DxDtvrgTS/44nYsARH+ F/P+KzNeetPtcgGzPVK99UTI1HUhTRoEUpYFJCTkXjPebq+kmS6dqF//jp9mciUxLZz5uM me1DtEHOPqqG1gMbku1ZeUxtoRqblasTLt38Xz2l6zLYB5rIj8ohWwDq7XE/2Q== Received: from esx052.local ([90.16.56.107]) by smtp.orange.fr with ESMTPA id DfolrBxzB6wd8DfolrqzMi; Thu, 14 Dec 2023 08:07:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1702537656; bh=djdTGQkc9bI9rC1/9neXW7wWfZY0qTo+9yB7mTAlsac=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BxhrdozcMfR8/fJl65jEnuOEc9yGLvqi6bhBySV+r99ei4alIGbl762aHAxmqQHLM ccWl+kM6CQ3G9Gb0FzhpaiNir8WZ+UNDbLq6HchUB9Scq43mJM54Wf0MXQESyMQyok S1j+HoKwfrOEKBdtndG/1/4Mls4GbK1BsWLSE7XOXK+Z/Qtx8iFSbc4prWKKOvJtWv gekzqAarjk81tz6I+iqWGtm1zXPnxCrxr3luq5t+26pX/uo29VSz5E4LCvhn0qaTXJ YblT6VrCvqPaRjAybIPAvcldGDu/L6ZOcBNIONZfZujOQmNuJTjHOkoLC0zYFwME0I AUgW0l4rCaMIA== X-ME-Helo: esx052.local X-ME-Auth: Z2lzbGFpbi5zZWJhc3RpZW5Ab3JhbmdlLmZy X-ME-Date: Thu, 14 Dec 2023 08:07:36 +0100 X-ME-IP: 90.16.56.107 From: Sebastien GISLAIN To: development@lists.ipfire.org Subject: [PATCH] index.cgi: correct gpl-accepted in gpl_accepted Date: Thu, 14 Dec 2023 08:07:33 +0100 Message-Id: <20231214070733.69426-1-sebastien.gislain@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Queue-Id: 4SrNhm6FnXzlZ X-Spamd-Result: default: False [-3.69 / 11.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[wanadoo.fr:s=t20230301]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[80.12.242.26:from]; ONCE_RECEIVED(0.10)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, DKIM not aligned (relaxed),none]; IP_REPUTATION_SPAM(0.02)[asn: 3215(0.00), country: FR(0.01), ip: 80.12.242.26(0.00)]; MX_GOOD(-0.01)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[wanadoo.fr:dkim]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TAGGED_FROM(0.00)[]; FREEMAIL_CC(0.00)[gmail.com]; DKIM_TRACE(0.00)[wanadoo.fr:+]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RECEIVED_SPAMHAUS_PBL(0.00)[90.16.56.107:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_IN_DNSWL_NONE(0.00)[80.12.242.26:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_REPUTATION(0.00)[0]; TAGGED_RCPT(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:3215, ipnet:80.12.240.0/20, country:FR]; FROM_HAS_DN(0.00)[] X-Rspamd-Action: no action X-Rspamd-Server: mail01.haj.ipfire.org Message-ID-Hash: BFPISCMWTKBS6TQBBULVPBYRJ23BNSVB X-Message-ID-Hash: BFPISCMWTKBS6TQBBULVPBYRJ23BNSVB X-MailFrom: sebastien.gislain@gmail.com 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 CC: Sebastien GISLAIN 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: --- html/cgi-bin/index.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Bernhard Bitsch diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index c2c0962dc..adec877cb 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -74,7 +74,7 @@ my %mainsettings = (); my $connstate = &Header::connectionstatus(); -if ( -e "/var/ipfire/main/gpl-accepted" ) { +if ( -e "/var/ipfire/main/gpl_accepted" ) { if ($connstate =~ /$Lang::tr{'connecting'}/ || /$Lang::tr{'connection closed'}/ ){ $refresh = ""; }elsif ($connstate =~ /$Lang::tr{'dod waiting'}/ || -e "${General::swroot}/main/refreshindex") {