mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
610d298652
sshd2 unless it detects an entry for ssh in /etc/inetd.conf. As there are three ways to automatically start sshd2 and /etc/rc.conf is the simplest one (at least on FreeBSD 4, with rcNG once /etc/rc.d/sshd is fixed to not be tailored to the base sshd) this version of the port is the last one to do so. Beginning with next version it will only install a sample start-up script. To prevent foot shooting when updating to the next version this port won't remove an existing start-up scripting on deinstall. Please see also the pkg-message that gets displayed on installation. - Update to 3.2.9.1. This is _not_ a security update. For the non-commercial version the only change worth mentioning since 3.2.5 is the addition of the config option "DisableVersionFallback", see sshd2_config(5) for further details. - Use sites from the official list of mirrors for MASTER_SITES. - Adjust COMMENT to justify why this port is security/ssh2, not security/ssh3. - Revise list of installed documentation. No longer install MANIFEST (list of source files) and INSTALL, install RFCs referenced in sshd2_config(5) and HOWTO.anonymous.sftp (patched to better fit FreeBSD). - Remove WITH_STATIC_SFTP knob. Using the internal sftp-server instead of the external (static) one is much simpler to set up and maintain (using the external one requires to install a copy of it in the home directory of the anonymous sftp user which has to be manually updated when installing a newer version of the port). - Remove WITHOUT_TCPWRAP knob, libwarp is part of FreeBSD since 3.2. - Install examples scripts for the ExternalAuthorizationProgram and AuthKbdInt.Plugin config options in EXAMPLESDIR. See sshd2_config(5) for further information. - Replace references to /etc/ssh2/* in config files with PREFIX/etc/ssh2/*. - Add a pkg-message displaying the different methods to automatically start sshd2. - Switch to the start-up script for Solaris which is part of the tarball, it handles the name of the pidfile better. - Fix detection of X11 headers, this enables compilation with support for X11 SECURITY extension. See TrustX11Applications in ssh2_config(5) for further information. - Add a test target to the Makefile of the port, the tests seem a bit outdated and buggy but it's enough to e.g. do a bit of speed comparison when building with different compilers. - Minor changes and clean-up (sort pkg-plist, don't add /usr/local/lib to the library search path when compiling, etc.). Revive some local modifications lost with the update to 3.1.0: - Use login_cap(3)/login_class(3) facilities to set environment variables, prority and shell, get motd, copyright, hushlogin and nologin, respect ignorenologin and requirehome. This changes are roughly based on former patch-ah and patch-ai and patches of security/openssh. - Don't print "No mail.", it's not FreeBSD login style. Submitted by: maintainer
60 lines
2.3 KiB
Plaintext
60 lines
2.3 KiB
Plaintext
bin/scp
|
|
bin/scp2
|
|
bin/sftp
|
|
bin/sftp2
|
|
bin/sftp-server
|
|
bin/sftp-server2
|
|
bin/ssh
|
|
bin/ssh-add
|
|
bin/ssh-add2
|
|
bin/ssh-agent
|
|
bin/ssh-agent2
|
|
%%WITH_X11:%%bin/ssh-askpass
|
|
%%WITH_X11:%%bin/ssh-askpass2
|
|
bin/ssh-dummy-shell
|
|
bin/ssh-keygen
|
|
bin/ssh-keygen2
|
|
bin/ssh-probe
|
|
bin/ssh-probe2
|
|
bin/ssh-signer
|
|
bin/ssh-signer2
|
|
bin/ssh2
|
|
etc/rc.d/sshd2.sh.sample
|
|
@exec if [ "`grep ssh /etc/inetd.conf | grep -v ^#ssh`" = "" ] & [ ! -f %B/sshd2.sh ]; then cp %B/%f %B/sshd2.sh; fi
|
|
@unexec if [ -f %B/sshd2.sh ]; then echo "If permanently deleting this package, %B/sshd2.sh must be removed manually."; fi
|
|
@unexec if cmp -s %D/etc/ssh2/sshd2_config %D/etc/ssh2/sshd2_config.example; then rm -f %D/etc/ssh2/sshd2_config; fi
|
|
etc/ssh2/sshd2_config.example
|
|
@exec [ -f %B/sshd2_config ] || cp %B/%f %B/sshd2_config
|
|
@unexec if cmp -s %D/etc/ssh2/ssh2_config %D/etc/ssh2/ssh2_config.example; then rm -f %D/etc/ssh2/ssh2_config; fi
|
|
etc/ssh2/ssh2_config.example
|
|
@exec [ -f %B/ssh2_config ] || cp %B/%f %B/ssh2_config
|
|
etc/ssh2/ssh_dummy_shell.out
|
|
etc/ssh2/subconfig/anonymous.example
|
|
etc/ssh2/subconfig/host_ext.example
|
|
etc/ssh2/subconfig/host_int.example
|
|
etc/ssh2/subconfig/user.example
|
|
@exec [ -d %D/etc/ssh2/hostkeys ] || mkdir %D/etc/ssh2/hostkeys
|
|
@exec [ -d %D/etc/ssh2/knownhosts ] || mkdir %D/etc/ssh2/knownhosts
|
|
@exec if [ ! -f %D/etc/ssh2/hostkey ]; then umask 022; echo "Generating host key."; %D/bin/ssh-keygen2 -P -t dsa "DSA hostkey" %D/etc/ssh2/hostkey; fi
|
|
sbin/sshd
|
|
sbin/sshd-check-conf
|
|
sbin/sshd2
|
|
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
|
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
|
%%PORTDOCS%%%%DOCSDIR%%/HOWTO.anonymous.sftp
|
|
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
|
%%PORTDOCS%%%%DOCSDIR%%/REGEX-SYNTAX
|
|
%%PORTDOCS%%%%DOCSDIR%%/SSH2.QUICKSTART
|
|
%%PORTDOCS%%%%DOCSDIR%%/RFC.authorization_program_protocol
|
|
%%PORTDOCS%%%%DOCSDIR%%/RFC.kbdint_plugin_protocol
|
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
%%EXAMPLESDIR%%/ext_authorization_example.sh
|
|
%%EXAMPLESDIR%%/kbdint_plugin_example.sh
|
|
@dirrm %%EXAMPLESDIR%%
|
|
@unexec rmdir %D/etc/ssh2/hostkeys 2> /dev/null || true
|
|
@unexec rmdir %D/etc/ssh2/knownhosts 2> /dev/null || true
|
|
@unexec rmdir %D/etc/ssh2/subconfig 2> /dev/null || true
|
|
@unexec rmdir %D/etc/ssh2 2> /dev/null || echo "If permanently deleting this package, %D/etc/ssh2 and its contents must be removed manually."
|