then mv -f ".deps/port.Tpo" ".deps/port.Plo"; else rm -f ".deps/port.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -I. -I. -I.. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT port.lo -MD -MP -MF .deps/port.Tpo -c port.c -o port.o if /bin/sh ../libtool --mode=compile --tag=CC i686-pc-linux-gnu-gcc -I. -I. -I.. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT pwauth.lo -MD -MP -MF ".deps/pwauth.Tpo" -c -o pwauth.lo pwauth.c; \ then mv -f ".deps/pwauth.Tpo" ".deps/pwauth.Plo"; else rm -f ".deps/pwauth.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -I. -I. -I.. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT pwauth.lo -MD -MP -MF .deps/pwauth.Tpo -c pwauth.c -o pwauth.o pwauth.c: In function `pw_auth': pwauth.c:155: error: too few arguments to function `skeychallenge' pwauth.c:263: warning: passing arg 2 of `skeyverify' discards qualifiers from pointer target type make[2]: *** [pwauth.lo] Error 1 w/ skey-1.1.5-r4 Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.6.4 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs distlocks fixpackages manifest noclean notitles sandbox sign strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/gentoo-x86/" PORTDIR_OVERLAY="/usr/portage/overlay" SYNC="rsync://mirror002.isp.belgacom.be./gentoo-portage" USE="3dnow 3ds X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cscope curl dga dvd encode f77 faad fbcon foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib innodb java jpeg junit kde libcaca libg++ libwww mad maildir mikmod mmx mng mozilla moznocompose moznoirc moznomail mpeg ncurses network nls nptl offensive oggvorbis openal opengl operanom2 oss pam pdflib perl pic png python qt quicktime readline rtc samba sdl slang slp spell sse ssl svga tcpd tiff truetype usb userlocales x86 xml xml2 xprint xv xvid zlib"
See <http://mail-index.netbsd.org/netbsd-help/2002/06/04/0009.html> Attached are a patch and an updated ebuild. Compiles OK. Not tested. BTW, why are there no man pages for the C interface to skey?
Created attachment 43094 [details] Updated ebuild to apply skeychallenge patch
Created attachment 43095 [details, diff] skeychallenge patch
thanks Mark, added the patch to the 4.0.5 ebuild unfortunately it looks like upstream of skey is dead, so who knows what's to become of the documentation :(