Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130734 - [req] vicidial ebuild
Summary: [req] vicidial ebuild
Status: CONFIRMED
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: http://astguiclient.sf.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 07:33 UTC by Jon Hood (RETIRED)
Modified: 2016-04-21 06:55 UTC (History)
1 user (show)

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


Attachments
dev-perl/Net-MySQL-0.08.ebuild (Net-MySQL-0.08.ebuild,486 bytes, text/plain)
2006-04-21 08:03 UTC, Jon Hood (RETIRED)
Details
dev-perl/asterisk-perl-0.08.ebuild (asterisk-perl-0.08.ebuild,482 bytes, text/plain)
2006-04-21 08:04 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.10.ebuild (astguiclient-1.1.10.ebuild,1.55 KB, text/plain)
2006-04-21 08:42 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.10.ebuild (astguiclient-1.1.10.ebuild,2.95 KB, text/plain)
2006-04-22 00:01 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient/files/1.1.10.sql.gz (1.1.10.sql.gz,15.05 KB, application/x-tar)
2006-04-22 00:02 UTC, Jon Hood (RETIRED)
Details
files/cronhourly (cronhourly,1.21 KB, text/plain)
2006-04-26 09:20 UTC, Jon Hood (RETIRED)
Details
files/cronweekly (cronweekly,355 bytes, text/plain)
2006-04-26 09:20 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.10.ebuild (astguiclient-1.1.10.ebuild,3.18 KB, text/plain)
2006-04-26 09:22 UTC, Jon Hood (RETIRED)
Details
files/extensions.conf (extensions.conf,15.68 KB, text/plain)
2006-04-26 09:42 UTC, Jon Hood (RETIRED)
Details
files/meetme.conf (meetme.conf,1.76 KB, text/plain)
2006-04-26 09:42 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.10.ebuild (astguiclient-1.1.10.ebuild,3.46 KB, text/plain)
2006-04-26 09:43 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.10.ebuild (astguiclient-1.1.10.ebuild,3.47 KB, text/plain)
2006-04-26 10:48 UTC, Jon Hood (RETIRED)
Details
files/1.1.10.sql.gz (1.1.10.sql.gz,15.11 KB, application/gzip)
2006-04-26 10:54 UTC, Jon Hood (RETIRED)
Details
files/1.1.10.sql.gz (1.1.10.sql.gz,15.11 KB, application/gzip)
2006-04-26 10:59 UTC, Jon Hood (RETIRED)
Details
files/manager.conf (manager.conf,1.48 KB, text/plain)
2006-04-27 08:40 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.10.ebuild (astguiclient-1.1.10.ebuild,3.52 KB, text/plain)
2006-04-27 08:40 UTC, Jon Hood (RETIRED)
Details
files/1.1.11.sql.gz (1.1.11.sql.gz,15.33 KB, application/gzip)
2006-05-04 15:17 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.11.ebuild (astguiclient-1.1.11.ebuild,4.13 KB, text/plain)
2006-05-04 15:19 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.12_pre1.ebuild (astguiclient-1.1.12_pre1.ebuild,3.98 KB, text/plain)
2006-06-14 08:03 UTC, Jon Hood (RETIRED)
Details
files/1.1.12.sql.gz (1.1.12.sql.gz,16.99 KB, application/gzip)
2006-06-14 08:04 UTC, Jon Hood (RETIRED)
Details
files/1.1.12.sql.gz (1.1.12.sql.gz,17.20 KB, application/gzip)
2006-06-14 13:12 UTC, Jon Hood (RETIRED)
Details
net-misc/astguiclient-1.1.12_pre1.ebuild (astguiclient-1.1.12_pre1.ebuild,4.02 KB, text/plain)
2006-06-14 13:13 UTC, Jon Hood (RETIRED)
Details
Little improvements (vicidial.diff,3.48 KB, patch)
2006-06-14 14:36 UTC, Luca Longinotti (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Hood (RETIRED) gentoo-dev 2006-04-21 07:33:06 UTC
This is where I'll post my progress on a vicidial ebuild for Gentoo.
Comment 1 Jon Hood (RETIRED) gentoo-dev 2006-04-21 08:03:55 UTC
Created attachment 85115 [details]
dev-perl/Net-MySQL-0.08.ebuild
Comment 2 Jon Hood (RETIRED) gentoo-dev 2006-04-21 08:04:23 UTC
Created attachment 85116 [details]
dev-perl/asterisk-perl-0.08.ebuild
Comment 3 Jon Hood (RETIRED) gentoo-dev 2006-04-21 08:42:24 UTC
Created attachment 85119 [details]
net-misc/astguiclient-1.1.10.ebuild

TODO:
1) mysql configuration
2) sample asterisk configuration files.
3) keyword OLE-StorageLite for ~amd64
4) keyword Spreadsheet-ParserExcel ~amd64
5) init script and crontab files
6) I could probably handle dependencies a little better

