Summary: | net-dns/opendnssec-2.0.1: Bad sed in ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kévin Beaubestre <kevin+gentoo> |
Component: | Current packages | Assignee: | Marc Schiffbauer <mschiff> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch correcting sed |
Thanks for reporting and the patch! Applied... |
Created attachment 454798 [details, diff] Patch correcting sed In order to upgrade opendnssec from 1.4 to 2.0, there is a need to update a database used by opendnssec (kasp.db). The ebuild gives us the needed files under /usr/share/opendnssec/db/ but the sed at lines 199-203 breaks the migration shell script for two reasons: - the path to schema.{sqlite,mysql} (depending on the enabled USEflag) is missing its last directory (sql/); - this path should be assigned to the variable SCHEMA but the start of the line is being removed by the sed, thus the assignation becomes an attempt to execute the sql file. Attached is a working patch.