Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77651 - VHCS: Virtual Hosting Control System (new ebuild)
Summary: VHCS: Virtual Hosting Control System (new ebuild)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web-apps project
URL: http://www.vhcs.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-01-12 02:44 UTC by Jakub Moc (RETIRED)
Modified: 2010-03-24 17:17 UTC (History)
7 users (show)

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


Attachments
ebuild (vhcs-2.4.7.1.ebuild,7.21 KB, text/plain)
2006-06-14 05:41 UTC, Alexandre Ghisoli
Details
PostgreSQL database schema (database.psql,6.81 KB, text/plain)
2006-06-14 05:42 UTC, Alexandre Ghisoli
Details
Languages data (languages.psql,536.62 KB, application/octet-stream)
2006-06-14 05:43 UTC, Alexandre Ghisoli
Details
Postfix main.cf (postfix-main.cf,5.09 KB, text/plain)
2006-06-14 05:44 UTC, Alexandre Ghisoli
Details
Postfix services file (postfix-master.cf,7.68 KB, text/plain)
2006-06-14 05:45 UTC, Alexandre Ghisoli
Details
Patch to make VHCS uses system wide installed ADOdb (system-adodb.patch,4.22 KB, patch)
2006-06-14 05:46 UTC, Alexandre Ghisoli
Details | Diff
/etc/conf.d/vhcs (vhcs-conf.d,3.25 KB, text/plain)
2006-06-14 05:47 UTC, Alexandre Ghisoli
Details
/etc/init.d/vhcs (vhcs-init.d,4.08 KB, text/plain)
2006-06-14 05:47 UTC, Alexandre Ghisoli
Details
PostgreSQL database schema (database.psql,15.60 KB, application/octet-stream)
2006-06-14 06:41 UTC, Alexandre Ghisoli
Details
Postfix main.cf (postfix-main.cf,1.80 KB, text/plain)
2006-06-14 06:43 UTC, Alexandre Ghisoli
Details
Postfix services file (postfix-master.cf,4.49 KB, text/plain)
2006-06-14 06:45 UTC, Alexandre Ghisoli
Details
Patch to make VHCS uses system wide installed ADOdb (system-adodb.patch,680 bytes, patch)
2006-06-14 06:46 UTC, Alexandre Ghisoli
Details | Diff
/etc/conf.d/vhcs (vhcs-conf.d,73 bytes, text/plain)
2006-06-14 06:48 UTC, Alexandre Ghisoli
Details
/etc/init.d/vhcs (vhcs-init.d,993 bytes, text/plain)
2006-06-14 06:49 UTC, Alexandre Ghisoli
Details
www-servers/vhcs-2.4.7.1-r2 (vhcs-2.4.7.1-r2.ebuild,14.15 KB, text/plain)
2007-02-28 15:00 UTC, MT
Details
vhcs-2.4.7.1-adodb_paths_fix.patch (vhcs-2.4.7.1-adodb_paths_fix.patch,778 bytes, patch)
2007-02-28 15:02 UTC, MT
Details | Diff
vhcs-2.4.7.1-common_code.patch (vhcs-2.4.7.1-common_code.patch,1.09 KB, patch)
2007-02-28 15:03 UTC, MT
Details | Diff
vhcs-2.4.7.1-init.patch (vhcs-2.4.7.1-init.patch,816 bytes, patch)
2007-02-28 15:03 UTC, MT
Details | Diff
vhcs-2.4.7.1-php5.patch (vhcs-2.4.7.1-php5.patch,18.01 KB, patch)
2007-02-28 15:04 UTC, MT
Details | Diff
vhcs-2.4.7.1-sandbox.patc (vhcs-2.4.7.1-sandbox.patch,378 bytes, patch)
2007-02-28 15:05 UTC, MT
Details | Diff
vhcs-2.4.7.1-vhcs2-setup.patch (vhcs-2.4.7.1-vhcs2-setup.patch,1.58 KB, patch)
2007-02-28 15:13 UTC, MT
Details | Diff
vhcs-conf.d (vhcs-conf.d,594 bytes, text/plain)
2007-02-28 15:17 UTC, MT
Details
vhcs-init.d (vhcs-init.d,1.21 KB, text/plain)
2007-02-28 15:18 UTC, MT
Details
vhcs-shared.conf (vhcs-shared.conf,281 bytes, text/plain)
2007-02-28 15:18 UTC, MT
Details
vhcs-2.4.8 (vhcs-2.4.8.tar.bz2,610.00 KB, application/octet-stream)
2010-02-24 23:13 UTC, Szpadel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2005-01-12 02:44:29 UTC
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/
Comment 1 Chris 2005-04-13 04:21:36 UTC
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
Comment 2 MAL 2005-04-13 06:46:51 UTC
I'll test it as soon as I get time.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-09 08:39:28 UTC
Maybe SeJo could help with this one? ;-)