THIS EBUILD IS NOT COMPLETE. Please feel free to make changes to it, though.
Comment 4 Jon Hood (RETIRED) gentoo-dev 2006-04-22 00:01:24 UTC
Created attachment 85162 [details]
net-misc/astguiclient-1.1.10.ebuild

Again, this is not ready for the portage tree yet. It's here as an update of my work. I know some parts probably violate ebuild policy right now. I'm workin' on it.
Comment 5 Jon Hood (RETIRED) gentoo-dev 2006-04-22 00:02:14 UTC
Created attachment 85163 [details]
net-misc/astguiclient/files/1.1.10.sql.gz
Comment 6 Jon Hood (RETIRED) gentoo-dev 2006-04-26 09:20:18 UTC
Created attachment 85545 [details]
files/cronhourly
Comment 7 Jon Hood (RETIRED) gentoo-dev 2006-04-26 09:20:39 UTC
Created attachment 85546 [details]
files/cronweekly
Comment 8 Jon Hood (RETIRED) gentoo-dev 2006-04-26 09:22:34 UTC
Created attachment 85547 [details]
net-misc/astguiclient-1.1.10.ebuild

Now all that's remaining is the sample asterisk configuration files.
Comment 9 Jon Hood (RETIRED) gentoo-dev 2006-04-26 09:42:21 UTC
Created attachment 85549 [details]
files/extensions.conf
Comment 10 Jon Hood (RETIRED) gentoo-dev 2006-04-26 09:42:40 UTC
Created attachment 85550 [details]
files/meetme.conf
Comment 11 Jon Hood (RETIRED) gentoo-dev 2006-04-26 09:43:44 UTC
Created attachment 85551 [details]
net-misc/astguiclient-1.1.10.ebuild

Ready for testing now! And I need to handle things a little better at some places in the ebuild.
Comment 12 Jon Hood (RETIRED) gentoo-dev 2006-04-26 10:48:52 UTC
Created attachment 85555 [details]
net-misc/astguiclient-1.1.10.ebuild

make sure the files are web-owned
Comment 13 Jon Hood (RETIRED) gentoo-dev 2006-04-26 10:54:11 UTC
Created attachment 85556 [details]
files/1.1.10.sql.gz
Comment 14 Jon Hood (RETIRED) gentoo-dev 2006-04-26 10:59:34 UTC
Created attachment 85557 [details]
files/1.1.10.sql.gz
Comment 15 Jon Hood (RETIRED) gentoo-dev 2006-04-27 08:40:13 UTC
Created attachment 85612 [details]
files/manager.conf
Comment 16 Jon Hood (RETIRED) gentoo-dev 2006-04-27 08:40:54 UTC
Created attachment 85613 [details]
net-misc/astguiclient-1.1.10.ebuild

fix for manager connections; oopsie :)
Comment 17 Jon Hood (RETIRED) gentoo-dev 2006-05-04 15:17:52 UTC
Created attachment 86168 [details]
files/1.1.11.sql.gz

fix missing phone statuses
Comment 18 Jon Hood (RETIRED) gentoo-dev 2006-05-04 15:19:18 UTC
Created attachment 86169 [details]
net-misc/astguiclient-1.1.11.ebuild

*version bump
*fix the seds in src_unpack
*remove unneeded files
Comment 19 Jon Hood (RETIRED) gentoo-dev 2006-06-14 08:03:26 UTC
Created attachment 89168 [details]
net-misc/astguiclient-1.1.12_pre1.ebuild
Comment 20 Jon Hood (RETIRED) gentoo-dev 2006-06-14 08:04:43 UTC
Created attachment 89169 [details]
files/1.1.12.sql.gz

