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

Bug 98111

Summary: dancer-services-1.8.0.6.9.ebuild (new ebuild)
Product: Gentoo Linux Reporter: Triffid Hunter <triffid_hunter>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: ct, net-irc, triffid_hunter
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dancer-services initial ebuild
dancer-services-1.8.0.6.9.ebuild
conf.d-dancer-services
init.d-dancer-services
digest-dancer-services-1.8.0.6.9
Changelog
Manifest
metadata.xml
updated /etc/init.d/dancer-services
dancer-services revised ebuild
updated /etc/init.d/dancer-services
updated /etc/conf.d/dancer-services

Description Triffid Hunter 2005-07-06 06:06:27 UTC
please find attached an (initial) ebuild for irc-services patched for dancer-ircd.

see http://source.freenode.net/~asuffield/dancer/dancer-services/ for details.

depends on net-irc/dancer-ircd
Comment 1 Triffid Hunter 2005-07-06 06:14:52 UTC
Created attachment 62749 [details]
dancer-services initial ebuild

irc-services for dancer-ircd ebuild

$ tar -j --list -f dancer-services.tbz2
net-irc/
net-irc/dancer-services/
net-irc/dancer-services/dancer-services-1.8.0.6.9.ebuild
net-irc/dancer-services/Manifest
net-irc/dancer-services/files/
net-irc/dancer-services/files/init.d-dancer-services
net-irc/dancer-services/files/digest-dancer-services-1.8.0.6.9
net-irc/dancer-services/files/conf.d-dancer-services
net-irc/dancer-services/Changelog
net-irc/dancer-services/metadata.xml


http://www.gentoo.org/doc/en/ebuild-submit.xml doesn't say what to do if i need
to attach multiple files, so i tarred them.. hope this is ok.


this is my first ever ebuild :)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-06 07:59:31 UTC
Never attach tarballs when submitting ebuilds. Reopen once you have attached a
plaintext ebuild.

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2
Comment 3 Triffid Hunter 2005-07-06 08:24:48 UTC
Created attachment 62766 [details]
dancer-services-1.8.0.6.9.ebuild

net-irc/dancer-services/
Comment 4 Triffid Hunter 2005-07-06 08:25:36 UTC
Created attachment 62767 [details]
conf.d-dancer-services

net-irc/dancer-services/files/
Comment 5 Triffid Hunter 2005-07-06 08:25:52 UTC
Created attachment 62768 [details]
init.d-dancer-services

net-irc/dancer-services/files/
Comment 6 Triffid Hunter 2005-07-06 08:26:19 UTC
Created attachment 62769 [details]
digest-dancer-services-1.8.0.6.9

net-irc/dancer-services/files/
Comment 7 Triffid Hunter 2005-07-06 08:26:47 UTC
Created attachment 62770 [details]
Changelog

net-irc/dancer-services/
Comment 8 Triffid Hunter 2005-07-06 08:27:12 UTC
Created attachment 62771 [details]
Manifest

net-irc/dancer-services
Comment 9 Triffid Hunter 2005-07-06 08:27:35 UTC
Created attachment 62772 [details]
metadata.xml

net-irc/dancer-services/
Comment 10 Triffid Hunter 2005-07-06 08:28:41 UTC
added plaintext files rather than tarball.. probably more than necessary, but 
ebuild howto isn't very detailed
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-07-06 09:06:47 UTC
(In reply to comment #10)
> added plaintext files rather than tarball.. probably more than necessary, but 
> ebuild howto isn't very detailed

Err, my mistake. No manifest, no metadata.xml, no changelog, no digest needed
next time. Just the ebuild (and init scripts plus patches if needed) is enough
next time. ;) Also when attaching, the mime type should be set to text/plain.
Comment 12 Triffid Hunter 2005-07-06 10:55:28 UTC
ok thanks, now i know what to do for my next ebuild :D

hope this one is useful to someone (apart from me)
Comment 13 Triffid Hunter 2005-07-16 23:12:24 UTC
Created attachment 63590 [details]
updated /etc/init.d/dancer-services

i had use ircd rather than the more specific use dancer-ircd
Comment 14 Ciaran McCreesh 2005-09-13 19:36:10 UTC
Please fix the following and reopen:

* http://dev.gentoo.org/~ciaranm/docs/mw-faq/redundant.txt (src_unpack)
* Is autogen.sh an autotools thing? If so, you're missing some DEPENDs.
* You should use use_enable.
* http://dev.gentoo.org/~ciaranm/docs/mw-faq/quoting.txt
* Use ebeep from eutils.eclass
* I really don't like the config editing thing...
* http://dev.gentoo.org/~ciaranm/docs/mw-faq/emake.txt (for installing)
* mkdir has a -p option...
Comment 15 Triffid Hunter 2005-09-25 02:09:00 UTC
Created attachment 69200 [details]
dancer-services revised ebuild
Comment 16 Triffid Hunter 2005-09-25 02:09:43 UTC
Created attachment 69201 [details]
updated /etc/init.d/dancer-services
Comment 17 Triffid Hunter 2005-09-25 02:10:11 UTC
Created attachment 69203 [details]
updated /etc/conf.d/dancer-services
Comment 18 Triffid Hunter 2005-09-25 02:13:09 UTC
I think the compile time config editing thing is quite silly, annoying and 
inconvenient too, but I'm not skilled enough in c to rewrite the code so that a 
more conventional/convenient configuration method can be used.

If anyone has any better solutions to this than asking users to stop mid-install 
and edit a config file, feel free to suggest them. Many of the services' 
availability flags could be easily turned into use flags, but there are other 
options in that file which require textual or numerical values...

The autogen thing is used because the distributed tarball doesn't have autogen 
stuff done, which, according to autogen.sh itself, it should. If you'd like me 
to run it and repackage the tarball, just say so :)
Comment 19 Markus Ullmann (RETIRED) gentoo-dev 2006-10-16 07:26:40 UTC
Upstream URL gone (and dancer-ircd has been dropped from tree as well)