Bug 82265 - textproc/rfcdiff: refers to (normally) non-existent /bin/bash
Summary: textproc/rfcdiff: refers to (normally) non-existent /bin/bash
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jean-Yves Lefort
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 13:00 UTC by Bengt Ahlgren
Modified: 2005-06-15 19:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bengt Ahlgren 2005-06-15 13:00:30 UTC
	textproc/rfcdiff (port version rfcdiff-1.23) wants to execute
/bin/bash which is non-existing on a normal system.  (Bash installs in
/usr/local/bin.)

There are also two non-critical issues with textproc/rfcdiff:

(1) May want to add dependency to textproc/wdiff

(2) FreeBSD awk does not support --version which results in rfcdiff
printing (but otherwise working properly):

awk: unknown option --version ignored

awk: no program given

Fix: 

Patch "#!/bin/bash" to "#!/bin/sh" (or possibly patch "#!/bin/bash" to
"#!/usr/local/bin/bash" and add a runtime dependency to shells/bash)

Add a runtime dependency on textproc/wdiff

Remove the line "awkver=$($AWK --version | head -n 1)" from rfcdiff
How-To-Repeat: bengta@P142$ rfcdiff
bash: /usr/local/bin/rfcdiff: /bin/bash: bad interpreter: No such file or directory
Comment 1 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-06-15 13:15:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jylefort

Take.
Comment 2 Lars Eggert 2005-06-15 18:12:02 UTC
Fix is in http://www.freebsd.org/cgi/query-pr.cgi?pr=82284.

Lars
-- 
Lars Eggert                                     NEC Network Laboratories
Comment 3 Jean-Yves Lefort freebsd_committer freebsd_triage 2005-06-15 19:31:21 UTC
State Changed
From-To: open->closed

Fixed, thanks!