Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package oddjob for openSUSE:Factory checked in at 2022-04-16 00:14:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/oddjob (Old) and /work/SRC/openSUSE:Factory/.oddjob.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "oddjob" Sat Apr 16 00:14:32 2022 rev:2 rq:970233 version:0.34.7 Changes: -------- --- /work/SRC/openSUSE:Factory/oddjob/oddjob.changes 2020-05-14 23:25:50.585118281 +0200 +++ /work/SRC/openSUSE:Factory/.oddjob.new.1941/oddjob.changes 2022-04-16 00:14:56.077704009 +0200 @@ -1,0 +2,11 @@ +Thu Apr 14 16:19:32 UTC 2022 - Michael Str??der <mich...@stroeder.com> + +- Update to 0.34.7 + * 0.34.7 + - Read HOME_MODE and UMASK from /etc/login.defs + - Default to LC_ALL=C.UTF-8 in systemd service environment + * 0.34.6 + - update license on src/buffer.h + - change /var/run -> /run in systemd service file + +------------------------------------------------------------------- Old: ---- oddjob-0.34.5.tar.gz New: ---- oddjob-0.34.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oddjob.spec ++++++ --- /var/tmp/diff_new_pack.AIF866/_old 2022-04-16 00:14:56.565704660 +0200 +++ /var/tmp/diff_new_pack.AIF866/_new 2022-04-16 00:14:56.565704660 +0200 @@ -1,6 +1,7 @@ # # spec file for package oddjob # +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2020 Stasiek Michalski <stas...@michalski.cc>. # # All modifications and additions to the file contributed by third parties @@ -17,7 +18,7 @@ Name: oddjob -Version: 0.34.5 +Version: 0.34.7 Release: 0 Summary: A D-Bus service which runs odd jobs on behalf of client applications License: BSD-3-Clause @@ -25,20 +26,20 @@ URL: https://pagure.io/oddjob Source0: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz -BuildRequires: gcc +BuildRequires: cyrus-sasl-devel BuildRequires: dbus-1-devel >= 0.22 BuildRequires: dbus-1-x11 +BuildRequires: docbook +BuildRequires: gcc BuildRequires: libselinux-devel BuildRequires: libxml2-devel +BuildRequires: openldap2-devel BuildRequires: pam-devel BuildRequires: pkgconfig -BuildRequires: cyrus-sasl-devel -BuildRequires: pkgconfig(krb5) -BuildRequires: openldap2-devel -BuildRequires: docbook +BuildRequires: systemd-rpm-macros BuildRequires: xmlto +BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(systemd) -BuildRequires: systemd-rpm-macros %{?systemd_requires} Requires(post): psmisc Requires: dbus-1 ++++++ oddjob-0.34.5.tar.gz -> oddjob-0.34.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/Makefile.in new/oddjob-0.34.7/Makefile.in --- old/oddjob-0.34.5/Makefile.in 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -140,8 +140,8 @@ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir distdir-am dist dist-all distcheck -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ - $(LISP)config.h.in +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \ + config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. @@ -652,6 +652,10 @@ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) +dist-zstd: distdir + tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst + $(am__post_remove_distdir) + dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @@ -694,6 +698,8 @@ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ + *.tar.zst*) \ + zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) @@ -871,18 +877,18 @@ am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ - dist-xz dist-zip distcheck distclean distclean-generic \ - distclean-hdr distclean-libtool distclean-tags distcleancheck \ - distdir distuninstallcheck dvi dvi-am html html-am info \ - info-am install install-am install-data install-data-am \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-man install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ - uninstall-am + dist-xz dist-zip dist-zstd distcheck distclean \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am .PRECIOUS: Makefile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/aclocal.m4 new/oddjob-0.34.7/aclocal.m4 --- old/oddjob-0.34.5/aclocal.m4 2020-05-07 21:02:20.000000000 +0200 +++ new/oddjob-0.34.7/aclocal.m4 2020-12-14 17:55:51.000000000 +0100 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.2 -*- Autoconf -*- -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -364,7 +364,7 @@ [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) ])dnl PKG_HAVE_DEFINE_WITH_MODULES -# Copyright (C) 2002-2018 Free Software Foundation, Inc. +# Copyright (C) 2002-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -379,7 +379,7 @@ [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.1], [], +m4_if([$1], [1.16.2], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -395,14 +395,14 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.1])dnl +[AM_AUTOMAKE_VERSION([1.16.2])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -454,7 +454,7 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# Copyright (C) 1997-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -485,7 +485,7 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -676,7 +676,7 @@ # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -715,7 +715,9 @@ done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments - for automatic dependency tracking. Try re-running configure with the + for automatic dependency tracking. If GNU make was not used, consider + re-running the configure script with MAKE="gmake" (or whatever is + necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi @@ -742,7 +744,7 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -939,7 +941,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -960,7 +962,7 @@ fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2018 Free Software Foundation, Inc. +# Copyright (C) 2003-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -982,7 +984,7 @@ # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1017,7 +1019,7 @@ # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1060,7 +1062,7 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# Copyright (C) 1997-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1099,7 +1101,7 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1128,7 +1130,7 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1175,7 +1177,7 @@ # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1413,7 +1415,7 @@ sys.exit(sys.hexversion < minverhex)" AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1432,7 +1434,7 @@ # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1513,7 +1515,7 @@ rm -f conftest.file ]) -# Copyright (C) 2009-2018 Free Software Foundation, Inc. +# Copyright (C) 2009-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1573,7 +1575,7 @@ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1601,7 +1603,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2018 Free Software Foundation, Inc. +# Copyright (C) 2006-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1620,7 +1622,7 @@ # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2018 Free Software Foundation, Inc. +# Copyright (C) 2004-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/compile new/oddjob-0.34.7/compile --- old/oddjob-0.34.5/compile 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/compile 2020-12-14 17:55:52.000000000 +0100 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey <tro...@cygnus.com>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/configure new/oddjob-0.34.7/configure --- old/oddjob-0.34.5/configure 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/configure 2020-12-14 17:55:51.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for oddjob 0.34.4. +# Generated by GNU Autoconf 2.69 for oddjob 0.34.7. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='oddjob' PACKAGE_TARNAME='oddjob' -PACKAGE_VERSION='0.34.4' -PACKAGE_STRING='oddjob 0.34.4' +PACKAGE_VERSION='0.34.7' +PACKAGE_STRING='oddjob 0.34.7' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1409,7 +1409,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures oddjob 0.34.4 to adapt to many kinds of systems. +\`configure' configures oddjob 0.34.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1479,7 +1479,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of oddjob 0.34.4:";; + short | recursive ) echo "Configuration of oddjob 0.34.7:";; esac cat <<\_ACEOF @@ -1616,7 +1616,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -oddjob configure 0.34.4 +oddjob configure 0.34.7 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2027,7 +2027,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by oddjob $as_me 0.34.4, which was +It was created by oddjob $as_me 0.34.7, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2898,7 +2898,7 @@ # Define the identity of the package. PACKAGE='oddjob' - VERSION='0.34.4' + VERSION='0.34.7' cat >>confdefs.h <<_ACEOF @@ -14622,7 +14622,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by oddjob $as_me 0.34.4, which was +This file was extended by oddjob $as_me 0.34.7, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14688,7 +14688,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -oddjob config.status 0.34.4 +oddjob config.status 0.34.7 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -15825,7 +15825,9 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments - for automatic dependency tracking. Try re-running configure with the + for automatic dependency tracking. If GNU make was not used, consider + re-running the configure script with MAKE=\"gmake\" (or whatever is + necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See \`config.log' for more details" "$LINENO" 5; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/configure.ac new/oddjob-0.34.7/configure.ac --- old/oddjob-0.34.5/configure.ac 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/configure.ac 2020-12-14 17:55:44.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT(oddjob,0.34.4) +AC_INIT(oddjob,0.34.7) AC_PREREQ(2.59) PACKAGE_NAME_CAPS=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'` AC_DEFINE_UNQUOTED(PACKAGE_NAME_CAPS,"$PACKAGE_NAME_CAPS",[Define to the package name, in caps.]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/depcomp new/oddjob-0.34.7/depcomp --- old/oddjob-0.34.5/depcomp 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/depcomp 2020-12-14 17:55:52.000000000 +0100 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/doc/Makefile.in new/oddjob-0.34.7/doc/Makefile.in --- old/oddjob-0.34.5/doc/Makefile.in 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/doc/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/install-sh new/oddjob-0.34.7/install-sh --- old/oddjob-0.34.5/install-sh 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/install-sh 2020-12-14 17:55:52.000000000 +0100 @@ -451,7 +451,18 @@ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + (umask $cp_umask && + { test -z "$stripcmd" || { + # Create $dsttmp read-write so that cp doesn't create it read-only, + # which would cause strip to fail. + if test -z "$doit"; then + : >"$dsttmp" # No need to fork-exec 'touch'. + else + $doit touch "$dsttmp" + fi + } + } && + $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/missing new/oddjob-0.34.7/missing --- old/oddjob-0.34.5/missing 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/missing 2020-12-14 17:55:52.000000000 +0100 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/oddjob.spec new/oddjob-0.34.7/oddjob.spec --- old/oddjob-0.34.5/oddjob.spec 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/oddjob.spec 2020-12-14 17:55:44.000000000 +0100 @@ -21,7 +21,7 @@ %endif Name: oddjob -Version: 0.34.5 +Version: 0.34.7 Release: 1%{?dist} Source0: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz Source1: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz.sig @@ -246,9 +246,18 @@ exit 0 %changelog +* Mon Dec 14 18:44:51 EET 2020 Alexander Bokovoy <aboko...@redhat.com> - 0.34.7-1 +- Read HOME_MODE and UMASK from /etc/login.defs +- Default to LC_ALL=C.UTF-8 in systemd service environment + +* Thu May 7 2020 Nalin Dahyabhai <na...@redhat.com> - 0.34.6-1 +- update license on src/buffer.h +- change /var/run -> /run in systemd service file (Orion Poplawski) + * Thu May 7 2020 Nalin Dahyabhai <na...@redhat.com> - 0.34.5-1 - apply patch from Matthias Gerstner of the SUSE security team to fix a possible race condition in the mkhomedir helper (CVE-2020-10737) +- only process SELinux contexts if SELinux is not disabled (Alexander Bokovoy) * Wed Jan 29 2020 Fedora Release Engineering <rel...@fedoraproject.org> - 0.34.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/python/Makefile.in new/oddjob-0.34.7/python/Makefile.in --- old/oddjob-0.34.5/python/Makefile.in 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/python/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/sample/Makefile.in new/oddjob-0.34.7/sample/Makefile.in --- old/oddjob-0.34.5/sample/Makefile.in 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/sample/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/scripts/Makefile.in new/oddjob-0.34.7/scripts/Makefile.in --- old/oddjob-0.34.5/scripts/Makefile.in 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/scripts/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/scripts/oddjobd.service.in new/oddjob-0.34.7/scripts/oddjobd.service.in --- old/oddjob-0.34.5/scripts/oddjobd.service.in 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/scripts/oddjobd.service.in 2020-12-14 17:55:44.000000000 +0100 @@ -4,8 +4,9 @@ [Service] Type=simple -PIDFile=/var/run/oddjobd.pid -ExecStart=@sbindir@/oddjobd -n -p /var/run/oddjobd.pid -t 300 +PIDFile=/run/oddjobd.pid +Environment=LC_ALL=C.UTF-8 +ExecStart=@sbindir@/oddjobd -n -p /run/oddjobd.pid -t 300 [Install] WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/src/Makefile.in new/oddjob-0.34.7/src/Makefile.in --- old/oddjob-0.34.5/src/Makefile.in 2020-05-07 21:02:21.000000000 +0200 +++ new/oddjob-0.34.7/src/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/src/buffer.h new/oddjob-0.34.7/src/buffer.h --- old/oddjob-0.34.5/src/buffer.h 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/src/buffer.h 2020-12-14 17:55:44.000000000 +0100 @@ -1,21 +1,31 @@ /* - * Copyright 2005 Red Hat, Inc. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the Free - * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA - * + Copyright 2005 Red Hat, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of Red Hat, Inc., nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef oddjob_buffer_h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/src/mkhomedir.c new/oddjob-0.34.7/src/mkhomedir.c --- old/oddjob-0.34.5/src/mkhomedir.c 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/src/mkhomedir.c 2020-12-14 17:55:44.000000000 +0100 @@ -264,12 +264,13 @@ } static mode_t -get_umask(int *configured) +get_umask(int *configured, const char *variable) { FILE *fp; char buf[BUFSIZ], *p, *end; mode_t mask = umask(0777); long tmp; + size_t vlen = strlen(variable); fp = fopen("/etc/login.defs", "r"); if (fp != NULL) { @@ -279,10 +280,10 @@ } buf[strcspn(buf, "\r\n")] = '\0'; p = buf + strspn(buf, " \t"); - if (strncmp(p, "UMASK", 5) != 0) { + if (strncmp(p, variable, vlen) != 0) { continue; } - p += 5; + p += vlen; if (strspn(p, " \t") == 0) { continue; } @@ -308,7 +309,11 @@ int i, configured_umask = 0, flags = FLAG_POPULATE; openlog(PACKAGE "-mkhomedir", LOG_PID, LOG_DAEMON); - override_umask = get_umask(&configured_umask); + /* Unlike UMASK, HOME_MODE is the file mode, so needs to be reverted */ + override_umask = 0777 & ~get_umask(&configured_umask, "HOME_MODE"); + if (configured_umask == 0) { + override_umask = get_umask(&configured_umask, "UMASK"); + } umask(override_umask); skel_dir = "/etc/skel"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/src/oddjob_dbus.c new/oddjob-0.34.7/src/oddjob_dbus.c --- old/oddjob-0.34.5/src/oddjob_dbus.c 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/src/oddjob_dbus.c 2020-12-14 17:55:44.000000000 +0100 @@ -634,7 +634,7 @@ oddjob_dbus_filter(DBusConnection *conn, DBusMessage *message, void *user_data) { struct oddjob_dbus_context *ctx; - struct oddjob_dbus_service *srv; + struct oddjob_dbus_service *srv = NULL; struct oddjob_dbus_object *obj; struct oddjob_dbus_interface *interface; struct oddjob_dbus_method *method; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/src/oddjobd-mkhomedir.conf.5.in new/oddjob-0.34.7/src/oddjobd-mkhomedir.conf.5.in --- old/oddjob-0.34.5/src/oddjobd-mkhomedir.conf.5.in 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/src/oddjobd-mkhomedir.conf.5.in 2020-12-14 17:55:44.000000000 +0100 @@ -24,7 +24,8 @@ -u Specify a umask whose bits are masked off of contents of the skeleton directory while they are copied to the user's new home directory. The default is read -from \fB/etc/login.defs\fR. +from \fB/etc/login.defs\fR by taking \fBHOME_MODE\fR and \fBUMASK\fR values, in +this order. First found value persists. .SH SEE ALSO \fBoddjob.conf\fR(5) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/src/pam_oddjob_mkhomedir.8.in new/oddjob-0.34.7/src/pam_oddjob_mkhomedir.8.in --- old/oddjob-0.34.5/src/pam_oddjob_mkhomedir.8.in 2020-05-07 21:02:16.000000000 +0200 +++ new/oddjob-0.34.7/src/pam_oddjob_mkhomedir.8.in 2020-12-14 17:55:44.000000000 +0100 @@ -14,8 +14,9 @@ \fImkmyhomedir\fR method. The location of the skeleton directory and the default umask are determined by -the configuration for the corresponding service in \fBoddjobd-mkhomedir.conf\fR, -so they can not be specified as arguments to this module. +the values of \fBHOME_MODE\fR or \fBUMASK\fR (as a fallback) variables in +\fI/etc/login.defs\fR, so they can not be specified as arguments to this +module. If \fID-Bus\fR has not been configured to allow the calling application to invoke these methods provided as part of the \fI@NAMESPACE@.oddjob_mkhomedir\fR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/tests/006/expected_stdout new/oddjob-0.34.7/tests/006/expected_stdout --- old/oddjob-0.34.5/tests/006/expected_stdout 2020-05-07 21:02:24.000000000 +0200 +++ new/oddjob-0.34.7/tests/006/expected_stdout 2020-12-14 17:55:55.000000000 +0100 @@ -1,7 +1,7 @@ [id -u] -2510 +1000 [id -g] -2516 +1000 [pwd] / [stat --printf "%A %-25F %n\n" /proc/$$/fd/*] @@ -17,6 +17,6 @@ [echo $*] [echo `cat`] -nalin foo +abokovoy foo [cat /proc/$$/cmdline] /bin/bash diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/tests/007/expected_stdout new/oddjob-0.34.7/tests/007/expected_stdout --- old/oddjob-0.34.5/tests/007/expected_stdout 2020-05-07 21:02:24.000000000 +0200 +++ new/oddjob-0.34.7/tests/007/expected_stdout 2020-12-14 17:55:55.000000000 +0100 @@ -1,7 +1,7 @@ [id -u] -2510 +1000 [id -g] -2516 +1000 [pwd] / [stat --printf "%A %-25F %n\n" /proc/$$/fd/*] @@ -15,7 +15,7 @@ prw------- fifo /proc/$$/fd/2 -rwxr-xr-x regular file /proc/$$/fd/255 [echo $*] -nalin foo +abokovoy foo [echo `cat`] [cat /proc/$$/cmdline] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/tests/008/expected_stdout new/oddjob-0.34.7/tests/008/expected_stdout --- old/oddjob-0.34.5/tests/008/expected_stdout 2020-05-07 21:02:24.000000000 +0200 +++ new/oddjob-0.34.7/tests/008/expected_stdout 2020-12-14 17:55:55.000000000 +0100 @@ -1,4 +1,4 @@ -ODDJOB_CALLING_USER="nalin" +ODDJOB_CALLING_USER="abokovoy" ODDJOB_INTERFACE_NAME="com.redhat.oddjob.test" ODDJOB_METHOD_NAME="printenv" ODDJOB_OBJECT_PATH="/" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/tests/Makefile.in new/oddjob-0.34.7/tests/Makefile.in --- old/oddjob-0.34.5/tests/Makefile.in 2020-05-07 21:02:22.000000000 +0200 +++ new/oddjob-0.34.7/tests/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oddjob-0.34.5/tests/cmdparse/Makefile.in new/oddjob-0.34.7/tests/cmdparse/Makefile.in --- old/oddjob-0.34.5/tests/cmdparse/Makefile.in 2020-05-07 21:02:22.000000000 +0200 +++ new/oddjob-0.34.7/tests/cmdparse/Makefile.in 2020-12-14 17:55:52.000000000 +0100 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.1 from Makefile.am. +# Makefile.in generated by automake 1.16.2 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it,