Bug 465372
Summary: | Review Request: chntpw - Change passwords in Windows SAM files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Conrad Meyer <cse.cem+redhatbugz> |
Component: | Package Review | Assignee: | Patrice Dumas <pertusus> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-package-review, notting, pahan, pertusus, rjones |
Target Milestone: | --- | Flags: | pertusus:
fedora-review+
j: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-13 05:09:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 182235 |
Description
Conrad Meyer
2008-10-02 22:15:22 UTC
I can't see why you don't use the initial Makefile. Something along make CC="%__cc" CFLAGS="$RPM_OPT_FLAGS" LIBS="-lcrpyto" chntpw cpnt reged And use simple cp or install to install the resulting executables. Using cmake while upstream doesn't seems too much to me. openssl in requires is not useful, it is automatically found by rpm. It is better to avoid using Fedora whenever possible, so please rename README.Fedora to something more neutral like README.Dist cp should be cp -p to keep timestamp. Also I suggest using %{_mandir}/man8/%{name}.8* to catch any kind of compression. I am afraid that, if accepted, you'll need contact legal (through spot, he is the contact) because of the crypto and export stuff. > I can't see why you don't use the initial Makefile. The initial Makefile seemed horribly broken enough to warrant replacement (-m32 among other things!). If it builds using correct Fedora flags with make like you suggest I don't see any problem using the original Makefile though. > openssl in requires is not useful, it is automatically found by rpm. Ok. > It is better to avoid using Fedora whenever possible, so please rename > README.Fedora to something more neutral like README.Dist > cp should be cp -p to keep timestamp. > Also I suggest using %{_mandir}/man8/%{name}.8* to catch any kind of > compression. Ok. > I am afraid that, if accepted, you'll need contact legal (through spot, > he is the contact) because of the crypto and export stuff. I'll contact him. New URLs: Spec: http://konradm.fedorapeople.org/fedora/SPECS/chntpw.spec SRPM: http://konradm.fedorapeople.org/fedora/SRPMS/chntpw-0.99.6-2.fc9.src.rpm The files cannot be found? Interesting. skvidal moved fedorapeople to a different machine earlier today, perhaps that had something to do with it. I'll try to upload them again. Try it again now. I'd prefer if the chntpw-README.Fedora was also renamed. The main aim of not having 'Fedora' is to be reused, so it shouldn't be anywhere: https://fedoraproject.org/wiki/PackageMaintainers/Packaging_Tricks The -p for keeping timestamps is notfor newly created executables, since their timestamp is the one of the build anyway, but for the files that may have their timestamps kept, here the man page and README file. Just a suggestion, staticaly compiled executable should be kept, they don't do harm (and could even be used in-source), even though they are not of use in fedora. I also suggest a comment in the spec file telling where the version comes from since the source archive has another version string. New URLs: Spec: http://konradm.fedorapeople.org/fedora/SPECS/chntpw.spec SRPM: http://konradm.fedorapeople.org/fedora/SRPMS/chntpw-0.99.6-3.fc9.src.rpm rpmlint says: chntpw.i386: W: wrong-file-end-of-line-encoding /usr/share/doc/chntpw-0.99.6/WinReg.txt I think that this should be fixed. Otherwise everything seems ok. New URLs: Spec: http://konradm.fedorapeople.org/fedora/SPECS/chntpw.spec SRPM: http://konradm.fedorapeople.org/fedora/SRPMS/chntpw-0.99.6-4.fc9.src.rpm * rpmlint is silent * follow guidelines * free software, license included * match upstream: 09addfe7ae469677da39ed66d83858d3 chntpw-source-080526.zip * %files section right Just one suggestion, I think it is better to use sed for the end of line, and to keep timestamp, like: sed -e 's/\r$//' WinReg.txt > WinReg.txt.eol touch -c -r WinReg.txt WinReg.txt.eol mv WinReg.txt.eol WinReg.txt This is only asuggestion, so APPROVED Your suggestions are greatly appreciated. Thanks much for the review! New Package CVS Request ======================= Package Name: chntpw Short Description: Change passwords in Windows SAM files Owners: konradm Branches: F-9 F-10 InitialCC: cvs done. http://koji.fedoraproject.org/koji/taskinfo?taskID=876482 <-- In rawhide. Package Change Request ====================== Package Name: chntpw New Branches: EL-5 Owners: rjones Does Conrad want to maintain this in EPEL? or doesn't care? I have no interest in EPEL; Richard is totally free to take it. CVS done. Thanks Jason. Conrad - if you do need access to the EL-5 branch then just make the acl change request through pkgdb and I'll approve it straight away. Sure -- thanks. |