Bug 489614 - Review Request: perl-Authen-Krb5-Admin - Perl extension for MIT Kerberos 5 admin interface
Summary: Review Request: perl-Authen-Krb5-Admin - Perl extension for MIT Kerberos 5 ad...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-10 22:20 UTC by Christian Krause
Modified: 2009-03-23 15:52 UTC (History)
4 users (show)

Fixed In Version: 0.11-2.fc10
Clone Of:
Environment:
Last Closed: 2009-03-23 15:51:29 UTC
Type: ---
Embargoed:
j: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Christian Krause 2009-03-10 22:20:12 UTC
Spec URL: http://chkr.fedorapeople.org/review/perl-Authen-Krb5-Admin.spec
SRPM URL: http://chkr.fedorapeople.org/review/perl-Authen-Krb5-Admin-0.11-1.fc10.src.rpm

Description:
Authen::Krb5::Admin is an object-oriented interface to the Kerberos 5
admin server.  Currently only MIT KDCs are supported, but the author
envisions seamless integration with other KDCs.

rpmlint: 
RPMS/i386/perl-Authen-Krb5-Admin-* SRPMS/perl-Authen-Krb5-Admin-0.11-1.fc10.src.rpm SPECS/perl-Authen-Krb5-Admin.spec
3 packages and 1 specfiles checked; 0 errors, 0 warnings.

koji:
F11: https://koji.fedoraproject.org/koji/taskinfo?taskID=1235646
F10: https://koji.fedoraproject.org/koji/taskinfo?taskID=1235667
F9: https://koji.fedoraproject.org/koji/taskinfo?taskID=1235674

Comment 1 Jason Tibbitts 2009-03-10 23:27:29 UTC
I don't see your name in the Fedora account system.  Is this your first package?

Comment 2 Jason Tibbitts 2009-03-10 23:28:23 UTC
Erm, duh, please ignore me.  Your information is private and as such prevents searches.

Comment 3 Jason Tibbitts 2009-03-12 19:44:26 UTC
Please note that the License: tag should indicate the license of the final, built package.  You have:
  # admin.h - MIT
  # ppport.h - GPL+ or Artisic (same as any version of Perl)
  # everything else: BSD (two clause)
  License:        MIT and BSD and ( GPL+ or Artistic )

yet admin.h and pport.h are not in the final package; they are merely compiled with the rest of the code.

Honestly I don't know "GPL+ or Artistic" combines with both MIT and BSD code when all of it is compiled together.  My guess is that GPL+ dominates, but I don't know what happens to Artistic.  Blocking FE-Legal for an opinion.

Comment 4 Orcan Ogetbil 2009-03-13 03:05:51 UTC
Other than the license issue brought up by Jason, I will bring up some issues, questions and suggestions. (About the license issue, I think we should go with BSD, since everything that goes into the final binary RPM is BSD.)

* In the build.log I see:
   checking for libk5crypto ... not found (using libcrypto)
This is not found because we have this line in Makefile.PL
   my $KRB5_LIBDIR = "$PREFIX/lib"    ;
I think this line need to be patched or sed'ed to use the correct %{_lib}

! BR: krb5-devel is unnecessary. openssl-devel will pull that up.

? This package owns the same directories with the perl-Authen-Krb5 package. Is this intentional? Or should this package require perl-Authen-Krb5? I know that there is an exception rule for perl packages. I was wondering if this package makes use of that exception rule.

! Please make the description span the 80 columns.

* Each package must consistently use macros. You should either use the "perl, make, chmod, ..." notation or "%{__perl}, %{__make}, %{__chmod}, ..." notation. A mixture is not desired.

Comment 5 Tom "spot" Callaway 2009-03-13 15:23:52 UTC
Well, we're not using Artistic, only GPL. We only list Artistic for historical reasons, at this point. There aren't any compatibility issues. Either:

License: GPL+  
or 
License: MIT and BSD and (GPL+ or Artistic)

would be correct here. Up to the packager.

Lifting FE-Legal.

Comment 6 Jason Tibbitts 2009-03-13 18:07:12 UTC
Well, the latter is what's already there, so I'll just go ahead.

* source files match upstream.  sha256sum:
   273a9866a5b927315e98518ac2aeb3083effb58816815122923d3fac4ae5c29e  
   Authen-Krb5-Admin-0.11.tar.gz
