PDA

View Full Version : Feature requests for CustomBuild



smtalk
11-20-2007, 08:59 AM
Hello,

If you have any suggestions (feature requests) to the new custombuild script please post them in this thread. Thank you.

smtalk
11-20-2007, 09:00 AM
What do you think about a new option to compile exim from the source (tarball)?

jackc
11-20-2007, 11:05 AM
could you include pdo_mysql when building php? tried to do this manually but unsucessful. :(

yacenty
11-21-2007, 02:49 AM
support for other web servers -> nginx, lighttpd
Thanks in advance :)
yacenty

smtalk
11-25-2007, 03:55 AM
jackc, I'll think about it :) Maybe it will be included into 1.2 release :)

walleed222
11-25-2007, 04:16 AM
I suggest adding support to free scripts like chat scripts and Nuke like

albatroz
01-13-2008, 03:18 PM
What does pdo_mysql mean?


could you include pdo_mysql when building php? tried to do this manually but unsucessful. :(

morfargekko
02-17-2008, 02:24 AM
jackc, I'll think about it :) Maybe it will be included into 1.2 release :)

smtalk, is it added in 1.2?
If not can You please please please add it soon to the next release?

smtalk
02-17-2008, 02:26 AM
It's easy to do that, just send DirectAdmin support a request to add --with-pdo-mysql to PHP5/6 configuration files :)

morfargekko
02-17-2008, 02:45 AM
Thanks smtalk, if it that easy I can do it myself. :D

zbahadir
02-23-2008, 05:42 AM
Hi,

add option [required]
----
backup old mysql data = yes/no [yes]
backup dir = /backup dir

backup old directadmin dir = yes/no [yes]
backup dir = /backup dir

thanks

mattb
02-24-2008, 05:08 AM
pdo_mysql and mod_python would be my two requests. :)

smtalk
02-26-2008, 12:40 PM
Thank you for your feature request :) I'm planning to add few of them to the next version of the CustomBuild script ( http://directadmin.com/forum/showthread.php?p=125220 ) :)

Duboux
02-29-2008, 02:00 PM
Could you add mod_evasive and mod_secure and all that ?

Dravu
02-29-2008, 09:51 PM
Perhaps you could allow specific versions in the options.conf file? Before, we could just go in and edit the build file to rebuild an earlier release, but now with the versions.txt checking with everything, I don't think that's possible. Since me nor John could get PHP 5.2.4/5.2.5 to work on my server the numerous times we tried, I'd feel safer trying again later if there was an option to leave the door open. :)

smtalk
03-01-2008, 12:58 AM
Just set autover=no in the options.conf file and you will be able to edit versions.txt without any problems (because it won't update it automatically) :)

Dravu
03-02-2008, 12:24 AM
Just set autover=no in the options.conf file and you will be able to edit versions.txt without any problems (because it won't update it automatically) :)
Ah. Thanks for the info. Skipped right over that. :)

trophaeum
03-02-2008, 04:41 PM
+1 for mod_evasive, not too worried about mod_security since it is a bandaid to real issues but evasive is a nice and easy way to handle a chunk of generic dos's

albatroz
03-09-2008, 05:23 AM
Is it too much to ask for Horde webmail?
Horde as well as other apps (like latest Sugarcrm) need IMAP support, which is not included in CustomBuild.

BTW, found this thread about update.script (http://www.directadmin.com/forum/showthread.php?t=22587) a script that seems can install IMAP client support and also seems to work with CustomBuild. I wonder if someone has used them together.

smtalk
03-13-2008, 12:38 AM
trophaeum, I'll think about it :) It would be great you you could create a poll for it.

albatroz, it's up to DirectAdmin to add IMAP support or not. You can add a poll in a new thread if you want, then I'll be able to talk to John (DirectAdmin) about IMAP suppot.

spoonfed
03-26-2008, 02:04 AM
subversion would be nice, would definitely save me time the next time i do an install. :)

Dauser2007
04-02-2008, 03:22 PM
How about bind-9.4.x for centos5 ? can tell the step by step

Thanks

smtalk
04-22-2008, 02:27 PM
Dauser2007, bind is not compiled from the source together with DirectAdmin, so I don't think so that we need to start to compile it from the source :) (unless there are more users that want bind compiled from the source)

spoonfed, I agree that it would be nice, but then DirectAdmin should have a GUI for subversion and it will take some time to create it (so, I think it should be in "Feature requests" category, instead of "CustomBuild").

jocker
05-10-2008, 04:36 PM
Hi everybody,

what do you think about a feature wich will allow us to decide wich webmail script would be use with the link /webmail.

for the moment uebimiau is by default the webmail.

It would be useful to be able to have roundcube for webmail and also change the link on the /webmail image which is a link to squirrelmail.

See you

smtalk
06-11-2008, 08:49 AM
You can do that manually now (in /etc/httpd/conf/extra/httpd-alias.conf) :) I think that it should be implemented into DirectAdmin GUI and not the CustomBuild script and it should be available both for CustomApache and CustomBuild users :) So, a request should be placed in Feedback & Feature Requests (http://directadmin.com/forum/forumdisplay.php?f=8)

Zoner
06-17-2008, 11:55 AM
awstats would be much better than webalizer, and if it only can make static version

Hope it coming future, included with DA or Custombuild version.

jlandes
06-17-2008, 04:54 PM
Hi everybody,

what do you think about a feature wich will allow us to decide wich webmail script would be use with the link /webmail.

for the moment uebimiau is by default the webmail.

It would be useful to be able to have roundcube for webmail and also change the link on the /webmail image which is a link to squirrelmail.

See you
To change the webmail image link, see http://www.directadmin.com/features.php?id=735. HTH. :)

smtalk
07-07-2008, 04:04 AM
AWstats will be included into the next version of the CustomBuild script :) As well as many new great features: spamassassin, clamav, mailman (maybe), cleaning of old tarballs in custombuild folder (e.g. if the current version of Dovecot is 1.1.1, it will delete dovecot 1.0.14, 1.1.0 etc. tarballs), cleaning of old webapps (e.g. if the current version of phpMyAdmin is 2.11.7 it will delete 2.11.5, 2.11.3 etc. from /var/www/html). PHP-IMAP and Horde groupware webmail edition are in my future plans.

