pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

skey in pkgsrc won't generate SHA1 passwords, build troubles



I've discovered an embarrasing problem in pkgsrc.  The "skey"
package (skey-1.1.5) does not include the fix for NetBSD bug lib/12045:  

 http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=12045
  
which means SHA-1 passswords are always generated incorrectly.  This
bug was fixed back in 2001.  Worse yet, since MacPorts uses NetBSD's
skey-1.1.5 from pkgsrc, it's broken there too.

Also, I've had trouble building skey in pkgsrc - on a clean NetBSD 5.0
beta system, I get this:

cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o rmd160hl.o rmd160hl.c
In file included from config.h:157,
                 from rmd160hl.c:21:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
rmd160hl.c: In function 'RMD160File':
rmd160hl.c:55: error: argument 'filename' doesn't match prototype
/usr/include/rmd160.h:51: error: prototype declaration
gmake: *** [rmd160hl.o] Error 1
*** Error code 2

Stop.

Yes, I know there's no reason to build skey on a NetBSD box since it's
already there in /usr/bin (and with bug 12045 fixed), but shouldn't it
still compile properly?


Home | Main Index | Thread Index | Old Index