Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2019-12-02 11:26:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aaa_base (Old) and /work/SRC/openSUSE:Factory/.aaa_base.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "aaa_base" Mon Dec 2 11:26:25 2019 rev:458 rq:749969 version:84.87+git20191120.98f1524 Changes: -------- --- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes 2019-10-22 15:38:40.377253575 +0200 +++ /work/SRC/openSUSE:Factory/.aaa_base.new.4691/aaa_base.changes 2019-12-02 11:26:30.138690707 +0100 @@ -1,0 +2,8 @@ +Wed Nov 20 17:03:03 UTC 2019 - ro@suse.com + +- Update to version 84.87+git20191120.98f1524: + * merged PR 65 + * dash fixes + * handle /usr/etc/login.defs for wsl + +------------------------------------------------------------------- Old: ---- aaa_base-84.87+git20191017.bf0a315.tar.xz New: ---- aaa_base-84.87+git20191120.98f1524.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.1CYM7u/_old 2019-12-02 11:26:31.258690283 +0100 +++ /var/tmp/diff_new_pack.1CYM7u/_new 2019-12-02 11:26:31.258690283 +0100 @@ -1,7 +1,7 @@ # # spec file for package aaa_base # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,9 +23,9 @@ %endif Name: aaa_base -Version: 84.87+git20191017.bf0a315 +Version: 84.87+git20191120.98f1524 Release: 0 -Url: https://github.com/openSUSE/aaa_base +URL: https://github.com/openSUSE/aaa_base # do not require systemd - aaa_base is in the build environment and we don't # want to pull in tons of dependencies Conflicts: sysvinit-init ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.1CYM7u/_old 2019-12-02 11:26:31.294690270 +0100 +++ /var/tmp/diff_new_pack.1CYM7u/_new 2019-12-02 11:26:31.294690270 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/aaa_base.git</param> - <param name="changesrevision">bf0a31597d0ed3562bfc5e6be0ade2fe5dc1f7a1</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">90b35240d1a699f69c2093ea9b5c94879e1aba17</param></service></servicedata> \ No newline at end of file ++++++ aaa_base-84.87+git20191017.bf0a315.tar.xz -> aaa_base-84.87+git20191120.98f1524.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/wsl.csh new/aaa_base-84.87+git20191120.98f1524/files/etc/profile.d/wsl.csh --- old/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/wsl.csh 2019-10-17 07:19:47.000000000 +0200 +++ new/aaa_base-84.87+git20191120.98f1524/files/etc/profile.d/wsl.csh 2019-11-20 18:02:16.000000000 +0100 @@ -7,8 +7,16 @@ set -f path=($orig_path $path) endif if (`umask` == 0) then - set umask_login_defs=`sed -ne 's/^UMASK[[:space:]]*//p' /etc/login.defs` - if ( $umask_login_defs ) umask $umask_login_defs - unset umask_login_defs + foreach logindefs ({,/usr}/etc/login.defs) + if ( ! -e $logindefs ) continue + break + end + if ( -e $logindefs ) then + set _umask_login_defs=`sed -ne 's/^UMASK[[:space:]]*//p' "$logindefs"` + if ( ${%_umask_login_defs} > 0) then + umask ${_umask_login_defs} + endif + unset _umask_login_defs + endif endif endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/wsl.sh new/aaa_base-84.87+git20191120.98f1524/files/etc/profile.d/wsl.sh --- old/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/wsl.sh 2019-10-17 07:19:47.000000000 +0200 +++ new/aaa_base-84.87+git20191120.98f1524/files/etc/profile.d/wsl.sh 2019-11-20 18:02:16.000000000 +0100 @@ -1,15 +1,25 @@ -# WSL does not utilitze this pam functionality currently. -if test -f /proc/version ; then - IS_WSL=$(grep -i microsoft /proc/version) -fi +# restore WSL path and set umask as WSL doesn't use pam to open a login shell +__profile_setup_wsl() { + test -n "$WSL_DISTRO_NAME" || return 0 -if test -n "$IS_WSL" ; then if test -n "$ORIG_PATH" ; then PATH=$ORIG_PATH:$PATH fi - if test $(umask) -eq 0; then - UMASK_LOGIN_DEFS=$(sed -ne 's/^UMASK[[:space:]]*//p' /etc/login.defs) - test "$UMASK_LOGIN_DEFS" && umask "$UMASK_LOGIN_DEFS" - unset UMASK_LOGIN_DEFS + + if test $(umask) -eq 0000; then + local logindefs + for logindefs in /etc/login.defs /usr/etc/login.defs; do + test -e "$logindefs" || continue + break + done + if test -e "$logindefs"; then + local umask_login_defs=`sed -ne 's/^UMASK[[:space:]]*//p' "$logindefs"` + if test -n "$umask_login_defs"; then + umask "$umask_login_defs" + fi + fi fi -fi +} + +__profile_setup_wsl +unset __profile_setup_wsl