X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fsecurity%2Fopenssh%2Fopenssh;h=1244c3a0fad703811f79a75a790abf222c737181;hb=029ff78113d34dc147be031354a4d87d8a1224b7;hp=bee0458e5737c3952dd6b3edaba1c5baa302af22;hpb=6ae193981fcc05dcc495b4bde92cb8fd290ee4dd;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/security/openssh/openssh b/packages/security/openssh/openssh index bee0458..1244c3a 100644 --- a/packages/security/openssh/openssh +++ b/packages/security/openssh/openssh @@ -3,31 +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" +flist_pruned="${flist_pruned}|etc/ssh/ssh_host" -pre_install() { - export LD=gcc - # add the sshd user - echo "adding user sshd ..." - [ -z "`cat $root/etc/passwd | grep sshd`" ] && useradd sshd - echo "done." - } - -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. " - } +confopt=${confopt//--sysconfdir* /--sysconfdir=$root/etc/ssh } +confopt="$confopt --with-md5-passwords --without-pam --with-tcp-wrappers" +confopt="$confopt --disable-suid-ssh --with-xauth=/usr/X11R6/bin/xauth" +confopt="$confopt --with-privsep-path=$root/var/lib/sshd" +confopt="$confopt --libexecdir=$prefix/sbin"