Randy
07-10-2008, 04:54 PM
Update request:
with update_versions: FIRST update MySQL, than PHP. Now after updat_versions, PHP needs to get recompiled again to update the mysql_drivers.

Randy
07-10-2008, 04:55 PM
PHP-IMAP and Horde groupware webmail edition are in my future plans.

Martynas,

Please, use imap ans imap-ssl both.

smtalk
07-11-2008, 01:50 AM
Update request:
with update_versions: FIRST update MySQL, than PHP. Now after updat_versions, PHP needs to get recompiled again to update the mysql_drivers.

Hello,

It's done, but not yet released, because there are few hundreds of new lines and few hundreds of changed lines :) So, it needs more testing. But, thank you for this post.

smtalk
07-11-2008, 01:51 AM
Martynas,

Please, use imap ans imap-ssl both.

There were some problems with IMAP-SSL and imap-2007b package on few OS. But I'll try to fix these "problems".

zEitEr
07-30-2008, 03:06 AM
Additional check for suPHP_ConfigPath.
If both PHP4-CGI and PHP5-CGI, or PHP5-CGI and PHP6-CGI gonna be installed, script should change suPHP_ConfigPath to /usr/local/suphp/etc/ for using correct php.ini

See http://directadmin.com/forum/showthread.php?t=21011 and http://www.directadmin.com/forum/showthread.php?t=20508 for details.

zEitEr
07-30-2008, 03:24 AM
I've got some problems with switching suPHP OFF.
I've got suPHP_Engine OFF for my Virtual host, but script.php is still parsed by suPHP.

suPHP is enabled server wide in /etc/httpd/conf/extra/httpd-suphp.conf
If I comment out the line suPHP_Engine on it works fine untill next run of
/usr/local/directadmin/custombuild/build php or /usr/local/directadmin/custombuild/build rewrite_confs, etc...

May be do not enable suPHP server wide in /etc/httpd/conf/extra/httpd-suphp.conf

siulun
08-26-2008, 10:34 AM
Don't know if this thread is still maintained. But I would also like mod_python support. Along with options for mod_dav, mod_dav_svn and mod_authz_svn if possible :D

mattb
09-04-2008, 08:44 AM
Don't know if this thread is still maintained. But I would also like mod_python support. Along with options for mod_dav, mod_dav_svn and mod_authz_svn if possible :D

+1 :D

These are the features that I'm quite keen for. It would basically keep my users off my back (these are most requested features).

To date I have a few boxes with these features.

ehsanch
10-04-2008, 06:54 AM
Ability to install php as FastCgi is very needed. php as cgi just eat a lot of system resource...
if it be available DA become grate.

ben29
10-21-2008, 07:53 AM
am...
mod mono

alexey.world
10-21-2008, 02:10 PM
It is necessary to integrate nginx 100%.)

DaanK
10-22-2008, 12:05 AM
mod mono

+1 for mono

ben29
10-23-2008, 09:57 AM
+1 for mono
%_%
with all fuctions ?
i means that with c# .netframework
aps .net asp

