Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27161 - mantis-0.18.0a4: new package
Summary: mantis-0.18.0a4: new package
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-apps project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 23:38 UTC by Tiemo Kieft (RETIRED)
Modified: 2004-11-20 00:12 UTC (History)
6 users (show)

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


Attachments
mantis-0.18.0a4 (mantis.tar.bz2,1.20 KB, application/octet-stream)
2003-08-22 23:39 UTC, Tiemo Kieft (RETIRED)
Details
a webapp-ish ebuild, and a more up-to-date version (mantis-0.18.2.ebuild,1.60 KB, text/plain)
2004-05-07 16:00 UTC, Jacob Smullyan
Details

Note You need to log in before you can comment on or make changes to this bug.
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