Bug 1002275

Summary: Review Request: ima-evm-utils - IMA/EVM Utilities
Product: [Fedora] Fedora Reporter: Vivek Goyal <vgoyal>
Component: Package ReviewAssignee: Josh Bressers <bressers>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bressers, dan, hannsj_uhl, i, kevin, notting, pwouters
Target Milestone: ---Flags: bressers: fedora-review+
gwync: 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: 2013-09-30 09:48:04 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: 998565, 1384450    
Attachments:
Description Flags
Package review document
none
Package review bressers: review+

Description Vivek Goyal 2013-08-28 18:59:10 UTC
Spec URL: http://people.redhat.com/vgoyal/ima-evm-utils/ima-evm-utils.spec
SRPM URL: http://people.redhat.com/vgoyal/ima-evm-utils/ima-evm-utils-0.6-1.fc19.src.rpm
Description: 

Hi,

I just finished packaging ima-evm-utils. I would appreciate if it can be reviewed for inclusion in Fedora 20.

This utilties will help sign a binary and store its signature in security.ima xattr. And these signatures can be verified at run time.

IMA is designed to do lot more but above is primary use case I am interested in right now.

Fedora Account System Username: vgoyal

Comment 1 Vivek Goyal 2013-08-28 19:25:04 UTC
Here is rpmlint report.

$ rpmlint ima-evm-utils.spec ../RPMS/*/ima-evm-utils*.rpm ../SRPMS/ima-evm-utils*.rpm
ima-evm-utils.spec: W: invalid-url Source0: ima-evm-utils-0.6.tar.gz
ima-evm-utils.x86_64: W: spelling-error %description -l en_US executables -> executable, executable s, executrices
ima-evm-utils.x86_64: W: no-manual-page-for-binary evmctl
ima-evm-utils.src: W: spelling-error %description -l en_US executables -> executable, executable s, executrices
ima-evm-utils.src: W: invalid-url Source0: ima-evm-utils-0.6.tar.gz
3 packages and 1 specfiles checked; 0 errors, 5 warnings.

Comment 2 Paul Wouters 2013-08-28 20:13:15 UTC
I will sponsor Vivek, but  as I started this package review originally, I will let someone else formally review it (though I'll review it as well)

Comment 3 Josh Bressers 2013-08-28 20:19:30 UTC
I can do the review. I'm taking the bug.

Comment 4 Christopher Meng 2013-08-29 02:26:45 UTC
Where does your source come from?

I can only see 0.2...

http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/

Comment 5 Josh Bressers 2013-08-29 13:10:21 UTC
Created attachment 791795 [details]
Package review document

Here are the only things I found in this review that need to be addressed.

The spec file claims this package is covered under LGPLv2. The COPYING file is for GPLv2, the single source file uses LGPLv2 in its header comment. - I'm not a lawyer, I don't know how to sort this one (generally we include the COPYING file in the docs directory). Spot can probably clarify.

I can't find the upstream source tarball for this. Can the full URL be added to the spec file.

Otherwise it looked good. The full report is attached.

Comment 6 Vivek Goyal 2013-08-29 13:39:25 UTC
(In reply to Christopher Meng from comment #4)
> Where does your source come from?
> 
> I can only see 0.2...
> 
> http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/

Maintainer has released 0.6 yesterday but for some reason URL of that tar file is not showing up at sourceforge. Even maintainer is confused. When he logs in he can see the file there and it says URL will show up shortly and it has been close to 24 hours and URL is not showing yet.

He sent me tar file in mail personally and that's what I used for this source rpm.

I will ping him again and see if he can do something to make situation better.

BTW, git tree for this source is here and there one can see that version 0.6 has been released.

http://sourceforge.net/p/linux-ima/ima-evm-utils/ci/master/tree/

Comment 7 Vivek Goyal 2013-08-29 14:04:10 UTC
(In reply to Josh Bressers from comment #5)
> 
> The spec file claims this package is covered under LGPLv2. The COPYING file
> is for GPLv2, the single source file uses LGPLv2 in its header comment. -
> I'm not a lawyer, I don't know how to sort this one (generally we include
> the COPYING file in the docs directory). Spot can probably clarify.

Thanks Josh. This is a good point. I have sent mail to upstream maintainer for clarification in this matter.

Comment 9 Vivek Goyal 2013-09-05 02:43:14 UTC
Ok, both licensing and source issues have been sorted out. I have uploaded a new set of spec and source rpm file. Pleaese review..

http://people.redhat.com/vgoyal/ima-evm-utils/ima-evm-utils.spec
http://people.redhat.com/vgoyal/ima-evm-utils/ima-evm-utils-0.6-1.fc19.src.rpm

Comment 10 Vivek Goyal 2013-09-05 02:43:48 UTC
Following is rpmlint report.

[makerpm@localhost SPECS]$ rpmlint ima-evm-utils.spec ../RPMS/*/ima-evm-utils*.rpm ../SRPMS/ima-evm-utils*.rpm
ima-evm-utils.x86_64: W: spelling-error %description -l en_US executables -> executable, executable s, executrices
ima-evm-utils.x86_64: W: no-manual-page-for-binary evmctl
ima-evm-utils.src: W: spelling-error %description -l en_US executables -> executable, executable s, executrices
3 packages and 1 specfiles checked; 0 errors, 3 warnings.