dreamline
11-04-2008, 02:05 AM
I was going to suggest support for php4, php5 and php6 in one script. Now it's 2 seperate scripts custombuild.1 (php4 & php5) & custombuild.2 (php5 & php6). Would be nice to built just 1 script for all php versions.

:)

smtalk
11-04-2008, 03:14 AM
1. PHP4 is EOL.
2. There would be too many options then.. (and too many checks). We already have 7 options with PHP5 and PHP6, so together with PHP4 we would have 23.

In my opinion it's not needed, if you think that it is - you can create a poll for that :) There is another poll about PHP4: http://directadmin.com/forum/showthread.php?t=28176

dreamline
11-04-2008, 06:22 PM
I've got another important update for custombuild:
I made changes to the directadmin/data/users/admin/httpd.conf script and everytime I rebuild apache I have to copy my old httpd.conf script in order for my websites to fully work again.


Would be great if custombuild could leave the script or would have an option not to rebuild the httpd.conf in /usr/local/directadmin/data/users/admin

:D

smtalk
11-05-2008, 03:57 AM
chattr +i /file/you/want/to/leave

dreamline
11-05-2008, 04:35 AM
Thanks smtalk I'll definately will use that cmd line ... :D

dicktump
01-05-2009, 01:05 AM
I would like to have multicore make support (-j2 or -j4 option to make for 2 or 4 cores). This would compile Apache and PHP much faster, which would decrease downtime when upgrading Apache from 1.3 to 2.0/2.2, which also requires a PHP recompile.

If this is already possible, please let me know :D

smtalk
01-08-2009, 09:56 AM
I would like to have multicore make support (-j2 or -j4 option to make for 2 or 4 cores). This would compile Apache and PHP much faster, which would decrease downtime when upgrading Apache from 1.3 to 2.0/2.2, which also requires a PHP recompile.

If this is already possible, please let me know :D

Added: http://directadmin.com/forum/showthread.php?t=29239

smtalk
02-01-2009, 12:07 PM
pdo_mysql

It has been added :)

pucky
02-08-2009, 09:57 AM
Shoshin patch for php.

mmerlin
07-22-2009, 08:16 AM
+2 mod mono :D

toxicdav3
07-24-2009, 11:20 PM
+3 mod_mono

php

under FastCGI
suhosin
xcache or eAccelerator

apache

mod_evasive
mod_security
mod_qos

floyd
07-25-2009, 12:23 PM
I am not really sure if this is a custombuild thing or not. When I install DA I of course download the setup.sh script. When I run that I get a asked a bunch of questions. I found I could eliminate all teh question and just specify the answers on the command line. It makes getting started with the install a lot faster.

The method above used customapache. But now I want to start using custombuild. Is there anyway to specify all the options on the command line like above but use custombuild instead.

I have to install DA many times a month and its helpful to be able to just copy and paste the command to do this and simply edit the LID and the hostname.

DirectAdmin Support
07-25-2009, 03:12 PM
Hi Floyd,

You can use custombuild with the command line options by typing:
echo 1.1 > /root/.custombuildbefore running the setup.sh. This will use all of the default custombuild options.

One step further than that, if you want custom options for custombuild, then you simply create the options.conf with the info how you want it, before running the seutp.sh (in addition to adding the above /root/.custombuild file)

Related from a while back (it's not beta anymore)
http://www.directadmin.com/features.php?id=774

John

wdv
07-26-2009, 07:25 AM
On FreeBSD proftpd is being installed at /usr/sbin/proftpd when built with custombuild. However, during installation of DirectAdmin it gets installed at /usr/local/sbin/proftpd. This is also the path in the init script.

So either custombuild should:
1) Install proftpd in /usr/local/sbin/proftpd, or;
2) Modify the init script to start /usr/sbin/proftpd

Option one would be the better option, since all apps are being installed in /usr/local/

dan-np
08-30-2009, 09:14 AM
+2 Mod_security :)

Henrik
08-30-2009, 09:25 AM
I second mod_security, plus integration with CSF / LFD as cPanel has.

