Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367267 - app-crypt/chntpw-110511 version bump
Summary: app-crypt/chntpw-110511 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dane Smith (RETIRED)
URL: http://pogostick.net/~pnh/ntpasswd/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-14 17:50 UTC by ql882
Modified: 2011-05-16 16:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
chntpw-100627 ebuild, renamed. (chntpw-110511.ebuild,959 bytes, text/plain)
2011-05-14 17:50 UTC, ql882
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ql882 2011-05-14 17:50:11 UTC
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.
Comment 1 Dane Smith (RETIRED) gentoo-dev 2011-05-16 16:10:50 UTC
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.