Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128011 - Version bump for app-admin/denyhosts-2.2
Summary: Version bump for app-admin/denyhosts-2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Benjamin Smee (strerror) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 10:04 UTC by Erik Zeek
Modified: 2006-03-30 02:13 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 Erik Zeek 2006-03-29 10:04:38 UTC
Version 2.2 of app-admin/denyhosts is availible, and it fixes a problem I was having with 2.1.  The patch for 2.1 applied cleanly after renaming to denyhosts-2.2-gentoo.patch.

Thanks,
Erik
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 10:15:10 UTC
(In reply to comment #0)
> and it fixes a problem I was having with 2.1

That tell us really a lot. Of course everyone must know which problem you had... :P


Comment 2 Erik Zeek 2006-03-29 10:35:43 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > and it fixes a problem I was having with 2.1
> 
> That tell us really a lot. Of course everyone must know which problem you
> had... :P
> 

Sorry.  In my quest for a fix, I noticed the newer version.  The error I was getting was:

sudo /etc/init.d/denyhosts start
 * Starting DenyHosts daemon ...
Traceback (most recent call last):
  File "/usr/bin/denyhosts", line 164, in ?
    first_time, noemail, daemon)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line 80, in __init__
    offset = self.process_log(logfile, last_offset)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line 420, in process_log
    login_attempt.add(user, host, success, invalid)
  File "/usr/lib/python2.4/site-packages/DenyHosts/loginattempt.py", line 81, in add
    self.__age_reset_restricted)
  File "/usr/lib/python2.4/site-packages/DenyHosts/loginattempt.py", line 113, in increment_count
    count_inst[key].age_count(age_reset)
  File "/usr/lib/python2.4/site-packages/DenyHosts/counter.py", line 36, in age_count
    cutoff = long(time.time()) - age
TypeError: unsupported operand type(s) for -: 'long' and 'str'

DenyHosts exited abnormally                                                                                                                                      [ !! ]


emerge --info
Password:
Portage 2.1_pre7-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
DISTDIR="/home/gentoo/portage/distfiles"
FEATURES="autoconfig candy confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/portage/packages"
PORTAGE_TMPDIR="/home/gentoo/tmp"
PORTDIR="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 Xaw3d a52 aac aalib acl acpi activefilter ada aim aio alsa amarok amd amr aotuv apache2 apm arts artswrappersuid artworkextra asf asm asterisk async atlas auctex audiofile authdaemond automount avi bash-completion bcmath bcp bdf berkdb binfilter bitmap-fonts bjam bl blas blender-game bonobo boo bzip2 c++ cairo calendar cap caps ccache cdda cddb cdf cdio cdparanoia cdr cdrom cgi chm clanJavaScript clanVoice cli clisp cmucl commercial corba cpdflib cracklib crosscompile crypt cscope css ctype cups curl curlwrappers cvs cvsgraph daap dba dbm dbus dbx dcc debugger dga dhcp dio directfb discard-path djvu dnd dpms dri dts dv dvd dvdr dvdread dynagraph ecc editor edl eds effects emboss emoticon encode enscript epson erandom esd examples exif expat extraicons extramodules fam fame fastbuild fat fbcon fbdev fbsplash ffmpeg fftw finger firefox fits flac flash flatfile fltk font-server fontconfig foomaticdb force-cgi-redirect fortran fpx freetts freetype ftp fuse gb gcc-libffi gcl gd gdal gdbm geoip geos ggi gif gimp gimpprint ginac gitsendemail gkrellm glade glep glgd glitz glut glx gml gmp gmtfull gmthigh gmtsuppl gmttria gnome gnome-print gnomedb gnuplot gnutls gpgme gphoto2 gpm gps graphviz grass gs gsl gssapi gstreamer gtk gtk2 gtkhtml guile gzip hal haskell hddtemp hdf hdf5 hfs high-ints hlapi hou hpn html httpd i8x0 iconv icq id3 ide idea idn image imagemagick imap imlib imlib2 inifile inkjar input_devices_jamstudio input_devices_keyboard input_devices_mouse insecure-drivers insecure-savers ipv6 itcl jack jai jasper java javacomm javascript jbig jce jikes jimi jit jp2 jpeg jpeg2k junit jython kcal kde kdeenablefinal kdepim kdexdeltas kqemu ladcca lame lapack largeterminal latex lcms libcaca libclamav libdsk libg++ libgda libsamplerate libwww live lm_sensors logitech-mouse logrotate logwatch lzo lzw mad mail maildir mailwrapper mapeditor maps math matroska mbrola md5sum memlimit mhash mikmod mime ming mixer mjpeg mmap mmx mmxext mng mod mopac7 motif mozilla moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpqc multiprocess multitarget musepack music musicbrainz mysql nas ncurses net netcdf network new-login nfs nls no-old-linux nocd nowin nptl nptlonly nsplugin ntfs ntlm numarray numeric oav ocaml octave offensive ofx ogdi ogg openal openbabel openexr opengl osc oss pager pam parse-clocks pascal patch patented pcntl pcre pdf pdfkit pdflib pear perl php physfs pic player plotutils plugin png pnp pop portaudio posix postfix povray ppds print pyste python qemu-fast qhull qt quicktime quotas quotes rar rdesktop readline real remix rle rogue rpc rrdtool rss rtc ruby samba sasl sbcl scanner scp screen sdk sdl session seti sftp shared sharedext sharedmem shorten shout simplexml skins slp smime smp sndfile soap sockets softmmu sou sounds speedo speex spell spl sql sqlite sse sse-filters sse2 ssl stencil-buffer stream subject-rewrite subp subtitles subversion suid svg svgz svn-mirror swat symlink sysfs syslog sysvipc szip t1lib tcltk tcpd test tetex tga theora thesaurus threads tidy tiff timidity tokenizer toolbar tools transcode truetype truetype-fonts type1 type1-fonts ucs2 ucs4 udev unicode urandom usb userlocales utf8 uudeview v4l v4l2 vcd vcdimager vfat video_cards_i810 video_cards_i830 video_cards_i915 videos vidix vim vim-pager vim-with-x virus-scan visualization vlm voice vorbis webdav win32codecs wmf wordperfect wv wxwindows x264 xanim xatrix xface xforms xine xinetd xml xmldoclet xmms xosd xpm xprint xscreensaver xsl xslt xtended xv xvid xvmc yv12 zip zlib elibc_glibc kernel_linux linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-03-30 02:13:10 UTC
in cvs, thanks for reporting