cancel
Showing results for 
Search instead for 
Did you mean: 

Packaging Alfresco with RPM

dmakovey
Champ in-the-making
Champ in-the-making
I'm packaging up Alfresco for our environment using RPM and have some questions related to that:

1. there's a ton of jars in
alfresco/WEB-INF/lib/
with external libraries. My question is whether I can use JPackage provided packages for those instead and remove bundled ones. Is there a guide somewhere which ranges of versions of libraries would work with Alfresco? Reason is: we have environment where the whole J2EE stack comes from RPM packages and whenever there's a need to update library (security vulnerability or bugfix etc.) we do it system-wide which is opposite of how alfresco is bundled (I took the smallest bundle - WAR file).

2. is anybody interested in results (RPMs of Alfresco-Enterprise) ?

3. If there is interest in RPMs is it OK to post it including Alfresco-Enterprise bundles or should I strip out those leaving it up to end-users to download bundles from Alfresco and build their own RPMs using our SPEC files ?
7 REPLIES 7

jottley
Confirmed Champ
Confirmed Champ
Ah a topic near and dear to my heart  Smiley Very Happy

1.  I would not try to use external dependent packages to provide these libraries.  Here is why:
    There are some libraries were we have needed to make modifications to fix issues.  Those are typically noted with a _patched.  As Alfresco grows you never know when we may have to do this with something else.
    We may be dependent on specific version.  While it would be great to move to the latest and greatest, Alfresco may need more modification and testing to work with the latest and greatest
    Some of these aren't available as rpms either in the wild or through jpackage and it would be a lot of work for one person to undertake and make packages for all of them
Put all of the above together with your use of Enterprise and you may create an unsupportable situation for yourself and us.

2. I would be interested in seeing what you come up with.  I am currently tasked with created Linux packages of Alfresco Community.  Most of the work is already done.  I am targeting for my first pass, openSUSE 10.3, Fedora 8 and Ubuntu 7.10 (Gusty).  (I'll post a link to the work I have done soon)

3. It will be nice to have RPM versions of Enterprise, but better if you just posted your SPEC files.  We would like to maintain ourselves as the source for the official Enterprise packages.

dmakovey
Champ in-the-making
Champ in-the-making
1.  I would not try to use external dependent packages to provide these libraries.  Here is why: …

I see your point. Too bad - I like things nicely trimmed Smiley Wink

2. I would be interested in seeing what you come up with.  I am currently tasked with created Linux packages of Alfresco Community.  Most of the work is already done.  I am targeting for my first pass, openSUSE 10.3, Fedora 8 and Ubuntu 7.10 (Gusty).  (I'll post a link to the work I have done soon)

3. It will be nice to have RPM versions of Enterprise, but better if you just posted your SPEC files.  We would like to maintain ourselves as the source for the official Enterprise packages.

I'm about one day away from finalizing my SPEC for RH EL5 - should I post it here or PM it to you ?

jottley
Confirmed Champ
Confirmed Champ
Either way.

dmakovey
Champ in-the-making
Champ in-the-making
http://rpms.athabascau.ca/SRPMS/alfresco-2.1.2-EL5.t6_8au.nosrc.rpm

that's my first stab at it. Take a look at README-redhat.txt inside for details on how things are organized. Suggestions and comments are very much appreciated and welcome.

dmakovey
Champ in-the-making
Champ in-the-making
Got things bit more polished, so for those interested here's new version:

http://rpms.athabascau.ca/SRPMS/alfresco-2.1.2-EL5.t6_9au.nosrc.rpm

I'll be posting new releases under http://rpms.athabascau.ca/SRPMS as I progress.

cpot
Champ in-the-making
Champ in-the-making
Ah a topic near and dear to my heart  Smiley Very Happy

2. I would be interested in seeing what you come up with.  I am currently tasked with created Linux packages of Alfresco Community.  Most of the work is already done.  I am targeting for my first pass, openSUSE 10.3, Fedora 8 and Ubuntu 7.10 (Gusty).  (I'll post a link to the work I have done soon)

3. It will be nice to have RPM versions of Enterprise, but better if you just posted your SPEC files.  We would like to maintain ourselves as the source for the official Enterprise packages.

Did you make any progress ? Do you plan also an RPM for Mandriva ?

Thanks
Christopher

dmakovey
Champ in-the-making
Champ in-the-making
sorry lost track of this thread - yes, I did update RPMs for RedHat. I'm not working on Mandriva port, however if Mandriva is FHS-compliant and is Jpackage.org - compatible it should just work.