From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 10 02:29:21 2014 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1ADA21A6 for ; Mon, 10 Nov 2014 02:29:21 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD94568A for ; Mon, 10 Nov 2014 02:29:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAA2TKe8003890 for ; Mon, 10 Nov 2014 02:29:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 186879] [PATCH] textproc/rarian: De-bashify Date: Mon, 10 Nov 2014 02:29:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: christian.mangin@gmail.com X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2014 02:29:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186879 christian.mangin@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #140337|0 |1 is obsolete| | --- Comment #3 from christian.mangin@gmail.com --- Created attachment 149235 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149235&action=edit Patch to remove bash dependency from rarian Thank you for looking at this patch :) I've updated the patch to apply against the current version in ports. As a remark the expression ${x##0:@:} _is_ compatible with sh. It's just a parameter expansion to remove the prefix '0:@:' from the value of the variable $x. I dont think '@' has any special meaning in this case. But don't spend too much time on that since the scripts: - rarian-sk-rebuild - rarian-sk-update are complete no-ops. They don't do anything. Zero. Nothing. They're just there for decoration it seems. But they do depend on bash. As for the 2 other scripts: - rarian-sk-config doesn't do much. It just print directories. - rarian-sk-extract is just a simple wrapper around xsltproc. In both case the switch to sh is trivial. So all in all, rarian depends on bash for very little reasons. Please note that upstream seems dormant since 2008. It looks that no bug reports have been processed in the last 6 years. -- You are receiving this mail because: You are the assignee for the bug.