openssh: update to 6.1p1; merged -client subpkg into main pkg.
This commit is contained in:
parent
f1f33dca5f
commit
bf744c20bd
8 changed files with 15 additions and 40 deletions
|
@ -1 +0,0 @@
|
||||||
openssh
|
|
|
@ -7,6 +7,7 @@ ExecStart=/usr/sbin/sshd -D
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Also=sshdgenkeys.service
|
||||||
|
|
||||||
# Note that this is the service file for running a single SSH server for all
|
# Note that this is the service file for running a single SSH server for all
|
||||||
# incoming connections, suitable only for systems with a large amount of SSH
|
# incoming connections, suitable only for systems with a large amount of SSH
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
libc.so.6
|
|
||||||
libcrypto.so.1
|
|
||||||
libz.so.1
|
|
||||||
libresolv.so.2
|
|
||||||
libdl.so.2
|
|
||||||
libgssapi_krb5.so.2
|
|
|
@ -1,19 +0,0 @@
|
||||||
# Template file for 'openssh-client'.
|
|
||||||
#
|
|
||||||
conf_files="/etc/ssh/ssh_config"
|
|
||||||
depends="openssh>=$version"
|
|
||||||
short_desc="The OpenSSH client"
|
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains the ${pkgname} client files."
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
for f in scp sftp slogin ssh ssh-add ssh-agent \
|
|
||||||
ssh-copy-id ssh-keyscan findssl; do
|
|
||||||
vmove usr/bin/${f} usr/bin
|
|
||||||
[ ! -f ${SRCPKGDESTDIR}/usr/share/man/man1/${f}.1 ] && continue
|
|
||||||
vmove usr/share/man/man1/${f}.1 usr/share/man/man1
|
|
||||||
done
|
|
||||||
vmove etc/ssh/ssh_config etc/ssh
|
|
||||||
vmove usr/share/man/man5/ssh_config.5 usr/share/man/man5
|
|
||||||
}
|
|
|
@ -2,13 +2,14 @@ case $ACTION in
|
||||||
post)
|
post)
|
||||||
cat <<_EOF
|
cat <<_EOF
|
||||||
===========================================================================
|
===========================================================================
|
||||||
|
|
||||||
Two systemd services are provided by ${PKGNAME}-${VERSION}:
|
Two systemd services are provided by ${PKGNAME}-${VERSION}:
|
||||||
|
|
||||||
- sshd.service (starts a single instance of sshd)
|
- sshd.service (starts a single instance of sshd)
|
||||||
- sshd.socket (per-connection on demand sshd)
|
- sshd.socket (per-connection on demand sshd)
|
||||||
|
|
||||||
By default we enable the on-demand per-connection daemon, which is lighter
|
Feel free to start/enable your preferred solution :-)
|
||||||
when there are few connections.
|
|
||||||
===========================================================================
|
===========================================================================
|
||||||
_EOF
|
_EOF
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Template file for 'openssh-server'.
|
# Template file for 'openssh-server'.
|
||||||
#
|
#
|
||||||
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
|
conf_files="/etc/ssh/sshd_config /etc/pam.d/sshd"
|
||||||
systemd_services="sshd.socket on"
|
|
||||||
make_dirs="/var/chroot/ssh 0755 root root"
|
make_dirs="/var/chroot/ssh 0755 root root"
|
||||||
depends="openssh>=$version"
|
depends="openssh>=$version"
|
||||||
short_desc="The OpenSSH server"
|
short_desc="The OpenSSH server"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
libgssapi_krb5.so.2
|
||||||
libresolv.so.2
|
libresolv.so.2
|
||||||
libcrypto.so.1
|
libcrypto.so.1
|
||||||
libdl.so.2
|
libdl.so.2
|
||||||
|
|
|
@ -1,23 +1,24 @@
|
||||||
# Template file for 'openssh'
|
# Template file for 'openssh'
|
||||||
pkgname=openssh
|
pkgname=openssh
|
||||||
version=6.0p1
|
version=6.1p1
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
|
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
|
||||||
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody --with-pam
|
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
||||||
--with-mantype=man --without-rpath --with-xauth=/usr/bin/xauth
|
--with-mantype=man --without-rpath --with-xauth=/usr/bin/xauth
|
||||||
--with-ssl-engine --disable-strip --with-privsep-path=/var/chroot/ssh
|
--with-ssl-engine --disable-strip --with-privsep-path=/var/chroot/ssh
|
||||||
--with-kerberos5=/usr --with-pid-dir=/run"
|
--with-kerberos5=/usr --with-pid-dir=/run --with-pam"
|
||||||
depends="shadow"
|
depends="shadow"
|
||||||
|
replaces="openssh-client<6.1p1"
|
||||||
makedepends="perl>=0 zlib-devel openssl-devel pam-devel mit-krb5-devel e2fsprogs-devel"
|
makedepends="perl>=0 zlib-devel openssl-devel pam-devel mit-krb5-devel e2fsprogs-devel"
|
||||||
conf_files="/etc/ssh/moduli"
|
conf_files="/etc/ssh/moduli /etc/ssh/ssh_config"
|
||||||
subpackages="$pkgname-client $pkgname-server"
|
subpackages="$pkgname-server"
|
||||||
short_desc="The OpenSSH implementation of SSH protocol versions 1 and 2"
|
short_desc="The OpenSSH implementation of SSH protocol versions 1 and 2 (client)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.openssh.org"
|
homepage="http://www.openssh.org"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$version.tar.gz"
|
distfiles="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$version.tar.gz"
|
||||||
checksum=589d48e952d6c017e667873486b5df63222f9133d417d0002bd6429d9bd882de
|
checksum=d1c157f6c0852e90c191cc7c9018a583b51e3db4035489cb262639d337a1c411
|
||||||
long_desc="
|
long_desc="
|
||||||
SSH (Secure SHell) is a program for logging into and executing
|
SSH (Secure SHell) is a program for logging into and executing
|
||||||
commands on a remote machine. SSH is intended to replace rlogin and
|
commands on a remote machine. SSH is intended to replace rlogin and
|
||||||
|
@ -29,9 +30,7 @@ long_desc="
|
||||||
it up to date in terms of security and features, as well as removing
|
it up to date in terms of security and features, as well as removing
|
||||||
all patented algorithms to separate libraries.
|
all patented algorithms to separate libraries.
|
||||||
|
|
||||||
This package includes the core files necessary for both the OpenSSH
|
This package contains the ${pkgname} client files."
|
||||||
client and server. To make this package useful, you should also
|
|
||||||
install openssh-client, openssh-server, or both."
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall contrib/sshd.pam.generic 644 etc/pam.d sshd
|
vinstall contrib/sshd.pam.generic 644 etc/pam.d sshd
|
||||||
|
|
Loading…
Add table
Reference in a new issue