This is where I'll post my progress on a vicidial ebuild for Gentoo.
Created attachment 85115 [details] dev-perl/Net-MySQL-0.08.ebuild
Created attachment 85116 [details] dev-perl/asterisk-perl-0.08.ebuild
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.
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.
Created attachment 85163 [details] net-misc/astguiclient/files/1.1.10.sql.gz
Created attachment 85545 [details] files/cronhourly
Created attachment 85546 [details] files/cronweekly
Created attachment 85547 [details] net-misc/astguiclient-1.1.10.ebuild Now all that's remaining is the sample asterisk configuration files.
Created attachment 85549 [details] files/extensions.conf
Created attachment 85550 [details] files/meetme.conf
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.
Created attachment 85555 [details] net-misc/astguiclient-1.1.10.ebuild make sure the files are web-owned
Created attachment 85556 [details] files/1.1.10.sql.gz
Created attachment 85557 [details] files/1.1.10.sql.gz
Created attachment 85612 [details] files/manager.conf
Created attachment 85613 [details] net-misc/astguiclient-1.1.10.ebuild fix for manager connections; oopsie :)
Created attachment 86168 [details] files/1.1.11.sql.gz fix missing phone statuses
Created attachment 86169 [details] net-misc/astguiclient-1.1.11.ebuild *version bump *fix the seds in src_unpack *remove unneeded files
Created attachment 89168 [details] net-misc/astguiclient-1.1.12_pre1.ebuild
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!
Created attachment 89201 [details] files/1.1.12.sql.gz
Created attachment 89202 [details] net-misc/astguiclient-1.1.12_pre1.ebuild
webapp herd, please take a look at this ebuild and help me clean it up. Thanks!
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.
Created attachment 89209 [details, diff] Little improvements
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.
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.
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