mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
ecec028843
- Empty dir handling - rc.d installation - prefix modification in manuals From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> PR: ports/133412
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
@comment slogin must be deleted first
|
|
bin/slogin
|
|
bin/scp
|
|
bin/sftp
|
|
bin/ssh
|
|
bin/ssh-add
|
|
bin/ssh-agent
|
|
bin/ssh-keygen
|
|
bin/ssh-keyscan
|
|
%%NOTBASE%%etc/ssh/moduli
|
|
%%NOTBASE%%@exec if [ -f %D/etc/ssh_config -a ! -f %D/etc/ssh/ssh_config ]; then ln %D/etc/ssh_config %D/etc/ssh/ssh_config ; fi
|
|
%%NOTBASE%%@exec if [ -f %D/etc/sshd_config -a ! -f %D/etc/ssh/sshd_config ]; then ln %D/etc/sshd_config %D/etc/ssh/sshd_config ; fi
|
|
%%NOTBASE%%@unexec if cmp -s %D/etc/ssh/ssh_config %D/etc/ssh/ssh_config-dist; then rm -f %D/etc/ssh/ssh_config; fi
|
|
%%NOTBASE%%@unexec if cmp -s %D/etc/ssh/sshd_config %D/etc/ssh/sshd_config-dist; then rm -f %D/etc/ssh/sshd_config; fi
|
|
%%BASE%%@cwd /
|
|
etc/ssh/ssh_config-dist
|
|
etc/ssh/sshd_config-dist
|
|
%%BASE%%@cwd %%BASEPREFIX%%
|
|
%%NOTBASE%%@exec if [ ! -f %D/etc/ssh/ssh_config ]; then cp -p %D/etc/ssh/ssh_config-dist %D/etc/ssh/ssh_config ; fi
|
|
%%NOTBASE%%@exec if [ ! -f %D/etc/ssh/sshd_config ]; then cp -p %D/etc/ssh/sshd_config-dist %D/etc/ssh/sshd_config ; fi
|
|
%%NOTBASE%%@dirrmtry etc/ssh
|
|
sbin/sshd
|
|
share/Ssh.bin
|
|
libexec/sftp-server
|
|
libexec/ssh-keysign
|
|
@exec if [ ! -d %%EMPTYDIR%% ]; then mkdir -p %%EMPTYDIR%% ; fi
|
|
%%ERASEEMPTY%%@dirrm empty
|
|
@exec if ! pw groupshow sshd 2>/dev/null; then pw groupadd sshd -g 22; fi
|
|
@exec if ! pw usershow sshd 2>/dev/null; then pw useradd sshd -g sshd -u 22 -h - -d %%EMPTYDIR%% -s /nonexistent -c "sshd privilege separation"; fi
|