GNU autoconf/automake in OpenSSH

Roumen Petrov roumen.petrov at skalasoft.com
Fri Jan 19 03:25:51 EST 2001


I make changes in open source tree to implement autoconf/automake.
What's new ?
- new acinclude.m4 ( based on old aclocal.m4 + new macros OSSH_EXPAND_PATHS and 
OSSH_SHOW_OPTIONS
- new configure option --with-askpass=PATH
- updated acconfig.h ( based on old acconfig.h with removed USE_EXTERNAL_ASKPASS and new 
ASKPASS_PATH + new config.h.top and config.h.bot )
!!! in this file has two lines only with ^L for autoheader !!!
- new empty files NEWS AUTHORS COPYING to make automake happy
- ssh.h is generated from configure from ssh.h.in ( all paths are substituted with @xxx@ )
- files ssh_config sshd_config and all TROFFMAN files are generated from configure to.
- removed version.h ( version number is in configure and #define in ssh.h )
- updated includes.h ( without version.h )
- changed defines.h and ssh-add.c with new askpass option and #define
- removed fixpaths ( sed command from configure generate correct file paths ). You might 
backup it.

tests:
- install, uninstall work fine
- all clean options are not tested !!!
- make dist is not well good : tar archive is without contrib subdir and many files !!!

Howto ?
- extract openssh-SNAP-20010117.tar.gz
- extract attached file patches.tgz
- edit patches/doGNU.bash ( change variable S to openssh source tree )
- make new dir and go in it ! and run .../patches/doGNU.bash

About 'doGNU.bash'. This script:
- copy files from source dir
- make all changes ( patches )
- run './configure --prefix=/usr/local/openssh' and 'make install'

;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patches.tgz
Type: application/octet-stream
Size: 8325 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010118/3e011290/attachment.obj 


More information about the openssh-unix-dev mailing list