SCIENTIFIC-LINUX-USERS Archives

November 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kelvin Raywood <[log in to unmask]>
Reply To:
Kelvin Raywood <[log in to unmask]>
Date:
Fri, 13 Nov 2009 11:20:42 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (60 lines)
Troy Dawson wrote:
>>> Note: jdk-1.6.0_17-fcs.x86_64.rpm is not signed, and we cannot sign 
>>> it without breaking it.

Konstantin Olchanski wrote:
>> Can you fix "yum" instead, so all updates are not blocked by the 
>> unsigned jdk rpm,  ...

Shane Voss wrote:
> We use a script to move such ill-behaved RPMs in to a separate 
> repository, ...
> 
> Re-arranging the SL repos in this way might be the least effort 
> work-around.

I spoke to Troy about this a couple of weeks ago at LBL.  It's not 
feasible make such a change to already released versions.  Changes to 
the rpm (yum-conf) that provides the yum repo files invariably leads to 
problems  for those of us the modify them (such as enabling sig 
checking) since the new versions get installed as .rpmnew.

Perhaps it could be considered for the next release but I think that 
Troy is hoping for java nirvana with openjdk so that he can drop the SUN 
rpm completely.

We build and sign java rpms ourselves and exclude jdk and 
java-*-sun-compat from the SL repos.  This gets around the sig checking 
problem.   We use a modified version of the jpackage nosrc rpm that sets 
up javaws and the 64-bit browser-plugin correctly (using the 
alternatives scheme).  We build versions for SL-4 and SL-5 that use the 
correct paths for X11 binaries and font encodings.

If you're interested, you can grab  our modified version of the jpackage 
nosrc rpm from:
http://trshare.triumf.ca/~kray/java/java-1.6.0-sun-17-1.nosrc.rpm

It doesn't contain the java binaries since we're not licensed to 
redistribute those.  That's also why I can't make our pre-built rpms 
available externally.

To build the java rpms
Download jdk-6u17-linux-x64.bin and/or jdk-6u17-linux-i566.bin from
http://java.sun.com/javase/downloads/widget/jdk6.jsp

Put these in the SOURCES dir of your rpm builld tree.

SL-4>  rpmbuild --rebuild --define "el4 1" java-1.6.0-sun-17-1.nosrc.rpm

or

SL-5>  rpmbuild --rebuild --define "el5 1" java-1.6.0-sun-17-1.nosrc.rpm

These packages conflict with jdk and java-1.6.0-sun-compat that are in 
the SL base, so I don't think they're appropriate for contrib.

Hope this helps someone,

Kel Raywood
TRIUMF

ATOM RSS1 RSS2