I want to install the latest version of openssh but I want to add some config to it.. configure --with-tcp-wrappers=/usr/local/lib \ > --with-ssl-dir=/usr/local/ssl \ > --with-zlib=/usr/local/lib \ > --with-pid-dir=/var/run \ > --with-solaris-contracts Now I can do that with the source, and do a make, and then make install, but that won't let me get any information from a pkginfo. How can I create a package from the source so that it has the above config and then be able to do a pckadd?
That's were I got the source, btw. The lastest version, or any package version, does not include the use of tcp-wrappers, so you need to compile the source. But I don't just want to use the source and lose the ability to track with pkginfo. And yeah, I am running an older version (not too much older) and there is a security alert suggesting openssh-5.0p1. As far as why I want my own version, it has more to do with me wanting to know how to do this than the need to do it that's driving this question.
I build my own OpenSSH for Solaris. I don't like waiting on Sun for new features (e.g. MATCH blocks, chroot) and I like to control my own compilation settings (rather than accept whatever was done for the SunFreeware ones). It's one of about a dozen or so packages that I'm very particular about. The rest I leave stock and patch/update normally.
However, OpenSSH doesn't include any of the Sun pkg* support files in their sources.
You could download the SunFreeware package, transform it into the constituent files, and plagarize the pkgmap and pkginfo files. Roll your own package and then install it.
I like that idea "PsiCo", but I have never done that. Can you elaborate on how you did that?
Tritin, thanks for the link. It looks like what I was asking for, but I'm now curious about "PsiCo"'s suggestion and would like to know how to do that and include the config options I want
Guy, I just following the instructions on the link Tintin put up and notice that after you run configure, at the end it tell you that you can run a 'make package' and I tried before I did a make and/or make install. It created the package, but I haven't tested if it works.
Take a look at my EE Profile. I've got links to some of my technical papers. In particular, you'd probably be most interested in the one entitled "Secure Remote Access using OpenSSH and rssh"