Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2019-10-22 15:38:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aaa_base (Old) and /work/SRC/openSUSE:Factory/.aaa_base.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aaa_base" Tue Oct 22 15:38:38 2019 rev:457 rq:738955 version:84.87+git20191017.bf0a315 Changes: -------- --- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes 2019-09-07 11:23:48.814508368 +0200 +++ /work/SRC/openSUSE:Factory/.aaa_base.new.2352/aaa_base.changes 2019-10-22 15:38:40.377253575 +0200 @@ -1,0 +2,49 @@ +Thu Oct 17 05:21:44 UTC 2019 - [email protected] + +- Update to version 84.87+git20191017.bf0a315: + * Use short TERM name rxvt for rxvt-unicode and rxvt-unicode-256-color + +------------------------------------------------------------------- +Thu Oct 17 05:09:46 UTC 2019 - [email protected] + +- Update to version 84.87+git20191017.14003c1: + * Use official key binding functions in inputrc + that is replace up-history with previous-history, down-history with + next-history and backward-delete-word with backward-kill-word + (bsc#1084934). Add some missed key escape sequences for urxvt-unicode + terminal as well (boo#1007715). + +------------------------------------------------------------------- +Wed Oct 16 15:03:33 UTC 2019 - [email protected] + +- Update to version 84.87+git20191016.80d1420: + * backup-sysconfig: fall back top cpio if tar is not available + (bsc#1089299) + * backup-rpmdb: check if rpm database is okay before backup to + avoid overwriting good backups with corrupt ones (bsc#1079861) + * service: check if there is a second argument before using it + (bsc#1051143) + +------------------------------------------------------------------- +Mon Oct 14 16:00:12 UTC 2019 - [email protected] + +- Update to version 84.87+git20191014.52dc403: + * also add color alias for ip command, jira#sle-9880, bsc#1153943 + +------------------------------------------------------------------- +Thu Oct 10 13:32:05 UTC 2019 - [email protected] + +- Update to version 84.87+git20191010.b20083a: + * check if variables can be set before modifying them + to avoid warnings on login with a restricted shell + (bsc#1138869) + +------------------------------------------------------------------- +Wed Oct 09 09:27:06 UTC 2019 - [email protected] + +- Update to version 84.87+git20191009.4c2bd8e: + * Add s390x compressed kernel support (bsc#1151023) + * Fix LC_NAME and LC_ADDRESS in sh.ssh + * fix string test to arithmetic test in /etc/profile.d/wsl.sh + +------------------------------------------------------------------- Old: ---- aaa_base-84.87+git20190822.82a17f1.tar.xz New: ---- aaa_base-84.87+git20191017.bf0a315.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.lF0eOg/_old 2019-10-22 15:38:41.209254524 +0200 +++ /var/tmp/diff_new_pack.lF0eOg/_new 2019-10-22 15:38:41.213254529 +0200 @@ -23,7 +23,7 @@ %endif Name: aaa_base -Version: 84.87+git20190822.82a17f1 +Version: 84.87+git20191017.bf0a315 Release: 0 Url: https://github.com/openSUSE/aaa_base # do not require systemd - aaa_base is in the build environment and we don't ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.lF0eOg/_old 2019-10-22 15:38:41.249254570 +0200 +++ /var/tmp/diff_new_pack.lF0eOg/_new 2019-10-22 15:38:41.249254570 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/aaa_base.git</param> - <param name="changesrevision">82a17f1689e8957635c8ccaae7c9b3bff7f94d49</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">bf0a31597d0ed3562bfc5e6be0ade2fe5dc1f7a1</param></service></servicedata> \ No newline at end of file ++++++ aaa_base-84.87+git20190822.82a17f1.tar.xz -> aaa_base-84.87+git20191017.bf0a315.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/Makefile new/aaa_base-84.87+git20191017.bf0a315/Makefile --- old/aaa_base-84.87+git20190822.82a17f1/Makefile 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/Makefile 2019-10-17 07:19:47.000000000 +0200 @@ -11,7 +11,7 @@ install -m755 get_kernel_version $(DESTDIR)/usr/bin clean: - rm -f $(sbin_PROGRAMS) + rm -f $(bin_PROGRAMS) mimetypes: if test -d Apache/apache2; then (cd Apache/apache2 && osc up); else osc co Apache/apache2; fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/etc/bash.bashrc new/aaa_base-84.87+git20191017.bf0a315/files/etc/bash.bashrc --- old/aaa_base-84.87+git20190822.82a17f1/files/etc/bash.bashrc 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/etc/bash.bashrc 2019-10-17 07:19:47.000000000 +0200 @@ -8,9 +8,14 @@ # # Check which shell is reading this file -# -noprofile=false -restricted=false +# check if variables are read-only before setting them +# for example in a restricted shell +if unset noprofile 2>/dev/null ; then + noprofile=false +fi +if unset restricted 2>/dev/null ; then + restricted=false +fi : ${_is_save:=unset} if test -z "$is" ; then if test -f /proc/mounts ; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/etc/inputrc new/aaa_base-84.87+git20191017.bf0a315/files/etc/inputrc --- old/aaa_base-84.87+git20190822.82a17f1/files/etc/inputrc 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/etc/inputrc 2019-10-17 07:19:47.000000000 +0200 @@ -54,40 +54,40 @@ $if term=xterm "\e\eOD": backward-word "\e\eOC": forward-word -"\e\eOA": up-history -"\e\eOB": down-history +"\e\eOA": previous-history +"\e\eOB": next-history "\C-\eOD": backward-char "\C-\eOC": forward-char -"\C-\eOA": up-history -"\C-\eOB": down-history +"\C-\eOA": previous-history +"\C-\eOB": next-history "\M-\eOD": backward-word "\M-\eOC": forward-word -"\M-\eOA": up-history -"\M-\eOB": down-history +"\M-\eOA": previous-history +"\M-\eOB": next-history "\C-\M-OD": backward-char "\C-\M-OC": forward-char -"\C-\M-OA": up-history -"\C-\M-OB": down-history +"\C-\M-OA": previous-history +"\C-\M-OB": next-history $endif # # Standard cursor # "\e\e[D": backward-word "\e\e[C": forward-word -"\e\e[A": up-history -"\e\e[B": down-history +"\e\e[A": previous-history +"\e\e[B": next-history "\C-\e[D": backward-char "\C-\e[C": forward-char -"\C-\e[A": up-history -"\C-\e[B": down-history +"\C-\e[A": previous-history +"\C-\e[B": next-history "\M-\e[D": backward-word "\M-\e[C": forward-word -"\M-\e[A": up-history -"\M-\e[B": down-history +"\M-\e[A": previous-history +"\M-\e[B": next-history "\C-\M-[D": backward-char "\C-\M-[C": forward-char -"\C-\M-[A": up-history -"\C-\M-[B": down-history +"\C-\M-[A": previous-history +"\C-\M-[B": next-history $endif # # end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/etc/inputrc.keys new/aaa_base-84.87+git20191017.bf0a315/files/etc/inputrc.keys --- old/aaa_base-84.87+git20190822.82a17f1/files/etc/inputrc.keys 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/etc/inputrc.keys 2019-10-17 07:19:47.000000000 +0200 @@ -237,8 +237,8 @@ "\C-?": backward-delete-char "\C-H": backward-delete-char $if term=xterm -"\e\303\277": backward-delete-word -"\eÿ": backward-delete-word +"\e\303\277": backward-kill-word +"\eÿ": backward-kill-word $endif # # Home and End @@ -736,7 +736,7 @@ "\e[24;8~": "" $endif # -$if term=rxvt-unicode +$if term=rxvt "\e[23$": "" "\e[24$": "" "\e[11^": "" @@ -798,14 +798,18 @@ "\e\e[2$": overwrite-mode $endif "\e\eOq": end-of-line -"\e\eOr": down-history +"\e\eOr": next-history "\e\eOs": history-search-forward "\e\eOt": backward-char "\e\eOu": re-read-init-file "\e\eOv": forward-char "\e\eOw": beginning-of-line -"\e\eOx": up-history +"\e\eOx": previous-history "\e\eOy": history-search-backward +"\eOc": forward-word +"\eOd": backward-word +"\eOa": history-search-backward +"\eOb": history-search-forward "\e[c": forward-word "\e[d": backward-word "\e[a": history-search-backward @@ -843,8 +847,8 @@ $if term=screen "\e[1;2D": backward-word "\e[1;2C": forward-word -"\e[1;2A": up-history -"\e[1;2B": down-history +"\e[1;2A": previous-history +"\e[1;2B": next-history "\e[1;2H": beginning-of-line "\e[1;2F": end-of-line $if mode=emacs @@ -871,8 +875,8 @@ "\e[6;2~": history-search-forward "\e[1;5D": backward-word "\e[1;5C": forward-word -"\e[1;5A": up-history -"\e[1;5B": down-history +"\e[1;5A": previous-history +"\e[1;5B": next-history "\e[1;5H": beginning-of-line "\e[1;5F": end-of-line "\e[3;5~": delete-char @@ -880,8 +884,8 @@ "\e[6;5~": history-search-forward "\e[1;3D": backward-word "\e[1;3C": forward-word -"\e[1;3A": up-history -"\e[1;3B": down-history +"\e[1;3A": previous-history +"\e[1;3B": next-history "\e[1;3H": beginning-of-line "\e[1;3F": end-of-line "\e[3;3~": delete-char diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/etc/profile.d/alias.bash new/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/alias.bash --- old/aaa_base-84.87+git20190822.82a17f1/files/etc/profile.d/alias.bash 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/alias.bash 2019-10-17 07:19:47.000000000 +0200 @@ -27,6 +27,7 @@ alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' +alias ip='ip --color=auto' alias md='mkdir -p' if test "$is" = "bash" -a ! -x /bin/which -a ! -x /usr/bin/which ; then # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/etc/profile.d/sh.ssh new/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/sh.ssh --- old/aaa_base-84.87+git20190822.82a17f1/files/etc/profile.d/sh.ssh 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/sh.ssh 2019-10-17 07:19:47.000000000 +0200 @@ -7,7 +7,7 @@ test_lc() { for lc in LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE \ - LC_MONETARY LC_MESSAGES LC_PAPER LC_NAMELC_ADDRESS \ + LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS \ LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL do eval val="\$$lc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/etc/profile.d/wsl.sh new/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/wsl.sh --- old/aaa_base-84.87+git20190822.82a17f1/files/etc/profile.d/wsl.sh 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/etc/profile.d/wsl.sh 2019-10-17 07:19:47.000000000 +0200 @@ -7,7 +7,7 @@ if test -n "$ORIG_PATH" ; then PATH=$ORIG_PATH:$PATH fi - if test $(umask) = 0000; then + 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/usr/lib/base-scripts/backup-rpmdb new/aaa_base-84.87+git20191017.bf0a315/files/usr/lib/base-scripts/backup-rpmdb --- old/aaa_base-84.87+git20190822.82a17f1/files/usr/lib/base-scripts/backup-rpmdb 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/usr/lib/base-scripts/backup-rpmdb 2019-10-17 07:19:47.000000000 +0200 @@ -40,6 +40,11 @@ OLD_MD5="`cat $RPMDB_BACKUP_DIR/rpmdb_recent_md5`" NEW_MD5="`cat ${RPMDB_PATH}/$PACKAGEDBFILE | md5sum`" if test "$OLD_MD5" != "$NEW_MD5" ; then + if ! rpm -qa > /dev/null 2>&1 ; then + echo "ERROR!! something wrong with RPM DB, it might be corrupted, please double check" + logger -p cron.err "ERROR!! something wrong with RPM DB, it might be corrupted, please double check" + exit 1 + fi DATESTRING=`date +"%Y%m%d"` NEWNAME=$RPMDB_BACKUP_DIR/$PACKAGEDBFILE-$DATESTRING diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/usr/lib/base-scripts/backup-sysconfig new/aaa_base-84.87+git20191017.bf0a315/files/usr/lib/base-scripts/backup-sysconfig --- old/aaa_base-84.87+git20190822.82a17f1/files/usr/lib/base-scripts/backup-sysconfig 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/usr/lib/base-scripts/backup-sysconfig 2019-10-17 07:19:47.000000000 +0200 @@ -40,7 +40,18 @@ NUMBER=`expr $NUMBER + 1` done - if tar czfp $NEWNAME /etc/sysconfig 2>/dev/null ; then + FAIL=1 + if type -p tar &>/dev/null ; then + tar czfp $NEWNAME /etc/sysconfig 2>/dev/null && FAIL=0 + elif type -p cpio &>/dev/null ; then + (cd / ; find etc/sysconfig | cpio -o -Hustar) | gzip > $NEWNAME 2>/dev/null && FAIL=0 + else + echo "ERROR!! can not find either tar or cpio" + echo "sysconfig backup is not possible" + rm -f $NEWNAME + exit 1 + fi + if test $FAIL = 0 ; then echo "$NEW_MD5" > $RCCONFIG_BACKUP_DIR/sysconfig_recent_md5 test "$MAX_RCCONFIG_BACKUPS" -gt 0 2> /dev/null || MAX_RCCONFIG_BACKUPS=0 NUMBER=1 @@ -55,6 +66,7 @@ echo "to $RCCONFIG_BACKUP_DIR." echo "Maybe there is not enough disk space." rm -f $NEWNAME + exit 1 fi fi fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/files/usr/sbin/service new/aaa_base-84.87+git20191017.bf0a315/files/usr/sbin/service --- old/aaa_base-84.87+git20190822.82a17f1/files/usr/sbin/service 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/files/usr/sbin/service 2019-10-17 07:19:47.000000000 +0200 @@ -103,7 +103,7 @@ fi echo "$1 is neither service nor target!?" >&2 return "1" - elif [ -x "$actiondir/$1/$2" ]; then + elif [ -n "$2" -a -x "$actiondir/$1/$2" ]; then rc="$actiondir/$1/$2" shift 2 elif [ ${0##*/} = service ] ; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20190822.82a17f1/get_kernel_version.c new/aaa_base-84.87+git20191017.bf0a315/get_kernel_version.c --- old/aaa_base-84.87+git20190822.82a17f1/get_kernel_version.c 2019-08-22 15:42:09.000000000 +0200 +++ new/aaa_base-84.87+git20191017.bf0a315/get_kernel_version.c 2019-10-17 07:19:47.000000000 +0200 @@ -170,6 +170,41 @@ } } } + if(!found) { + /* Compressed S390x kernel */ + /* Compare with vanilla kernel git commit 6abe28197024f */ + if( + !fseek(fp, 0x10008, SEEK_SET) && + fread(buffer, 1, 6, fp) == 6 && + buffer[0] == 'S' && buffer[1] == '3' && + buffer[2] == '9' && buffer[3] == '0' && + buffer[4] == 'E' && buffer[5] == 'P' && + !fseek(fp, 0x10428, SEEK_SET) && + fread(buffer, 1, 8, fp) == 8 + ) { + unsigned long long version_string_offset = + ((unsigned char *) buffer)[7] + + (((unsigned char *) buffer)[6] << 8) + + (((unsigned char *) buffer)[5] << 16) + + (((unsigned char *) buffer)[4] << 24) + + ((unsigned long long) ((unsigned char *) buffer)[3] << 32) + + ((unsigned long long) ((unsigned char *) buffer)[2] << 40) + + ((unsigned long long) ((unsigned char *) buffer)[1] << 48) + + ((unsigned long long) ((unsigned char *) buffer)[0] << 56); + if( + !fseek(fp, version_string_offset, SEEK_SET) && + fread(buffer, 1, MAX_VERSION_LENGTH, fp) == MAX_VERSION_LENGTH + ) { + char *s = buffer; + + for(s[MAX_VERSION_LENGTH] = 0; *s; s++) if(*s == ' ') { *s = 0; break; } + if(*buffer) { + found = 1; + printf("%s\n", buffer); + } + } + } + } if (command[0] != '\0') pclose (fp);
