Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77308 - New Ebuild for TWiki [should be tested]
Summary: New Ebuild for TWiki [should be tested]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-09 20:52 UTC by Richard Cantzler
Modified: 2005-06-29 08:38 UTC (History)
0 users

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


Attachments
twiki-20040902-r1.ebuild (twiki-20040902-r1.ebuild,2.05 KB, application/octet-stream)
2005-01-09 20:54 UTC, Richard Cantzler
Details
twiki-20040902-r1.ebuild (twiki-20040902-r1.ebuild,2.18 KB, application/octet-stream)
2005-01-12 23:06 UTC, Richard Cantzler
Details
twiki-20040902-gentoo.patch (twiki-20040902-gentoo.patch,455 bytes, patch)
2005-01-12 23:07 UTC, Richard Cantzler
Details | Diff
twiki-20040902-twiki.conf (twiki-20040902-twiki.conf,683 bytes, application/octet-stream)
2005-01-12 23:08 UTC, Richard Cantzler
Details
twiki-20040902-gentoo.patch (twiki-20040902-gentoo.patch,455 bytes, patch)
2005-01-12 23:18 UTC, Richard Cantzler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Cantzler 2005-01-09 20:52:48 UTC
This should help resolve a number of open bugs.

53057 	nor 	P2 	x86 	web-apps@gentoo.org 	NEW 		twiki 20030201 ebuild has wrong dependencies

60460 	nor 	P2 	All 	web-apps@gentoo.org 	NEW 		www-apps/twiki needs testing w/ PHP 5

76782 	tri 	P3 	All 	web-apps@gentoo.org 	NEW 		web-apps/twiki is GPL

The dependencies should be correct now, testing with PHP 5 is incorrect, TWiki uses perl, and this ebuild lists TWiki as GPL.

This also might address bug 52157, as I used the last attachment there as a template for this ebuild (I changed very little).

Reproducible: Always
Steps to Reproduce:
Comment 1 Richard Cantzler 2005-01-09 20:54:18 UTC
Created attachment 48077 [details]
twiki-20040902-r1.ebuild
Comment 2 Richard Cantzler 2005-01-09 20:54:58 UTC
Comment on attachment 48077 [details]
twiki-20040902-r1.ebuild

Fixed License to GPL, dependencies, etc
Comment 3 Richard Cantzler 2005-01-10 16:09:31 UTC
Instead of mail-mta/sendmail, could also use dev-perl/libnet since TWiki supports mailing via Net::SMTP provided by libnet
Comment 4 David Grant 2005-01-12 00:44:03 UTC
I'd like to recommend that twiki be removed from portage. It is just so useless to me and I can't see how it is useful to anyone else. Reasons given below:

1. This ebuild installs to /var/www/twiki. I put mine in /var/www/hostname/htdocs/twiki so I have to move it. When I upgrade a new twiki ebuild, it will go to /var/www/twiki again.
2. The current ebuild is far from perfect. The 97_twiki.conf file is not 100% correct. Permissions are not all set correctly according to the installation guide.
3. There is so much hands-on tweaking which goes on with twiki, that I have never found ebuilds or debian packages useful for this package. I've always used (or I should say reverted) the tarball on the twiki.org site. When I upgrade, I install a new version in a new directory, and port the data over manually, and set permissions manually. Would a twiki install even work if you clobbered /var/www/twiki directory with a new tarball? Probably not, since many things in the Main web such as TWikiUsers and TWikiPreferences would be clobbered AFAIK.
4. We suggest at the end of the ebuild installation that the user review the install documentation online. Why? Because clearly the ebuild does nothing but extract a tarball and some more steps are needed. So why have the ebuild at all?
5. Makes no sense to have an automated ebuild for a program which is basically a non-static-data distribution with a few scripts.

Please correct me on anything which you think I am wrong about.
Comment 5 Richard Cantzler 2005-01-12 12:16:29 UTC
Although all of these arguments are true, I don't think that warrants removing the package from portage.  The package is very flawed, however, I beleive the point of the package should be to perform the necessary steps in the installation guide.  I find the installation steps to be more than annoying as I have never used TWiki before.  It takes me a long time to follow them, and the necessary steps seem to be somewhat scattered around different TWiki topics.

The benefit of making a TWiki package is that once it is written correctly, installing should be easy, and it should support the web-apps or web-config system.  This should allow setting up TWiki with virtual hosts and apache very easy.  I'm not saying the current ebuild is even moderately where it should be, but I believe there is a point to having an ebuild.  If a user doesn't want to use it, so be it, but does that justify removing it completely?
Comment 6 Richard Cantzler 2005-01-12 23:06:01 UTC
Created attachment 48368 [details]
twiki-20040902-r1.ebuild

Updated version should work correctly (not report any errors).
Comment 7 Richard Cantzler 2005-01-12 23:07:04 UTC
Created attachment 48369 [details, diff]
twiki-20040902-gentoo.patch

This is a patch for the TWiki source.  It currently only fixes the
bin/setlib.cfg file.
Comment 8 Richard Cantzler 2005-01-12 23:08:09 UTC
Created attachment 48370 [details]
twiki-20040902-twiki.conf

Updated twiki.conf that contains the correct directory for apache
Comment 9 Richard Cantzler 2005-01-12 23:18:47 UTC
Created attachment 48371 [details, diff]
twiki-20040902-gentoo.patch

Fixed location (had an extra /twiki)
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2005-06-29 08:38:35 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.