Category Archives: CentOS 4.x

Captcha for Horde

Here is small patch to implement captcha on Horde login page. We have implemeteded Text_CAPTCHA_Numeral. Package for Centos is here: http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repoview/php-pear-Text-CAPTCHA-Numeral.html. Here is the patch. — horde-webmail-1.2.8.orig/imp/login.php 2010-10-25 17:10:05.000000000 +0200 +++ horde-webmail-1.2.8/imp/login.php 2010-11-30 17:36:27.571023703 +0100 @@ -398,6 +398,7 @@ $t->set(’user_vinfo’, Horde::callHook(’_imp_hook_vinfo’, array(’vdomain’), ‘imp’)); } $t->set(’password_tabindex’, ++$tabindex); +$t->set(’captch_tabindex’, ++$tabindex);   $t->set(’change_smtphost’, (!empty($conf[’server’][’change_smtphost’]))); if ($t->get(’change_smtphost’)) { @@ [...]

Also posted in CentOS 5.x, horde, php | Leave a comment

Running yum-3.2.8 on CentOS 4.7 – part II.

Today I have looked again at yum 3.2.8 on Centos 4. I wanted everything to clean up, go back to unittests again. I have backported python-nose and started to clean up the source. Finally I had to make all yum tests python 2.3 compatible. Here is the result: [root@build-c4-i386 yum-3.2.8]# make test ………………………………………………………………………………………………………………………………………….. ———————————————————————- Ran [...]

Also posted in CentOS | Leave a comment

Running yum-3.2.8 on CentOS 4.7

Today I spent a few hours testing and backporting yum-3.2.8 from CentOS 5.2 to CentOS 4.7. It wasn’t so hard to backport. Most of the time I have spent on testing and searching. Code is patched to allow sets, which are supported in python 2.3 ) and that’s almost all. Final rpms are available for [...]

Also posted in CentOS | 5 Comments

Enable installonlyn on CentOS 4.x

Easy way to enable: yum -y install yum-utils; \ cp -p /usr/share/doc/yum-utils-0.5/plugins/installonlyn/installonlyn.conf /etc/yum/pluginconf.d/; \ cp -p /usr/share/doc/yum-utils-0.5/plugins/installonlyn/installonlyn.py /usr/lib/yum-plugins/

Also posted in CentOS | Leave a comment