nobaloney
08-30-2009, 01:23 PM
If DirectAdmin was integrated with CSF/LFD, then it would only work with Linux; FreeBSD doesn't work with CSF/LFD; it's a Linux-based firewall. For more information, look here (http://www.configserver.com/cp/csf.html).

Jeff

Henrik
08-30-2009, 01:38 PM
csf run with cpanel can catch mod_security hits and block accordingly. Something like this is what I meant, not that DA should be altered, more that mod_security installed on linux boxes has the option to work in a similar way.

tsiou
08-30-2009, 03:50 PM
It would be good for us running the services installed from ports in freebsd (or any linux) to have a way to see DA's last conf files.
I 've updated not using custombuild the dovecot service from 1.1 to 1.2
The conf files are different and i cant find a way to see the dovecot.conf file that i would got i updated via custombuild.

It wood by nice to add a ./build download_conf or something to have the latest conf files that da uses.

BLTYNR
09-02-2009, 12:41 PM
Ability to install php as FastCgi is very needed. php as cgi just eat a lot of system resource...
if it be available DA become grate.

Same here +1

TimmiT.nl
09-28-2009, 08:41 AM
Same here +1

Same here +1

tenny
10-03-2009, 09:10 AM
i hope it can add suphp,too.


thank you

wondermind
10-31-2009, 10:09 PM
+1 for mono

same here, +1 for mono

If DA can support mono well, i believe sales volume will increase a lot :D

ju5t
11-01-2009, 07:47 AM
Perhaps a feature that would make custom work more efficient; or a more decent versioning system. For instance, after you started using a custom configuration - perhaps only for a single change - you'll have to be up to date in regards to new changes.

This is absolutely not the case at the moment. I'm seeing pointers where the person is only being told to use custombuild, but it's forgotten that custom configurations are common.

Anyway, proper versioning or a way to search for changes would be great.

tristan
03-10-2010, 04:22 AM
Don't know if this is still the correct place for feature requests for Custombuild. I would like to see an extra option in the doSquirrelmail() function to keep the old config.php. Just a simple:



cp -av ${ALIASPATH}/config/config.php ${REALPATH}/config/config.php


in stead of the copying and changing of the config_default.php would do fine. Alternatively keeping the current way and copying over the sm_logo.png and enabling these extra plugins (all in the default distro already):

newmail (newmail notification)
listcommands (extra command when view mail from a mailing list)
delete_move_next (delete move to next mail links when reading mail)

Thanks anyway for creating this brilliant script!

meto
03-18-2010, 07:08 PM
It'd be nice to have genuine possibility to install php5.2 and php5.3 next to each other with no hacks.

smtalk
03-19-2010, 12:23 PM
Why the trick (http://directadmin.com/forum/showthread.php?t=35175) is not okay for you?

meto
03-29-2010, 08:12 AM
Auto-update doesn't work as it supposed to. Is it really so hard? :) I believe that many users lack that option and would appreciate that.

smtalk
04-09-2010, 03:40 AM
How is it supposed to work?

meto
04-09-2010, 06:52 AM
Autoupdate is supposed to download new versions.txt which is changed due to PHP 5.3 as PHP 6 mod. New versions.txt would contain PHP6 as PHP6...

smtalk
04-09-2010, 10:00 AM
You can include some operations in /etc/cron.daily/custombuild to change the PHP line in versions.txt automatically (use a perl regex).

meto
04-09-2010, 10:29 AM
Maybe its good idea to include some actions pre or post downloading versions.txt

So the correct way to do it is to enable autoupdate without autover and update versions.txt manually, lets say an hour before autoupdate? Is that correct approach?

smtalk
04-09-2010, 10:53 AM
Yes, that should work too.

meto
04-09-2010, 10:54 AM
Yes, that should work too.
Too? So what solution did you have in mind?

smtalk
04-09-2010, 10:57 AM
Execute a perl regex for versions.txt after "./build update".

tristan
04-12-2010, 01:36 AM
Hi there Martynas,

did you see my feature request (http://www.directadmin.com/forum/showpost.php?p=176360&postcount=66) as well by any chance?

Thanks!

astra
04-26-2010, 09:59 AM
Is it possible you add horde webmail into the customebuild ?

walo
04-27-2010, 10:10 PM
I think that a firewall configurable by the web control panel will be great.
kiss is a VERY simple firewall, for say some one. I don't see any con or headach.
A core script to handle iptables, like kiss but in the DA core

nobaloney
04-28-2010, 07:46 PM
There would need to be several scripts; we've noticed that different versions of the Linux console, which requires slight differences in our version of the KISS firewall scripts.

And of course there's FreeBSD, which uses a completely different method of configuring firewalls.

Jeff

walo
04-28-2010, 08:04 PM
There would need to be several scripts; we've noticed that different versions of the Linux console, which requires slight differences in our version of the KISS firewall scripts.

And of course there's FreeBSD, which uses a completely different method of configuring firewalls.

JeffI don't see that as a problem, I thing that directadmin core is millons of times more complex than a simple iptables handle.

Anyway, just a suggestion for who develop directadmin.

On the other hand, will be Directadmin 2.0 possible/real? I think that it's time.

DirectAdmin Support
04-28-2010, 09:34 PM
Hello,

As mentioned before, we're not likely going to redo everything in the sense of full code rewrite. We're going to continue to add features, make changes and improvements on the existing base. With that, the version will likely remain 1.x in the future, but will make changes along the way. FYI: for the next release: Multiple IPs per User, and per domain.

John

walo
04-28-2010, 10:01 PM
Version number is not realy important, I guess what many user are waiting are big changes and a new face.

I still have faith on directadmin. Hope to be the best CP ever!

Spark
01-24-2011, 11:37 PM
Would sure be nice if custombuild allowed you to disable php and apache from the update process in options.conf

we love using custombuild for most things but it really bites that we are forced to use apache and custombuilds version of php

we use litespeed web server with lsapi php cli and a custom php compilation script to include exec_dir_patch, mail header patch and suhosin


as it stands now we have to update with custom build app by app and not update versions

smtalk
01-25-2011, 02:33 AM
I'll add it to the future plans. E.g. apache_inst=yes/no option. As for PHP, you could just modify custom configure.php5 file and add the flags needed for the Litespeed.

tristan
01-25-2011, 02:45 AM
Hi there Martynas,

did you see my feature request (http://www.directadmin.com/forum/showpost.php?p=176360&postcount=66) as well by any chance?

Thanks!

Are there any updates for this request? I tried asking John but I think it's lost between todo-lists or something.

smtalk
01-25-2011, 03:31 AM
I'll check it very soon too :) Had some health problems for last 7 months, so main development was in John's hands. I'm recovering now and will do some great improvements very soon.

Spark
01-25-2011, 03:46 AM
Not that simple...

its not just flags, there is wgets of many files... exec_dir_patch, mail header patch, suhosin patch, suhosin extension, litespeed lsapi extension.

yum updates for all libraries are performed.

then they get extracted to the compile dir and patched then configure is ran.

smtalk
01-25-2011, 06:23 AM
Not that simple...

its not just flags, there is wgets of many files... exec_dir_patch, mail header patch, suhosin patch, suhosin extension, litespeed lsapi extension.

yum updates for all libraries are performed.

then they get extracted to the compile dir and patched then configure is ran.

I'm sorry to argue with you, but it's very simple :) No wgets at all. Currently CustomBuild doesn't support suhosin patch/extension, so you'd have to do that in the same way. mail header patch is applied automatically and PHP 5.3 supports litespeed SAPI: http://www.php.net/ChangeLog-5.php#5.3.0.

zEitEr
01-26-2011, 10:16 PM
Hello,

I did not see this thread.
Here's my requests:

[request] Copy custom config.inc.php after phpMyAdmin update
http://directadmin.com/forum/showthread.php?t=38979

[request] Custom script on custombuild PHP update
http://directadmin.com/forum/showthread.php?t=38978

Custombuild is showing lower versions available for update
http://directadmin.com/forum/showthread.php?t=38653

build set_fastest => all servers are dead
http://directadmin.com/forum/showthread.php?t=38999

Regards,
Alex.

Peter Laws
01-30-2011, 10:36 AM
[request] Copy custom config.inc.php after phpMyAdmin update
http://directadmin.com/forum/showthread.php?t=38979
I'd also like to be able choose an obscure directory name to untar the file instead of phpmyadmin, phpmyadmin_3.etc, that way when random scans happen, they get a 404.

smtalk
05-17-2011, 06:20 AM
Are there any updates for this request? I tried asking John but I think it's lost between todo-lists or something.

Yes, this feature is now available. Thanks for the request.

smtalk
05-17-2011, 06:21 AM
I think that a firewall configurable by the web control panel will be great.
kiss is a VERY simple firewall, for say some one. I don't see any con or headach.
A core script to handle iptables, like kiss but in the DA core

You can use CSF+LFD as a firewall, it has an interface on DA.

smtalk
05-17-2011, 06:28 AM
On FreeBSD proftpd is being installed at /usr/sbin/proftpd when built with custombuild. However, during installation of DirectAdmin it gets installed at /usr/local/sbin/proftpd. This is also the path in the init script.

So either custombuild should:
1) Install proftpd in /usr/local/sbin/proftpd, or;
2) Modify the init script to start /usr/sbin/proftpd

Option one would be the better option, since all apps are being installed in /usr/local/

A fix for that (just download a new start/stop script):
CentOS:


wget -O /etc/init.d/proftpd http://files.directadmin.com/services/custombuild/proftpd

Debian:


wget -O /etc/init.d/proftpd http://files.directadmin.com/services/custombuild/proftpd_debian

FreeBSD:


wget -O /usr/local/etc/rc.d/proftpd http://files.directadmin.com/services/custombuild/proftpd

tristan
05-17-2011, 08:21 AM
Yes, this feature is now available. Thanks for the request.

Great, thanks a lot, is that on by default now by the way?

smtalk
05-17-2011, 08:26 AM
Great, thanks a lot, is that on by default now by the way?

Place your config files to the following paths:


phpMyAdmin: /usr/local/directadmin/custombuild/custom/phpmyadmin/config.inc.php
SquirrelMail: /usr/local/directadmin/custombuild/custom/squirrelmail/config.php
RoundCube: /usr/local/directadmin/custombuild/custom/roundcube/main.inc.php

And CustomBuild will use them for phpMyAdmin/SquirrelMail/RoundCube installations.

SeLLeRoNe
05-17-2011, 08:28 AM
shall i suggest (at least for phpmyadmin at the moment) to let it manage a theme too?

I mean, if you use a custom theme and is set into config file, it will doesnt work cause phpmyadmin will lose it at any update, so, maybe put a theme folder with the zip (or the theme folder name) and let custombuild move it too should be usefull.

Actually im using to move the theme folder every time manually and would be appreciate let automatize this too.

Regards

smtalk
05-17-2011, 08:52 AM
shall i suggest (at least for phpmyadmin at the moment) to let it manage a theme too?

I mean, if you use a custom theme and is set into config file, it will doesnt work cause phpmyadmin will lose it at any update, so, maybe put a theme folder with the zip (or the theme folder name) and let custombuild move it too should be usefull.

Actually im using to move the theme folder every time manually and would be appreciate let automatize this too.

Regards

Added to CustomBuild 1.1.28 and 1.2.22. Use custom/phpmyadmin/themes as a themes folder.

SeLLeRoNe
05-17-2011, 12:15 PM
Thanks a lot :)