Comment 11 Vivek Goyal 2013-09-05 02:44:23 UTC
Now this package is GPLV2. Both COPYING and src/evmct.c have been modified to reflect this fact.

Comment 12 Vivek Goyal 2013-09-05 02:45:20 UTC
Maintainer has got the sourceforge linke working. Original source of tar ball is following.

http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/ima-evm-utils-0.6.tar.gz/

Comment 13 Vivek Goyal 2013-09-05 18:19:29 UTC
bresser mentioned that new spec file does not have COPYING file in %doc. Fixed that and uploaded new files.

Comment 14 Vivek Goyal 2013-09-05 18:20:30 UTC
Following is rpmlint output with new spec file and rpms.

[makerpm@localhost SPECS]$ rpmlint ima-evm-utils.spec ../RPMS/*/ima-evm-utils*.rpm ../SRPMS/ima-evm-utils*.rpm
ima-evm-utils.x86_64: W: spelling-error %description -l en_US executables -> executable, executable s, executrices
ima-evm-utils.x86_64: E: incorrect-fsf-address /usr/share/doc/ima-evm-utils-0.6/COPYING
ima-evm-utils.x86_64: W: no-manual-page-for-binary evmctl
ima-evm-utils.src: W: spelling-error %description -l en_US executables -> executable, executable s, executrices
3 packages and 1 specfiles checked; 1 errors, 3 warnings.

Comment 15 Vivek Goyal 2013-09-05 18:21:02 UTC
Notice fsf address is old one in COPYING file. I have informed upstream maintainer about it.

Comment 16 Josh Bressers 2013-09-05 18:44:53 UTC
Created attachment 794444 [details]
Package review

The only possible issue here is an incorrect fsf address. This will be addressed upstream and isn't a reason to hold up the package.

Comment 17 Vivek Goyal 2013-09-05 21:07:03 UTC
scratch koji build of package.

http://koji.fedoraproject.org/koji/taskinfo?taskID=5902553

Comment 18 Vivek Goyal 2013-09-05 21:13:54 UTC
New Package SCM Request
=======================
Package Name: ima-evm-utils
Short Description: IMA/EVM support utilities
Owners: vgoyal
Branches: f20
InitialCC:

Comment 19 Gwyn Ciesla 2013-09-06 12:18:49 UTC
fedora-review flag not set

Comment 20 Gwyn Ciesla 2013-09-06 13:40:03 UTC
Git done (by process-git-requests).

Comment 21 T.C. Hollingsworth 2013-09-08 01:54:16 UTC
Please clear the FE-NEEDSPONSOR blocker when you sponsor someone (or intend to do so).  This makes it easier to find packages that really do require sponsorship in the tracker bug.  Thanks!

Comment 22 Christopher Meng 2013-09-30 09:48:04 UTC
Please remember to close the bug.