Created attachment 273217 [details] chntpw-100627 ebuild, renamed. chntpw-100627->chntpw-110511 From site: "2011-05-09 - New major features! Hive expansion! Library now does hive file expansion by default if needed to when adding keys/values (but you can turn it off, safe mode). If expansion occured, you will get a warning when writing back. .reg file import! Will read files from regedit.exe in most cases (UTF-16) but can miss on some international characters. Also reads "latin" (8 bit) files. There were a lot of goofs by me in the add/delete key and value handling, which made windows complain and lose data. Hope I managed to fix them. Also, found out more about how Windows does things, for example more details of empty name (default) value, zero-size values, large values (gets split internally) and other special cases. Did quite a lot of testing by importing for example the SOFTWARE\Classes tree with regedit.exe and importing it again into the DEFAULT hive with my tool, then ask windows to "Load hive" (in regedit.exe). If it does not complain in the event log, it is good. (Also, seems like windows has gotten better at not bluescreening on a corrupt registry hive, did not get a single one when doing this with pretty messed up hives in win7 and Vista) Be aware that .reg import is currently very slow, since I messed up the design for the string reading badly, and also the add routines is not exactly optimized. Consider it a proof of concept! Example: Import of SOFTWARE\Microsoft tree (exported by regedit.exe) into the small DEFAULT hive took more than 10 minutes on a pretty fast machine. Especially hex data is slow (one byte at a time.. lazy me..) WARNING: .reg file import does not do much sanity checking of the input .reg file. It will either crash during import or mess up the registry if the .reg file is bad. This version has no significant changes in the password (reset) handling part of the tools. On TODO list for some of the next version: Windows like API. Faster .reg import. Fix bugs!" Used the chntpw-100627 ebuild, renamed to chntpw-110511. Rebuilt the manifest, and voila, compiled perfectly.
Bumped in CVS. *chntpw-110511 (16 May 2011) 16 May 2011; Dane Smith <c1pher@gentoo.org> +chntpw-110511.ebuild: Version bump to 110511 wrt bug 367267. Thanks for reporting. Closing.