Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63915 - zope-2.7.2-r1 still places some double-slashes in config files
Summary: zope-2.7.2-r1 still places some double-slashes in config files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 11:45 UTC by Jeff Kowalczyk
Modified: 2004-09-18 00:15 UTC (History)
1 user (show)

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


Attachments
Fix double slashes in 2.7.2-r1 ebuild (zope-slashiness.patch,1.61 KB, patch)
2004-09-17 23:28 UTC, Elfyn McBratney (beu) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2004-09-13 11:45:14 UTC
First thing. This ebuild is really getting good, huge thanks to all involved.

Now, to nitpick while the nitpickins' good, there are still some 'double-slash' path inconsistencies in the ebuild. I only obsess over this because python is sensitive to double-slash paths in ways that bash is not. Bugs may creep in, so we should squash the double-slashes whenever we can spot them.

zope-2.7.2-r1.ebuild *does work*, but here are the double-slash instances I have spotted so far:

# ebuild /var/db/pkg/net-zope/zope-2.7.2-r1/zope-2.7.2-r1.ebuild config
 * Creating default zope instance at /var/lib/zope/zope-2.7.2/ with command:
 * /usr/sbin/zope-config --zserv=/usr/lib/zope-2.7.2/ --zinst=/var/lib/zope/zope-2.7.2/ --zgid=zope-2_7_2 --zinituser
 * Default admin user created with password admin. Please change it.
Adding user zope to group zope-2_7_2
Note: Review settings in /var/lib/zope/zope-2.7.2//etc/zope.conf.
-------------------------------------------------^
Then you can start your new instance with:
        /etc/init.d/zope-2.7.2 start
 * You can also enable autostart on reboot using: rc-update -a zope-2_7_2 default


 # cat /etc/conf.d/zope-2.7.2
INSTANCE_HOME=/var/lib/zope/zope-2.7.2/
EVENT_LOG_FILE=/var/log/zope//zope-2.7.2
-----------------------------^


# grep // /etc/init.d/zope-2.7.2
        /var/lib/zope/zope-2.7.2//bin/zopectl start
        /var/lib/zope/zope-2.7.2//bin/zopectl stop
        /var/lib/zope/zope-2.7.2//bin/zopectl restart
        /var/lib/zope/zope-2.7.2//bin/zopectl kill
        /var/lib/zope/zope-2.7.2//bin/zopectl quit
        /var/lib/zope/zope-2.7.2//bin/zopectl reload
        /var/lib/zope/zope-2.7.2//bin/zopectl status
        /var/lib/zope/zope-2.7.2//bin/zopectl help

Reproducible: Always
Steps to Reproduce:
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2004-09-17 23:28:21 UTC
Created attachment 39814 [details, diff]
Fix double slashes in 2.7.2-r1 ebuild
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-18 00:15:42 UTC
thx, commited