commit munge for openSUSE:Factory

2020-03-27 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2020-03-27 22:03:01

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new.3160 (New)


Package is "munge"

Fri Mar 27 22:03:01 2020 rev:13 rq:789122 version:0.5.14

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2020-02-04 
19:55:13.161386903 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new.3160/munge.changes2020-03-27 
22:03:25.907006846 +0100
@@ -1,0 +2,26 @@
+Tue Mar 24 08:56:31 UTC 2020 - Ana Guerrero Lopez 
+
+- Update to version 0.5.14, most relevant changes:
+  * Added mungekey command for key generation via HKDF.
+  * Added negative caching of user lookups for processing supplementary groups.
+  * Added munged --origin and --stop cmdline opt.
+  * Added unmunge --numeric cmdline opt.
+  * Added several new configuration options.
+  * Added systemd EnvironmentFile to set sysconfig options.
+  * Added systemd RuntimeDirectory to replace tmpfiles.d conf.
+  * Changed logging of non-existent users to only log once for a given user.
+  * Changed default name of munged seedfile.
+  * Fixed pidfile corruption when starting new daemon while socket still in 
use.
+  * Fixed munged signal handlers to be async-signal-safe.
+  * Fixed "Logging stopped due to error" behavior for transient errors.
+  * Fixed misleading "Lockfile not found" error message.
+  * Fixed conversion-specifier / argument mismatch in error message.
+  * Removed autotools-generated files from version control.
+- Update patch:
+  * Make-SUSE-specific-adjustments.patch
+- Spec cleanup
+- Update package description to match upstream's
+- Add logrotate file and Requires in logrotate
+- Run bootstrap to create autotools files.
+
+---

Old:

  munge-0.5.13.tar.gz

New:

  munge-0.5.14.tar.gz



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.NRTgWY/_old  2020-03-27 22:03:27.435007735 +0100
+++ /var/tmp/diff_new_pack.NRTgWY/_new  2020-03-27 22:03:27.439007738 +0100
@@ -34,26 +34,31 @@
 %endif
 
 Name:   munge
-Version:0.5.13
+Version:0.5.14
 Release:0
 Summary:An authentication service for creating and validating 
credentials
 License:GPL-3.0-or-later AND LGPL-3.0-or-later
 Group:  Productivity/Security
-URL:http://dun.github.io/munge/
+URL:https://dun.github.io/munge/
 Source0:https://github.com/dun/munge/archive/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Source2:sysconfig.munge
 Source3:README.SUSE
 Patch0: Make-SUSE-specific-adjustments.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  libbz2-devel
+BuildRequires:  libtool
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
+Requires:   logrotate
 %if 0%{?suse_version} <= 1140
 Requires(pre):  pwdutils
 %else
 Requires(pre):  shadow
 %endif
