Victor B. Gonzalez
2005-Jun-12 05:29 UTC
Building Stand-Alone NT Installer. Need Advice on File Structure. Thank you!
-- 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 2This 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 beleft 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
Corinna Vinschen
2005-Jun-12 08:40 UTC
Building Stand-Alone NT Installer. Need Advice on File Structure. Thank you!
On Jun 12 01:29, Victor B. Gonzalez wrote:> > OpenSSH-4.1p1-1 > > Cygwin 2.457.2.2There's no such thing as a Cygwin version 2.457.2.2. There's no gain for the community in packaging up a package which contains a binary Cygwin DLL. The only result is that somebody, who has already a Cygwin installation will get another DLL with likely another version in $PATH which results in serious trouble. So this isn't something we want to see and support. Even then, I hope you're also packaging up all the source code at the same spot you're providing binaries, otherwise you'll at least infringing the Cygwin license. This is very off-topic for this list, AFAICS, especially when sent three times. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat, Inc.
Victor B. Gonzalez
2005-Jun-13 06:51 UTC
Building Stand-Alone NT Installer. Need Advice on FileStructure. Thank you!
-- Hello Corinna,>There's no such thing as a Cygwin version 2.457.2.2.I apologize. I was referring to the version of setup. I've built with the DLL version 1.5.17-1 and made a final stand alone build on June, 06, 2005.>There's no gain for the community in packaging up a package which contains >a binary Cygwin DLL. The only result is that somebody, who has already a >Cygwin installation will get another DLL with likely another version in >$PATH which results in serious trouble. So this isn't something we want >to see and support.Sounds interesting. Would it be of interest to you if I put in logic that will refuse to install itself IF any of the following returns true?> Registry entries for "Cygnus Solutions" > Environment variable of "CYGWIN"I will do this so no trouble can surface. The installer can read the registry and environment so to take the proper action. If incase you're curious about someone wishing to install Cygwin AFTER they installed OpenSSH standalone, well I can perform that check on every system startup. IF an installation of Cygwin is found I can disable the stand alone version completely from paths and registry. Or whatever you might wish to recommend.>Even then, I hope you're also packaging up all the source code at the >same spot you're providing binaries, otherwise you'll at least infringing >the Cygwin license.In a sense, I was hoping users would advise on which files are safe to remove and which one's aren't. For example are all man files required on NT? Should I include all .README's from Cygwin OR just the main README's which pertain to the actual used applications? IF I must include the source rather than linking to it I might need some help. BUT I am willing to do anything to comply with any and all legalities. I am only really hoping to lay-down the groundwork with notes of my progress about building a standalone installation. I would really appreciate if someone much smarter than I in regards to Cygwin and OpenSSH actually take it further and make it more solid and secure. I don't proclaim to be a professional BUT I do proclaim that I am willing to at least try and get OpenSSH to stand as alone as possible. While at the same time doing anything to comply...>This is very off-topic for this list, AFAICS, especially when sent >three times.I apologize for this inconvenience and feel bad about it. Thanks to "Bob Proulx" from the list I've discovered I've got a serious problem. It seems the either the list, my mail server or my client is not in agreement at some point. My first two messages returned errors stating it was never posted "bad command" and my last message "the one you replied to" never sent me the actual reply. I had to find it on the following webpage http://www.mindrot.org/pipermail/openssh-unix-dev/2005-June/thread.html thanks again to "Bob Proulx". If this list isn't made for discussions about furthering OpenSSH into projects like "standalone installations" then where do I find such a list? Also, what is this list for if not for development? -- Best regards, Victor B. Gonzalez OpenSSH-4.1p1-1 Cygwin DLL 1.5.17-1 Windows XP 5.1 Build 2600 Service Pack 2
Seemingly Similar Threads
- Building NT installer. Need Advice RE: File Structure.
- Building NT installer. Need Advice RE: File Structure.
- [PATCH] contrip/cygwin: Reworking the installation support
- [patch/cygwin] contrib/cygwin/ssh-host-config
- Cygwin Rsync 2.5.6 over SSH hangs on Win2k->Win2k