Hello, I have just successfully compiled OpenSSH 3.1p1 and tried to create the Solaris pkg from contrib/solaris/buildpkg.sh, all is fine, seeing as this machine had OpenSSH 3.0.2p1 installed. However when running the buildpkg.sh script I error out with this Building pkginfo file... Building prototype file... Building package.. ## Building pkgmap from package prototype file. ## Processing pkginfo file. pkgmk: ERROR: parameter <VERSION> cannot be null ## Packaging was not successful. pkgtrans: ERROR: unable to complete package transfer - no packages were selected from </tmp/openssh-3.1p1/contrib/solaris>
Ok found the bug, In $openSSH/contrib/solaris/buildpkg.sh line 13: VERSION=`tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'` needs to change to line 13: VERSION=`tail -2 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'` This fixes the pkgcreation problem on Solaris 8
blank like at end of version.h. fixed. this script should grep for SSH_VERSION.
Fixed in CVS tree
Mass change of RESOLVED bugs to CLOSED