Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2014 02:29:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 186879] [PATCH] textproc/rarian: De-bashify
Message-ID:  <bug-186879-6497-6FwuwvI4Jj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-186879-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-186879-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-186879-6497-6FwuwvI4Jj>