Building Stand-Alone NT Installer. Need Advice on File Structure. Thank you!

Victor B. Gonzalez openssh-unix-dev-mindrot at vbgunz.com
Sun Jun 12 15:29:23 EST 2005


--
Hello Everyone,

 I am trying to build a stand-alone installation application of
 OpenSSH 4.1p1-1. The target of this project is the NT platform
 (NT/00/XP/03). I've met with success and am happy so far with the
 progress. I cross-checked all executables and DLL's for dependencies.
 All executables and DLL's should truly stand-alone (dependent on
 nothing outside the enclosed tree). Once this project is finished I
 plan on submitting a link to the final version here for peer review.
 I am using the following software on XP to help with the project.

>  OpenSSH-4.1p1-1
>  Cygwin 2.457.2.2
>  SSHWindows 3.8.1p1
>  Windows XP  5.1 Build  2600 Service Pack 2
 
This message is aimed at one purpose. To seek advice on the correct
file structure for OpenSSH. To get to the point is simple. It seems
Cygwin 2.457.2.2 bombed the OpenSSH build with a whole bunch of
erroneous files (I may be wrong). I wish to ask the community to take
a look at the following enclosed tree and correct any possible flaws,
mistakes and point out any unnecessary files & folders. Also, I've
diffed against SSHWindows 3.8.1p1 so to include applications such as
"mkdir.exe", "mkgroup.exe" & "mkpasswd.exe".

PLEASE NOTE: Unnecessary files and folders should be ERASED!

PLEASE NOTE: To make sense and to help the community please replace >>
OR ?? with !! IF the file or folder should be deleted. Please replace
>> OR ?? with << IF it should be kept. All files NOT marked should be
left alone IF they're to be included into the final build. Ahead of
time, I would like to thank you and the community for your time. Thank
you again!

==========================================================================================
     LEGEND:
     >> These files are in question. Are these files necessary in any way on NT?
     ?? These files are found in SSHWindows 3.8.1p1 BUT are NOT found in Cygwin 2.457.2.2
