GRATISSS....
cPanel Stable 24739 --> 25959
Written by Administrator   
Jumat, 27 Juni 2008
Fixes
     Fixed awstats generation on FreeBSD
     Fixed output during account transfer to use the <pre> tag rather than <blockquote>
     Fixed path issues when building RRDTools on FreeBSD
     Added mime icon for CGI scripts
     Allow installation of wildcard SSL certs onto matching non-wildcard virtualhosts
     Always allow mail from the main IP Address when creating SPF record
     Auto symlink old home directories when restoring accounts
     Bug 2898: Show proper location of backup file in notification email
     Bug 5675: Fixed incorrect size usage when formating for Notification
     Bug 6151: Allow all RFC 2822 characters to be used in the local part of an email address
     Bug 6423: Lowercase CommonName when generating or installing SSL Certificatess to prevent removal when regenerating httpd.conf
     Bug 6428: prevent transposing '+' in MIME type to space
     Bug 6437 check for /dev/random and /dev/urandom before running rndc-confgen
     Bug 6445: Prevent addition of www. to wildcard subdomain when httpd.conf is regenerated
     Bug 6523: Fixed missing password validator field for cPAddons
     Build the oldest version of PHP if the one specified by the makecpphp profile does not exist
     Capture databases using mysqldubmpdb in pkgacct-pXa
     Changed 'Service' to 'Authentication Service' in column heading of Hulkd configuration interface to more accurately reflect source
     Changed unconfigured cPAddon message markup for clarity
     Clarified error message displayed when ownership check fails during password modification
     Cleaned up Exim queue output
     Cleaned up XML-API output to be more XML compliant
     Consolidated internal functions that determine the PHP binary to use for internal purposes into Cpanel::cPPHP to ensure consistency among the various cpanel processes
     Corrected charset to UTF-8 in htdocs
     Cpanel/Mysql: don't show local databases when server configured to use remote MySQL server
     Cpanel/NamedConf/Find: set proper user and group for Bind chroot on SuSE
     DCPUMon: Add ps processes to totals after checking for Apache processe to  prevent adding duplicates to the toplist
     DCPUMon: CPU/Memory of idle Apache processes no longer included in calculations
     DCPUMon: Fixed claculation of current average percentage when no previous totals are available
     DCPUMon: fixed parsing of Apache 1 whm-server-status output
     DCPUMon: prevent spurious matches against process output
     DCPUmon: removed use of File::Glob::glob since it's slower and requires /bin/csh
     Disabled globally shared calendar configuration in Kronolith (Horde)
     Display appropriate error when username is not provided during Password modification
     Do not install ssl certs for services that are not enabled
     Don't display account password in notification email on account creation
     Don't display local databases when using Remote MySQL server
     Eliminated Race condition when adding sub and parked domains
     Ensure 'system' is not listed when password modification fails
     Ensure ADDONS file handle is closed upon completion
     Ensure MySQL is running before performing DB Exists check during account restoration
     Ensure XML output by bin/hooksadmin is properly encoded for standards compliance
     Ensure problems with cpbackup FTP configuration are logged
     Fix apache_port and apache_ssl_port regexes to properly match #.#.#.#:# IP/Port format
     Fix handling of LanguagePriority directive
     Fix improper symlinking in RRDToolinstall
     Fix upcp hang on Courier restart
     Fix whitespace issues caused by PHP Configuration editor
     Fixed CWD call during cPAddon moderated install via WHM to be taint-safe
     Fixed MySQL grant retrieval in pkgacct-enXim to use proper user
     Fixed RRDTool install for FreeBSD
     Fixed backup configuration template for proper comparisons
     Fixed broken javascript on diskusage/index.html effecting Internet Explorer 6/7
     Fixed erroneous template tag that caused a link to Roundcube to always be displayed in Webmail
     Fixed error in Cpanel::Logger::Logger that prevented levels of die or panic from halting processing
     Fixed handling of ; in session.save_path syntax by PHP Configuration Editor
     Fixed handling of file names with spaces when using IE and the HTML Editor
     Fixed integration patch for Squirrelmail 1.4.13
     Fixed issues with using cpservices on FreeBSD
     Fixed library search path issue that caused RRDToolinstall to always attempt a reinstall
     Fixed password-less access to template1 caused by changing postgres password
     Fixed various typos and grammatical issues
     Fixed whitespace handling in file names for IE
     Fully daemonize antirelayd child processes to prevent WHM Interface hangs
     Halt backup before doing anything if FTP configuration is invalid
     Handle max_execution_time for default cPanel php.ini
     Have XML-API/createacct grant account a dedicated IP Address according to package definition
     Horde/Group: changed PHP_LOG_ERROR to PHP_LOG_ERR
     Improved checking for presence of username in new passwords
     Improved detection of Linux-VServer environment
     Improved su handling in scripts/sshcontrol to prevent timing issues that could prevent proper login during transfer
     Improved support for detecting FreeBSD in VMware
     Increase virtual memory size in userdel subshell to avoid segfaults on 64-bit systems
     Made bin/linktest-ssl depend upon Net::SSLeay 1.32 as minimum version
     Made the <cgi> tag in EntropySearch case-insensitive
     Make PHP Configuration Editor more conservative on quoting values
     Minor fix for pkgacct-pXa for copying mail
     Only add --sshkey to transfer command if it has a value
     Only enable webprotect if /var/cpanel/fileprotect exists
     Output content-type when using the randhtml SSI
     Preserve DirectoryIndex when rebuilding Apache
     Prevent HTML Encoding of Mailing list passwords
     Prevent XML-API/createacct from creating an account when the stipulated package does not exist
     Prevent Zombies from occuring in Cpanel::Cgi
     Prevent adding LoadModule lines that refer to compiled in modules in acceptance test
     Prevent creation of MySQL databases named user_
     Prevent creation of password-less MySQL virtual users
     Prevent eximstats and antirelayd from being started after migration to tailwatcher
     Prevent hang in rpmup2 on VPS
     Prevent template filename display in cgiemail
     Prevent unnecessary MySQL error when changing GRANTs
     Prevent unnecessary regeneration of language.local cache
     Prevent use of invalid CommonName during SSL Certificate generation
     Prevent use of negative values in packages
     Properly report licensing errors
     Redirect STDERR to /dev/null in pkgacct to prevent copy process from aborting on error
     Reduced memory overhead of cPHulkd
     Remove -v from the options of mysqldump in /scripts/pkgacct. The extra data can cause data corruption if written to the sql dump file.
     Remove BOM character to allow Swedish lang to work in phpMyAdmin
     Remove eximstats and antirelayd from chkservd
     Removed /scripts/cpbackup2
     Removed /scripts/netssl_test
     Removed confusing output generated by manual DNS syncs using /scripts/dnscluster
     Removed non-existant DomXstl from makecphpphp profile
     Removed unnecessary checkhttpd as the installer handles this
     Removed unrecognizable text from crimsom smoke branding package
     Resolved issue that displayed all SSL Certificates in the Service Manager
     Resolved issues with Dedicated IP accounts having SPF record mismatch due to use of Shared Hosting IP for outgoing SMTP
     Respect setting to disable Mailman
     Sanitize Nameserver entry in Basic Setup
     Set executable bit for 'other' for Perl binary when doing maildir conversion to prevent infinite loop
     Set magic_quotes_gpc to Off for Round Cube
     Set permissions on home roots to 0755 if /bin/pwd is broken (https://bugzilla.redhat.com/show_bug.cgi?id=448446)
     Skip updating a user when password lookup fails
     Untaint variables used in cPAddons
     Update IP functions to exclude proxy virtualhost when determining free IP addresses
     Updated French language file removing German keys
     Updated Password generator for SSL Cert passphrase to only produce alpha-numeric passphrases
     Updated install_php_inis to remove broken /var/cpanel/3rdparty/lib/php.ini files
     Updated mysqlpasswd to work with remote MySQL databases
     Updated pkgacct-pXa to capture MySQL grants, PostgreSQL grants and databases and Horde data
     Updated scritps/exim_tidydb to cleanup the ratelimit DB
     Whostmgr/Accounts/Create.pm: Prevent package settings from being overridden when edit-account privilege exists and package value is not specified
     cpbackup: Ensure FTP Login failure is logged
     postgresadmin: Prevent spurious error when doing setuid to PostgreSQL user
     Proceed to next account when FTP login fails during backup rather than terminating the entire process
     Remove conflicting 3rdparty/lib/php.ini file
     Updated install_php_inis to always set specified values and to disable "register_globals" for all cPanel provide PHP apps.
     Added /scripts/fix_sa_compile script to autocorrect Errno.pm problems and invoke it before running sa-compile in update_sa_rules
     Cause internal PHP session garbage collection to happen sooner
     Clarified meaning of Register Globals label in Tweak Settings
     Fixed typo that interfered with generation of /etc/relayhosts
     Prevent /scripts from being updated when updates are set to never
     Wrong message displayed when detecting razor and pyzor suppor
     Resolved issue where modification of quota value for an account would be stored in kilobytes rather than megabytes in /etc/quota.conf
     Addressed domain lookup issue when adding an A entry for a reseller's nameserver when the domain contains two part TLDs
     Adjusted cPanel provided software installation to make multiple connection attempts upon failure to help ensure successful installation
     Adjusted wildcard domain handling in Apache configuration to prevent incorrectly matching non-wildcard entries
     Prevent branding editor issue where attempting to revert one page could revert all pages
     Adjusted setup of MX entry for newly created accounts to have the server always accept messages locally regardless of DNS information
     Solved problem with spamassassin being unable to start after reinstalling perl with different compile time options
     WHM now displays correctly at 800x600 in IE7
     Fixed permission on cgiemail and cgiecho when they are installed from the Cgi Center area
     Notify users when cpaddons cannot be converted from the old format and present them with work around options
     Prevent blank entries in /etc/mailhelo
     Prevent setting quotas on cpanel* users
     Fixed AddDescription regex for apache_conf_distiller
     Ensure Config.pm always gets installed for native ssl support
     Removed pine package requirement from /scripts/sysup
     Prevent distiller and Cpanel::ApacheConf from reading in information from Proxy
     Roundcube spellchecker removed because it requires openssl & curl which is not installed in the default php config
     Fixed SSL installer to prevent adding duplicate vhosts
     Fixed typos
     Added logic to verify package language setting/definition upon package modification and addition
     Added touch of /etc/relayhosts to restartsrv_exim
     Fixed cPHulkd to work properly when PAM resolver is on
     Fixed calls to /scripts2/getips_local
     Added missing definition for getips_local as used by Cpanel::Accounting
     Adjust Cpanel::SafeFile for operation in directories where permissions prevent creating a new lock file but we still want to flock
     Adjusted argument handling in editquota to accept case insensitive Unlimited definition.
     Adjusted suspendacct and unsuspendacct to correctly handle domain arguments
     Allow use of full range of characters in PostgreSQL user names as supported by PostgreSQL
     Bug 6929 Fixed cPAddons docroot install string
     Bug 6969 FIxed incorrect passing of SSL Option to AWstats
     Bug 6981 Adjusted quota handling in suspendacct to normalize the quota value prior to resetting the quota.
     Changed AWstats listing to only display domains with valid data
     Changed auto-redirect to proxy timeout value to 4 hours
     Clarified which logins are logged in cPHulk
     Drop currently meaningless 'Status' from cPHulk interface
     Fixed Proxy redirect
     Fixed angle_bracket_encode() call that was not updated when angle_bracket_encode() was moved
     Fixed deadlock in Cpanel::Accounting
     Fixed deadlock in dnsadmin
     Fixed transfer of packages that have spaces in the name
     Hide confusing error out put of test_sa_compiled
     Improved generation of HostAlias line for AWstats config
     Prevent bad values in Package definition files
     Remove attempted reinstall via CPAN of sa-compile generated module in patch_mail_spamassassin_compiledregexps_body_0
     Set language to 'English' for packages with undefined languages
     Added call to update-horde in restartsrv_mysql when Horde is improperly installed
     Disabled call to /usr/sbin/setfiles in mysqlup
     Ensure restartsrv_mysql creates symlinks to mysql.sock in all standard places
     Prevent unnecessary termination of xinetd
     Updated /scripts/realperlinstaller to set proper installation path for non-root users
     Fixed how the File Manager handles spaces in names
     Fixed location of analog.cfg
     Prevent running rrdtoolcheck if disabled
     Prevent running stats programs with no data
     Refetch the .cpanelsync files upon multiple download failures
     Resolved function misname in cPCPAN
     Resolved issue with searching email accounts in filter interface
     Set locale to prevent problems with check using language aware versions of yum (Fedora Core 9)
     Fix for SSL proxy redirects
     Prevent deleting 'disabled' feature list
     Resolve issues with yum checks on Fedora Core 9 for languages other than english
     Update for CPAN 1.80 to prevent module tests during installation
     Prevent YUM from hanging in /scripts/safeyum
     Prevent potential zombification of /scripts/ensurerpm2 during upcp
     Fixed invalid maildir path used for email filters
     Ensure libstdc++ is installed by /scripts/sysup
     Fixed broken HTML tag in moving.page.html
     Fixed creation of email filters that contain multiple actions

Enhancements
     Added '.keep' file for 3rdparty/etc/php.ini
     Added --preview parameter to build_apache_conf to generate httpd-preview.conf without touching httpd.conf
     Added Tweak Setting governing display of account password in notification email
     Added Tweak Setting governing use of quoton during quota modification
     Added support for preventing removal of certain older files by use of a '.keep' file
     Added support for symlinking old home directory location during accounting restoration
     Disabled Ruby, Python and TCL binding when building internal RRDTools
     Execute checkphpinis if 3rdparty/etc/php.ini is missing
     /etc/mailips now auto-generated and used for outgoing SMTP interface.
     API2 Engine Optimized
     Add ability to configure single subdomains in proxydomains script
     Add checkwebdiskproxydomains script for manual updating
     Add support for Mozilla Universal Charset Detection in bin/guess_file_encoding
     Added "PHP max execution time for cPanel PHP execution in seconds" to Tweak Settings
     Added 'unlimited' as valid argument for bwlimit setting on command line wwwacct
     Added --start, --stop and --restart to cpdavd
     Added /scripts/mainipcheck to populate /var/cpanel/mainip
     Added /scripts/proxydomains for creating/removing proxy DNS entries for existing accounts
     Added /var/cpanel/mainip to contain main server IP Address
     Added ACL to reject mail at SMTP time if the sender fails SPF checks
     Added Exim ACLs to ratelimit spam hosts
     Added OS X Leopard compatible webdisk connector
     Added TweakSetting for defining internal PHP timeout value
     Added TweakSettings for creation of proxy VirtualHost, automatic proxy subdomain creation, and creation of subdomains that override proxy subdomains
     Added WebDisk support to Proxy Access
     Added bin/spf_updater to add main IP to existing SPF records
     Added bind-chroot exclusion for yum updates to prevent conflicts. This will be re-enabled once bind-chroot support is improved
     Added clarifying note to Remote MySQL Setup
     Added cpanel/bin/low_mem_mods to install memory-optimized cPanel Perl modules
     Added logging to Cpanel::DomainTools::make_valid so that domain name modifications are logged
     Added mcrypt support to internal PHP Binary
     Added more error detection to rrdtoolinstall
     Added new validation for url protocol to X3 Mime/Redirect
     Added option to skip scanning messages for virii/malware when the scanner is unavailable, and allow mail delivery to continue
     Added options for Malware Defer and SPAM Defer to Exim configuration
     Added scripts/cleanversion to remove and reinstall version.pm
     Added scripts/disablefileprotect to reverse effects of scripts/enablefileprotect
     Added scripts/removeuserdb to remove empty databases that match the user name
     Added scripts/restartsrv_chkservd
     Added scripts/restartsrv_cpdavd
     Added scripts/ssl_crt_status which provides a status report of the server's SSL Certificates
     Added scripts/suphpup to rebuild suPHP
     Added scripts/vps_optimizer for controlling improved VPS cPanel performance
     Added setbwlimit to XML-API
     Added sqloptimizer
     Added support for Flash and JavaScript in Branding
     Added support for adding custom logs to cpanelloggd using /var/cpanel/cpanellogd.custom
     Added support for transferring Parked Domains with pkgacct-da
     Added support for transferring mail aliases with pkgacct-da
     Added support to /scripts/wwwacct for specifying account language
     Added tailwatchd to Service Manager
     Added tweak setting to govern state of register_globals for internal PHP
     Allow creation of package during account creation
     Allow specifying of Feature List during account creation
     Allow specifying of protocol when creating a redirect
     Automatically run '/scripts/proxydomains add' in background when proxysubdomainsfornewaccounts is initially set
     Automatically update DNS for existing proxy setups in tweaksettings and EA3
     Bug 1509 Implemented support for LOC Resource Records
     Bug 2291 Implemented support for the following DNS RRs AFSDB, DNAME, DS, HINFO, NAPTR, RP, SRV
     Bug 2621: Allow specifying of Language during account creation
     Bug 3357: Added roundcube support
     Bug 5773: Added cpdavd to Service Manager
     Bug 5833 Implemented reverse proxy for logins
     Bug 6192: Implemented IP Address editor for RBL Whitelisting
     Bug 6484: Account suspension now revokes MySQL access
     Bug 6523: Added ability to obtain phpinfo during cPAddon install
     Call /scripts/mainipcheck during upcp
     Call scripts/removeuserdb during upcp
     Changed 'BL' to 'Blacklist' in Tweak Settings for clarity
     Changed sessionhandler for Horde to use disk based handler
     Clarified message displayed when cPAddons configuration is not found
     Default to using CGI binary for internal PHP use
     Disabled auto-enabling of ENHANCED IDLE for Courier-IMAP
     Disabled builddb in updateuserdomains
     Display error message when creating a MySQL user without a password
     Enabled OpenSSL and mcrypt in makecpphp for horde and roundcube
     Expvar Engine Optimized
     Faster loading of showbw
     Faster start-up time for cpanel, whostmgr, whostmgr2 and XML-API
     Generate /etc/mailhelo from primary domain name of account
     Greatly reduced account termination time for accounts with many Zones
     HTTP Module List and Version now cached for quicker cPanel load time
     Have proxydomains settings default to 'on' in TweakSettings
     Horde now uses file-based session handler
     Improved Security Rating reasoning of PHP cPAddon applications
     Improved ServerAlias lookups for speed purposes (impacts installation of FrontPage, Parked Domains, Sub Domains, etc)
     Improved file encoding detection algorithm
     Improved overall memory consumption by switching to memory-optimized modules and removing the POSIX module
     Improved support for importing email and email users in pkgacct-da
     Include account creation date in pkgacct-pXa transfers
     Inform user of action being performed when executing /scripts/proxydomains
     InnoDB auto-disabled if no MySQL tables use it
     Lowered memory requirements
     Mailman will only start if the server actually has mailing lists
     Moved cpdavd and tailwatchd to cpanel/libexex
     Moved mail authentication functionality to MailAuth
     Notify user when SSL Certificate expired and self-signed certificate used as replacement
     Notify user when SSL Certificates will expire within 30 days
     Optimized bin/hooksadmin for memory usage
     Optimized internal cPanel parser
     Optimized loading of httpd.conf by only creating Include entries for files that actually exist
     Redesigned Create a New Account interface
     Redesigned Package interfaces
     Refactored DNS Zone Editor to allow for broader range of fields and Record types
     Removed call to /scripts/phpini from /scripts/upcp
     Removed checkperlmodules call from rpmup2
     Removed deprecated Addon Manager from Plugins
     Replaced eximstats, antirelayd and cpbandwd with new Tailwatch application
     Restoring account that uses the InnoDB table type will enable InnoDB support in MySQL
     Sessions for internal PHP apps now stored in /var/cpanel/userhomes/
     Set HELO during SMTP from /etc/mailhelo
     Show account disk space used in Account Transfer interface
     Simplified rpmup2
     Speed improvements when copying accounts from another 11.23 server
     Squirrelmail updated to 1.4.13
     Support for using URI encoded values in Redirect Targets added
     Update X3 interface to use webdisk proxy when cpanel proxy is being used
     Update all downloadable webdav setup files to handle webdisk proxy
     Update phpextensionmgr to use updatephpconf rather than phpini
     Update userdata_update to handle ApacheConf __aliasmap__ changes without generating warnings
     Updated /scripts/ensure_includes to reposition proxy VirtualHost at end of httpd.conf
     Updated /scripts/phpini to be a wrapper that calls /scripts/updatephpconf
     Updated /scripts/updatephpconf to use new prefix support in Cpanel::PHPINI
     Updated Cpanel::PHPINI to properly report errors
     Updated Cpanel::PHPINI to support PHP installation prefix
     Updated Exim configuration to load Perl only when needed
     Updated Eximstats TailWatch driver to be Remote MySQL aware
     Updated PHP Extension Manager to provide extensions for FreeBSD 7
     Updated RRD to 1.2.27
     Updated WHM YUI to 2.5.1
     Updated bin/maildirupdate to call the restartsrv scripts directly for the services needing restarted
     Updated branding to included new VPS Optimized header
     Updated cPanel's common Alias and ScriptAlias directives for redirects to be less greedy
     Updated cpbackup to use fully-qualified paths to binaries to prevent problems with PATH in cron
     Updated internal PHP binary to 5.2.6
     Updated internals to build a proper environment for PHP CGI access
     Updated pkgacct to backup MySQL stored procedures
     Updated rrdtoolinstall for better support of 64-bit systems
     Updated scripts and functions to use scripts/restartsrv_chkservd
     Updated spamd init scripts to support max-spare option
     Updated the Per Domain Mailips Tweak to include note about rDNS requirement
     Updated version to 11.23.3
     Updated webdav templates to use webdisk proxy domain when accessed from cpanel proxy domain
     Use SQLite for internal PHP sessions when possible
     Zone records no longer auto collapsed ( e.g. sub.example.com instead of sub. )
     scripts/RestartSrv: added --socketpath to allow use of Unix Sockets with spamd
     scripts/pkgacct: support for capturing roundcube data added
     Update checkphpini to install SourceGuardian/IonCube using phpextensionmgr
     Updated checkphpini to provide IonCube loader workaround for internal PHP binary due to changes in PHP's dl() handling
     Use 3rdparty/etc/php.ini.dist as default when 3rdparty/etc/php.ini doesn't exist
     Make SSL Certificate expiration times more discernible
     Updated RoundCube to auto-create default folders (e.g. Trash)
     Attempt to detect and resolve any instances of two SSL vhosts using the same IP:Port
     Added scripts/checkalldomainsmxs and scripts/forcelocaldomain scripts
     Added updated to running postupdateuserdomains after updateuserdomains
     Improved broken securetmp detection
     Backup rpm db by default
     Added more robust spamassassin checks
     Fixed fastimport code in Cpanel::Accounting to be better compatible with third party scripts
     New webmail theme for RoundCube
     Set new RoundCube webmail theme as default theme
     Add generic patchfdsetsize script to control FD_SETSIZE in all system include files
     Add support to Cpanel::TailWatch::Antirelayd to accept additional configuration settings via /etc/antirelayd.conf for the location of primary datastores
     Added --version and --help flags to update_sa_rules
     Allow cPanel tags in Help includes
     Cpanel::Accounting now accepts hash arguments in constructor
     General speed improvements in dnsadmin
     Inform user of MySQL Stored Routines that will become unusable when deleting the user that created the routine
     Memory usage enhancements for dnsadmin
     Optimized cpanellogd to not process AWstats logs for domains with data
     Remove unused SafeFile use in cPanelFunctions
     Silence all spurious output from update_sa_rules by default
     Switched usage of SafeFile to Cpanel::SafeFile
     Update legacy FD_SETSIZE scripts to respect /var/cpanel/disable_patchfdsetsize
     Updated Cpanel::Accounting create account function to accept Language definition
     Updated Cpanel::Accounting package functions to accept Feature List and Language definitions
     Upgraded PHPMyAdmin to 2.11.6
     Added --force and --skipstartup to /scripts/vps_optimizer
     Added Mail folder selector to Mail Filter creation interface
     Added main domain to Stats processing summary
     Added option to skip encoding files
     Updated chkservd to included failure reason in notification email
     Bug 6276 Updated chkservd to monitor rsyslog