Attached is the tar/bz2'ed mantis directory. It contains a ebuild for mantis-0.18.0a4, a PHP bugtracking system. I suggest dev-php as category for this package. This package uses very strange version numbers, which portage didn't like. I named the ebuild mantis-0.18.0a and in the script itself had to append the 'a' to the version.
Created attachment 16493 [details] mantis-0.18.0a4
Reassign to web-apps.
Hi, Sorry for the delay in replying. We've been very busy putting a new framework in place for ebuilds for web-based applications. This has now been added to Portage. We need you to update your ebuild to use the new framework before we can accept your ebuild. Please emerge net-www/webapp-config (make sure you get version 1.2 or later), and update your ebuild to work with this new tool. You can use 'man 5 webapp.eclass', 'man 5 webapp-config' and 'man 8 webapp-config' to learn more about how your ebuild needs to work. You can find an example ebuild, for phpmyadmin, in /usr/share/doc/webapp-config-1.2/ If you encounter any difficulties with the new framework (and we apologise, but there are sure to be a few at first), please let us know and we'll do our best to help you. Best regards, Stu
Created attachment 30974 [details] a webapp-ish ebuild, and a more up-to-date version Because the doc directory is actually linked from the application, I'm *not* deleting it from htdocs.
http://gentoo.mirror.at.stealer.net/portage_overlay/net-www/mantisbt/ Made it webapp.eclass compatible. Little bit tricky, because webapp-config symlinks the files and mantis includes files with absolute paths via: require_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'config_inc.php' ); __FILE__ will expand to the path /usr/share/webapps/... and not to /var/www/... and this will result in including the wrong files.
Hi Sven, webapp-config v1.10 now uses hard links instead of symlinks, which should address this problem. Best regards, Stu
Hm, hard links, I suppose that a lot of people have /usr mounted on a seperate partition, and then hard links won't work. In my oppinion this will create more trouble. I'll check out webapp-config 1.10 and report back.
ok, checked it, great work stu. with copying the files we get around this limitation. currently i'm having one problem. i have /usr and /var on the filesystem, but the files are copied into /var/www and are not hard linked. the files in /var/www have a link count of 1. i'll try to find the reason why this happens.
In CVS. Excellent work everyone.
I have made an ebuild for 0.19.1. See http://bugs.gentoo.org/show_bug.cgi?id=71669