Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27161

Summary: mantis-0.18.0a4: new package
Product: Gentoo Linux Reporter: Tiemo Kieft (RETIRED) <blubber>
Component: New packagesAssignee: Gentoo Web-apps project <webapps-request>
Status: RESOLVED FIXED    
Severity: enhancement CC: blubber, p1t3r05, radek, swegener, ufechner, web-apps
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mantis-0.18.0a4
a webapp-ish ebuild, and a more up-to-date version

Description Tiemo Kieft (RETIRED) gentoo-dev 2003-08-22 23:38:51 UTC
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.
Comment 1 Tiemo Kieft (RETIRED) gentoo-dev 2003-08-22 23:39:47 UTC
Created attachment 16493 [details]
mantis-0.18.0a4
Comment 2 Tal Peer (RETIRED) gentoo-dev 2004-01-04 05:46:39 UTC
Reassign to web-apps.
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 01:18:27 UTC
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
Comment 4 Jacob Smullyan 2004-05-07 16:00:15 UTC
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.
Comment 5 Sven Wegener gentoo-dev 2004-05-30 13:02:29 UTC
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.
Comment 6 Gentoo Web-apps project gentoo-dev 2004-06-13 02:21:32 UTC
Hi Sven,

webapp-config v1.10 now uses hard links instead of symlinks, which should address this problem.

Best regards,
Stu
Comment 7 Sven Wegener gentoo-dev 2004-06-13 05:18:11 UTC
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.
Comment 8 Sven Wegener gentoo-dev 2004-06-13 06:12:20 UTC
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.
Comment 9 Renat Lumpau (RETIRED) gentoo-dev 2004-08-30 02:33:08 UTC
In CVS. Excellent work everyone.
Comment 10 Steven Green 2004-11-20 00:12:18 UTC
I have made an ebuild for 0.19.1.
See http://bugs.gentoo.org/show_bug.cgi?id=71669