From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0EB38158020 for ; Fri, 16 Dec 2022 22:57:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF867E08CE; Fri, 16 Dec 2022 22:57:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id B1735E07FE for ; Fri, 16 Dec 2022 22:57:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id AAAF234118E for ; Fri, 16 Dec 2022 22:57:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12D207CC for ; Fri, 16 Dec 2022 22:57:16 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1671231430.c89929c39b281565db5dd4fd51c7c1509db976d6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/vtun/files/, net-vpn/vtun/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/vtun/files/vtun.rc net-vpn/vtun/vtun-3.0.3-r3.ebuild net-vpn/vtun/vtun-3.0.3-r4.ebuild net-vpn/vtun/vtun-3.0.4-r1.ebuild net-vpn/vtun/vtun-3.0.4-r2.ebuild X-VCS-Directories: net-vpn/vtun/ net-vpn/vtun/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c89929c39b281565db5dd4fd51c7c1509db976d6 X-VCS-Branch: master Date: Fri, 16 Dec 2022 22:57:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e1828536-dc85-4ad8-8773-4004a51e9e1a X-Archives-Hash: 0a3c1a6ac3406b04f66f0a04c2fda975 commit: c89929c39b281565db5dd4fd51c7c1509db976d6 Author: Jan-Espen Oversand radiotube org> AuthorDate: Fri Dec 16 20:16:44 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 16 22:57:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89929c3 net-vpn/vtun: Fix bashism in shell script Fix shell script compatibility issue in rc script (bashism). Closes: https://bugs.gentoo.org/849446 Signed-off-by: Jan-Espen Oversand radiotube.org> Closes: https://github.com/gentoo/gentoo/pull/28682 Signed-off-by: Sam James gentoo.org> net-vpn/vtun/files/vtun.rc | 3 ++- net-vpn/vtun/{vtun-3.0.3-r3.ebuild => vtun-3.0.3-r4.ebuild} | 0 net-vpn/vtun/{vtun-3.0.4-r1.ebuild => vtun-3.0.4-r2.ebuild} | 0 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net-vpn/vtun/files/vtun.rc b/net-vpn/vtun/files/vtun.rc index 7ef322985043..9d081eeb4f06 100644 --- a/net-vpn/vtun/files/vtun.rc +++ b/net-vpn/vtun/files/vtun.rc @@ -7,7 +7,8 @@ depend() { } start() { - IFS=$'\n' + IFS=$(printf '\n.'); # Set separator (IFS) to + IFS=${IFS%.}; # Remove - The was because shells remove trailing newlines with $(..) for line in `grep -v '^[[:space:]]*#' /etc/vtund-start.conf | grep -v '^[[:space:]]*$'` do echo $line | diff --git a/net-vpn/vtun/vtun-3.0.3-r3.ebuild b/net-vpn/vtun/vtun-3.0.3-r4.ebuild similarity index 100% rename from net-vpn/vtun/vtun-3.0.3-r3.ebuild rename to net-vpn/vtun/vtun-3.0.3-r4.ebuild diff --git a/net-vpn/vtun/vtun-3.0.4-r1.ebuild b/net-vpn/vtun/vtun-3.0.4-r2.ebuild similarity index 100% rename from net-vpn/vtun/vtun-3.0.4-r1.ebuild rename to net-vpn/vtun/vtun-3.0.4-r2.ebuild