* package meets naming and versioning guidelines.
* specfile is properly named, is cleanly written and uses macros consistently.
* summary is OK.
* description is OK.
* dist tag is present.
* build root is OK.
* license field matches the actual license.
* license is open source-compatible.
* license text included in package.
* latest version is being packaged.
* BuildRequires are proper.
* compiler flags are appropriate.
* %clean is present.
* package builds in mock (rawhide, x86_64).
* package installs properly.
* debuginfo package looks complete.
* rpmlint is silent.
* final provides and requires are sane:
   Admin.so()(64bit)
   perl(Authen::Krb5::Admin) = 0.11
   perl-Authen-Krb5-Admin = 0.11-1.fc11
   perl-Authen-Krb5-Admin(x86-64) = 0.11-1.fc11
  =
   libcom_err.so.2()(64bit)
   libcrypto.so.8()(64bit)
   libkadm5clnt.so.5()(64bit)
   libkadm5clnt.so.5(kadm5clnt_5_MIT)(64bit)
   libkrb5.so.3()(64bit)
   perl >= 0:5.004
   perl(:MODULE_COMPAT_5.10.0)
   perl(AutoLoader)
   perl(Carp)
   perl(DynaLoader)
   perl(Exporter)
   perl(strict)
   perl(vars)

* %check is necessarily disabled.
* no shared libraries are added to the regular linker search paths.
* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* no generically named files
* code, not content.
* documentation is small, so no -doc subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.
* no headers.
* no pkgconfig files.
* no static libraries.
* no libtool .la files.

APPROVED

The package review process needs reviewers!  If you haven't done any package
reviews recently, please consider doing one.

Comment 7 Orcan Ogetbil 2009-03-13 18:21:37 UTC
Jason,

Is it really okay to ignore the build.log warning (the multilib error) and the macro inconsistency that I indicated above (along with other things)?

Comment 8 Christian Krause 2009-03-13 18:28:36 UTC
(In reply to comment #7)
> Is it really okay to ignore the build.log warning (the multilib error) and the
> macro inconsistency that I indicated above (along with other things)?  

I'll take care of these items before committing the package to CVS. I'll update SRPM/Spec file later today and I would be glad if you could verify the fixes.

Comment 9 Jason Tibbitts 2009-03-13 18:46:37 UTC
I don't see any macro inconsistency in the spec I'm looking at.  I didn't see a build log error when I built this but perhaps I'm just missing it.  There was no directory ownership issue that I saw; the rules for Perl module directory ownership are complex enough to get their own section in the guidelines.  Was there something else you believe that I've missed?

Comment 10 Christian Krause 2009-03-13 19:51:41 UTC
New Package CVS Request
=======================
Package Name: perl-Authen-Krb5-Admin
Short Description: Perl extension for MIT Kerberos 5 admin interface
Owners: chkr
Branches: F-9 F-10

Comment 11 Christian Krause 2009-03-13 20:21:55 UTC
Thanks to all for the reviews and clarifications!

(In reply to comment #4)
> * In the build.log I see:
>    checking for libk5crypto ... not found (using libcrypto)
> This is not found because we have this line in Makefile.PL
>    my $KRB5_LIBDIR = "$PREFIX/lib"    ;
> I think this line need to be patched or sed'ed to use the correct %{_lib}

Fixed. Package builds now without the missing lib message on both 64bit archs:
https://koji.fedoraproject.org/koji/taskinfo?taskID=1240524

> ! BR: krb5-devel is unnecessary. openssl-devel will pull that up.

Removed.

> ? This package owns the same directories with the perl-Authen-Krb5 package. Is
> this intentional? Or should this package require perl-Authen-Krb5? I know that
> there is an exception rule for perl packages. I was wondering if this package
> makes use of that exception rule.

Yes, I think that the mentioned exception from http://fedoraproject.org/wiki/Packaging/Perl#Directory_Ownership applies.

> ! Please make the description span the 80 columns.

Fixed.

> * Each package must consistently use macros. You should either use the "perl,
> make, chmod, ..." notation or "%{__perl}, %{__make}, %{__chmod}, ..." notation.
> A mixture is not desired.  

Fixed.

Regarding the license I've chosen the 2nd option offered by spot.

The new packages are uploaded:

Spec URL: http://chkr.fedorapeople.org/review/perl-Authen-Krb5-Admin.spec
SRPM URL:
http://chkr.fedorapeople.org/review/perl-Authen-Krb5-Admin-0.11-2.fc10.src.rpm

Comment 12 Kevin Fenzi 2009-03-16 02:12:40 UTC
cvs done.

Comment 13 Fedora Update System 2009-03-18 19:26:10 UTC
perl-Authen-Krb5-Admin-0.11-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/perl-Authen-Krb5-Admin-0.11-2.fc10

Comment 14 Fedora Update System 2009-03-18 19:27:45 UTC
perl-Authen-Krb5-Admin-0.11-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/perl-Authen-Krb5-Admin-0.11-2.fc9

Comment 15 Fedora Update System 2009-03-23 15:51:24 UTC
perl-Authen-Krb5-Admin-0.11-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2009-03-23 15:52:44 UTC
perl-Authen-Krb5-Admin-0.11-2.fc10 has been pushed to the Fedora 10 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.