X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fsecurity%2Fopenssh%2Fopenssh;h=5690e8e22e1fbb8a49617ff3251b703e31484691;hb=715fe113e813e6a4eb57b60e0ac0ab1c7248c1db;hp=bb751ad6f232ecdb439a43a4bec104c572e461ba;hpb=8bd71d121b0d52455519c6ccbc957853de42af81;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/security/openssh/openssh b/packages/security/openssh/openssh index bb751ad..5690e8e 100644 --- a/packages/security/openssh/openssh +++ b/packages/security/openssh/openssh @@ -3,28 +3,14 @@ # author: hackbard # [S] 3-2 -# [V] 3.8p1 -# [D] openssh-3.8p1.tar.gz ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ +# [V] 4.1p1 +# [D] openssh-4.1p1.tar.gz ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ flist_pruned="${flist_pruned}|etc/shadow|etc/passwd|etc/group" - -pre_install() { - export LD=gcc - useradd -u 1025 -c 'sshd server' sshd || true - } +flist_pruned="${flist_pruned}|etc/ssh/ssh_host" confopt="$confopt --with-md5-passwords --without-pam --with-tcp-wrappers \ --disable-suid-ssh --with-xauth=/usr/X11R6/bin/xauth \ --sysconfdir=$root/etc/ssh" install_conf="$install_conf install-nokeys" - -post_install() { - # ssh host key - echo "creating ssh host keys ..." - [ ! -f $root/etc/ssh_host_dsa_key ] && \ - $root/usr/bin/ssh-keygen -d -b 1024 -f $root//etc/ssh_host_dsa_key -N "" - [ ! -f $root/etc/ssh_host_key ] && \ - $root/usr/bin/ssh-keygen -d -b 1024 -f $root/etc/ssh_host_key -N "" - echo "done. " - }