Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52157 - twiki does not install
Summary: twiki does not install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
: 62848 72345 (view as bug list)
Depends on:
Blocks: 53057
  Show dependency tree
 
Reported: 2004-05-26 20:53 UTC by Lars Weiler (RETIRED)
Modified: 2005-06-29 08:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
twiki-20030201-r1.ebuild (twiki-20030201-r1.ebuild,2.03 KB, text/plain)
2004-07-19 09:58 UTC, Renat Lumpau (RETIRED)
Details
files/postinstall-en.txt (postinstall-en.txt,904 bytes, text/plain)
2004-07-19 09:59 UTC, Renat Lumpau (RETIRED)
Details
files/reconfig (reconfig,631 bytes, text/plain)
2004-07-19 09:59 UTC, Renat Lumpau (RETIRED)
Details
files/twiki.conf (twiki.conf,538 bytes, text/plain)
2004-07-19 09:59 UTC, Renat Lumpau (RETIRED)
Details
twiki-20030201-r1.ebuild (twiki-20030201-r1.ebuild,1.76 KB, text/plain)
2004-07-22 08:17 UTC, Renat Lumpau (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Weiler (RETIRED) gentoo-dev 2004-05-26 20:53:44 UTC
First of all, the ebuilds cries for:

 * Ebuilds (like this one) that use the webapp-apache.eclass need to
 * be converted to use the new webapp.eclass, to be compatible with
 * webapp-config.
 *
 * Please file a bug on http://bugs.gentoo.org/, stating that this
 * ebuild needs converting to use the new approach.

Second, it does not install the content of the tar-ball but the content of /var/tmp/portage

Seems that this ebuilds needs a good rewrite...
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-06-01 14:50:30 UTC
quick fixed the ebuild

works now
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2004-07-19 09:58:17 UTC
Created attachment 35752 [details]
twiki-20030201-r1.ebuild

Here's the new twiki ebuild. 
I noticed that the current twiki ebuild has rather strange dependencies---is
that correct, or am I totally off?
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2004-07-19 09:59:09 UTC
Created attachment 35753 [details]
files/postinstall-en.txt
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2004-07-19 09:59:30 UTC
Created attachment 35754 [details]
files/reconfig
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2004-07-19 09:59:59 UTC
Created attachment 35755 [details]
files/twiki.conf
Comment 6 Renat Lumpau (RETIRED) gentoo-dev 2004-07-22 08:17:00 UTC
Created attachment 35952 [details]
twiki-20030201-r1.ebuild

small bugs
Comment 7 scott.claridge 2004-08-03 22:21:08 UTC
I used this andit worked fine apart from a problem with the config scripts that used the wrong config file location. The snippet of the output that complains is:
====
 *     Installing from /usr/share/webapps/twiki/20030201-r1/hostroot
sed: can't read /etc/apache/conf/addon-modules/twiki.conf: No such file or directory

You are almost done!
====
I'm guessing the the reconfig file doesn't trigger the right decision of using apache2, which I am. twiki.conf actually exists in /etc/apache2/conf/modules.d/97_twiki.conf but with the wrong directory location still specified. I don't know enough web-app stuff to tell, but I'm guessing ${MY_SERVERCONFIGDIR} isn't the right variable...
Comment 8 Renat Lumpau (RETIRED) gentoo-dev 2004-08-05 07:08:01 UTC
The check_version function in the hook is a poor attempt to figure out which webserver is going to be used. The proper way to do this is to export ${VHOST_SERVER}, and use that. The fix is a trivial one-liner, so let's see what Stu says, and once it's official, I'll upload the new version.
Comment 9 Carter Smithhart 2004-08-11 21:12:11 UTC
I noticed this sort of thing is missing from the new ebuild.. Is there any way of doing this sort of thing in the new webapp way of doing things?

	sed -i -e 's:\/home\/httpd:\/var\/www:g' lib/TWiki.cfg
#	sed -i -e 's:urlpath\/to:var\/www\/localhost\/htdocs:g' \
#		bin/.htaccess.txt
#	echo "Options ExecCGI" >> bin/.htaccess.txt

Personally, I want the ebuild to handle the .htaccess file for me :) automation is the way to go!
Comment 10 Carter Smithhart 2004-08-11 22:02:14 UTC
Also, the 97_twiki.conf (or twiki.conf) file required a bunch of 
/var/www/twiki/ 
to 
/var/www/localhost/htdocs/twiki/
changes. Perhaps this can be built in as well?
Comment 11 Renat Lumpau (RETIRED) gentoo-dev 2004-09-04 16:42:40 UTC
*** Bug 62848 has been marked as a duplicate of this bug. ***
Comment 12 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-11-24 07:59:50 UTC
*** Bug 72345 has been marked as a duplicate of this bug. ***
Comment 13 David Grant 2004-11-24 22:23:01 UTC
Why isn't the 20030201-r1 ebuild in portage yet?  It can't be any worse than what is there now.
Comment 14 Patrizio Bassi 2005-01-28 14:39:39 UTC
ehi guys, bump to webapp config!
Comment 15 Renat Lumpau (RETIRED) gentoo-dev 2005-06-29 08:37:39 UTC
twiki-20041030 has been committed. Old and very broken versions have been
cleaned out. The web-apps team would like to apologize for the loss of
functionality you may have experienced.