==========================================================================================
     >> bin\c_rehash
     ?? bin\chmod.exe
     ?? bin\chown.exe
        bin\crypt.exe
        bin\cygcrypt-0.dll
        bin\cygcrypto-0.9.7.dll
        bin\cygiconv-2.dll
        bin\cygintl-2.dll
        bin\cygintl-3.dll
        bin\cygminires.dll
        bin\cygrunsrv.exe
        bin\cygssl-0.9.7.dll
        bin\cygwin1.dll
        bin\cygz.dll
     ?? bin\false.exe
     ?? bin\last.exe
     ?? bin\ls.exe
     ?? bin\mkdir.exe
     ?? bin\mkgroup.exe
     ?? bin\mkpasswd.c
     ?? bin\mkpasswd.exe
        bin\openssl.exe
     >> bin\openssl_fips_fingerprint
     ?? bin\rm.exe
        bin\scp.exe
        bin\sftp.exe
     ?? bin\sh.exe
     >> bin\slogin
        bin\ssh.exe
        bin\ssh-add.exe
        bin\ssh-agent.exe
     >> bin\ssh-host-config
        bin\ssh-keygen.exe
        bin\ssh-keyscan.exe
     >> bin\ssh-user-config
     ?? bin\switch.c
     ?? bin\switch.exe
     ?? etc\banner.txt
     >> etc\profile.d\openssl.csh
     >> etc\profile.d\openssl.sh
     >> etc\setup\crypt.lst.gz
     >> etc\setup\cygrunsrv.lst.gz
     >> etc\setup\installed.db
     >> etc\setup\last-action
     >> etc\setup\last-cache
     >> etc\setup\last-connection
     >> etc\setup\last-mirror
     >> etc\setup\minires.lst.gz
     >> etc\setup\openssh.lst.gz
     >> etc\setup\openssl.lst.gz
     >> etc\setup\timestamp
        etc\ssh_config
        etc\ssh_host_dsa_key
        etc\ssh_host_dsa_key.pub
        etc\ssh_host_key
        etc\ssh_host_key.pub
        etc\ssh_host_rsa_key
        etc\ssh_host_rsa_key.pub
        etc\sshd_config
        etc\moduli
     >> lib\libcrypt.a
     >> lib\libcrypt.dll.a
     >> usr\include\crypt.h
        usr\sbin\sftp-server.exe
        usr\sbin\sshd.exe
        usr\sbin\ssh-keysign.exe
        usr\share\doc\Cygwin\crypt.README
        usr\share\doc\Cygwin\cygrunsrv.README
        usr\share\doc\Cygwin\minires-1.00-1.README
        usr\share\doc\Cygwin\openssh.README
        usr\share\doc\Cygwin\openssl-0.9.7g.README
        usr\share\doc\minires-1.00\LICENSE
        usr\share\doc\openssh\ChangeLog
        usr\share\doc\openssh\CREDITS
        usr\share\doc\openssh\LICENCE
        usr\share\doc\openssh\OVERVIEW
        usr\share\doc\openssh\README
        usr\share\doc\openssh\README.dns
        usr\share\doc\openssh\README.privsep
        usr\share\doc\openssh\README.smartcard
        usr\share\doc\openssh\RFC.nroff
        usr\share\doc\openssh\TODO
        usr\share\doc\openssh\WARNING.RNG
        usr\share\doc\openssl\CHANGES
        usr\share\doc\openssl\CHANGES.SSLeay
        usr\share\doc\openssl\INSTALL
        usr\share\doc\openssl\LICENSE
        usr\share\doc\openssl\NEWS
        usr\share\doc\openssl\README
     >> usr\share\man\man1\scp.1
     >> usr\share\man\man1\sftp.1
     >> usr\share\man\man1\slogin.1
     >> usr\share\man\man1\ssh.1
     >> usr\share\man\man1\ssh-add.1
     >> usr\share\man\man1\ssh-agent.1
     >> usr\share\man\man1\ssh-keygen.1
     >> usr\share\man\man1\ssh-keyscan.1
     >> usr\share\man\man5\ssh_config.5
     >> usr\share\man\man5\sshd_config.5
     >> usr\share\man\man8\sftp-server.8
     >> usr\share\man\man8\sshd.8
     >> usr\share\man\man8\ssh-keysign.8
     >> usr\share\terminfo\c\cygwin
        usr\share\Ssh.bin
     >> usr\ssl\man\man1\asn1parse.1
     >> usr\ssl\man\man1\ca.1
     >> usr\ssl\man\man1\CA.pl.1
     >> usr\ssl\man\man1\ciphers.1
     >> usr\ssl\man\man1\crl.1
     >> usr\ssl\man\man1\crl2pkcs7.1
     >> usr\ssl\man\man1\dgst.1
     >> usr\ssl\man\man1\dhparam.1
     >> usr\ssl\man\man1\dsa.1
     >> usr\ssl\man\man1\dsaparam.1
     >> usr\ssl\man\man1\enc.1
     >> usr\ssl\man\man1\errstr.1
     >> usr\ssl\man\man1\gendsa.1
     >> usr\ssl\man\man1\genrsa.1
     >> usr\ssl\man\man1\md2.1
     >> usr\ssl\man\man1\md4.1
     >> usr\ssl\man\man1\md5.1
     >> usr\ssl\man\man1\mdc2.1
     >> usr\ssl\man\man1\nseq.1
     >> usr\ssl\man\man1\ocsp.1
     >> usr\ssl\man\man1\openssl.1
     >> usr\ssl\man\man1\passwd.1
     >> usr\ssl\man\man1\pkcs12.1
     >> usr\ssl\man\man1\pkcs7.1
     >> usr\ssl\man\man1\pkcs8.1
     >> usr\ssl\man\man1\rand.1
     >> usr\ssl\man\man1\req.1
     >> usr\ssl\man\man1\ripemd160.1
     >> usr\ssl\man\man1\rsa.1
     >> usr\ssl\man\man1\rsautl.1
     >> usr\ssl\man\man1\s_client.1
     >> usr\ssl\man\man1\s_server.1
     >> usr\ssl\man\man1\s_time.1
     >> usr\ssl\man\man1\sess_id.1
     >> usr\ssl\man\man1\sha.1
     >> usr\ssl\man\man1\sha1.1
     >> usr\ssl\man\man1\smime.1
     >> usr\ssl\man\man1\speed.1
     >> usr\ssl\man\man1\spkac.1
     >> usr\ssl\man\man1\verify.1
     >> usr\ssl\man\man1\version.1
     >> usr\ssl\man\man1\x509.1
     >> usr\ssl\man\man5\config.5
     >> usr\ssl\man\man7\des_modes.7
     >> usr\ssl\man\man7\Modes_of_DES.7
     >> usr\ssl\misc\c_hash
     >> usr\ssl\misc\c_info
     >> usr\ssl\misc\c_issuer
     >> usr\ssl\misc\c_name
     >> usr\ssl\misc\CA.pl
     >> usr\ssl\misc\CA.sh
        usr\ssl\openssl.cnf
     >> var\run\utmp
==========================================================================================
-- 
 Best regards,
 Victor B. Gonzalez
                          
 OpenSSH-4.1p1-1
 Cygwin 2.457.2.2
 Windows XP  5.1 Build  2600 Service Pack 2




More information about the openssh-unix-dev mailing list