Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to dump webapp-config?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Nicolinux
Apprentice
Apprentice


Joined: 22 Dec 2002
Posts: 204

PostPosted: Tue Sep 07, 2004 10:31 pm    Post subject: How to dump webapp-config? Reply with quote

Hi,

I would like to not be forced to use webapp-config when I emerge phpmyadmin. I don't like the way webapp-config works. I know that I could inject webapp-config before installing phpmyadmin but this produces the following error:

Code:

* vhosts USE flag not set - auto-installing using webapp-config
 * This is an installation
 * phpmyadmin-2.5.7_p1 is not installed - using install mode
 * Running /usr/sbin/webapp-config -I -h localhost -u root -d /phpmyadmin phpmyadmin 2.5.7_p1
/usr/sbin/ebuild.sh: line 483: /usr/sbin/webapp-config: No such file or directory


Thanks for your help

Stefan
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Tue Sep 07, 2004 11:13 pm    Post subject: Re: How to dump webapp-config? Reply with quote

Nicolinux wrote:
I would like to not be forced to use webapp-config when I emerge phpmyadmin. I don't like the way webapp-config works.

No chance. All web related packages will be ported to it.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Nicolinux
Apprentice
Apprentice


Joined: 22 Dec 2002
Posts: 204

PostPosted: Wed Sep 08, 2004 7:50 am    Post subject: Reply with quote

The freedom of choices...
However I guess I am stuck with installing those thing on my own, without portage.

Thanks anyway.

Stefan
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Mon Oct 11, 2004 7:04 pm    Post subject: Re: How to dump webapp-config? Reply with quote

Carlo wrote:
Nicolinux wrote:
I would like to not be forced to use webapp-config when I emerge phpmyadmin. I don't like the way webapp-config works.

No chance. All web related packages will be ported to it.
This is egemony, dictatorship, ... :evil:

I hate it too. The furthest I would agree with the glep is for ebuilds to dump them in some common repository (/usr/share/webapps is ok). For the rest, it's food for cat.

Any other pills we have to swallow? (à la Microsoft way)
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Mon Oct 11, 2004 8:05 pm    Post subject: Reply with quote

Well, no reason to show us your most scary face. :P Read GLEP 11, man webapp-config and whatelse you may find, join the gentoo-web-user mailing list and /flame/ there. The chance to get heard is much higher this way.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Tue Oct 12, 2004 5:05 am    Post subject: Reply with quote

Carlo wrote:
Well, no reason to show us your most scary face. :P
You meant to say, my hugly face :wink:
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Thu Oct 28, 2004 9:44 am    Post subject: Reply with quote

Well. I have to admin that webapp-config is the first "feature" of Gentoo that I can really, utterly and with extreme violence hate.

Man. That thing cost me an hour of my life plus tweo weeks I will die sooner because of additional strain from heavy stress :evil:
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Thu Oct 28, 2004 10:09 am    Post subject: Reply with quote

Post your rant here. :twisted:
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
westi
n00b
n00b


Joined: 23 Apr 2004
Posts: 5
Location: UK

PostPosted: Thu Oct 28, 2004 2:17 pm    Post subject: webapp-config Reply with quote

What is it that you all particulaly hate about webapp-config?

With use=-vhosts it should make no difference to your usage of webapps installed via portage.

Be specific with you problems - post bugs or join gentoo-web-user and vent your anger ;-)
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Thu Oct 28, 2004 2:45 pm    Post subject: Re: webapp-config Reply with quote

westi wrote:
What is it that you all particulaly hate about webapp-config?

With use=-vhosts it should make no difference to your usage of webapps installed via portage.

Be specific with you problems - post bugs or join gentoo-web-user and vent your anger ;-)


Note the use of "should" :twisted:
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
westi
n00b
n00b


Joined: 23 Apr 2004
Posts: 5
Location: UK

PostPosted: Thu Oct 28, 2004 3:11 pm    Post subject: Re: webapp-config Reply with quote

wgi wrote:
westi wrote:
What is it that you all particulaly hate about webapp-config?

With use=-vhosts it should make no difference to your usage of webapps installed via portage.

Be specific with you problems - post bugs or join gentoo-web-user and vent your anger ;-)


Note the use of "should" :twisted:


