openssh: removed duplicate from core

This commit is contained in:
Han Boetes 2006-11-13 22:15:13 +01:00
parent 96f0aa4624
commit 36a2dc7a00
5 changed files with 0 additions and 124 deletions

View File

@ -1,41 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/sshd
drwxr-xr-x root/root etc/ssh/
-rw-r--r-- root/root etc/ssh/moduli
-rw-r--r-- root/root etc/ssh/ssh_config
-rw-r--r-- root/root etc/ssh/sshd_config
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/scp
-rwxr-xr-x root/root usr/bin/sftp
lrwxrwxrwx root/root usr/bin/slogin -> ./ssh
-rwxr-xr-x root/root usr/bin/ssh
-rwxr-xr-x root/root usr/bin/ssh-add
-rwxr-xr-x root/root usr/bin/ssh-agent
-rwxr-xr-x root/root usr/bin/ssh-keygen
-rwxr-xr-x root/root usr/bin/ssh-keyscan
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/ssh/
drwxr-xr-x root/root usr/lib/ssh/empty/
-rwxr-xr-x root/root usr/lib/ssh/sftp-server
-rws--x--x root/root usr/lib/ssh/ssh-keysign
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/scp.1.gz
-rw-r--r-- root/root usr/man/man1/sftp.1.gz
lrwxrwxrwx root/root usr/man/man1/slogin.1.gz -> ssh.1.gz
-rw-r--r-- root/root usr/man/man1/ssh-add.1.gz
-rw-r--r-- root/root usr/man/man1/ssh-agent.1.gz
-rw-r--r-- root/root usr/man/man1/ssh-keygen.1.gz
-rw-r--r-- root/root usr/man/man1/ssh-keyscan.1.gz
-rw-r--r-- root/root usr/man/man1/ssh.1.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/ssh_config.5.gz
-rw-r--r-- root/root usr/man/man5/sshd_config.5.gz
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/sftp-server.8.gz
-rw-r--r-- root/root usr/man/man8/ssh-keysign.8.gz
-rw-r--r-- root/root usr/man/man8/sshd.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/sshd

View File

@ -1,2 +0,0 @@
6468c339886f78e8a149b88f695839dd openssh-4.5p1.tar.gz
bd8c806e623552083e1a761019cc2793 sshd

View File

@ -1,34 +0,0 @@
# Description: FREE version of the SSH protocol suite of network connectivity tools.
# URL: http://openssh.org
# Packager: Per Lidén <per@fukt.bth.se>
# Maintainer: Han Boetes <han@mijncomputer.nl>
# Depends on: openssl
name=openssh
version=4.5p1
release=1
source="
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz
sshd
"
# http://www.psc.edu/networking/projects/hpn-ssh/openssh-${version%p?}p1-hpn11-none.diff
build()
{
cd $name-$version
# patch -p1 < $SRC/openssh-${version%p?}p1-hpn11-none.diff
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/ssh \
--sysconfdir=/etc/ssh \
--mandir=/usr/man \
--with-mantype=man \
--with-tcp-wrappers \
--with-md5-passwords \
--with-privsep-user=_sshd \
--with-privsep-path=/usr/lib/ssh/empty
make
make install DESTDIR=$PKG
install -D -m 755 $SRC/sshd $PKG/etc/rc.d/sshd
rm -rf $PKG/usr/share
}

View File

@ -1,10 +0,0 @@
This version of ssh uses the experimental hpn patch:
http://www.psc.edu/networking/projects/hpn-ssh/
Also you'll need to add a separate user for openssh: _sshd
useradd -d /nonexistant -s /bin/false -u 98 -g 98 _sshd
or even better install the `nologin' port and make it:
useradd -d /nonexistant -s /sbin/nologin -u 98 -g 98 _sshd

View File

@ -1,37 +0,0 @@
#!/bin/sh
#
# /etc/rc.d/sshd: start/stop ssh daemon
#
case $1 in
start)
if [ ! -f /etc/ssh/ssh_host_key ]; then
/usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key > /dev/null
fi
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
/usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key > /dev/null
fi
if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
/usr/bin/ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key > /dev/null
fi
/usr/sbin/sshd
;;
stop)
if [ -f /var/run/sshd.pid ]; then
kill `cat /var/run/sshd.pid`
rm -f /var/run/ssh.pid
else
killall -q /usr/sbin/sshd
fi
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file