PN: lib32-openssh
PV: 10.6p1
PR: r0
PKGV: 10.6p1
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+34106fee69) lib32-libcrypto (>= 4.0.3) lib32-libpam (>= 1.7.3) lib32-libxcrypt (>= 4.5.2) lib32-openssh-keygen lib32-pam-plugin-keyinit lib32-pam-plugin-loginuid lib32-shadow lib32-zlib (>= 1.3.2)
RPROVIDES:lib32-openssh-sshd: lib32-sshd
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 /usr/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 /usr/lib/systemd/system-preset/98-lib32-openssh-sshd.preset /usr/lib/systemd/system/sshd.socket /usr/lib/systemd/system/sshd@.service
CONFFILES:lib32-openssh-sshd: /etc/ssh/sshd_config
FILES_INFO:lib32-openssh-sshd: {"/etc/default/volatiles/99_sshd": 75, "/etc/pam.d/sshd": 331, "/etc/ssh/moduli": 673940, "/etc/ssh/sshd_config": 3188, "/etc/ssh/sshd_config_readonly": 3196, "/usr/lib/systemd/system-preset/98-lib32-openssh-sshd.preset": 19, "/usr/lib/systemd/system/sshd.socket": 202, "/usr/lib/systemd/system/sshd@.service": 223, "/usr/lib/systemd/system/sshdgenkeys.service": 169, "/usr/libexec/openssh/sshd_check_keys": 2340, "/usr/libexec/sshd-auth": 1202036, "/usr/libexec/sshd-session": 1247412, "/usr/sbin/sshd": 693932}
pkg_postinst:lib32-openssh-sshd: #!/bin/sh\nset -e\nif type systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in sshd.socket; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\n\t\tfor service in ; do\n\t\t\tsystemctl --global ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ] && systemctl >/dev/null 2>/dev/null; then\n\t\t# Reload only system service manager\n\t\t# --global for daemon-reload is not supported: https://github.com/systemd/systemd/issues/19284\n\t\tsystemctl daemon-reload\n\t\t[ -n "sshd.socket" ] && \\\n\t\t\tsystemctl preset sshd.socket\n\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global preset \n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\t# --global flag for restart is not supported by systemd (see above)\n\t\t\t[ -n "sshd.socket" ] && \\\n\t\t\t\tsystemctl --no-block restart sshd.socket\n\t\tfi\n\tfi\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 type systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ] && systemctl >/dev/null 2>/dev/null; then\n\t\tif [ -n "sshd.socket" ]; then\n\t\t\tsystemctl stop sshd.socket\n\t\t\tsystemctl disable sshd.socket\n\t\tfi\n\n\t\t# same as above, --global flag is not supported for stop so do disable only\n\t\tif [ -n "" ]; then\n\t\t\tsystemctl --global disable \n\t\tfi\n\tfi\nfi\n
FILERDEPENDSFLIST:lib32-openssh-sshd: /usr/libexec/sshd-auth /usr/libexec/sshd-session /usr/sbin/sshd
FILERDEPENDS:/usr/libexec/sshd-auth:lib32-openssh-sshd:  libc.so.6(GLIBC_2.4) libcrypto.so.4(OPENSSL_4.0.0) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.26) libc.so.6(GLIBC_2.8) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.36) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.25) libpam.so.0(LIBPAM_1.0) libc.so.6(GLIBC_2.3) 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.38) libcrypt.so.2(XCRYPT_2.0) libcrypt.so.2 libpam.so.0 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.3.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) libpam.so.0(LIBPAM_1.0) libcrypt.so.2(XCRYPT_2.0) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) libc.so.6 libz.so.1 libcrypto.so.4 libpam.so.0 libcrypt.so.2 libc.so.6(GLIBC_2.25) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.42) libc.so.6(GLIBC_2.1.3)
FILERDEPENDS:/usr/sbin/sshd:lib32-openssh-sshd:  libc.so.6(GLIBC_2.26) libc.so.6(GLIBC_2.2.4) libcrypto.so.4(OPENSSL_4.0.0) rtld(GNU_HASH) libc.so.6(GLIBC_2.8) libc.so.6(GLIBC_2.4) 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: 3827063
