Command line client written in Java (VOMS-83)

[VOMS-122] RPM packaging Created: 26/Oct/12  Updated: 27/May/21  Resolved: 20/Nov/12

Status: Closed
Project: VOMS
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: Public (Visbile by non-authn users.)

Type: Sub-task Priority: Major
Reporter: Valerio Venturi [X] (Inactive) Assignee: Valerio Venturi [X] (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Andrea Ceccanti [ 16/Nov/12 ]

The version of commons-cli (1.0) that ships with SL5 breaks our option parsing mechanism.
So we embed commons-cli 1.2 in our dependency dir. I've changed the packaging script to fix the classloading
and now it works on SL5. On SL6 I thought that bouncycastle-mail was in EPEL, but I cannot find it in my
local SL6 machine, so I guess I will need the package also for that platform.
This can be set to done.
The repo is now in italiangrid.

Comment by Valerio Venturi [X] (Inactive) [ 16/Nov/12 ]

Added the conflicts.

Comment by Andrea Ceccanti [ 15/Nov/12 ]

The current spec file does not specify a conflict with the old voms-clients package, while it should.

Comment by Andrea Ceccanti [ 15/Nov/12 ]

All you need to do is download the repo file and put it in /etc/yum.repos.d.

Comment by Andrea Ceccanti [ 15/Nov/12 ]

BTW, I've forked voms-clients and fixed some stuff so that now the deployment works.
You can test stuff using this yum repo:

http://radiohead.cnaf.infn.it:9999/job/yumrepo_voms_clients_3_0_SL5/

Comment by Andrea Ceccanti [ 15/Nov/12 ]

The jar loading approach as implemented in the scripts needs to be changed.
When installing from RPMS it includes in the CLI all the jars installed in /usr/share/java.
I think we should rethink this, and let the rpm postinstall script create a classpath variable
that is leveraged by the scripts.

Comment by Valerio Venturi [X] (Inactive) [ 14/Nov/12 ]

First commit https://github.com/valerioventuri/voms-clients-rpm.

I still need to understand how the setting.xml get to the build machine and how I am supposed to know where it is.

I have not tested it with mock.

Done the same for voms-api-java https://github.com/valerioventuri/voms-api-java-rpm.

Comment by Valerio Venturi [X] (Inactive) [ 14/Nov/12 ]

Prepared Makefile and spec file following voms-api-java's. Need to make clear which is the authoritative font for the version. Still need to add all the requires for the deps.

Comment by Andrea Ceccanti [ 13/Nov/12 ]

This is indeed a voms-api-java packaging issue.

Comment by Andrea Ceccanti [ 13/Nov/12 ]

We have to decide whether taking bcmail in our belly or providing an RPM in the third-party EMI repo. I have created the RPM for bcmail so we have a real choice.

http://radiohead.cnaf.infn.it:9999/job/bcmail146-SL5/

Comment by Andrea Ceccanti [ 26/Oct/12 ]

5h

Generated at Fri May 08 03:39:15 CEST 2026 using Jira 11.3.2#11030003-sha1:bd741f0b02a315de9bddd49d71ae8ffde8b13b6c.