Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Fof on December 04, 2008, 04:21:07 PM

Title: Create my own SMEserver Package
Post by: Fof on December 04, 2008, 04:21:07 PM
hi guys,

I'm a freshman on SMEserver. I have to create several SMEserver packages and commit its later on the contribs.org repository.

I have some (stupid) questions.

At the first, I'm trying to package a CMS which is called "ovidentia". I have succeed to package it but there's no special SMEserver's configuration (I mean with templates). I really want to package it properly and that's I'm trying to do.

I had a look on the Phpmyadmin which is maintained by Darell May and I wonder if I could get the ".spec" in order to copy some differences with a "basic" rpm ?

My second question is how could I manage the ibays where my CMS will be installed ?

Many thanks.

Regards.
Title: Re: Create my own SMEserver Package
Post by: David Harper on December 04, 2008, 04:44:08 PM
Check out http://wiki.contribs.org/Web_Application_RPM 8-)
Title: Re: Create my own SMEserver Package
Post by: Fof on December 04, 2008, 04:50:43 PM
That's I'm reading... I'm fixing this first issue. Thanks for that.

Actually, I'm always trying to look for a solution to manage the ibays where there will be my web application.
Title: Re: Create my own SMEserver Package
Post by: David Harper on December 04, 2008, 05:16:12 PM
Web apps that are packaged into RPMs are generally installed in /opt, not ibays. That way they can't be broken by a sleepy admin accidentally deleting their associated ibay.
Title: Re: Create my own SMEserver Package
Post by: Fof on December 04, 2008, 05:30:15 PM
I have to configure a virtual host. I now understand.

Many thanks.
Title: Re: Create my own SMEserver Package
Post by: David Harper on December 04, 2008, 06:01:51 PM
Make sure you follow the guidelines for modifying your configuration changes (i.e. with a template), otherwise the application will break at the first minor system update or configuration change.
Title: Re: Create my own SMEserver Package
Post by: Fof on December 04, 2008, 06:07:09 PM
The link which is helpful for what I want to do : http://fisheye1.atlassian.com/browse/~raw,r=1.6/smecontribs/rpms/smeserver-phpmyadmin/contribs7/smeserver-phpmyadmin.spec

Otherwise, I'll have a look in the guidelines when I'll update ".spec".

thanks.