make install

Paul Heinlein heinlein at cse.ogi.edu
Thu Jun 22 08:04:01 EST 2000


On Wed, 21 Jun 2000, Gary E. Miller wrote:

> I was just looking at the "other" SSH for ideas.  There is
> one thing in their install that would be nice.  When they do a 
> 'make install' they check to see if a host key already exists and
> if it does not they create one and install it.  This sure makes life
> simple and should be simple to code in the Makefile.

Along those lines, I think it's worth noting that Damien's
contrib/redhat/openssh.spec file does a very nice job with that:

%files clients
...
%attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config


%files server
...
%attr(0600,root,root) %config(noreplace) /etc/ssh/sshd_config
%attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd

Bravo!

Paul Heinlein
heinlein at cse.ogi.edu






More information about the openssh-unix-dev mailing list