Subject: pkg/22731: pkgsrc/security/dsniff will not compile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 09/09/2003 17:05:11
>Number:         22731
>Category:       pkg
>Synopsis:       pkgsrc/security/dsniff will not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 09 17:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rob Quinn
>Release:        NetBSD-current as of 9 Sep 2003. pkgsrc also current.
>Organization:
>Environment:
NetBSD strike.sec.sprint.net 1.6Z NetBSD 1.6Z (STRIKE) #11: Tue Sep  9 06:55:42 EDT 2003  rquinn@strike.sec.sprint.net:/usr/obj/STRIKE i386

>Description:
dsniff will not compile.
>How-To-Repeat:
make




./sshcrypto.c:30: parse error before `des_key_schedule'
./sshcrypto.c:30: warning: no semicolon at end of struct or union
./sshcrypto.c:31: warning: data definition has no type or storage class
./sshcrypto.c:32: parse error before `}'
./sshcrypto.c: In function `des3_init':
./sshcrypto.c:153: dereferencing pointer to incomplete type
./sshcrypto.c:156: dereferencing pointer to incomplete type
./sshcrypto.c:157: dereferencing pointer to incomplete type
[....etc etc...]

>Fix:
My quick workaround was to #include <des.h> in sshcrypto.c and put "-ldes" on the
end of SSLLIB in the Makefile.
>Release-Note:
>Audit-Trail:
>Unformatted: