Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2011 03:53:17 GMT
From:      Dan Mashal <dan.mashal@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/163555: [PATCH] bitchx port is out of date and BitchX 1.2 does not compile (fix included)
Message-ID:  <201112230353.pBN3rH1x029032@red.freebsd.org>
Resent-Message-ID: <201112230400.pBN40K05064070@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163555
>Category:       misc
>Synopsis:       [PATCH] bitchx port is out of date and BitchX 1.2 does not compile (fix included)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 04:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dan Mashal
>Release:        FreeBSD 9.0-RC3
>Organization:
net
>Environment:
FreeBSD w00p 9.0-RC3 FreeBSD 9.0-RC3 #0: Sun Dec  4 08:56:36 UTC 2011     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Old obsolete, insecure version. 

The current version of BitchX, released in 2004, have security problems allowing remote IRC servers to execute arbitrary code on the client's machine (CVE-2007-3360, CVE-2007-4584).

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-3360
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-4584

BitchX 1.2 is release ready per developers (caf) and should be added to the ports tree. It is stable. However, in order for it to compile on BitchX 9 the configure file must be patched.

I would also like to become the maintainer of the BitchX port.
>How-To-Repeat:
run the following commands:


0) Be running FreeBSD9.0-RC3 system.
1) svn co https://bitchx.svn.sourceforge.net/svnroot/bitchx/trunk bitchx-trunk
2) cd bitchx-trunk
3) ./configure

Receive error about unterminated quoted strings.
>Fix:
Change the configure file in the BitchX1.2 source.


lines changed in configure file: 12668 and 13936

diff:

# diff configure.old configure.new
12668c12668
<             system="MP-RAS-`$AWK '{print $3}' /etc/.relid'`"
---
>             system="MP-RAS-$AWK {print $3} /etc/.relid"
13936c13936
<             system="MP-RAS-`$AWK '{print $3}' /etc/.relid'`"
---
>             system="MP-RAS-$AWK {print $3} /etc/.relid"




>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112230353.pBN3rH1x029032>