Will check for zip file or sub-directory?

Thanks

smtalk
05-17-2011, 12:31 PM
It needs to have the content that needs to be moved to /var/www/html/phpMyAdmin/themes. ("themes" is not a zipped file, it's a directory)

SeLLeRoNe
05-18-2011, 12:37 AM
Ok, sorry if i ask but more detail is much better... the path form so must be custom/phpMyAdmin/themes/THEMENAME cause custombuild script will move everything in themes into /var/www/phpmyadin/themes* for example, right?

just for be totally sure :P

smtalk
05-18-2011, 01:28 AM
Ok, sorry if i ask but more detail is much better... the path form so must be custom/phpMyAdmin/themes/THEMENAME cause custombuild script will move everything in themes into /var/www/phpmyadin/themes* for example, right?

just for be totally sure :P

Yes, it will copy everything from custom/phpmyadmin/themes to /var/www/phpMyAdmin/themes.

smtalk
05-18-2011, 01:40 AM
Hi,

add option [required]
----
backup old mysql data = yes/no [yes]
backup dir = /backup dir

backup old directadmin dir = yes/no [yes]
backup dir = /backup dir

thanks

Added mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups for MySQL backups.

SeLLeRoNe
05-18-2011, 01:49 AM
ok the backup directadmin dir is new.. i never saw it :)