+Requires(post): coreutils
 %if 0%{?have_systemd}
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(systemd)
@@ -64,16 +69,15 @@
 %if 0%{?suse_version} < 1310
 %{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
 %endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for creating
-and validating credentials.  It is designed to be highly scalable for use
-in an HPC cluster environment.  It allows a process to authenticate the
-UID and GID of another local or remote process within a group of hosts
-having common users and groups.  These hosts form a security realm that is
-defined by a shared cryptographic key.  Clients within this security realm
-can create and validate credentials without the use of root privileges,
+MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for
+creating and validating user credentials.  It is designed to be highly
+scalable for use in an HPC cluster environment.  It provides a portable
+API for encoding the user's identity into a tamper-proof credential
+that can be obtained by an untrusted client and forwarded by untrusted
+intermediaries within a security realm.  Clients within this realm can
+create and validate credentials without the use of root privileges,
 reserved ports, or platform-specific methods.
 
 %package -n lib%{name}%{lversion}
@@ -101,8 +105,12 @@
 cp %{SOURCE3} .
 
 %build
+./bootstrap
 %configure
-make %{?_smp_mflags}
+%if 0%{!?make_build:1}
+%define make_build make %{?_smp_mflags}
+%endif
+%make_build
 
 %install
 %makeinstall
@@ -110,6 +118,10 @@
 rm -f %{buildroot}%{_libdir}/*.a
 rm -f 

commit munge for openSUSE:Factory

2020-02-04 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2020-02-04 19:55:12

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new.26092 (New)


Package is "munge"

Tue Feb  4 19:55:12 2020 rev:12 rq:769784 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2020-01-07 
23:53:49.616046057 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new.26092/munge.changes   2020-02-04 
19:55:13.161386903 +0100
@@ -1,0 +2,6 @@
+Mon Feb  3 15:05:57 UTC 2020 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut through the -mini flavors.
+
+---



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.KQNoxX/_old  2020-02-04 19:55:14.857387893 +0100
+++ /var/tmp/diff_new_pack.KQNoxX/_new  2020-02-04 19:55:14.861387895 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package munge
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -55,8 +55,8 @@
 Requires(pre):  shadow
 %endif
 %if 0%{?have_systemd}
-BuildRequires:  systemd
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 %endif
 Requires(post): coreutils




commit munge for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2020-01-07 23:53:15

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new.6675 (New)


Package is "munge"

Tue Jan  7 23:53:15 2020 rev:11 rq:761356 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2019-12-06 
12:09:18.736114183 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new.6675/munge.changes2020-01-07 
23:53:49.616046057 +0100
@@ -1,0 +2,6 @@
+Tue Jan  7 07:42:01 UTC 2020 - Egbert Eich 
+
+- Add Provides for 'munge-libs' to package libmunge for
+  compatibility with the upstream spec file (bsc#1160075).
+
+---



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.HHEXaV/_old  2020-01-07 23:53:50.424046476 +0100
+++ /var/tmp/diff_new_pack.HHEXaV/_new  2020-01-07 23:53:50.428046479 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package munge
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -80,6 +80,8 @@
 Summary:Libraries for applications using MUNGE
 Group:  System/Libraries
 Recommends: munge
+# For compatibility with the MUNGE upstream SPEC file.
+Provides:   munge-libs = %version
 
 %description -n lib%{name}%{lversion}
 A shared library for applications using the MUNGE authentication service.




commit munge for openSUSE:Factory

2019-12-06 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2019-12-06 12:09:06

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new.4691 (New)


Package is "munge"

Fri Dec  6 12:09:06 2019 rev:10 rq:754491 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2018-10-01 
08:15:35.622038042 +0200
+++ /work/SRC/openSUSE:Factory/.munge.new.4691/munge.changes2019-12-06 
12:09:18.736114183 +0100
@@ -1,0 +2,8 @@
+Wed Nov  6 18:22:48 UTC 2019 - Egbert Eich 
+
+- Fix possible LPE during installation (bsc#1155075,
+  CVE-2019-3691).
+- Remove special %license treatment for SLE-12 as this
+  has been fixed.
+
+---



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.7Yid0m/_old  2019-12-06 12:09:20.120113512 +0100
+++ /var/tmp/diff_new_pack.7Yid0m/_new  2019-12-06 12:09:20.124113510 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package munge
 #
-# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -39,7 +39,7 @@
 Summary:An authentication service for creating and validating 
credentials
 License:GPL-3.0-or-later AND LGPL-3.0-or-later
 Group:  Productivity/Security
-Url:http://dun.github.io/munge/
+URL:http://dun.github.io/munge/
 Source0:https://github.com/dun/munge/archive/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Source2:sysconfig.munge
@@ -149,7 +149,7 @@
 %stop_on_removal munge
 %endif
 
-%define fixperm() [ -e %1 ] && /bin/chown %munge_u:%munge_g %1
+%define fixperm() [ -e %1 ] && /bin/chown -h %munge_u:%munge_g %1
 %postun
 if [ $1 -eq 1 ]
 then
@@ -171,12 +171,31 @@
 %{fixperm %{_localstatedir}/log/munge/munged.log}
 %{fixperm %{_localstatedir}/run/munge}
 fi
-if [ ! -e %{_sysconfdir}/munge/munge.key -a -c /dev/urandom ]; then
-  /bin/dd if=/dev/urandom bs=1 count=1024 \
->%{_sysconfdir}/munge/munge.key 2>/dev/null
+unset tmpfile
+tmpdir=$(mktemp -d /tmp/tmpdir-X)
+if [ -e %{_sysconfdir}/munge/munge.key ]; then 
+# Preserve symlink so we can check for it
+cp -pP %{_sysconfdir}/munge/munge.key ${tmpdir}
 fi
-/bin/chown %munge_u:%munge_g %{_sysconfdir}/munge/munge.key
-/bin/chmod 0400 %{_sysconfdir}/munge/munge.key
+# Make sure this is no symlinks - this may have been created by an attacker!
+if [ -e ${tmpdir}/munge.key -a ! -h ${tmpdir}/munge.key ]; then
+if [ $(/usr/bin/stat -c %U:%G:%a ${tmpdir}/munge.key) != \
+%munge_u:%munge_g:400 ]; then
+   tmpfile=${tmpdir}/munge.key
+fi
+else
+/usr/bin/rm -f ${tmpdir}/munge.key
+if [ -c /dev/urandom ]; then
+   tmpfile=${tmpdir}/munge.key
+   /bin/dd if=/dev/urandom bs=1 count=1024 > $tmpfile 2>/dev/null
+fi
+fi
+if [ -n "$tmpfile" ]; then
+/bin/chmod 0400 $tmpfile
+/bin/chown -h %munge_u:%munge_g $tmpfile
+/bin/mv -f $tmpfile %{_sysconfdir}/munge/munge.key
+fi
+/usr/bin/rm -rf ${tmpdir}
 %if 0%{?have_systemd}
 %service_add_post munge.service
 systemd-tmpfiles --create %{_tmpfilesdir}/munge.conf
@@ -184,16 +203,10 @@
 %{fillup_and_insserv -i munge}
 %endif
 
-%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320
-%define mylicense %license 
-%else 
-%define mylicense %doc 
-%endif
-
 %files
 %defattr(-,root,root,0755)
 %doc AUTHORS
-%mylicense COPYING
+%license COPYING
 %doc DISCLAIMER*
 %doc HISTORY
 %doc JARGON




commit munge for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2018-10-01 08:15:28

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new (New)


Package is "munge"

Mon Oct  1 08:15:28 2018 rev:9 rq:637212 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2018-06-20 
15:32:32.351502572 +0200
+++ /work/SRC/openSUSE:Factory/.munge.new/munge.changes 2018-10-01 
08:15:35.622038042 +0200
@@ -1,0 +2,5 @@
+Sat Sep 22 15:24:40 UTC 2018 - e...@suse.com
+
+- Add coreutils to the Requires(post/postun).
+
+---



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.zU8la1/_old  2018-10-01 08:15:37.126037075 +0200
+++ /var/tmp/diff_new_pack.zU8la1/_new  2018-10-01 08:15:37.130037073 +0200
@@ -59,6 +59,8 @@
 BuildRequires:  systemd-rpm-macros
 %{?systemd_requires}
 %endif
+Requires(post): coreutils
+Requires(postun):   coreutils
 %if 0%{?suse_version} < 1310
 %{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
 %endif




commit munge for openSUSE:Factory

2018-06-20 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2018-06-20 15:31:12

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new (New)


Package is "munge"

Wed Jun 20 15:31:12 2018 rev:8 rq:617651 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2018-06-13 
15:41:10.400624097 +0200
+++ /work/SRC/openSUSE:Factory/.munge.new/munge.changes 2018-06-20 
15:32:32.351502572 +0200
@@ -1,0 +2,13 @@
+Tue Jun 19 06:34:58 UTC 2018 - e...@suse.com
+
+- Handle license file using %license where applicable.
+
+---
+Sat Jun 16 05:11:21 UTC 2018 - e...@suse.com
+
+- Package sysconfig.munge only on non-systemd systems.
+- Fix group settings for non-systemd systems in spec file:
+  group 'munge' is used there as well.
+- Some macro cleanup.
+
+---



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.7acPal/_old  2018-06-20 15:32:33.779450761 +0200
+++ /var/tmp/diff_new_pack.7acPal/_new  2018-06-20 15:32:33.783450616 +0200
@@ -26,11 +26,10 @@
 %endif
 %define lversion 2
 
+%define munge_g %name
 %if 0%{?have_systemd}
- %define munge_g %name
  %define munge_u %name
 %else
- %define munge_g root
  %define munge_u daemon
 %endif
 
@@ -38,7 +37,7 @@
 Version:0.5.13
 Release:0
 Summary:An authentication service for creating and validating 
credentials
-License:GPL-3.0+ and LGPL-3.0+
+License:GPL-3.0-or-later AND LGPL-3.0-or-later
 Group:  Productivity/Security
 Url:http://dun.github.io/munge/
 Source0:https://github.com/dun/munge/archive/%{name}-%{version}.tar.gz
@@ -103,11 +102,9 @@
 
 %install
 %makeinstall
-%{__rm} -f %{buildroot}%{_libdir}/*.la
-%{__rm} -f %{buildroot}%{_libdir}/*.a
-%{__install} -m 0755 -d %{buildroot}%{_fillupdir}
-%{__cp} -p %{S:2} %{buildroot}%{_fillupdir}/sysconfig.munge
-%{__rm} -f %{buildroot}%{_sysconfdir}/sysconfig/munge
+rm -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/*.a
+rm -f %{buildroot}%{_sysconfdir}/sysconfig/munge
 
 # We don't want systemd file on SLE 11
 %if 0%{!?have_systemd:1}
@@ -117,7 +114,9 @@
   rm -f %{buildroot}/lib/systemd/system/munge.service
rm -f %{buildroot}/%{_tmpfilesdir}/munge.conf
sed -i 's/USER="munge"/USER="%munge_u"/g' %{buildroot}/%{_initrddir}/%{name}
-   %{__ln_s} -f %{_initrddir}/%{name} %{buildroot}%{_sbindir}/rc%{name}
+   ln -s -f %{_initrddir}/%{name} %{buildroot}%{_sbindir}/rc%{name}
+   install -m 0755 -d %{buildroot}%{_fillupdir}
+   cp -p %{S:2} %{buildroot}%{_fillupdir}/sysconfig.munge
 %else
   sed -i 's/User=munge/User=%munge_u/g' %{buildroot}%{_unitdir}/munge.service
   sed -i 's/Group=munge/Group=%munge_g/g' %{buildroot}%{_unitdir}/munge.service
@@ -183,10 +182,16 @@
 %{fillup_and_insserv -i munge}
 %endif
 
+%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320
+%define mylicense %license 
+%else 
+%define mylicense %doc 
+%endif
+
 %files
 %defattr(-,root,root,0755)
 %doc AUTHORS
-%doc COPYING
+%mylicense COPYING
 %doc DISCLAIMER*
 %doc HISTORY
 %doc JARGON
@@ -203,11 +208,11 @@
 %{_bindir}/*
 %{_sbindir}/*
 %{_mandir}/*[^3]/*
-%{_fillupdir}/sysconfig.munge
 %if 0%{?have_systemd}
 %{_unitdir}/munge.service
 %{_tmpfilesdir}/munge.conf
 %else
+%{_fillupdir}/sysconfig.munge
 %attr(0755,%munge_u,%munge_g) %dir %{_localstatedir}/run/%{name}
 %{_initddir}/munge
 %endif




commit munge for openSUSE:Factory

2018-06-13 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2018-06-13 15:40:31

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new (New)


Package is "munge"

Wed Jun 13 15:40:31 2018 rev:7 rq:616091 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2018-03-18 
21:44:55.933524403 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new/munge.changes 2018-06-13 
15:41:10.400624097 +0200
@@ -68,0 +69,10 @@
+Fri Dec  2 15:43:40 UTC 2016 - e...@suse.com
+
+- Switch to user 'munge', group 'munge'.
+
+---
+Wed Oct 19 15:48:26 UTC 2016 - e...@suse.com
+
+- Adding to SLE12 SP2 FATE#321706.
+
+---



Other differences:
--



commit munge for openSUSE:Factory

2018-03-18 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2018-03-18 21:44:55

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new (New)


Package is "munge"

Sun Mar 18 21:44:55 2018 rev:6 rq:587905 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2017-12-22 
12:18:58.921720584 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new/munge.changes 2018-03-18 
21:44:55.933524403 +0100
@@ -1,0 +2,5 @@
+Fri Mar 16 13:50:22 UTC 2018 - cg...@suse.com
+
+- added README.SUSE file  (bsc#1085665)
+
+---

New:

  README.SUSE



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.0ILy8m/_old  2018-03-18 21:44:56.941488092 +0100
+++ /var/tmp/diff_new_pack.0ILy8m/_new  2018-03-18 21:44:56.949487803 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package munge
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,6 +44,7 @@
 Source0:https://github.com/dun/munge/archive/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Source2:sysconfig.munge
+Source3:README.SUSE
 Patch0: Make-SUSE-specific-adjustments.patch
 BuildRequires:  libbz2-devel
 BuildRequires:  openssl-devel
@@ -94,6 +95,7 @@
 %prep
 %setup -n %{name}-%{name}-%{version}
 %patch0 -p1
+cp %{SOURCE3} .
 
 %build
 %configure
@@ -193,6 +195,7 @@
 %doc QUICKSTART
 %doc README
 %doc TODO
+%doc README.SUSE
 %doc doc/*
 %dir %attr(0700,%munge_u,%munge_g) %config %{_sysconfdir}/munge
 %dir %attr(0711,%munge_u,%munge_g) %config %{_localstatedir}/lib/munge

++ README.SUSE ++
The file 
/etc/munge/munge.key
is created from /dev/urandom at installation time via the command
  dd if=/dev/urandom bs=1 count=1024 
so it might differ from host to host, one might to replace by identical
one (pick one from a host) and copy it to all hosts.



commit munge for openSUSE:Factory

2017-12-22 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2017-12-22 12:18:48

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new (New)


Package is "munge"

Fri Dec 22 12:18:48 2017 rev:5 rq:554960 version:0.5.13

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2017-02-14 
00:48:23.454323837 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new/munge.changes 2017-12-22 
12:18:58.921720584 +0100
@@ -1,0 +2,22 @@
+Wed Dec  6 16:23:04 UTC 2017 - e...@suse.com
+
+- Update to 0.5.13:
+  * Added support for OpenSSL 1.1.0.
+  * Added support for UID/GID values >= 2^31.
+  * Added support for getentropy() and getrandom().
+  * Added --trusted-group cmdline opt to munged.
+  * Added --log-file and --seed-file cmdline opts to munged.
+  * Changed default MAC algorithm to SHA-256.
+  * Fixed autoconf installation directory variable substitution.
+  * Fixed all gcc, clang, and valgrind warnings.
+  * Improved resilience and unpredictability of PRNG.
+  * Improved hash table performance.
+  * Removed libmissing dependency from libmunge.
+
+---
+Thu Nov 23 13:54:02 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---

Old:

  munge-0.5.12.tar.gz

New:

  munge-0.5.13.tar.gz



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.QojOeW/_old  2017-12-22 12:19:00.125661881 +0100
+++ /var/tmp/diff_new_pack.QojOeW/_new  2017-12-22 12:19:00.125661881 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %if 0%{?suse_version} >= 1210
 %define have_systemd 1
 %endif
@@ -30,7 +35,7 @@
 %endif
 
 Name:   munge
-Version:0.5.12
+Version:0.5.13
 Release:0
 Summary:An authentication service for creating and validating 
credentials
 License:GPL-3.0+ and LGPL-3.0+
@@ -98,8 +103,8 @@
 %makeinstall
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 %{__rm} -f %{buildroot}%{_libdir}/*.a
-%{__install} -m 0755 -d %{buildroot}%{_localstatedir}/adm/fillup-templates
-%{__cp} -p %{S:2} 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.munge
+%{__install} -m 0755 -d %{buildroot}%{_fillupdir}
+%{__cp} -p %{S:2} %{buildroot}%{_fillupdir}/sysconfig.munge
 %{__rm} -f %{buildroot}%{_sysconfdir}/sysconfig/munge
 
 # We don't want systemd file on SLE 11
@@ -115,8 +120,9 @@
   sed -i 's/User=munge/User=%munge_u/g' %{buildroot}%{_unitdir}/munge.service
   sed -i 's/Group=munge/Group=%munge_g/g' %{buildroot}%{_unitdir}/munge.service
   sed -i 's/munge \+munge/%munge_u %munge_g/g' 
%{buildroot}%{_tmpfilesdir}/munge.conf
-  %{__rm} -f %{buildroot}/%{_initddir}/munge
-  %{__ln_s} %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
+  rm -f %{buildroot}%{_initddir}/munge
+  rmdir %{buildroot}%{_localstatedir}/run/munge
+  ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 %endif
 
 %post -n lib%{name}%{lversion} -p /sbin/ldconfig
@@ -194,7 +200,7 @@
 %{_bindir}/*
 %{_sbindir}/*
 %{_mandir}/*[^3]/*
-%{_localstatedir}/adm/fillup-templates/sysconfig.munge
+%{_fillupdir}/sysconfig.munge
 %if 0%{?have_systemd}
 %{_unitdir}/munge.service
 %{_tmpfilesdir}/munge.conf

++ munge-0.5.12.tar.gz -> munge-0.5.13.tar.gz ++
 33795 lines of diff (skipped)




commit munge for openSUSE:Factory

2017-02-13 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2017-02-14 00:48:22

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new (New)


Package is "munge"

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2017-01-17 
14:35:43.574860398 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new/munge.changes 2017-02-14 
00:48:23.454323837 +0100
@@ -1,0 +2,28 @@
+Tue Feb  7 17:27:18 UTC 2017 - e...@suse.com
+
+- Fix BuildRequires for zlib-devel.
+
+---
+Wed Feb  1 20:13:51 UTC 2017 - e...@suse.com
+
+- Replace group/user add macros with function calls.
+- Make sure we update the user/group of files/directories correctly
+  when updating - in case they have changed.
+
+---
+Tue Jan  3 16:18:13 UTC 2017 - e...@suse.com
+
+- Use user 'munge', group 'munge' for systemd and user 'daemon', group 'root' 
+  for non-systemd by setting the appropriate macros '%munge_u' and '%munge_g'.
+- Create user/group munge if they don't exist.
+- Add 'BuildRequires: libbz2-devel'
+- Fix typo.
+
+---
+Tue Jan  3 15:56:53 UTC 2017 - e...@suse.com
+
+- Add 'Recommends: munge' to libmunge:
+  This library requires the munge service to run on the
+  local system to be useful.
+
+---



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.RhhNyp/_old  2017-02-14 00:48:25.086093482 +0100
+++ /var/tmp/diff_new_pack.RhhNyp/_new  2017-02-14 00:48:25.090092917 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package munge
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,11 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %if 0%{?suse_version} >= 1210
 %define have_systemd 1
 %endif
 %define lversion 2
 
+%if 0%{?have_systemd}
+ %define munge_g %name
+ %define munge_u %name
+%else
+ %define munge_g root
+ %define munge_u daemon
+%endif
+
 Name:   munge
 Version:0.5.12
 Release:0
@@ -31,10 +40,15 @@
 Source1:baselibs.conf
 Source2:sysconfig.munge
 Patch0: Make-SUSE-specific-adjustments.patch
+BuildRequires:  libbz2-devel
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
-BuildRequires:  libbz2-devel
+%if 0%{?suse_version} <= 1140
+Requires(pre):  pwdutils
+%else
+Requires(pre):  shadow
+%endif
 %if 0%{?have_systemd}
 BuildRequires: systemd
 BuildRequires: systemd-rpm-macros
@@ -58,6 +72,7 @@
 %package -n lib%{name}%{lversion}
 Summary:Libraries for applications using MUNGE
 Group:  System/Libraries
+Recommends: munge
 
 %description -n lib%{name}%{lversion}
 A shared library for applications using the MUNGE authentication service.
@@ -94,12 +109,12 @@
test -f %{buildroot}/lib/systemd/system/munge.service && \
   rm -f %{buildroot}/lib/systemd/system/munge.service
rm -f %{buildroot}/%{_tmpfilesdir}/munge.conf
-   sed -i 's/USER="munge"/USER="daemon"/g' %{buildroot}/%{_initrddir}/%{name}
+   sed -i 's/USER="munge"/USER="%munge_u"/g' %{buildroot}/%{_initrddir}/%{name}
%{__ln_s} -f %{_initrddir}/%{name} %{buildroot}%{_sbindir}/rc%{name}
 %else
-  sed -i 's/User=munge/User=daemon/g' %{buildroot}%{_unitdir}/munge.service
-  sed -i 's/Group=munge/Group=root/g' %{buildroot}%{_unitdir}/munge.service
-  sed -i 's/munge \+munge/daemon root/g' %{buildroot}%{_tmpfilesdir}/munge.conf
+  sed -i 's/User=munge/User=%munge_u/g' %{buildroot}%{_unitdir}/munge.service
+  sed -i 's/Group=munge/Group=%munge_g/g' %{buildroot}%{_unitdir}/munge.service
+  sed -i 's/munge \+munge/%munge_u %munge_g/g' 
%{buildroot}%{_tmpfilesdir}/munge.conf
   %{__rm} -f %{buildroot}/%{_initddir}/munge
   %{__ln_s} %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 %endif
@@ -108,11 +123,15 @@
 
 %postun -n lib%{name}%{lversion} -p /sbin/ldconfig
 
-
-%if 0%{?have_systemd}
 %pre
+%if 0%{?have_systemd}
 %service_add_pre munge.service
 %endif
+%define munge_home "%_localstatedir%_rundir/munge"
+%define munge_descr "MUNGE authentication service"
+getent group %munge_g >/dev/null || groupadd -r %munge_g
+getent passwd %munge_u >/dev/null || useradd -r -g %munge_g -d %munge_home -s 
/bin/false -c %munge_descr %munge_u
+exit 0
 
 %preun
 %if 0%{?have_systemd}
@@ -121,7 +140,14 @@
 %stop_on_removal 

commit munge for openSUSE:Factory

2017-01-17 Thread root
Hello community,

here is the log from the commit of package munge for openSUSE:Factory checked 
in at 2017-01-17 14:35:42

Comparing /work/SRC/openSUSE:Factory/munge (Old)
 and  /work/SRC/openSUSE:Factory/.munge.new (New)


Package is "munge"

Changes:

--- /work/SRC/openSUSE:Factory/munge/munge.changes  2016-12-10 
18:28:59.507419893 +0100
+++ /work/SRC/openSUSE:Factory/.munge.new/munge.changes 2017-01-17 
14:35:43.574860398 +0100
@@ -1,0 +2,7 @@
+Mon Dec 12 09:34:54 UTC 2016 - vet...@physik.uni-wuerzburg.de
+
+- Fix typo in init script (SLE11) introduced by last change
+- Fix rpm preun/postun-scripts (SLE11)
+- Fix empty /etc/sysconfig/munge after update (SLE11)
+
+---

New:

  sysconfig.munge



Other differences:
--
++ munge.spec ++
--- /var/tmp/diff_new_pack.ji4jFa/_old  2017-01-17 14:35:44.126782154 +0100
+++ /var/tmp/diff_new_pack.ji4jFa/_new  2017-01-17 14:35:44.130781587 +0100
@@ -29,6 +29,7 @@
 Url:http://dun.github.io/munge/
 Source0:https://github.com/dun/munge/archive/%{name}-%{version}.tar.gz
 Source1:   baselibs.conf
+Source2:sysconfig.munge
 Patch0: Make-SUSE-specific-adjustments.patch
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
@@ -67,7 +68,7 @@
 Group:  Development/Libraries/C and C++
 
 %description devel
-A header file and libraries forbuilding applications using the %{name} 
+A header file and libraries for building applications using the %{name} 
 authenication service.
 
 %prep
@@ -83,8 +84,8 @@
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 %{__rm} -f %{buildroot}%{_libdir}/*.a
 %{__install} -m 0755 -d %{buildroot}%{_localstatedir}/adm/fillup-templates
-%{__mv} %{buildroot}%{_sysconfdir}/sysconfig/munge \
-   %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.munge
+%{__cp} -p %{S:2} 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.munge
+%{__rm} -f %{buildroot}%{_sysconfdir}/sysconfig/munge
 
 # We don't want systemd file on SLE 11
 %if 0%{!?have_systemd:1}
@@ -93,7 +94,7 @@
test -f %{buildroot}/lib/systemd/system/munge.service && \
   rm -f %{buildroot}/lib/systemd/system/munge.service
rm -f %{buildroot}/%{_tmpfilesdir}/munge.conf
-   sed -i 's/USER="munge"/User="daemon"/g' %{buildroot}/%{_initrddir}/%{name}
+   sed -i 's/USER="munge"/USER="daemon"/g' %{buildroot}/%{_initrddir}/%{name}
%{__ln_s} -f %{_initrddir}/%{name} %{buildroot}%{_sbindir}/rc%{name}
 %else
   sed -i 's/User=munge/User=daemon/g' %{buildroot}%{_unitdir}/munge.service
@@ -117,14 +118,14 @@
 %if 0%{?have_systemd}
 %service_del_preun munge.service
 %else
-%stop_on_removal service
+%stop_on_removal munge
 %endif
 
 %postun
 %if 0%{?have_systemd}
 %service_del_postun munge.service
 %else
-%restart_on_update service
+%restart_on_update munge
 %insserv_cleanup
 %endif
 

++ sysconfig.munge ++
###
# MUNGE system configuration
###

##
# Pass additional command-line options to the daemon.
##
# DAEMON_ARGS="--key-file /etc/munge/munge.key --num-threads 1"
DAEMON_ARGS=""

##
# Adjust the scheduling priority of the daemon.
##
# NICE=
NICE=""

##
# Execute the daemon under another username.
##
# USER="munge"
USER="daemon"

##
# Execute the daemon under another groupname.
##
# GROUP="munge"
GROUP="munge"