Bug 533304 - JSS in Fedora violates Fedora packaging guidelines
Summary: JSS in Fedora violates Fedora packaging guidelines
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: jss
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-06 00:21 UTC by Dmitri Pal
Modified: 2010-01-08 20:13 UTC (History)
4 users (show)

Fixed In Version: 4.2.6-3.fc11
Clone Of:
Environment:
Last Closed: 2010-01-08 19:59:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Sample of potential changes to JSS (UNTESTED!!!) (2.01 KB, patch)
2009-11-20 00:10 UTC, Matthew Harmsen
no flags Details | Diff

Description Dmitri Pal 2009-11-06 00:21:03 UTC
During recent review of the Dogtag (Certificate System) for inclusion in Fedora it turned out that jss package in Fedora has some violations of the Fedora packaging guidelines. These issues need to be corrected.

Comment 1 Dmitri Pal 2009-11-06 00:21:46 UTC
Matthew please add the details.

Comment 2 Bug Zapper 2009-11-16 15:11:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Matthew Harmsen 2009-11-20 00:07:49 UTC
Originally, two Dogtag JNI libraries, osutil and symkey, followed the JSS packaging guidelines:

Bugzilla Bug #521983 -  New package for Dogtag PKI: osutil
* https://bugzilla.redhat.com/show_bug.cgi?id=521983

Bugzilla Bug #522272 -  New Package for Dogtag PKI: symkey
* https://bugzilla.redhat.com/show_bug.cgi?id=522272


However, the Fedora packaging guidelines state:
https://fedoraproject.org/wiki/Packaging/Java#Packaging_JAR_files_that_use_JNI
Quoted:
JAR files that require JNI shared objects MUST be installed in
%{_libdir}/%{name}. The JNI shared objects themselves must also be installed in
%{_libdir}/%{name}.


Eventually, the following changes were made:

Bugzilla Bug #529919 -  Wrap "System.load()" calls in JNI libraries within try-catch block
* https://bugzilla.redhat.com/show_bug.cgi?id=529919


Since Dogtag does not simultaneously support 32-bit and 64-bit packages, the only caveat to the Fedora packaging guidelines was placing a symlink in the additional packages (e. g. - for osutil):

32-bit i386/i486/i586/i686:
* /usr/lib/java/osutil.jar -> /usr/lib/osutil/osutil-1.3.0.jar
* /usr/lib/osutil
* /usr/lib/osutil/libosutil.so
* /usr/lib/osutil/osutil-1.3.0.jar
* /usr/share/doc/osutil-1.3.0
* /usr/share/doc/osutil-1.3.0/LICENSE

64-bit x86_64:
* /usr/lib/java/osutil.jar -> /usr/lib64/osutil/osutil-1.3.0.jar
* /usr/lib64/osutil
* /usr/lib64/osutil/libosutil.so
* /usr/lib64/osutil/osutil-1.3.0.jar
* /usr/share/doc/osutil-1.3.0
* /usr/share/doc/osutil-1.3.0/LICENSE

Comment 4 Matthew Harmsen 2009-11-20 00:10:38 UTC
Created attachment 372388 [details]
Sample of potential changes to JSS (UNTESTED!!!)

Comment 8 Fedora Update System 2010-01-07 18:12:33 UTC
jss-4.2.6-5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/jss-4.2.6-5.fc12

Comment 9 Fedora Update System 2010-01-07 18:12:38 UTC
jss-4.2.6-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/jss-4.2.6-3.fc11

Comment 10 Fedora Update System 2010-01-08 19:59:00 UTC
jss-4.2.6-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-01-08 20:13:18 UTC
jss-4.2.6-3.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.