トップ 最新 追記

Masa's blog

検索キーワード:

2014年11月13日 Vulnerability Summary for CVE-2014-3566 (POODLE) [長年日記]

_ Vulnerability Summary for CVE-2014-3566 (POODLE)

For apache-2.2.x

/usr/local/apache2/conf/extra/httpd-ssl.conf

SSLProtocol all -SSLv2 -SSLv3

2014年11月20日 .vimrc to handle arrow key correctly in insert mode for cygwin's vim [長年日記]

_ .vimrc to handle arrow key correctly in insert mode for cygwin's vim

set notimeout
set ttimeout
set timeoutlen=100

2014年11月23日 Bug fix for clamav-0.98.5 [長年日記]

_ Bug fix for clamav-0.98.5

I have done version up from clamav-0.98.4 to clamav-0.98.5, but it couldn't work with following message :(

ERROR: This tool requires libclamav with functionality level 79 or higher (current f-level: 77)

I needed next patch for clamav-0.98.5 to fix it :P

*** ./m4/reorganization/version.m4.ORG	2014-11-23 22:20:58.069013093 +0900
--- ./m4/reorganization/version.m4	2014-11-23 22:30:26.675280024 +0900
***************
*** 3,9 ****
  VERSION="0.98.5"

  LC_CURRENT=7
! LC_REVISION=22
  LC_AGE=1
  LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"
  AC_SUBST([LIBCLAMAV_VERSION])
--- 3,9 ----
  VERSION="0.98.5"

  LC_CURRENT=7
! LC_REVISION=24
  LC_AGE=1
  LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"
  AC_SUBST([LIBCLAMAV_VERSION])
*** ./configure.ORG	2014-11-23 22:21:24.861418269 +0900
--- ./configure	2014-11-23 22:30:44.610559507 +0900
***************
*** 5090,5096 ****
  VERSION="0.98.5"

  LC_CURRENT=7
! LC_REVISION=22
  LC_AGE=1
  LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"

--- 5090,5096 ----
  VERSION="0.98.5"

  LC_CURRENT=7
! LC_REVISION=24
  LC_AGE=1
  LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"

2014年11月26日 sendmail-8.14.9 [長年日記]

_ sendmail-8.14.9

I tried to do version up to sendmail-8.14.9, but it failed :(

$ cd sendmail-8.14.9/sendmail
$ sh Build
Configuration: pfx=, os=Linux, rel=2.6.34.13-smp, rbase=2, rroot=2.6.34, arch=i686, sfx=, variant=optimized
Making in /home/m-ito/INSTALLED/sendmail-8.14.9/obj.Linux.2.6.34.13-smp.i686/sendmail
cc -o sendmail   main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o      /home/m-ito/INSTALLED/sendmail-8.14.9/obj.Linux.2.6.34.13-smp.i686/libsmutil/libsmutil.a /home/m-ito/INSTALLED/sendmail-8.14.9/obj.Linux.2.6.34.13-smp.i686/libsm/libsm.a  -ldb -lresolv -lcrypt -lnsl -ldl
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutex_trylock'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutexattr_setpshared'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutexattr_destroy'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_condattr_setpshared'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutexattr_init'
collect2: ld returned 1 exit status
make: *** [sendmail] Error 1
$

I needed to do next steps to fix failure.

$ vi ../devtools/Site/site.config.m4
APPENDDEF(`confLIBS', `-lpthread')
$ rm -fr ../obj.Linux.2.6.34.13-smp.i686/
$ sh Build