Very nice, just a question, the mysql backup is a dump of each db or a massive copy of file?

For directadmin file, is all file (da conf, user confs, reseller confs, template) or what?

Thanks as usual ^^

smtalk
05-18-2011, 02:01 AM
ok the backup directadmin dir is new.. i never saw it :)

Very nice, just a question, the mysql backup is a dump of each db or a massive copy of file?

For directadmin file, is all file (da conf, user confs, reseller confs, template) or what?

Thanks as usual ^^

It creates a dump of each database using mysqldump. No option was added to backup directadmin files.

SeLLeRoNe
05-18-2011, 02:05 AM
Thanks :)

And sorry for all those (most of them are stupid :P) questions :)

Peter Laws
05-21-2011, 09:02 AM
Could we add a custom phpmyadmin directory in options.conf, eg.

phpmyadmin_dir=databasemanagement

then let it ignore recreating the alias symlink if its set?

Currently I've hacked the build script to preform what I require (with rm & mv etc).

Cheers.

smtalk
05-21-2011, 10:57 AM
I'm currently implementing mailman support to the CustomBuild script, but I will consider adding phpmyadmin_link, roundcube_link, atmail_link and squirrelmail_link (a simple "ln -s realdir linkdir") when I finish mailman. Thank you for the feature request.

SeLLeRoNe
05-25-2011, 04:46 AM
I would also suggest for Imagemagic implementation (but maybe use the yum/apt repository doesnt make conflict with apache/php/etc) can anyone confirm?.

Regards

Peter Laws
05-25-2011, 06:18 AM
I will consider adding phpmyadmin_link, roundcube_link, atmail_link and squirrelmail_link (a simple "ln -s realdir linkdir") when I finish mailman. Thank you for the feature request.
Not sure if I understood you, but I'd rather it didn't add a symlink from /phpmyadmin to my custom directory, basically I would like not to have any reference that it (could) exist to scanners at all.

