Package: openssh Version: 3.6.1p1 Revision: 4 Maintainer: Max Horn Depends: daemonic (>= 20010902-1), openssl097-shlibs BuildDepends: openssl097-dev, dlcompat-dev Source: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%v.tar.gz Source-MD5: d4c2c88b883f097fe88e327cbb4b2e2a Patch: %n.patch SetCPPFLAGS: -fno-builtin ConfigureParams: --with-pid-dir=%p/var/run --sysconfdir=%p/etc/ssh --mandir=%p/share/man --libexecdir=%p/lib --with-xauth=/usr/X11R6/bin/xauth --with-default-path=%p/bin:/usr/bin:/bin:%p/sbin:/usr/sbin:/sbin:/usr/X11R6/bin --with-md5-passwords InstallScript: make install DESTDIR=%d DocFiles: README LICENCE CREDITS WARNING.RNG ConfFiles: %p/etc/ssh/ssh_config %p/etc/ssh/sshd_config # DaemonicName: ssh DaemonicFile: << SSH secure login server OpenSSH secure login server %p/sbin/sshd if [ ! -f "%p/etc/ssh/ssh_host_key" ]; then %p/bin/ssh-keygen -t rsa1 -f %p/etc/ssh/ssh_host_key -N "" -C `hostname` fi if [ ! -f %p/etc/ssh/ssh_host_dsa_key ]; then %p/bin/ssh-keygen -t dsa -f %p/etc/ssh/ssh_host_dsa_key -N "" -C `hostname` fi if [ ! -f %p/etc/ssh/ssh_host_rsa_key ]; then %p/bin/ssh-keygen -t rsa -f %p/etc/ssh/ssh_host_rsa_key -N "" -C `hostname` fi %p/etc/ssh/sshd_config %p/var/run/sshd.pid << PostInstScript: << # re-create /var directory (works around a nasty bug in rev 1 of this package) test ! -e /var && ln -s /private/var /var # update init script if necessary daemonic install ssh << PreRmScript: << # clean up if [ $1 != "upgrade" ]; then daemonic remove ssh fi << # Description: Secure shell (remote login) client and server DescUsage: << If you have host keys in /etc and want to continue using them, copy them to /sw/etc/ssh (or wherever you installed Fink). To run the SSH server from this package, first make sure the system's server is disabled (SSHSERVER=-NO- in /etc/hostconfig). Then, run 'daemonic enable ssh' as root. That will create a startup item that starts sshd after the next reboot. To disable the server, run 'daemonic disable ssh' as root. This will not kill a running server at this time. If you don't know how to kill the server yourself, reboot the machine to get rid of it. << DescPort: << The patch places a fake config.cache file in the build directory to disable the broken getaddrinfo() function (and friends). With this fix, incoming X11 forwarding finally works (and it's enabled by default now). Previous versions by Christoph Pfisterer. << DescPackaging: << Specified -fno-builtin because GCC 3.3 has log() as a builtin (from math.h) while OpenSSH has its own log() function. << License: BSD Homepage: http://www.openssh.com/