skey uninstallable again

Ed Ravin eravin at panix.com
Fri Jan 2 10:40:48 PST 2009


On Fri, Jan 02, 2009 at 10:15:14AM -0800, David Evans wrote:
...
> > Thanks!  But it still won't install, at least not on my Mac Mini PPC
> > running 10.4.  See the output below.  Note that sha1.h is indeed in
> > the work dir, but it's not being found.
> >   
> On my machine (10.4.11 ppc) configure correctly determines that there is
> no sha1.h installed
> and it subsequently builds without error and installs one as part of the
> port.

I already have sha1.h since it came in from the previous install of skey:

$ locate sha1.h | grep sha1.h$
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/httpd/ap_sha1.h
/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/php/ext/standard/sha1.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/httpd/ap_sha1.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/php/ext/standard/sha1.h
/opt/local/include/sha1.h
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt4-mac/work/qt-mac-opensource-src-4.2.2/examples/network/torrent/3rdparty/sha1.h
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_ethereal/work/ethereal-0.99.0/epan/sha1.h
/opt/local/var/macports/software/skey/1.1.5_0/opt/local/include/sha1.h
/usr/include/httpd/ap_sha1.h
/usr/include/php/ext/standard/sha1.h

> > Also, I see this skey tarball has a bug that generates incorrect
> > SHA1 passwords.  It's been fixed in the NetBSD distribution that the
> > code originated from.
> >   
> Do you have a reference for this?  I downloaded a copy of the tarball from
> 
> http://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
> 
> and it has the same checksums as the gentoo tarball. 

It was fixed in the NetBSD OS distribution back in 2001:

   http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=12045
   >Number:         12045
   >Category:       lib
   >Synopsis:       skey generates incorrect passwords when using SHA-1

but the fix never seems to have made it out of the OS and into pkgsrc.
I'll have to ask about this on pkgsrc-users.


More information about the macports-users mailing list