PN: lib32-openssh
PV: 10.5p1
PR: r0
PKGV: 10.5p1
PKGR: r0
LICENSE: BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
DESCRIPTION: Secure rlogin/rsh/rcp/telnet replacement (OpenSSH) Ssh (Secure Shell) is a program for logging into a remote machine and for executing commands on a remote machine.
SUMMARY: A suite of security-related network utilities based on the SSH protocol including the ssh client and sshd server
RDEPENDS:lib32-openssh-sshd: lib32-base-files lib32-base-passwd lib32-glibc (>= 2.44+git0+5c479454d1) lib32-libcrypto (>= 4.0.3) lib32-libxcrypt (>= 4.5.2) lib32-openssh-keygen lib32-shadow lib32-zlib (>= 1.3.2)
RPROVIDES:lib32-openssh-sshd: lib32-sshd
RRECOMMENDS:lib32-openssh-sshd: lib32-update-rc.d
RCONFLICTS:lib32-openssh-sshd: lib32-dropbear
SECTION: console/network
PKG:lib32-openssh-sshd: lib32-openssh-sshd
FILES:lib32-openssh-sshd: /usr/sbin/sshd /usr/libexec/sshd-session /etc/init.d/sshd /lib/systemd/system /etc/ssh/moduli /etc/ssh/sshd_config /etc/ssh/sshd_config_readonly /etc/default/volatiles/99_sshd /etc/pam.d/sshd /usr/libexec/openssh/sshd_check_keys /usr/libexec/sshd-auth
CONFFILES:lib32-openssh-sshd: /etc/ssh/sshd_config
FILES_INFO:lib32-openssh-sshd: {"/etc/default/volatiles/99_sshd": 75, "/etc/init.d/sshd": 2029, "/etc/ssh/moduli": 673940, "/etc/ssh/sshd_config": 3142, "/etc/ssh/sshd_config_readonly": 3146, "/usr/libexec/openssh/sshd_check_keys": 2137, "/usr/libexec/sshd-auth": 1156884, "/usr/libexec/sshd-session": 1198132, "/usr/sbin/sshd": 681644}
pkg_postinst:lib32-openssh-sshd: #!/bin/sh\nset -e\nif true && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-r $D"\n\telse\n\t\tOPT="-s"\n\tfi\n\tupdate-rc.d $OPT sshd defaults 9\nfi\n
pkg_postrm:lib32-openssh-sshd: #!/bin/sh\nset -e\nif true && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-f -r $D"\n\telse\n\t\tOPT="-f"\n\tfi\n\tupdate-rc.d $OPT sshd remove\nfi\n
pkg_preinst:lib32-openssh-sshd: #!/bin/sh\nset -e\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "lib32-openssh: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "lib32-openssh: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "lib32-openssh: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "lib32-openssh: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "lib32-openssh: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "lib32-openssh: user $username already exists, not re-creating it"\n\tfi\n}\nperform_usermod () {\n\t# Same reason with groupmod, temporarily disable -e option\n\tset +e\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "lib32-openssh: Performing usermod with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" != "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO usermod \\$opts\\"\n\t\tif test $? != 0; then\n\t\t\tbbfatal "lib32-openssh: usermod command did not succeed."\n\t\tfi\n\telse\n\t\tbbwarn "lib32-openssh: user $username doesn't exist, unable to modify it"\n\tfi\n\tset -e\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--prefix $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t\tcp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --prefix\n\texport PSEUDO_PASSWD="$SYSROOT"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM=""\n\tUSERADD_PARAM="--system --no-create-home --home-dir /var/run/sshd --shell /bin/false --user-group sshd"\n\tUSERMOD_PARAM=""\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERMOD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running usermod commands..."\n\t# Invoke multiple instances of usermod for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERMOD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERMOD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_usermod "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
pkg_prerm:lib32-openssh-sshd: #!/bin/sh\nset -e\nif true && [ -z "$D" -a -x "/etc/init.d/sshd" ]; then\n\t/etc/init.d/sshd stop || :\nfi\n
FILERDEPENDSFLIST:lib32-openssh-sshd: /etc/init.d/sshd /usr/libexec/openssh/sshd@underscore@check@underscore@keys /usr/libexec/sshd-auth /usr/libexec/sshd-session /usr/sbin/sshd
FILERDEPENDS:/etc/init.d/sshd:lib32-openssh-sshd:  /bin/sh
FILERDEPENDS:/usr/libexec/openssh/sshd@underscore@check@underscore@keys:lib32-openssh-sshd:  /bin/sh
FILERDEPENDS:/usr/libexec/sshd-auth:lib32-openssh-sshd:  libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.42) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.25) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.36) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.8) libc.so.6(GLIBC_2.26) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.3.4) libcrypto.so.4(OPENSSL_4.0.0) libc.so.6(GLIBC_2.0) libcrypt.so.2(XCRYPT_2.0) libcrypt.so.2 libcrypto.so.4 libz.so.1 libc.so.6 rtld(GNU_HASH)
FILERDEPENDS:/usr/libexec/sshd-session:lib32-openssh-sshd:  libc.so.6(GLIBC_2.25) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.36) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.8) libc.so.6(GLIBC_2.26) libc.so.6(GLIBC_2.2.4) libcrypto.so.4(OPENSSL_4.0.0) libcrypt.so.2(XCRYPT_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.42) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.3.4) libcrypt.so.2 libcrypto.so.4 libz.so.1 libc.so.6 rtld(GNU_HASH) libc.so.6(GLIBC_2.3)
FILERDEPENDS:/usr/sbin/sshd:lib32-openssh-sshd:  libc.so.6(GLIBC_2.26) libc.so.6(GLIBC_2.4) libcrypto.so.4(OPENSSL_4.0.0) libc.so.6(GLIBC_2.2.4) rtld(GNU_HASH) libc.so.6(GLIBC_2.8) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.36) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.25) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.3.4) libcrypto.so.4 libc.so.6
PKGSIZE:lib32-openssh-sshd: 3721129
