VMiklos wrote:

>On Sun, Sep 18, 2005 at 09:14:54AM +0100, Alex Smith <[EMAIL PROTECTED]> wrote:
>  
>
>>I'm new to Frugalware, but I would like to contribute so...
>>
>>As I mentioned yesterday on IRC, I am working on Frugalware packages for
>>web-based applications, like Mambo, phpBB, etc.
>>
>>What I have done to ease configuration of these things is write a
>>framework called webappconfig. This is a shell script containing
>>functions to perform tasks like creating databases, removing them,
>>inserting data, and performing sanity checks (looking for required
>>apps). So far, I have written the base webappconfig script, and I have
>>made a frugalware package for phpBB which uses the system. I have
>>uploaded them to my site, and you can find the things here:
>>
>>http://www.tuxtalk.org/webapps/webappconfig/FrugalBuild
>>http://www.tuxtalk.org/webapps/phpbb/FrugalBuild
>>http://www.tuxtalk.org/webapps/phpbb/phpbbsetup <- This is a setup
>>script which uses webappconfig
>>http://www.tuxtalk.org/webapps/phpbb/phpbb.install <- This install
>>script tells the user to run 'phpbbsetup'.
>>
>>Please give your comments on this system.
>>    
>>
>
>looks great, but we can improve it :)
>
>1) a possible typo
>[EMAIL PROTECTED]:~$ .
>~/programs/frugalware/frugalware-current/webappconfig
>[EMAIL PROTECTED]:~$ mysql_root_pass
> * I need to know if you have set a MySQL root password
> * Please answer with 'y' or 'n': y
>bash: [: !==: binary operator expected
>
>probably this is just a typo
>
>2) message syntax
>how about using the same format that we use in makepkg?
>
>3) a simple makefile
>the standard at most apps is to use ./configure (if there is any) &&
>make && make install
>
>INSTALL = /usr/bin/install -c
>DESTDIR =
>libdir = /usr/lib/webappconfig
>
>compile:
>
>install:
>        $(INSTALL) -d $(DESTDIR)$(libdir)
>        $(INSTALL) webappconfig $(DESTDIR)$(libdir)
>
>udv / greetings,
>VMiklos
>
>  
>
OK, I've fixed these. The new FrugalBuild and package can be found here:

http://www.tuxtalk.org/webapps/webappconfig/FrugalBuild
http://www.tuxtalk.org/webapps/webappconfig/webappconfig-0.1.2-1-i686.fpm

-- 
The one and only alex_extreme :P

http://www.tuxtalk.org
TuxTalk - The ultimate Linux community

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to