I found the spec after sending this. I see that it unpacks under var/ 
apache2 but I don't see a Requires statement requiring apache to be  
installed. Should this be specified or is it too restrictive  
specifying the brand of web server. There are also other requires of  
PHP5 and MySQL4 or PostgreSQL 8.0. I'm guessing the Requires statement  
can't handle "or's" at this time.

Bruce

On Apr 17, 2009, at 9:18 AM, Christian Kelly wrote:

> Bruce Rothermal wrote:
>> Morning all
>>
>> I need some guidance from web application experienced people.
>>
>> I have questions about packaging and install of an opensource  
>> package I'm working on. The source is all php so there is no  
>> compile/build. The package is a web application "MediaWiki".  
>> Install instructions say that it requires a web server like Apache  
>> and a few others which amounts to the amp consolidation package.   
>> The package is then to be extracted to a web-accessible folder on  
>> the server. I take that to mean it is some where in the web servers  
>> accessible folders. So the standard /usr location may not be  
>> appropriate here. Can someone please advise as to any area that is  
>> standardized for OpenSolaris? Also would the packaging contain each  
>> individual file in the source package or bring down to the user  
>> machine the tar.gz file with instruction file to unpack as needed.
>>
>> Thanks for any guidance you can provide.
>>
>> Bruce
>> _______________________________________________
>> sw-porters-discuss mailing list
>> sw-porters-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/sw-porters-discuss
>
> Right, so all your spec will do is extract the mediawiki tarball and  
> package those files up. If you look at the existing mediawiki spec  
> file in SFE:
>
> http://pkgbuild.svn.sourceforge.net/viewvc/pkgbuild/spec-files-extra/trunk/SFEmediawiki.spec?revision=891&view=markup
>
> You'll see how to do that. It's quite simple, and that spec has a  
> decent amount of comments. It basically puts the tarball under /var/ 
> apache2/2.2/htdocs/mediawiki.
>
> _Christian
>
>


Reply via email to