Building NT installer. Need Advice RE: File Structure.

Victor B. Gonzalez openssh-unix-dev-mindrot at vbgunz.com
Sun Jun 12 13:07:46 EST 2005


Hello OpenSSH,

 I am working on building an installer for a stand alone OpenSSH
 4.1p1-1 build for NT systems. Since it is built with Cygwin, it seems
 Cygwin bombed the OpenSSH directory with a ton of erroneous files.

 The installer is so far perfect and I am seeking advice. Which of the
 following files from the following structure are totally
 unnecessary? I wish to know so I can clean up the build.

 Some references are made to "SSHWindows 3.8.1p1" which was used
 *ONLY* as a reference tool.

 Thank you!

 PS. Following is a quick legend. Feel free to modify this list in
 any way as long as it makes sense in the end. Thanks again!

     >> 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
     !! These files are important "mainly documentation". Only found in SSHWindows 3.8.1p1
     @! PERSONAL REFERENCE

@! 147 files match exactly
-----------------------
     >> 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\cygminires.dll
        bin\cygrunsrv.exe
        bin\cygssl-0.9.7.dll
        bin\cygwin1.dll
        bin\cygz.dll
        bin\false.exe
        bin\ls.exe
        bin\mkdir.exe
        bin\mkgroup.exe
        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
     >> 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\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

@! 3 files don't match
-------------------
     >> etc\setup\last-connection
     >> etc\setup\last-mirror
     >> var\run\utmp

@! 8 folders and files unique
--------------------------
     ?? bin\last.exe
     ?? bin\mkpasswd.c
     ?? bin\quietcmd.bat
     ?? bin\switch.c
     ?? bin\switch.exe
     ?? etc\banner.txt
     ?? usr\sbin\custom-sshd.bat
     !! usr\share\doc\SSHWindows 3.8.1p1\

-- 
 Best regards,
 Victor B. Gonzalez
                          
 OpenSSH-4.1p1-1
 Cygwin 2.457.2.2
 Windows XP  5.1 Build  2600 Service Pack 2
 end




More information about the openssh-unix-dev mailing list