http://blog.sejo.be/?p=2
Comment 4 Master One 2005-05-11 08:33:30 UTC
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 5 Jakub Moc (RETIRED) gentoo-dev 2005-05-12 05:02:56 UTC
Comment #4: Better ask in the forum thread. ;-) 

Well, I
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-12 05:02:56 UTC
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.
Comment 7 Michael 2005-09-23 10:54:34 UTC
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.
Comment 8 Florian Manschwetus 2005-09-30 01:30:00 UTC
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!
Comment 9 Jan Kopecky 2006-05-08 02:59:31 UTC
Hi

Any news about vhcs2 gentoo ebuild?
Comment 10 Alexandre Ghisoli 2006-06-14 05:41:10 UTC
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.
Comment 11 Alexandre Ghisoli 2006-06-14 05:42:19 UTC
Created attachment 89137 [details]
PostgreSQL database schema

inital commands to create the database on PostgreSQL
Comment 12 Alexandre Ghisoli 2006-06-14 05:43:25 UTC
Created attachment 89138 [details]
Languages data

Postgresql initial datas for languages
Comment 13 Alexandre Ghisoli 2006-06-14 05:44:04 UTC
Created attachment 89139 [details]
Postfix main.cf

Postfix main config file
Comment 14 Alexandre Ghisoli 2006-06-14 05:45:09 UTC
Created attachment 89140 [details]
Postfix services file

Define postfix services to use
Comment 15 Alexandre Ghisoli 2006-06-14 05:46:09 UTC
Created attachment 89141 [details, diff]
Patch to make VHCS uses system wide installed  ADOdb 

Make VHCS use a system wide installation of ADOdb.
Comment 16 Alexandre Ghisoli 2006-06-14 05:47:05 UTC
Created attachment 89142 [details]
/etc/conf.d/vhcs

Initial configuration file for init.d system
Comment 17 Alexandre Ghisoli 2006-06-14 05:47:41 UTC
Created attachment 89143 [details]
/etc/init.d/vhcs

Init.d script to start up VHCS
Comment 18 Alexandre Ghisoli 2006-06-14 06:41:20 UTC
Created attachment 89153 [details]
PostgreSQL database schema

OOps, old attachement was broken
Comment 19 Alexandre Ghisoli 2006-06-14 06:43:34 UTC
Created attachment 89154 [details]
Postfix main.cf

OOps, correct file attachement
Comment 20 Alexandre Ghisoli 2006-06-14 06:45:11 UTC
Created attachment 89156 [details]
Postfix services file

OOps, correct attachement
Comment 21 Alexandre Ghisoli 2006-06-14 06:46:45 UTC
Created attachment 89157 [details, diff]
Patch to make VHCS uses system wide installed  ADOdb 

OOps, correct attachement
Comment 22 Alexandre Ghisoli 2006-06-14 06:48:26 UTC
Created attachment 89159 [details]
/etc/conf.d/vhcs

OOps, correct attachement
Comment 23 Alexandre Ghisoli 2006-06-14 06:49:37 UTC
Created attachment 89160 [details]
/etc/init.d/vhcs

OOps, correct attachement
Comment 24 MT 2007-02-28 15:00:15 UTC
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.
Comment 25 MT 2007-02-28 15:02:21 UTC
Created attachment 111561 [details, diff]
vhcs-2.4.7.1-adodb_paths_fix.patch

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 26 MT 2007-02-28 15:03:05 UTC
Created attachment 111562 [details, diff]
vhcs-2.4.7.1-common_code.patch

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 27 MT 2007-02-28 15:03:49 UTC
Created attachment 111564 [details, diff]
vhcs-2.4.7.1-init.patch

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 28 MT 2007-02-28 15:04:37 UTC
Created attachment 111566 [details, diff]
vhcs-2.4.7.1-php5.patch

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 29 MT 2007-02-28 15:05:21 UTC
Created attachment 111567 [details, diff]
vhcs-2.4.7.1-sandbox.patc

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 30 MT 2007-02-28 15:13:51 UTC
Created attachment 111568 [details, diff]
vhcs-2.4.7.1-vhcs2-setup.patch

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 31 MT 2007-02-28 15:17:24 UTC
Created attachment 111570 [details]
vhcs-conf.d

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 32 MT 2007-02-28 15:18:12 UTC
Created attachment 111572 [details]
vhcs-init.d

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 33 MT 2007-02-28 15:18:46 UTC
Created attachment 111574 [details]
vhcs-shared.conf

necessary for www-servers/vhcs-2.4.7.1-r2
Comment 34 MT 2007-02-28 15:21:36 UTC
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)
Comment 35 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 11:33:50 UTC
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.
Comment 36 Szpadel 2010-02-24 23:13:35 UTC
Created attachment 221047 [details]
vhcs-2.4.8

I corrected patch files and ebuild to new version
Comment 37 Yohan 2010-03-16 14:30:46 UTC
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
> 

Comment 38 Aaron W. Swenson gentoo-dev 2010-03-24 15:30:35 UTC
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.