Furthermore, I've edited the phpmyadmin link on the skin in DA to my custom directory.

If I've misunderstood, I apologise.

Tod
06-12-2011, 04:02 PM
Hi there, i have two questions.
I am using DA custombuild (BUILDSCRIPT_VER=1.1.28) with a remote mysql server. The /usr/local/directadmin/conf/mysql.conf file is populated with the correct information, host and access_host filled as well.
After trying to build roundcube (./build roundcube) it seems that host and access_host variables are not used, update tries to connect to local mysql server and then fails.
I could make it work, but had to modify the build script, which will be replaced after the first ./build update_script. If anyone can make an official release that would be great :)

The second question is related to ./build used_configs
Regarding to Custombuild FAQ (http://www.directadmin.com/forum/showthread.php?t=29824) it should 'detect files from "custom" folder too'. I have saved my Phpmyadmin config file in custom/phpmyadmin folder, but i can't see it in the output:

Apache configuration file: /usr/local/directadmin/custombuild/configure/ap2/configure.apache
suPHP configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.suphp
PHP5 configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.php5

Am i missing something?

SeLLeRoNe
06-12-2011, 11:55 PM
Hi,

regarding the first issue maybe the if the file to edit is the config or a fixed file should be done with custom/roundcube/ implementation of the file.

Regarding the second, yes custom/phpmyadmin/config.inc.php (if i dont remember bad the name of the file) is the correct path for your custom phpmyadmin configuration. Maybe the guide is just not up to date.

Regards

Tod
06-13-2011, 02:23 PM
Thanks for your reply SeLLeRoNe.
The build script generates the db.inc.php and the main.inc.php for roundcube from the developer distributed configs replacing some variables on the fly. I personally think it's a good idea, configs and functions are changing from version to version, you could lose functionality or stability if you use a saved older config.
It would be great if the build script could use mysql related variables from mysql.conf, they are already there, we only need to use it.

In my second question i'm trying to point out that the FAQ mentions a function that seems not in the build script yet, or i have misunderstood something. I have saved my myadmin config on the correct place. FAQ states that ./build used_scripts should show it as well, but the output only showed the used main configuration files (apache, suphp, php).

smtalk
06-14-2011, 02:11 AM
In my second question i'm trying to point out that the FAQ mentions a function that seems not in the build script yet, or i have misunderstood something. I have saved my myadmin config on the correct place. FAQ states that ./build used_scripts should show it as well, but the output only showed the used main configuration files (apache, suphp, php).

Thank you for the report, I've added phpMyAdmin, SquirrelMail and RoundCube to "./build used_configs", but the version is not yet realeased.

Tod
06-14-2011, 09:17 AM
Thank you for the report, I've added phpMyAdmin, SquirrelMail and RoundCube to "./build used_configs", but the version is not yet realeased.

Thanks smtalk! Do you have any ideas about how to fix the first issue?

smtalk
06-14-2011, 10:19 AM
I didn't understand your problem.


It would be great if the build script could use mysql related variables from mysql.conf, they are already there, we only need to use it.


Where should we use them and why?

Tod
06-15-2011, 02:26 AM
I didn't understand your problem.


Where should we use them and why?

In build script, roundcube build stanza:

New installation, db initialization:

mysql -e "CREATE DATABASE ${ROUNDCUBE_DB};" --user=${MYSQLUSER} --password=${MYSQLPASSWORD}
mysql -e "GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX ON ${ROUNDCUBE_DB}.* TO '${ROUNDCUBE_DB_USER}'@'localhost' IDENTIFIED BY '${ROUNDCUBE_DB_PASS}';" --user=${MYSQLUSER} --password=${MYSQLPASSWORD}
mysql -e "use ${ROUNDCUBE_DB}; source SQL/mysql.initial.sql;" --user=${ROUNDCUBE_DB_USER} --password=${ROUNDCUBE_DB_PASS}

AND at DB upgrade


mysql -e "SET PASSWORD FOR '${ROUNDCUBE_DB_USER}'@'localhost' = PASSWORD('${ROUNDCUBE_DB_PASS}');" --user=${MYSQLUSER} --password=${MYSQLPASSWORD}
mysql -e "GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX ON ${ROUNDCUBE_DB}.* TO '${ROUNDCUBE_DB_USER}'@'localhost' IDENTIFIED BY '${ROUNDCUBE_DB_PASS}';" --user=${MYSQLUSER} --password=${MYSQLPASSWORD}

AND at generating db.inc.php

/usr/bin/perl -pi -e "s|mysql://roundcube:pass\@localhost/roundcubemail|mysql://${ROUNDCUBE_DB_USER}:${ROUNDCUBE_DB_PASS}\@localhost/${ROUNDCUBE_DB}|" db.inc.php > /dev/null

The script tries to connect to local mysql server, regardless you use a remote mysql server and have the config variables set correctly in mysql.conf.
I don't know whether there are other places in build script where we should use those variables as well.

DA-Rff
06-15-2011, 03:39 AM
Varnish and perhaps also nginx.

I do not know if that is possible with custombuild, but it sure would be nice!

But maybe this should be a directadmin thing?

Zoner
06-25-2011, 08:27 AM
Project (PHP Patch exec_dir without safemode):
http://kyberdigi.cz/projects/execdir/english.html

Talked here:
http://www.webhostingtalk.com/showthread.php?t=372093&highlight=disable_functions

SeLLeRoNe
07-13-2011, 05:56 AM
Hi,

ive posted in DA FR aswell but prolly is more related to CustomBuild script.

...........

i was making some test and ive noticed this:


/usr/local/directadmin/custombuild/build rewrite_confs

Doesnt use


/usr/local/directadmin/data/templates/custom/httpd.conf

for replace


/etc/http/conf/httpd.conf

And neither


/usr/local/directadmin/data/templates/httpd.conf

Ive looked into the build script and seem that just copy (if exist) the


/etc/http/conf/httpd.conf.backup

So ive tryed to remove all httpd.conf* from /etc/http/conf/ but the file get again generated dunno from where.

So, my request is, should be possible make it JUST check the directadmin/data/templates (and of course /custom subfolder) for the config files?

Cause, the composition of httpd.conf rewrote is completly different from the original one from directadmin (the structure i mean).

Thanks in advance

Regards

smtalk
07-13-2011, 10:18 AM
Hi,

ive posted in DA FR aswell but prolly is more related to CustomBuild script.

...........

i was making some test and ive noticed this:


/usr/local/directadmin/custombuild/build rewrite_confsDoesnt use


/usr/local/directadmin/data/templates/custom/httpd.conf for replace


/etc/http/conf/httpd.confAnd neither


/usr/local/directadmin/data/templates/httpd.confIve looked into the build script and seem that just copy (if exist) the


/etc/http/conf/httpd.conf.backupSo ive tryed to remove all httpd.conf* from /etc/http/conf/ but the file get again generated dunno from where.

So, my request is, should be possible make it JUST check the directadmin/data/templates (and of course /custom subfolder) for the config files?

Cause, the composition of httpd.conf rewrote is completly different from the original one from directadmin (the structure i mean).

Thanks in advance

Regards

Use custom/ap2/conf/httpd.conf if you would like to have a custom httpd.conf after "./build rewrite_confs".

SeLLeRoNe
07-13-2011, 01:48 PM
Oh, i see, cause in template there is another one.. so.. should create some confusion (see me... went mad on this for 1hr) :)

