Difference between revisions of "OpenSSH"
From CBLFS
Jump to navigationJump to search (→64Bit) |
|||
Line 45: | Line 45: | ||
install -v -m700 -d /var/lib64/sshd && | install -v -m700 -d /var/lib64/sshd && | ||
chown -v root:sys /var/lib64/sshd && | chown -v root:sys /var/lib64/sshd && | ||
− | CC="gcc | + | CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc/ssh \ |
--libexecdir=/usr/lib64/openssh --with-md5-passwords \ | --libexecdir=/usr/lib64/openssh --with-md5-passwords \ | ||
--with-privsep-path=/var/lib64/ssh && | --with-privsep-path=/var/lib64/ssh && |
Revision as of 20:19, 3 September 2006
Download Source: | http://sunsite.ualberta.ca/pub/OpenBSD/OpenSSH/portable/openssh-4.3p2.tar.gz |
---|
Contents
Dependencies
Required
All Arches
groupadd -g 50 sshd && useradd -c 'sshd PrivSep' -d /var/lib/sshd -g sshd -s /bin/false -u 50 sshd
Non-Multilib
Compile the package:
install -v -m700 -d /var/lib/sshd && chown -v root:sys /var/lib/sshd && ./configure --prefix=/usr --sysconfdir=/etc/ssh \ --libexecdir=/usr/lib/openssh --with-md5-passwords \ --with-privsep-path=/var/lib/ssh && make
Install the package
make install install -v -m755 -d /usr/share/doc/openssh-4.3p2 && install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ /usr/share/doc/openssh-4.3p2
Multilib
This package does not provide any libraries so only one installation is needed.
64Bit
Compile the package:
install -v -m700 -d /var/lib64/sshd && chown -v root:sys /var/lib64/sshd && CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc/ssh \ --libexecdir=/usr/lib64/openssh --with-md5-passwords \ --with-privsep-path=/var/lib64/ssh && make
Install the package
make install install -v -m755 -d /usr/share/doc/openssh-4.3p2 && install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ /usr/share/doc/openssh-4.3p2
N32
Compile the package:
TO BE DONE
64Bit
Compile the package
install -v -m700 -d /var/lib/sshd && chown -v root:sys /var/lib/sshd && ./configure --prefix=/usr --sysconfdir=/etc/ssh \ --libexecdir=/usr/lib/openssh --with-md5-passwords \ --with-privsep-path=/var/lib/ssh && make
Install the package
make install install -v -m755 -d /usr/share/doc/openssh-4.3p2 && install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ /usr/share/doc/openssh-4.3p2
All Arches Boot
make install-sshd