Bug 529269 - Review Request: cmospwd - BIOS password cracker utility
Summary: Review Request: cmospwd - BIOS password cracker utility
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-15 19:51 UTC by Alexey Torkhov
Modified: 2009-10-21 00:54 UTC (History)
3 users (show)

Fixed In Version: 5.0-1.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-21 00:39:38 UTC
Type: ---
Embargoed:
david: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Alexey Torkhov 2009-10-15 19:51:27 UTC
Spec URL: http://atorkhov.fedorapeople.org/cmospwd.spec
SRPM URL: http://atorkhov.fedorapeople.org/cmospwd-5.0-1.local12.src.rpm
Description:
CmosPwd decrypts password stored in cmos used to access BIOS SETUP.
Works with the following BIOSes

    * ACER/IBM BIOS
    * AMI BIOS
    * AMI WinBIOS 2.5
    * Award 4.5x/4.6x/6.0
    * Compaq (1992)
    * Compaq (New version)
    * IBM (PS/2, Activa, Thinkpad)
    * Packard Bell
    * Phoenix 1.00.09.AC0 (1994), a486 1.03, 1.04, 1.10 A03, 4.05 rev 1.02.943,
      4.06 rev 1.13.1107
    * Phoenix 4 release 6 (User)
    * Gateway Solo - Phoenix 4.0 release 6
    * Toshiba
    * Zenith AMI

With CmosPwd, you can also backup, restore and erase/kill cmos.

Scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1748103

Rpmlint output clean.

Comment 1 David Nalley 2009-10-18 17:03:43 UTC
OK: rpmlint must be run on every package. The output should be posted in the review.
[ke4qqq@nalleyx60 SPECS]$ rpmlint cmospwd.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
[ke4qqq@nalleyx60 SPECS]$ rpmlint ../SRPMS/cmospwd-5.0-1.fc11.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
[ke4qqq@nalleyx60 SPECS]$ rpmlint ../RPMS/i586/cmospwd-5.0-1.fc11.i586.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
[ke4qqq@nalleyx60 SPECS]$ rpmlint ../RPMS/i586/cmospwd-debuginfo-5.0-1.fc11.i586.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

OK: The package must be named according to the Package Naming Guidelines .
OK: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption.
OK: The package must meet the Packaging Guidelines .
OK: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines .
OK: The License field in the package spec file must match the actual license. 
actual source files refer to GPLv2+
OK: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %doc.
OK: The spec file must be written in American English.
OK: The spec file for the package MUST be legible. 
OK: The sources used to build must match
[ke4qqq@nalleyx60 SOURCES]$ md5sum cmospwd-5.0.tar.bz2*
24c8caf61ff244dc2aae0ebfde47dd45  cmospwd-5.0.tar.bz2
24c8caf61ff244dc2aae0ebfde47dd45  cmospwd-5.0.tar.bz2.1

OK: The package MUST successfully compile and build into binary rpms on at least one primary architecture. 

This builds successfully for x86 - see above referenced koji build

OK: If the package does not build must have Excludearch and a bug filed. 

I suppose technically a bug should be filed for all arches it doesn't build for, but several mitigating factors apply here. BIOS is almost exclusively used in x86(-64) and so it doesn't do any good to have it working for s390
or something similar. I asked for a sanity check in #fedora and kanarip seems to think this is sane. sharkcz agreed but suggested a comment be added, which you have already done. 

OK: All build dependencies must be listed in BuildRequires, except for any that are listed in the exceptions section of the Packaging Guidelines ; inclusion of those as BuildRequires is optional. Apply common sense.
NA: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/ is strictly forbidden.
NA: Every binary RPM package (or subpackage) which stores shared library files (not just symlinks) in any of the dynamic linker's default paths, must call ldconfig in %post and %postun. 
OK: Packages must NOT bundle copies of system libraries.
NA: If the package is designed to be relocatable, the packager must state this fact in the request for review, along with the rationalization for relocation of that specific package.
OK: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory. 
OK: A Fedora package must not list a file more than once in the spec file's %files listings.
OK: Permissions on files must be set properly. Executables should be set with executable permissions, for example. Every %files section must include a %defattr(...) line.
OK: Each package must have a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
OK: Each package must consistently use macros. 
OK: The package must contain code, or permissable content.
NA: Large documentation files must go in a -doc subpackage. (The definition of large is left up to the packager's best judgement, but is not restricted to size. Large can refer to either size or quantity). 
OK: If a package includes something as %doc, it must not affect the runtime of the application. To summarize: If it is in %doc, the program must run properly if it is not present.
NA: Header files must be in a -devel package.
NA: Static libraries must be in a -static package. 
NA: Packages containing pkgconfig(.pc) files must 'Requires: pkgconfig' (for directory ownership and usability). 
NA: If a package contains library files with a suffix (e.g. libfoo.so.1.1), then library files that end in .so (without suffix) must go in a -devel package.
NA: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release}
NA: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built.
NA: Packages containing GUI applications must include a %{name}.desktop file
OK: Packages must not own files or directories already owned by other packages.
OK: At the beginning of %install, each package MUST run rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
OK: All filenames in rpm packages must be valid UTF-8. 

Thanks for the work

APPROVED

Comment 2 Alexey Torkhov 2009-10-18 19:19:46 UTC
Thanks for review!

New Package CVS Request
=======================
Package Name: cmospwd
Short Description: BIOS password cracker utility
Owners: atorkhov
Branches: F-10 F-11 F-12 EL-4 EL-5
InitialCC:

Comment 3 Kevin Fenzi 2009-10-19 16:20:09 UTC
cvs done.

Comment 4 Fedora Update System 2009-10-19 18:23:32 UTC
cmospwd-5.0-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cmospwd-5.0-1.fc12

Comment 5 Fedora Update System 2009-10-19 18:30:20 UTC
cmospwd-5.0-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/cmospwd-5.0-1.fc11

Comment 6 Fedora Update System 2009-10-19 18:31:13 UTC
cmospwd-5.0-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/cmospwd-5.0-1.fc10

Comment 7 Fedora Update System 2009-10-19 18:31:34 UTC
cmospwd-5.0-1.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/cmospwd-5.0-1.el5

Comment 8 Fedora Update System 2009-10-19 18:31:49 UTC
cmospwd-5.0-1.el4 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/cmospwd-5.0-1.el4

Comment 9 Fedora Update System 2009-10-21 00:39:32 UTC
cmospwd-5.0-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-10-21 00:53:58 UTC
cmospwd-5.0-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.