Thanks for pointing me to the right direction.

Regards

zEitEr
07-13-2011, 09:38 PM
Already answered.

See
/usr/local/directadmin/custombuild/configure/ap2/conf/
/usr/local/directadmin/custombuild/custom/ap2/conf/

SeLLeRoNe
07-14-2011, 12:30 AM
I know was answered, my was like 2 cent for maybe have less confusion, i mean, have a uniqui origin for that file should be better.

Otherwise, when will be used the one in directadmin template folder?

Regards

IT_Architect
08-03-2011, 03:32 AM
I made this request in the DirectAdmin area but another post there said I should probably ask that here. From the DA post:

I would like to see mod_ruid2 incorporated into the standard install when CLI is chosen. It provides the security aspects of suPHP and more, without the downsides. This in turn creates a safe, maintainable environment for WebDAV. WebDAV is a suitable replacement to solve the security and technical problems of FTP. WebDAV would open up an array of possibilities for users that is currently only enjoyed only by users of Windows servers.

Thanks!

Angelokreikamp
08-11-2011, 06:37 AM
agree with Add mod_ruid2
in custom build


but i don't approve the WebDav Its a big security leak in my eyes

SleepyCatZ
08-11-2011, 07:45 AM
Hi,

In additional to the custom config for roundcube.
Can you make it a bit more customizable with custom "plugins"?

Let says putting custom plugins to /usr/local/directadmin/custombuild/custom/roundcube/plugins/*

Once "./build roundcube" the script will copying/replacing all plugins to /var/www/html/roundcube/plugins/*

Thanks

Suurbier
08-30-2011, 06:35 AM
mod_ruid2 would be a good standard feature

IT_Architect
08-30-2011, 06:41 AM
agree with Add mod_ruid2
in custom build but i don't approve the WebDav Its a big security leak in my eyesHow so? How do you feel about FTP?