#27330 closed defect (fixed)
smartmontools @5.40_0: update-smart-drivedb script requires GNU sed
Reported by: | takanori@… | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | gsed | Cc: | |
Port: | smartmontools |
Description
update-smart-drivedb script doesn't work properly with BSD sed since it contains ERE.
Here is a patch to fix this problem.
Attachments (2)
Change History (7)
Changed 14 years ago by takanori@…
Attachment: | smartmontools.diff added |
---|
comment:2 Changed 14 years ago by takanori@…
I know TIMTOWTDI. ;-)
In this case, using GNU sed is more reliable than using BSD sed with -E option, I think.
Changed 14 years ago by Christian.Franke@…
Attachment: | update-smart-drivedb-sed.patch added |
---|
This should work with any sed
comment:3 Changed 14 years ago by Christian.Franke@…
Please test update-smart-drivedb-sed.patch with BSD sed if possible.
Then I could fix this upstream (Smartmontools Ticket #126).
comment:4 Changed 14 years ago by takanori@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Your patch worked perfectly. (tested on Mac OS X 10.6.5/x86_64 and 10.5.8/ppc)
Committed in r73687 - Thanks!
comment:5 Changed 14 years ago by Christian.Franke@…
Thanks for testing. Committed upstream in r3214.
Note: See
TracTickets for help on using
tickets.
smartmontools.diff