Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86302 - courier-authlib wants expect
Summary: courier-authlib wants expect
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Scott Taylor (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 13:30 UTC by Pupeno
Modified: 2005-04-29 21:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pupeno 2005-03-22 13:30:28 UTC
While upgrading courier-authlib I noticed this:

configure: WARNING: -----------------------------------------------------
configure: WARNING: expect not found - will not be able to change passwds
configure: WARNING: in webmail
configure: WARNING: -----------------------------------------------------

so I decided to install expect (which installed tcl) and the warning went away and I had the feature in. But there was nothing Gentooish that would suggest that.

I think it would be nice to have an 'expect' use flag on courier-authlib with a description explaining that it will compile expect and that it will enable to change the password from the webmail.

Thank you.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge info 
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, 
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r6 i686 AMD Sempron(tm)   2400+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  8 2005, 
17:24:17)] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3, 1.7.9-r1 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.4.3-r4, 1.5.10-r4 
virtual/os-headers:  2.4.22-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo 
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ 
http://gentoo.netnitco.net http://gentoo.seren.com/gentoo 
ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.ccccom.com 
http://gentoo.ccccom.com" 
LANG="en_US.UTF-8" 
LC_ALL="en_US.UTF-8" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
USE="x86 apache2 apm arts authdaemond avi bash-completion berkdb bitmap-fonts 
bzip2 bzlib chroot crypt curl curlwrappers emacs emboss encode ethereal fam 
font-server foomaticdb fortran ftp gd gdbm gif imagemagick imap imlib inifile 
innodb ipv6 jabber jpeg ldap libg++ libwww mad mbox memlimit mhash mikmod mime 
mng motif mp3 mpeg mysql mysqli ncurses nls ogg oggvorbis opengl osspam pcre 
pdflib perl php png posix python quicktime readline sasl sdl session sharedext 
simplexml spell ssl svg svga tcpd threads tidy tiff truetype truetype-fonts 
type1-fonts unicode vda vhosts wmf xml xml2 xmlrpc xsl xv zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jory A. Pratt 2005-04-29 19:36:15 UTC
Scott wanna go ahead and add a local use flag on this? would be nice I have to agree, would make it much easier for the user in my opinion for those that allow users to change password threw webmail interface.
Comment 2 Scott Taylor (RETIRED) gentoo-dev 2005-04-29 21:20:53 UTC
Expect is a package that brings in a bit of the tcl/tk chain and as webmail is
but a minority of the courier package, and expect is not needed within that for
anything but changing system passwords, which itself is but a tiny portion of
all webmail users... It was removed as a dependancy long ago for those reasons,
and warnings printed by the ebuild were added at that time. Every version of the
courier-authlib ebuild, which is in fact quite gentooish, contains:

    if ! has_version 'dev-tcltk/expect' ; then
        ewarn 'The dev-tcltk/expect package is not installed.'
        einfo 'Without it, you will not be able to change system login passwords.'
        einfo 'However non-system authentication modules (LDAP, MySQL, PostgreSQL,'
        einfo 'and others) will work just fine.'
    fi

Perhaps we aren't printing it enough times, and it could probably use more bells 
and sirens. People notice those other messages but never the einfo/ewarns that
are printed in color. I guess we should tone down our messages to only appear in
black & white, and place them in obscure locations, in order for them to 
actually be noticed. Yes, lets print a message if the expect use flag isn't set
which will say to add the use flag if they want to be able to change system
passwords. That will be so much different from the current message which says to
emerge expect if they want that feature. Of course, nobody ever bothered to read
that message in the first place.