Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2008 15:13:11 GMT
From:      Sven Herschke <shersch@incore.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122574: mail/kbiff never build with ssl support
Message-ID:  <200804081513.m38FDBkW009624@www.freebsd.org>
Resent-Message-ID: <200804081520.m38FK19n011142@freefall.freebsd.org>

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

>Number:         122574
>Category:       ports
>Synopsis:       mail/kbiff never build with ssl support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 08 15:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sven Herschke
>Release:        6.2
>Organization:
>Environment:
FreeBSD 6.2-RELEASE-p1 i386
>Description:
Configure script from port mail/kbiff has following twice and incorrect ssl check between line 25470 and line 25505:

# Check whether --enable-ssl or --disable-ssl was given.
if test "${enable_ssl+set}" = set; then
  enableval="$enable_ssl"
  use_ssl=$enableval
else
  use_ssl=yes
fi;

if test "$use_ssl" == "yes"; then

cat >>confdefs.h <<\_ACEOF
#define USE_SSL
_ACEOF

fi


# Check whether --enable-ssl or --disable-ssl was given.
if test "${enable_ssl+set}" = set; then
  enableval="$enable_ssl"
  use_ssl=$enableval
else
  use_ssl=yes
fi;

if test "$use_ssl" == "yes"; then

cat >>confdefs.h <<\_ACEOF
#define USE_SSL
_ACEOF

fi


The syntax error is in following code:
if test "$use_ssl" == "yes"; then

String comparsion with test only needs one equals sign.

>How-To-Repeat:

>Fix:
Remove twice code and change line 
    if test "$use_ssl" == "yes"; then
to
    if test "$use_ssl" = "yes"; then

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



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