Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222983 - [PATCH] net-irc/ctrlproxy-3.0.6: Doesn't accept "learn-nickserv" option
Summary: [PATCH] net-irc/ctrlproxy-3.0.6: Doesn't accept "learn-nickserv" option
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-20 17:01 UTC by Ashish Shukla
Modified: 2008-06-05 18:24 UTC (History)
0 users

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


Attachments
patch to fix the issue. Apply it on current net-irc/ctrlproxy directory in portage (ctrlproxy.patch,3.45 KB, patch)
2008-05-20 18:45 UTC, Ashish Shukla
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashish Shukla 2008-05-20 17:01:22 UTC
Due to a typo in ctrlproxy-3.0.6 source code, ctrlproxy doesn't accept 'learn-nickserv' option.

Reproducible: Always

Steps to Reproduce:
1. Start ctrlproxy in one terminal.
2. Start irc client in another terminal.
3. Connect IRC to address at which ctrlproxy is listening.
4. Now, enter "/msg ctrlproxy set learn-nickserv true" in IRC client to set 'learn-nickserv' option to true.
5. After this enter, "/msg ctrlproxy saveconfig" in IRC client to save ctrlproxy settings.
6. After this enter, "/mst ctrlproxy die" to terminate the ctrlproxy .
7. Now restart ctrlproxy.
8. And again connect to ctrlproxy in the IRC client.
9. Enter "/msg ctrlproxy set" in the IRC to see the current state of options.
10. And in those options, 'learn-nickserv' is false.
Actual Results:  
'learn-nickserv' option gets reset to false on restart of ctrlproxy

Expected Results:  
'learn-nickserv' should not get reset to false.

abbe@chateau ~/progs/linux $ emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Tue, 20 May 2008 06:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fforce-addr -mtune=nocona -march=nocona -mmmx -msse2 -msse3 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -fforce-addr -mtune=nocona -march=nocona -mmmx -msse2 -msse3 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://mirror.fslutd.org/linux/distributions/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.cs.pu.edu.tw/Linux/Gentoo/ "
LANG="C"
LDFLAGS="-Wl,--hash-style,both"
LINGUAS="hi en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/perl-experimental"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 acl alsa amd64 artworkextra avahi bash-completion berkdb bluetooth branding bzip2 caps cdr cli cracklib crypt cscope cups curl dbus doc dri dvd dvdr emacs ffmpeg flac fontconfig fortran gdbm gif gnome gpm gstreamer gtk guile hal hashstyle iconv idn imlib ipv6 isdnlog jingle jpeg latex lcms ldap libcaca libffi libnotify libsamplerate loop-aes mad maildir midi mmx mp3 mpeg mudflap mysql ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre perl png policykit postgres pppd pth pulseaudio python qt4 readline reflection ruby sdl session sndfile speex spell spl sqlite3 sse sse2 ssl svg tcl tcpd tex theora tiff truetype unicode vim-syntax vorbis xattr xcb xinetd xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hi en en_US" USERLAND="GNU" VIDEO_CARDS="i810 v4l vesa dummy vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ashish Shukla 2008-05-20 18:45:58 UTC
Created attachment 153781 [details, diff]
patch to fix the issue. Apply it on current net-irc/ctrlproxy directory in portage

This patch fixes the typo in the code, and hence fixes the bug.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-06-05 18:04:13 UTC
Please send this upstream.
Comment 3 Ashish Shukla 2008-06-05 18:24:42 UTC
The bug is already fixed in upstream. But there has been no release since 3.0.6.