From 36a2dc7a0084b2006a80500841dcb6c838942553 Mon Sep 17 00:00:00 2001 From: Han Boetes Date: Mon, 13 Nov 2006 22:15:13 +0100 Subject: [PATCH] openssh: removed duplicate from core --- openssh/.footprint | 41 ----------------------------------------- openssh/.md5sum | 2 -- openssh/Pkgfile | 34 ---------------------------------- openssh/README | 10 ---------- openssh/sshd | 37 ------------------------------------- 5 files changed, 124 deletions(-) delete mode 100644 openssh/.footprint delete mode 100644 openssh/.md5sum delete mode 100644 openssh/Pkgfile delete mode 100644 openssh/README delete mode 100644 openssh/sshd diff --git a/openssh/.footprint b/openssh/.footprint deleted file mode 100644 index be2888ede..000000000 --- a/openssh/.footprint +++ /dev/null @@ -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 diff --git a/openssh/.md5sum b/openssh/.md5sum deleted file mode 100644 index f1a71b75d..000000000 --- a/openssh/.md5sum +++ /dev/null @@ -1,2 +0,0 @@ -6468c339886f78e8a149b88f695839dd openssh-4.5p1.tar.gz -bd8c806e623552083e1a761019cc2793 sshd diff --git a/openssh/Pkgfile b/openssh/Pkgfile deleted file mode 100644 index f88e13dbe..000000000 --- a/openssh/Pkgfile +++ /dev/null @@ -1,34 +0,0 @@ -# Description: FREE version of the SSH protocol suite of network connectivity tools. -# URL: http://openssh.org -# Packager: Per Lidén -# Maintainer: Han Boetes -# 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 -} diff --git a/openssh/README b/openssh/README deleted file mode 100644 index e9085649b..000000000 --- a/openssh/README +++ /dev/null @@ -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 diff --git a/openssh/sshd b/openssh/sshd deleted file mode 100644 index f2bf698fa..000000000 --- a/openssh/sshd +++ /dev/null @@ -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