With use=-vhosts (The default btw) you should not need to interact directly with webapp-config at all afaiu.

What specific problems do you have with webapp-config? Please share them so that the dev's can address them rather than just saying you think it is is rubbish!! :twisted:
Back to top
View user's profile Send private message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Wed Nov 10, 2004 6:55 pm    Post subject: Reply with quote

Because Carlo has closed my own thread I just post it here again.

After searching and reading a while in the forum and in this thread I found that it should be enough to set the use flag "-vhost" to get rid of this webapp-config. But unfortunatly it's not true. On the contrary webapp-config's behaviour is more annoying than without use flag "-vhost".

And I didn't find a useful and readable and understandable documentation for this webapp-config. This GLEP 11 thing is only useful for developers and manpages - also the webapp-config manpage - are just a documentation about the syntax. They don't explain how a program works generally.

As I have written in another thread I don't want to have webapps like htdig, phpsysinfo and phpmyadmin installed more than once. And I want to know how and where to configure those webapps and I don't have time to read and think about the meaning of the webapp-config manpage.

And it takes much more time to learn such a useless webapp-config than just copying the (only once) installed webapps into different directories if someone needs it.

Maybe there could be some cases in which webapp-config could be useful but for me and for many other people as it can be read in the forum it's annoying. So this webapp-config MUST become OPTIONAL! Maybe it could be done with a new useflag. But the default setting of this use flag should be turned off.

So how do I get rid of webapp-config?

@Carlo:
This one question is answered but not with an acceptable answer. ;-)
And, please, read my hole posting. Then you will find some more problems I and some more people have with webapp-config.

BTW, if the developers create such a tool and compel the people using it they first should write a reasonable documentation which explains in details what it is for, how it works and how it is used.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Wed Nov 10, 2004 7:15 pm    Post subject: Reply with quote

cyberpatrol wrote:
Because Carlo has closed my own thread I just post it here again.

I don't have the right to close. I reported it as a dupe, because it does not make sense to clutter the db with multiple threads on the same topic.

cyberpatrol wrote:
and manpages - also the webapp-config manpage - are just a documentation about the syntax. They don't explain how a program works generally.

No. The man page includes all necessary information.

cyberpatrol wrote:
This one question is answered but not with an acceptable answer. ;-)

You won't get another one.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Wed Nov 10, 2004 8:45 pm    Post subject: Reply with quote

Carlo wrote:
I don't have the right to close. I reported it as a dupe, because it does not make sense to clutter the db with multiple threads on the same topic.


Because of this I couldn't answer there.

Carlo wrote:
No. The man page includes all necessary information.


No they don't. They don't explain exactly how it works. There's e.g. not explained what the many empty directories in /usr/share/webapp like conf, hook etc. are for. And it is not explained why it creates e.g. for phpmyadmin a config file different from the original and why the original config file is there only as a copy with the extension .orig.

There has to be a really detailed documentation in the Gentoo Handbook particularly because it unfortunately became such an elementary tool as portage.

Another problem with webapp-config: It's far too unflexible.
As far as I've seen there's only one variable with which the vhost directory can be set.

I personally have three of these directories - one for my local webapps like phpmyadmin to administer my local MySQL database, one for the production releases of the websites I'm developing and one for the development releases of the websites I'm developing. The local webapps need to be on a Linux filesystem. The other directories have to be on a FAT32 partition because sometimes I need to access them from Windows.

And I need webapps in some but not in all of these websites.

So it's a lot easier to install (emerge) the webapps once and then copy them by hand than automatically with such a webapp-config. But one of Gentoo's advantages is portage's "version control system".

So I can only repeat myself. webapp-config MUST become OPTIONAL!
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Wed Nov 10, 2004 11:27 pm    Post subject: Reply with quote

cyberpatrol wrote:
So I can only repeat myself. webapp-config MUST become OPTIONAL!


Please, please, please.

Forcing the user to do it "the way it is done best" is the windoze way...
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
Loki|muh
n00b
n00b


Joined: 30 Jan 2003
Posts: 54

PostPosted: Thu Nov 11, 2004 9:47 pm    Post subject: Reply with quote

it's like using debian :/
Back to top
View user's profile Send private message
Dr_b_
n00b
n00b


