Hey, This is my first attempted ebuild. chntpw enables you to view information and change user passwords in a Windows NT SAM userdatabase file. chntpw homepage - http://home.eunet.no/~pnordahl/ntpasswd/ attached is my ebuild and a patch that will compile it without changing the Makefile. <lsmod@hotmail.com> Daniel Fullmer
Created attachment 20765 [details] ebuild
Created attachment 20767 [details, diff] patch
typo >attached is my ebuild and a patch that will compile it without changing the Makefile. attached is my ebuild and a patch that will compile it by changing the Makefile.
Created attachment 20875 [details] chntpw-0.99.1.ebuild added a line of "sed" to enable CFLAGS in the make.conf
Anyway, i was wondering how i would define the version number on this ebuild. Portage doesn't like chntpw-0.99.1-030126.ebuild which i what i think it really should be. chntpw version 0.99.1 030126, (c) Petter N Hagen Any comments on how the version number should be.
another typo... >added a line of "sed" to enable CFLAGS in the make.conf added a line of "sed" to enable CFLAGS in the Makefile :-)
Created attachment 23945 [details] chntpw-0.99.1.030126.ebuild Well, now that i have a little more experiance with making ebuilds, i remade my old chntpw ebuild. The new ebuild is a lot cleaner than the old one. Anyway, i was wondering what was up with line 108 of chntpw.c. I have no idea what the author is trying to do here, as des_set_odd_parity is already defined in des.h. I just removed the line to make it compile, and the program seems to work. (don't know how my old ebuild even worked because of this line. maybe it's because i had an older gcc than i do now)
Created attachment 23946 [details, diff] chntpw-0.99.1.030126.diff
I didn't find this bug before, so I've done up by own ebuild for the latest version and placed it in the tree.