Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58381 - net-www/moinmoin updated for webapp.eclass
Summary: net-www/moinmoin updated for webapp.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 57913
  Show dependency tree
 
Reported: 2004-07-26 04:04 UTC by Renat Lumpau (RETIRED)
Modified: 2004-08-27 15:04 UTC (History)
3 users (show)

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


Attachments
moinmoin-1.2.3.ebuild (moinmoin-1.2.3.ebuild,1.00 KB, text/plain)
2004-07-26 04:05 UTC, Renat Lumpau (RETIRED)
Details
files/postinstall-en.txt (postinstall-en.txt,358 bytes, text/plain)
2004-07-26 04:05 UTC, Renat Lumpau (RETIRED)
Details
moinmoin-1.2.3.ebuild (moinmoin-1.2.3.ebuild,1.01 KB, text/plain)
2004-08-01 04:53 UTC, Renat Lumpau (RETIRED)
Details
files/postinstall-en.txt (postinstall-en.txt,357 bytes, text/plain)
2004-08-01 04:54 UTC, Renat Lumpau (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renat Lumpau (RETIRED) gentoo-dev 2004-07-26 04:04:51 UTC
net-www/moinmoin updated for webapp.eclass
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2004-07-26 04:05:21 UTC
Created attachment 36184 [details]
moinmoin-1.2.3.ebuild
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2004-07-26 04:05:36 UTC
Created attachment 36185 [details]
files/postinstall-en.txt
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2004-08-01 04:53:38 UTC
Created attachment 36573 [details]
moinmoin-1.2.3.ebuild
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2004-08-01 04:54:02 UTC
Created attachment 36574 [details]
files/postinstall-en.txt

small bugs
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-08-05 10:37:10 UTC
moinmoin-1.2.3 gives me an error

/usr/lib/python2.3/site-packages/MoinMoin/util/filesys.py:106: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
  __highbits = 0xffff0000  # XXX FIXME, gives Python2.3 warning.
Traceback (most recent call last):
  File "/var/www/localhost/htdocs/moinmoin/moin.cgi", line 32, in ?
    request = RequestCGI()
  File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 503, in __init__
    RequestBase.__init__(self, properties)
  File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 63, in __init__
    self.dicts = self.initdicts()
  File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 223, in initdicts
    dicts.scandicts()
  File "/usr/lib/python2.3/site-packages/MoinMoin/wikidicts.py", line 253, in scandicts
    pagelist = wikiutil.getPageList(config.text_dir)
  File "/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.py", line 274, in getPageList
    pages = os.listdir(text_dir)
OSError: [Errno 2] No such file or directory: 'data/text'
Comment 6 Renat Lumpau (RETIRED) gentoo-dev 2004-08-05 13:44:42 UTC
Martin,
I'm unable to reproduce this error---when does it happen? 
I just did a fresh install of 1.2.3, and verified that /var/www/localhost/htdocs/moinmoin/data/text exists. Did you create the Alias and ScriptAlias?
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-08-06 10:36:27 UTC
ok, i had to change postinstall
# echo "Options ExecCGI" > ${G_HTDOCSDIR}/moinmoin/.htaccess

this is from apache error.log
[Fri Aug 06 21:39:41 2004] [error] [client 192.168.1.8] (13)Permission denied: exec of '/var/www/localhost/htdocs/moinmoin/moin.cgi' failed

ls -la
-rw-rw----   1 apache apache  1021 Aug  6 21:37 moin.cgi

chmod 0770 /var/www/localhost/htdocs/moinmoin/moin.cgi

now it works
Comment 8 Grant Goodyear (RETIRED) gentoo-dev 2004-08-16 12:11:08 UTC
I would like to add this ebuild to the tree, but whenever I try emerging it
I end up with /var/www/localhost/htdocs/moinmoin/moin.cgi _not_ being +x,
despite the explicit chmod.  Help?  Stuart, can you help?
Comment 9 Stuart Herbert (RETIRED) gentoo-dev 2004-08-16 14:24:16 UTC
You'll need webapp-config 1.10-r8 (now in CVS).  Or change VHOSTS_PERMS_VIRTUALOWNED_FILE to be 'o-w' in /etc/vhosts/webapp-config.

Best regards,
Stu
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2004-08-27 13:55:09 UTC
I've emailed moin devs to find out what files need to be owned by the webserver, so we don't have to make everything httpd-owned, which will make the explicit chmod work. I'll commit it once I hear back, if noone objects.
Comment 11 Renat Lumpau (RETIRED) gentoo-dev 2004-08-27 15:04:32 UTC
Permissions fixed, in CVS