Bug 109768 - Update port databases/mysqlard add bash dependency
Summary: Update port databases/mysqlard add bash dependency
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: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 21:20 UTC by Pankov Pavel
Modified: 2007-03-18 22:00 UTC (History)
0 users

See Also:


Attachments
file.diff (535 bytes, patch)
2007-03-02 21:20 UTC, Pankov Pavel
no flags Details | Diff
mysqlard-bash2sh.patch (5.19 KB, patch)
2007-03-16 15:14 UTC, Pankov Pavel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pankov Pavel 2007-03-02 21:20:03 UTC
All shell scripts installed by this port use bash interpreter, but it isn't listed as a dependency.

Fix: Add runtime dependency on bash.

Patch attached with submission follows:
How-To-Repeat: - Deinstall bash (if installed)
- cd /usr/ports/databases/mysqlard
- make install
- Try running any script provided by this port
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-02 21:20:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Gabor Kovesdan freebsd_committer freebsd_triage 2007-03-14 12:27:36 UTC
Hello Pankov,

have you thought of patching the provided scripts to use /bin/sh? What 
do you think, will they work or do they require bash at all? Maybe, 
could you test them?


Thanks in advance,
Gabor
Comment 3 Pankov Pavel 2007-03-16 15:14:14 UTC
Gabor Kovesdan wrote:
> Hello Pankov,
> 
> have you thought of patching the provided scripts to use /bin/sh? What 
> do you think, will they work or do they require bash at all? Maybe, 
> could you test them?

Hello!

Yes it perfectly works with /bin/sh after a small patch. Here is the 
full patch which removes bash dependencies from mysqlard (attached).
Comment 4 Gabor Kovesdan freebsd_committer freebsd_triage 2007-03-16 20:50:13 UTC
State Changed
From-To: feedback->open

Maintainer timeout. 


Comment 5 Gabor Kovesdan freebsd_committer freebsd_triage 2007-03-16 20:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

Take.
Comment 6 dfilter service freebsd_committer freebsd_triage 2007-03-17 22:22:24 UTC
gabor       2007-03-17 22:22:19 UTC

  FreeBSD ports repository

  Modified files:
    databases/mysqlard/files mysqlard.sh.in patch-aa patch-ab 
                             patch-ac patch-ad patch-ae patch-ag 
                             pkg-message.in 
  Log:
  - Use /bin/sh and do not depend on bash
  
  PR:             ports/109768
  Submitted by:   Pankov Pavel <pankov_p@mail.ru>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.2       +5 -5      ports/databases/mysqlard/files/mysqlard.sh.in
  1.2       +1 -1      ports/databases/mysqlard/files/patch-aa
  1.2       +1 -1      ports/databases/mysqlard/files/patch-ab
  1.2       +1 -1      ports/databases/mysqlard/files/patch-ac
  1.2       +1 -1      ports/databases/mysqlard/files/patch-ad
  1.2       +1 -1      ports/databases/mysqlard/files/patch-ae
  1.2       +1 -1      ports/databases/mysqlard/files/patch-ag
  1.2       +1 -1      ports/databases/mysqlard/files/pkg-message.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Gabor Kovesdan freebsd_committer freebsd_triage 2007-03-18 21:59:52 UTC
State Changed
From-To: open->closed

Committed, thanks!