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.
Thanks for reporting and the patch! Applied...