summaryrefslogtreecommitdiffstats
path: root/openssh-server
diff options
context:
space:
mode:
Diffstat (limited to 'openssh-server')
-rw-r--r--openssh-server/.footprint.i68640
-rw-r--r--openssh-server/.footprint.x86_6440
-rw-r--r--openssh-server/.md5sum.i6862
-rw-r--r--openssh-server/.md5sum.x86_642
-rwxr-xr-xopenssh-server/Pkgfile46
5 files changed, 130 insertions, 0 deletions
diff --git a/openssh-server/.footprint.i686 b/openssh-server/.footprint.i686
new file mode 100644
index 000000000..9bb7a3910
--- /dev/null
+++ b/openssh-server/.footprint.i686
@@ -0,0 +1,40 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/ssh/
+-rw-r--r-- root/root etc/ssh/sshd_config
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/openssh/
+-rwxr-xr-x root/root usr/lib/openssh/sftp-server
+-rws--x--x root/root usr/lib/openssh/ssh-keysign
+-rwxr-xr-x root/root usr/lib/openssh/ssh-pkcs11-helper
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/sshd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/sftp-server.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ssh-keysign.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ssh-pkcs11-helper.8.gz
+-rw-r--r-- root/root usr/share/man/man8/sshd.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwx------ root/sys var/lib/sshd/
diff --git a/openssh-server/.footprint.x86_64 b/openssh-server/.footprint.x86_64
new file mode 100644
index 000000000..9bb7a3910
--- /dev/null
+++ b/openssh-server/.footprint.x86_64
@@ -0,0 +1,40 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K30sshd -> ../init.d/sshd
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/ssh/
+-rw-r--r-- root/root etc/ssh/sshd_config
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/openssh/
+-rwxr-xr-x root/root usr/lib/openssh/sftp-server
+-rws--x--x root/root usr/lib/openssh/ssh-keysign
+-rwxr-xr-x root/root usr/lib/openssh/ssh-pkcs11-helper
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/sshd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/sftp-server.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ssh-keysign.8.gz
+-rw-r--r-- root/root usr/share/man/man8/ssh-pkcs11-helper.8.gz
+-rw-r--r-- root/root usr/share/man/man8/sshd.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwx------ root/sys var/lib/sshd/
diff --git a/openssh-server/.md5sum.i686 b/openssh-server/.md5sum.i686
new file mode 100644
index 000000000..0b68fb033
--- /dev/null
+++ b/openssh-server/.md5sum.i686
@@ -0,0 +1,2 @@
+afe17eee7e98d3b8550cc349834a85d0 openssh-5.9p1.tar.gz
+23ed262e5382897d3ac764a7367c5bf2 service-01.patch
diff --git a/openssh-server/.md5sum.x86_64 b/openssh-server/.md5sum.x86_64
new file mode 100644
index 000000000..0b68fb033
--- /dev/null
+++ b/openssh-server/.md5sum.x86_64
@@ -0,0 +1,2 @@
+afe17eee7e98d3b8550cc349834a85d0 openssh-5.9p1.tar.gz
+23ed262e5382897d3ac764a7367c5bf2 service-01.patch
diff --git a/openssh-server/Pkgfile b/openssh-server/Pkgfile
new file mode 100755
index 000000000..0615f6b9e
--- /dev/null
+++ b/openssh-server/Pkgfile
@@ -0,0 +1,46 @@
+# Description: Services de shell sécurisé openssh
+# URL: http://www.openssh.org/
+# Maintainer: NuTyX coreteam
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: openssh
+# Run on: openssh
+
+name=openssh-server
+version=5.9p1
+release=2
+source=(http://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz\
+ http://nutyx.meticul.eu/files/patchs/$name/service-01.patch)
+
+build() {
+ unset MAKEFLAGS
+ source /etc/blfs-bootscripts
+# wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ cd openssh-$version
+# sed -i "s:-lcrypto:/usr/lib/libcrypto.a -ldl:g" configure
+ sed -i "s/lkrb5 -ldes/lkrb5/" configure
+ install -v -m700 -d $PKG/var/lib/sshd
+ chown -v 0:2 $PKG/var/lib/sshd
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/ssh \
+ --libexecdir=/usr/lib/openssh \
+ --with-tcp-wrappers --with-md5-passwords \
+ --with-privsep-path=/var/lib/sshd \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+
+ make DESTDIR=$PKG install
+
+ cd ../$scripts-$scriptsversion
+ patch -Np1 -i ../service-01.patch
+ make DESTDIR=$PKG install-sshd
+ echo "PermitRootLogin no" >> $PKG/etc/ssh/sshd_config
+
+ # Suppression du client et ses man
+ rm $PKG/etc/ssh/{ssh_config,moduli}
+ rm -r $PKG/usr/bin
+ rm -r $PKG/usr/share/man/man{1,5}
+}
+