Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98449 - Ebuild for DTC - ISP Web Control Panel
Summary: Ebuild for DTC - ISP Web Control Panel
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 04:42 UTC by Mark
Modified: 2005-08-27 08:48 UTC (History)
1 user (show)

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


Attachments
draft - ebuild - wip (dtc-0.17-4.ebuild,586 bytes, text/plain)
2005-07-09 07:53 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2005-07-09 04:42:40 UTC
I have installed DTC by hand and worked with the developer of the programme to
build a gentoo installation script. I am now trying to build an ebuild for this
application. I am no experience with making an ebuild so this is likely to take
a while to get right.

Reproducible: Always
Steps to Reproduce:
1. You need to check out the cvs version of DTC as this is where the gentoo
specific changes are. Do the following
cvs -d :pserver:anonymous@gplhost.com:/var/lib/cvs login # (password is anoncvs)
cvs -d :pserver:anonymous@gplhost.com:/var/lib/cvs checkout dtc

2. Once the checkout is finished go to the the directort dtc/bin and run
makeGentoo. This will create a gentoo tarball for you

3. Make a directory like so /usr/local/portage/www-apps/dtc and
/usr/local/portage/www-apps/dtc/files

4. Copy the tarball into /usr/local/portage/www-apps/dtc/files. (it shouldnt be
copied here but rather downloaded by the ebuild but I am not sure how to do this.)

5. copy the ebuild script to /usr/local/portage/www-apps/dtc

6. run emerge dtc




Expected Results:  
The package should emerge. I still need to test it properly as I am having some
problems on my current gentoo machine
Comment 1 Mark 2005-07-09 07:53:42 UTC
Created attachment 63009 [details]
draft - ebuild  - wip
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-27 08:48:22 UTC
1/ There are tarballs and CVS snapshots for this app, please use them in the
ebuild. See ftp://ftp.gplhost.com/pub/dtc/ and fix the empty SRC_URI. We try to
avoid live CVS ebuilds as much as possible.

2/ This looks like a webapp, so should use webapp eclass.

3/ Any keywords missing. :=) Put ~x86 or other arch which you are testing this
on there.

4/ IUSE has apache2 and php in there, but it's unused anywhere else. See other
ebuilds in portage how to handle apache-1 vs. apache-2 dependencies; php should
be removed from IUSE, it's most probably not optional dependency and does not do
anything useful in the ebuild.

5/ The ebuild depends on dev-php/mod_php, this is wrong. It needs to depend on
virtual/httpd-php.

6/ Generally check DEPEND vs. RDEPEND and fix as needed.

7/ src_install() is plain wrong, if it depends on some perl module, it needs to
depend on an ebuild. If it's not in portage, you need to create an ebuild for
that perl module as well.

8/ As for the rest, the needs to be adopted to webapp eclass, as already said above.

etc. etc.

Some docs which could help you:

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
http://dev.gentoo.org/~plasmaroo/devmanual/

Meanwhile, closing WONTFIX. Please reopen after you submit an improved ebuild.
Thanks.