Joined: 18 Jan 2004
Posts: 33

PostPosted: Thu Nov 18, 2004 9:22 pm    Post subject: Reply with quote

I too Loathe webapp-config, i can't figure out how to disable it, with -vhost useflags doing nothing.

My web "apps" dont get installed in my webdir, they get put somewhere else, and im not running virtual hosts, so i really really do not understand why it wouldnt place my apps in the www dir. So what you all are saying, carlo, is that i have to install the application twice. Once with emerge, then again, with this byzantine webapp-config "tool" which is supposed to make things easier.

I have a better idea, how about I just 1) install them manually, thus defeating the excellent package manager portage, or 2) use a distro that doesn't force you to use webapp-config.


This is Tyranny, and the people will revolt.


Last edited by Dr_b_ on Thu Nov 18, 2004 9:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Thu Nov 18, 2004 9:30 pm    Post subject: Reply with quote

Dr_b_ wrote:
My web "apps" dont get installed in my webdir, they get put somewhere else, and im not running virtual hosts, so i really really do not understand why it wouldnt place my apps in the www dir.


Yes... I had one app installed twice by webapp-config. Possibly was a hardlink instead of a softlink or it really got copied, but one thing is sure: it was ugly as hell.

Quote:
So what you all are saying, carlo, is that i have to install the application twice. Once with emerge, then again, with this byzantine webapp-config "tool" which is supposed to make things easier.


What would that offer you? Just install the tarball of the app and be done for. Simply ignore portage for that one and look at it as being "just data".

Unfortunately, gentoo seems to be slowly moving the same way the other bloat-me-like-windoze distros are going :-/
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
Dr_b_
n00b
n00b


Joined: 18 Jan 2004
Posts: 33

PostPosted: Thu Nov 18, 2004 9:37 pm    Post subject: Reply with quote

Quote:

What would that offer you? Just install the tarball of the app and be done for. Simply ignore portage for that one and look at it as being "just data".


It wouldn't offer me anything, that's why im not going to use it and do it manually. I was merely stating the process i would go thru to install, for example, a "webapp".

Quote:

Unfortunately, gentoo seems to be slowly moving the same way the other bloat-me-like-windoze distros are going :-/


I agree, trying to automate and perfect and dummify this process just for the minority of vhost users, who may or may not need this or like it is not good when you force everyone (the majority) who do not run vhosts, to use it.

I can sum up what webapp-config is similar to: Wizards for Web Application.

What are they going to "webappify" next? Friends, and you are my friends, this a is a good joke carried too far, we need to let our voices be heard. I'll probably get banned now from the forums for saying something bad about this "George Bush Webapp". The mentality i've seen expressed about it is similar to the presidents "You are either with us (Webapp-config) or against us" and tough if you don't like it.
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Thu Nov 18, 2004 9:53 pm    Post subject: Reply with quote

LOL.

Slightly off boundaries 8) but there is some truth in what you say. I urge the developers to rethink how webapp-config can be made optional.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Thu Nov 18, 2004 10:37 pm    Post subject: Reply with quote

This could be done very easily.

Just create a new USE flag named webapp, webappconf or something like that. If this USE flag is set then webapps are installed with webapp-config as it is done at the moment. If this USE flag is not set then webapps are just installed once in a predefined directory (e.g. /var/www/localhost by default) as it was done before webapp-config.

Maybe for the second case (if this USE flag is not set) there could be made an option to define the installation directory for webapps. Maybe through an environment variable or a config file or something like that.
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Thu Nov 18, 2004 11:06 pm    Post subject: Reply with quote

Agreed.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Nov 19, 2004 12:00 am    Post subject: Reply with quote

Dr_b_ wrote:
this a is a good joke carried too far, we need to let our voices be heard.

That's the point everyone seems to ignore. I say it again: Non of the webapp developers reads anything in forums.g.o. You lament here for nothing.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Fri Nov 19, 2004 12:06 am    Post subject: Reply with quote

Then this is a very good time for the webapp developers to change this.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9626
Location: beyond the rim

PostPosted: Fri Nov 19, 2004 10:20 am    Post subject: Reply with quote

cyberpatrol wrote:
Then this is a very good time for the webapp developers to change this.

Tell them. The adress for the mailing list has been posted at least once in this thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum