Vendor summary: "VHCS provides complete hosting automation for Linux - Web, Mail (pop&imap), FTP, DNS , DBs, Quota, Traffic, graphic user interfaces for the administrators, resellers and users." Since last December this software is fully open-sourced and licensed under Mozilla Public License (MPL). Unfortunately, Gentoo does not belong among supported platforms so far; only Red Hat/Fedora, Debian, SUSE are supported. Are there any Gentoo developers who would be willing to get this ported for Gentoo? Such webapp would be immensely handy for Gentoo servers used for mass webhosting. It is the most full-featured _free_ and _open-source_ webhosting control panel that I have been able to find so far. However, it is very difficult to get it working under Gentoo now. :-/ There certainly is demand for such application and for VHCS solution specifically, see e.g. http://forums.gentoo.org/viewtopic.php?t=269834 http://forums.gentoo.org/viewtopic.php?t=33241 http://forums.gentoo.org/viewtopic.php?t=192213 Thanks for any response and ideas. Reproducible: Always Steps to Reproduce: Project homepage: http://www.vhcs.net/ http://sourceforge.net/projects/vhcs/ Features: http://www.vhcs.net/vhcs/en/features/index.php Online Demo: http://www.vhcs.net/vhcs/en/about/online_demo.php Next version preview: http://www.vhcs.net/vhcs/2.4/client/
Hi, I am working on a Gentoo build for VHCS-2.4. See my howto in the forums here: http://forums.gentoo.org/viewtopic-t-321868-highlight-.html Once I have a working package I will work on an ebuild. At present I am looking for people to test for me. Chris
I'll test it as soon as I get time.
Maybe SeJo could help with this one? ;-) http://blog.sejo.be/?p=2
Any progress? I would have loved to have an ebuild for this package, before I give it a first try. This way I'll also have to join the manual installation procedure. Anyone got it fully working on a Gentoo setup by now?
Comment #4: Better ask in the forum thread. ;-) Well, I
Comment #4: Better ask in the forum thread. ;-) Well, I´m still playing with it, currently trying to hack it for pure-ftpd as I really hate proftpd. That´s the other thing, it should be a lot more configurable (ideally), not limited to a specific FTP/SMTP/POP3 implementation. Not everyone likes postfix/courier-imap and proftpd - and if you have things set up for one thing and would have to switch to another then it´s not always a graceful move, especially with hundreds of accounts.
So I'm the next one asking for any progress. I'm just waiting for an and I would then like to help. Yes, I got it working on a Gentoo setup but without help I would be stil trying.
I want to make an test server with gentoo and vhcs for productive use, as soon as possible. Direction is full produktive use as soon they release the next version and an ebuild becomes avaible. So make an ebuild give me a little bit of time and i will test it, because suse + plesk is a torture!
Hi Any news about vhcs2 gentoo ebuild?
Created attachment 89136 [details] ebuild This is a work in progress for a VHCS ebuild. I will _not_ continue to spend time on this ebuild since VHCS team doent gives a clear direction for the futur of this project. I'll work with another product, and publish an ebuild as well. So, I give this work, if someone want to finish it. It was developped to works with a real database engine (read PostgreSQL). Still a lot to do, as the VHCS code use a lot of mysql direct queries.
Created attachment 89137 [details] PostgreSQL database schema inital commands to create the database on PostgreSQL
Created attachment 89138 [details] Languages data Postgresql initial datas for languages
Created attachment 89139 [details] Postfix main.cf Postfix main config file
Created attachment 89140 [details] Postfix services file Define postfix services to use
Created attachment 89141 [details, diff] Patch to make VHCS uses system wide installed ADOdb Make VHCS use a system wide installation of ADOdb.
Created attachment 89142 [details] /etc/conf.d/vhcs Initial configuration file for init.d system
Created attachment 89143 [details] /etc/init.d/vhcs Init.d script to start up VHCS
Created attachment 89153 [details] PostgreSQL database schema OOps, old attachement was broken
Created attachment 89154 [details] Postfix main.cf OOps, correct file attachement
Created attachment 89156 [details] Postfix services file OOps, correct attachement
Created attachment 89157 [details, diff] Patch to make VHCS uses system wide installed ADOdb OOps, correct attachement
Created attachment 89159 [details] /etc/conf.d/vhcs OOps, correct attachement
Created attachment 89160 [details] /etc/init.d/vhcs OOps, correct attachement
Created attachment 111559 [details] www-servers/vhcs-2.4.7.1-r2 i have fixed all the problems/bugs to stabilize the ebuild. need some deep testing to be sure to have resolved all the problems.
Created attachment 111561 [details, diff] vhcs-2.4.7.1-adodb_paths_fix.patch necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111562 [details, diff] vhcs-2.4.7.1-common_code.patch necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111564 [details, diff] vhcs-2.4.7.1-init.patch necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111566 [details, diff] vhcs-2.4.7.1-php5.patch necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111567 [details, diff] vhcs-2.4.7.1-sandbox.patc necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111568 [details, diff] vhcs-2.4.7.1-vhcs2-setup.patch necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111570 [details] vhcs-conf.d necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111572 [details] vhcs-init.d necessary for www-servers/vhcs-2.4.7.1-r2
Created attachment 111574 [details] vhcs-shared.conf necessary for www-servers/vhcs-2.4.7.1-r2
sorry for the noise, but VHCS 2 require a lot of patches. NOTE: every time vhcs2 is installed, all the data into the DB is erased. so pay attention using this software and upgrading it!! (i'm working to avoid this problem and let the user safely upgrade from different vhcs2 version)
Ok, this can't be maintained over bugzilla, as this messy bug clearly suggests. The package also apparently requires lots of effort to get working at all. I'd prefer a bit of upstream integration for this kind of stuff, so that it is not such a PITA to maintain. If anyone's interested to take this to webapps overlay and take over the maintainership there, poke us at #gentoo-web and we'll see what we can do. Marking LATER for now.
Created attachment 221047 [details] vhcs-2.4.8 I corrected patch files and ebuild to new version
Hi, Encountered this error when installing :- >>> Install vhcs-2.4.8 into /var/tmp/portage/www-apps/vhcs-2.4.8/image/ category www-apps install: omitting directory `/var/tmp/portage/www-apps/vhcs-2.4.8/work/vhcs-2.4.8/docs' * First time installation, patching /etc/vhcs2.conf ... /var/tmp/portage/www-apps/vhcs-2.4.8/temp/environment: line 3448: webapp-determine-installowner: command not f ound [ ok ] cd ./tools && make install make[1]: Entering directory `/var/tmp/portage/www-apps/vhcs-2.4.8/work/vhcs-2.4.8/tools' cd ./build && make install make[2]: Entering directory `/var/tmp/portage/www-apps/vhcs-2.4.8/work/vhcs-2.4.8/tools/build' /usr/bin/install -m 0755 -d /usr/sbin/ /usr/bin/install -m 0755 ./vhcs2-mkdirs.pl /usr/sbin ACCESS DENIED open_wr: /usr/sbin/vhcs2-mkdirs.pl /usr/bin/install: cannot create regular file `/usr/sbin/vhcs2-mkdirs.pl': Permission denied make[2]: *** [install] Error 1 make[2]: Leaving directory `/var/tmp/portage/www-apps/vhcs-2.4.8/work/vhcs-2.4.8/tools/build' make[1]: *** [install] Error 2 make[1]: Leaving directory `/var/tmp/portage/www-apps/vhcs-2.4.8/work/vhcs-2.4.8/tools' make: *** [install] Error 2 * ERROR: www-apps/vhcs-2.4.8 failed: * einstall failed * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 3455: Called einstall * ebuild.sh, line 588: Called die * The specific snippet of code: * e-- ${MAKE:-make} prefix="${D}usr" \ * e-- datadir="${D}usr/share" \ * e-- infodir="${D}usr/share/info" \ * e-- localstatedir="${D}var/lib" \ * e-- mandir="${D}usr/share/man" \ * e-- sysconfdir="${D}etc" \ * e-- ${LOCAL_EXTRA_EINSTALL} \ * e-- ${MAKEOPTS} ${EXTRA_EMAKE} -j1 \ * e-- "$@" install || die "einstall failed" * ore-- * If you need support, post the output of 'emerge --info =www-apps/vhcs-2.4.8', * the complete build log and the output of 'emerge -pqv =www-apps/vhcs-2.4.8'. * This ebuild is from an overlay: '/var/gentoo/overlay/' * The complete build log is located at '/var/log/portage/www-apps:vhcs-2.4.8:20100315-182227.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/vhcs-2.4.8/temp/environment' . * S: '/var/tmp/portage/www-apps/vhcs-2.4.8/work/vhcs-2.4.8' --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-8421.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /usr/sbin/vhcs2-mkdirs.pl A: /usr/sbin/vhcs2-mkdirs.pl R: /usr/sbin/vhcs2-mkdirs.pl C: /usr/bin/install -m 0755 ./vhcs2-mkdirs.pl /usr/sbin -------------------------------------------------------------------------------- * QA Notice: command not found: * ore-- * ore--/var/gentoo/overlay/www-apps/vhcs/vhcs-2.4.8.ebuild: line 77: overlay_pkg_setup: comma nd not found * ore--/var/tmp/portage/www-apps/vhcs-2.4.8/temp/environment: line 3448: webapp-determine-ins tallowner: command not found Thanks, hoyanf (In reply to comment #36) > Created an attachment (id=221047) [details] > vhcs-2.4.8 > > I corrected patch files and ebuild to new version >
This ebuild depends on the wrong package of PostgreSQL. It should depend on either dev-db/postgresql-base or dev-db/postgresql-server. The dev-db/postgresql and dev-db/libpq are deprecated and on their way out. Additionally, crypt is set as a conditional dependency, but it isn't in IUSE. Finally, webapp-determine-installowner isn't present in any eclass. Having read through the ebuild, it seems like it needs to be rewritten from scratch using the features available in EAPI2.