updates, updates, updates! This version of vicidial actually seems to work pretty well. Please give it a thorough testing!
Comment 21 Jon Hood (RETIRED) gentoo-dev 2006-06-14 13:12:37 UTC
Created attachment 89201 [details]
files/1.1.12.sql.gz
Comment 22 Jon Hood (RETIRED) gentoo-dev 2006-06-14 13:13:35 UTC
Created attachment 89202 [details]
net-misc/astguiclient-1.1.12_pre1.ebuild
Comment 23 Jon Hood (RETIRED) gentoo-dev 2006-06-14 13:51:53 UTC
webapp herd, please take a look at this ebuild and help me clean it up. Thanks!
Comment 24 Luca Longinotti (RETIRED) gentoo-dev 2006-06-14 14:35:45 UTC
Looks good, at least from the PHP side of things (for exact webapp eclass usage, wait for feedback from rl03, Stuart, wrobel or people that know it better than me).
But I have a couple of suggestions to make (for which you'll find a diff attached):
1) it's a good idea to quote paths derived from a variable you can't be sure is "clean" (ie. has no spaces in it etc.), theoretically a user could put ${PORTDIR} and ${PORTAGE_TMPDIR} in directories with spaces
2) I think it's also a good idea, when using rm/mv/cp manually, to stick the -f flag into it (--force), so you're actually more sure to kill/move/copy what you want
3) ${CATEGORY} is a handy variable when referring to the pacakges own category
4) when you do stuff outside of the sandbox, like in pkg_config(), it's imo a good idea to add ${ROOT} in front of the paths, as a user could have that changed
5) the most important: never stick binary files (the .gz) in ${FILESDIR} (and CVS in generally), they really don't like eachother and QA will hunt you down if you do it. ;) Always put them on the gentoo mirrors or an url, add them to ${SRC_URI}. In that case "unpack ${A}" will automatically unpack the second tarball too, but you don't want that... So here I'd suggest to change "unpack ${A}" to something else that only unpacks the primary tarball, then do all the rest, then let the .gz file be inserted from ${DISTDIR}, and then entpacking it with the gunzip call as it's done now
Hope this helps, best regards, CHTEKK.
Comment 25 Luca Longinotti (RETIRED) gentoo-dev 2006-06-14 14:36:34 UTC
Created attachment 89209 [details, diff]
Little improvements
Comment 26 Renat Lumpau (RETIRED) gentoo-dev 2006-06-20 20:23:02 UTC
1) can the app connect to a remote MySQL server? if so, don't force a dep on dev-db/mysql
2) you probably need to use virtual/perl-* for a bunch of perl deps, eg virtual/perl-Digest-MD5 instead of perl-core/Digest-MD5
3) if you are hardcoding /var/www/localhost/htdocs/astguiclient, then no need to use webapp.eclass at all. If you want to set the right directory, you'll need to add a reconfig hook and use ${MY_INSTALLDIR}.
4) since you're installing a bunch of stuff outside of /usr/share/webapps, you need to override SLOT. set WEBAPP_MANUAL_SLOT="yes" and SLOT=whatever.
Comment 27 Jon Hood (RETIRED) gentoo-dev 2006-06-23 21:28:59 UTC
Thanks for the input, guys. I have an updated ebuild on my local system, but I'm putting this on the back burner for a little bit due to security concerns. They should be fixed soon, but I'm not going to commit a package to Gentoo that may have security issues. I'll post a new ebuild and ask for input soon.
Comment 28 kundarsa@gmail.com 2016-04-21 06:55:54 UTC
While this is still a viable package for the Gentoo Portage tree it appears this ebuild is lacking in community interest. If you (or another user) are still wanting this to make it into the Portage tree please let us know! It would be additionally helpful (but not required) if you were willing to help out with the package by becoming it's proxied maintainer; you have already done most of the work for this task. Gentoo even has a dedicated team[1] for assisting users in becoming proxied maintainers. If you are interested in maintaining this package, please contact proxy-maint@gentoo.org or join #gentoo-proxy-maint on Freenode IRC.

If this bug remains silent without further comments for 30 days i will close it with the resolution of WONTFIX. Beyond that the bug can always be reopened to get this package back on track for the Gentoo Portage tree.

[1]: https://wiki.gentoo.org/index.php?title=Project:Proxy_Maintainers

Tom D