commit munge for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package munge for openSUSE:Factory checked in at 2024-05-27 11:56:19 Comparing /work/SRC/openSUSE:Factory/munge (Old) and /work/SRC/openSUSE:Factory/.munge.new.24587 (New) Package is "munge" Mon May 27 11:56:19 2024 rev:20 rq:1177023 version:0.5.16 Changes: --- /work/SRC/openSUSE:Factory/munge/munge.changes 2023-01-14 00:04:26.530138822 +0100 +++ /work/SRC/openSUSE:Factory/.munge.new.24587/munge.changes 2024-05-27 12:04:16.312465896 +0200 @@ -1,0 +2,7 @@ +Sun May 26 11:03:40 UTC 2024 - jun wang + +- Update to version 0.5.16 + * Fixed connect failure retry for full socket listen queue. + * Added --listen-backlog cmdline opt. (#139) + +--- Old: munge-0.5.15.tar.gz New: munge-0.5.16.tar.gz Other differences: -- ++ munge.spec ++ --- /var/tmp/diff_new_pack.TPs62P/_old 2024-05-27 12:04:16.820484794 +0200 +++ /var/tmp/diff_new_pack.TPs62P/_new 2024-05-27 12:04:16.824484942 +0200 @@ -1,7 +1,7 @@ # # spec file for package munge # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,7 +38,7 @@ %define munge_descr "MUNGE authentication service" Name: munge -Version:0.5.15 +Version:0.5.16 Release:0 Summary:An authentication service for creating and validating credentials License:GPL-3.0-or-later AND LGPL-3.0-or-later @@ -72,7 +72,7 @@ %{?systemd_requires} %endif Requires(post): coreutils -Requires(postun):coreutils +Requires(postun): coreutils %description MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for ++ munge-0.5.15.tar.gz -> munge-0.5.16.tar.gz ++ 16462 lines of diff (skipped)
commit munge for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package munge for openSUSE:Factory checked in at 2023-01-14 00:03:39 Comparing /work/SRC/openSUSE:Factory/munge (Old) and /work/SRC/openSUSE:Factory/.munge.new.32243 (New) Package is "munge" Sat Jan 14 00:03:39 2023 rev:19 rq:1058293 version:0.5.15 Changes: --- /work/SRC/openSUSE:Factory/munge/munge.changes 2022-07-06 15:42:35.554569519 +0200 +++ /work/SRC/openSUSE:Factory/.munge.new.32243/munge.changes 2023-01-14 00:04:26.530138822 +0100 @@ -4 +4 @@ -- Update to version 0.15.4: +- Update to version 0.5.15: Other differences: -- ++ munge.spec ++ --- /var/tmp/diff_new_pack.gHrGgS/_old 2023-01-14 00:04:27.466144274 +0100 +++ /var/tmp/diff_new_pack.gHrGgS/_new 2023-01-14 00:04:27.470144298 +0100 @@ -1,7 +1,7 @@ # # spec file for package munge # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit munge for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package munge for openSUSE:Factory checked in at 2022-07-06 15:42:19 Comparing /work/SRC/openSUSE:Factory/munge (Old) and /work/SRC/openSUSE:Factory/.munge.new.1548 (New) Package is "munge" Wed Jul 6 15:42:19 2022 rev:18 rq:987006 version:0.5.15 Changes: --- /work/SRC/openSUSE:Factory/munge/munge.changes 2021-11-23 22:12:55.994409053 +0100 +++ /work/SRC/openSUSE:Factory/.munge.new.1548/munge.changes2022-07-06 15:42:35.554569519 +0200 @@ -1,0 +2,15 @@ +Wed Jul 6 09:29:47 UTC 2022 - Nicolas Morey-Chaisemartin + +- Update to version 0.15.4: + - Added support for OpenSSL 3.0. + - Fixed "make install" conflict with systemd RuntimeDirectory. + - Fixed big-endian bug causing failures on s390x. + - Fixed systemd service unit conf to wait until network is online. + - Fixed excessive logging of "suspended new connections". + - Fixed gcry_check_version(GCRYPT_VERSION) bug reported by Debian. + - Fixed sending repeated SIGTERMs to signal stop. (dbe6dcc) + - Fixed failure to clean up socket or create seedfile having relative path. + - Fixed test suite to clean up errant processes from failed tests. +- Re-enable build for s390* + +--- Old: munge-0.5.14.tar.gz New: munge-0.5.15.tar.gz Other differences: -- ++ munge.spec ++ --- /var/tmp/diff_new_pack.3LhbXP/_old 2022-07-06 15:42:35.954570093 +0200 +++ /var/tmp/diff_new_pack.3LhbXP/_new 2022-07-06 15:42:35.958570099 +0200 @@ -1,7 +1,7 @@ # # spec file for package munge # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,7 +38,7 @@ %define munge_descr "MUNGE authentication service" Name: munge -Version:0.5.14 +Version:0.5.15 Release:0 Summary:An authentication service for creating and validating credentials License:GPL-3.0-or-later AND LGPL-3.0-or-later @@ -72,8 +72,7 @@ %{?systemd_requires} %endif Requires(post): coreutils -Requires(postun): coreutils -ExcludeArch:s390 s390x +Requires(postun):coreutils %description MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for @@ -84,7 +83,6 @@ 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} Summary:Libraries for applications using MUNGE @@ -150,8 +148,8 @@ 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 rm -f %{buildroot}%{_initddir}/munge - rmdir %{buildroot}/%{munge_run} - rmdir %{buildroot}/%{_rundir} + rm -Rf %{buildroot}/%{munge_run} + rm -Rf %{buildroot}/%{_rundir} mkdir -p %{buildroot}%{_tmpfilesdir} cp src/etc/munge.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/munge.conf sed -i 's/munge \+munge/%munge_u %munge_g/g' %{buildroot}%{_tmpfilesdir}/munge.conf @@ -193,6 +191,7 @@ %endif %define fixperm() [ -e %1 ] && /bin/chown -h %munge_u:%munge_g %1 + %postun if [ $1 -eq 1 ] then ++ munge-0.5.14.tar.gz -> munge-0.5.15.tar.gz ++ 10062 lines of diff (skipped)
commit munge for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package munge for openSUSE:Factory checked in at 2021-11-23 22:10:38 Comparing /work/SRC/openSUSE:Factory/munge (Old) and /work/SRC/openSUSE:Factory/.munge.new.1895 (New) Package is "munge" Tue Nov 23 22:10:38 2021 rev:17 rq:933240 version:0.5.14 Changes: --- /work/SRC/openSUSE:Factory/munge/munge.changes 2021-10-26 20:13:55.518017144 +0200 +++ /work/SRC/openSUSE:Factory/.munge.new.1895/munge.changes2021-11-23 22:12:55.994409053 +0100 @@ -1,0 +2,5 @@ +Tue Nov 23 09:52:25 UTC 2021 - Egbert Eich + +- Disable s390*-builds. On s390x the test suite fails. + +--- Other differences: -- ++ munge.spec ++ --- /var/tmp/diff_new_pack.PVIXQy/_old 2021-11-23 22:12:56.626406964 +0100 +++ /var/tmp/diff_new_pack.PVIXQy/_new 2021-11-23 22:12:56.630406950 +0100 @@ -73,6 +73,7 @@ %endif Requires(post): coreutils Requires(postun): coreutils +ExcludeArch:s390 s390x %description MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for
commit munge for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package munge for openSUSE:Factory checked in at 2021-10-26 20:13:36 Comparing /work/SRC/openSUSE:Factory/munge (Old) and /work/SRC/openSUSE:Factory/.munge.new.1890 (New) Package is "munge" Tue Oct 26 20:13:36 2021 rev:16 rq:926029 version:0.5.14 Changes: --- /work/SRC/openSUSE:Factory/munge/munge.changes 2021-10-11 15:31:33.830839830 +0200 +++ /work/SRC/openSUSE:Factory/.munge.new.1890/munge.changes2021-10-26 20:13:55.518017144 +0200 @@ -1,0 +2,5 @@ +Fri Oct 15 16:07:00 UTC 2021 - Egbert Eich + +- Typo fix to sysuser file. + +--- Other differences: -- ++ munge.spec ++ --- /var/tmp/diff_new_pack.TRUWfC/_old 2021-10-26 20:13:56.038017419 +0200 +++ /var/tmp/diff_new_pack.TRUWfC/_new 2021-10-26 20:13:56.038017419 +0200 @@ -158,7 +158,7 @@ mv %{buildroot}%{_sysconfdir}/sysconfig/munge \ %{buildroot}%{_fillupdir}/sysconfig.munge %if 0%{?have_sysuser} - echo "u %munge_u - \"%munge_descr\" %{munge_run}\n" > system-user-%{name}.conf + echo -e "u %munge_u - \"%munge_descr\" %{munge_run}\n" > system-user-%{name}.conf %sysusers_generate_pre system-user-%{name}.conf %{name} system-user-%{name}.conf install -D -m 644 system-user-%{name}.conf %{buildroot}%{_sysusersdir}/system-user-%{name}.conf %endif
commit munge for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package munge for openSUSE:Factory checked in at 2021-10-11 15:30:54 Comparing /work/SRC/openSUSE:Factory/munge (Old) and /work/SRC/openSUSE:Factory/.munge.new.2443 (New) Package is "munge" Mon Oct 11 15:30:54 2021 rev:15 rq:924637 version:0.5.14 Changes: --- /work/SRC/openSUSE:Factory/munge/munge.changes 2020-12-09 22:22:06.535717220 +0100 +++ /work/SRC/openSUSE:Factory/.munge.new.2443/munge.changes2021-10-11 15:31:33.830839830 +0200 @@ -1,0 +2,13 @@ +Thu Oct 7 17:25:55 UTC 2021 - Egbert Eich + +- Restore tmpfiles.d handling which was deleted for no good + reason. +- Make sure the product specific run-directory is used which + is taken from the RPM macro %_rundir (bsc#1191336). + +--- +Fri Oct 1 06:24:14 UTC 2021 - Egbert Eich + +- Utilize sysuser infrastructure to set user/group munge. + +--- Other differences: -- ++ munge.spec ++ --- /var/tmp/diff_new_pack.XAXPb1/_old 2021-10-11 15:31:34.454840831 +0200 +++ /var/tmp/diff_new_pack.XAXPb1/_new 2021-10-11 15:31:34.458840837 +0200 @@ -1,7 +1,7 @@ # # spec file for package munge # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,6 +23,9 @@ %if 0%{?suse_version} >= 1210 %define have_systemd 1 + %if 0%{?sle_version} >= 15 || 0%{?is_opensuse} + %define have_sysuser 1 + %endif %endif %define lversion 2 @@ -32,6 +35,7 @@ %else %define munge_u daemon %endif +%define munge_descr "MUNGE authentication service" Name: munge Version:0.5.14 @@ -64,6 +68,7 @@ %if 0%{?have_systemd} BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(systemd) +%{?have_sysuser:BuildRequires: sysuser-tools} %{?systemd_requires} %endif Requires(post): coreutils @@ -78,6 +83,7 @@ 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} Summary:Libraries for applications using MUNGE @@ -99,6 +105,7 @@ authenication service. %{!?_rundir:%define _rundir %_localstatedir/run} +%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d} %define munge_run %_rundir/munge %prep @@ -142,11 +149,19 @@ 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 rm -f %{buildroot}%{_initddir}/munge - rmdir %{buildroot}/%{_rundir}/munge + rmdir %{buildroot}/%{munge_run} rmdir %{buildroot}/%{_rundir} + mkdir -p %{buildroot}%{_tmpfilesdir} + cp src/etc/munge.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/munge.conf + sed -i 's/munge \+munge/%munge_u %munge_g/g' %{buildroot}%{_tmpfilesdir}/munge.conf ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} mv %{buildroot}%{_sysconfdir}/sysconfig/munge \ %{buildroot}%{_fillupdir}/sysconfig.munge + %if 0%{?have_sysuser} + echo "u %munge_u - \"%munge_descr\" %{munge_run}\n" > system-user-%{name}.conf + %sysusers_generate_pre system-user-%{name}.conf %{name} system-user-%{name}.conf + install -D -m 644 system-user-%{name}.conf %{buildroot}%{_sysusersdir}/system-user-%{name}.conf + %endif %endif %check @@ -157,14 +172,17 @@ %postun -n lib%{name}%{lversion} -p /sbin/ldconfig -%pre +%pre %{?have_sysuser:-f %{name}.pre} %if 0%{?have_systemd} %service_add_pre munge.service %endif -%define munge_descr "MUNGE authentication service" +%if 0%{!?have_sysuser:1} getent group %munge_g >/dev/null || groupadd -r %munge_g -getent passwd %munge_u >/dev/null || useradd -r -g %munge_g -d %munge_run -s /bin/false -c %munge_descr %munge_u +[ "%munge_u" = "daemon" ] || \ +{ getent passwd %munge_u >/dev/null \ +|| useradd -r -g %munge_g -d %munge_run -s /bin/false -c %munge_descr %munge_u; } exit 0 +%endif %preun %if 0%{?have_systemd} @@ -258,11 +276,13 @@ %if 0%{?have_systemd} %dir %attr(0755,%munge_u,%munge_g) %ghost %{munge_run} %{_unitdir}/munge.service +%{_tmpfilesdir}/munge.conf %else %dir %attr(0755,%munge_u,%munge_g) %{munge_run} %{_initddir}/munge %endif %dir %attr(0755,munge,munge) %ghost %{munge_run}/munged.pid +%{?have_sysuser:%{_sysusersdir}/system-user-%{name}.conf} %files devel %{_includedir}/*
commit munge for openSUSE:Factory
Hello community, here is the log from the commit of package munge for openSUSE:Factory checked in at 2020-12-09 22:22:06 Comparing /work/SRC/openSUSE:Factory/munge (Old) and /work/SRC/openSUSE:Factory/.munge.new.2328 (New) Package is "munge" Wed Dec 9 22:22:06 2020 rev:14 rq:854216 version:0.5.14 Changes: --- /work/SRC/openSUSE:Factory/munge/munge.changes 2020-03-27 22:03:25.907006846 +0100 +++ /work/SRC/openSUSE:Factory/.munge.new.2328/munge.changes2020-12-09 22:22:06.535717220 +0100 @@ -1,0 +2,16 @@ +Fri Jun 19 05:00:01 UTC 2020 - Egbert Eich + +- Use 'mungekey' to generate munge key, + Change permission of 'mungekey' from 0400 to 0600 +- Remove munge key on uninstall +- Add a bit of QA by running 'make check' +- Consolidate 'rundir'-handling: + * fixed the location using %_rundir + * %ghost-ed %_rundir/munge +- Pinned down configuration by adding more configure options +- Consolidated the file attribute setting +- Consolidated handline of /etc/sysconfig/munge +- Remove tmpfiles.d/munge.conf: the runtime directory is created + by systemd itself. + +--- Other differences: -- ++ munge.spec ++ --- /var/tmp/diff_new_pack.AuK8am/_old 2020-12-09 22:22:07.239717934 +0100 +++ /var/tmp/diff_new_pack.AuK8am/_new 2020-12-09 22:22:07.243717938 +0100 @@ -51,6 +51,8 @@ BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: pkgconfig +# For %%check +BuildRequires: procps BuildRequires: zlib-devel Requires: logrotate %if 0%{?suse_version} <= 1140 @@ -66,9 +68,6 @@ %endif Requires(post): coreutils Requires(postun): coreutils -%if 0%{?suse_version} < 1310 -%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d} -%endif %description MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for @@ -99,14 +98,23 @@ A header file and libraries for building applications using the %{name} authenication service. +%{!?_rundir:%define _rundir %_localstatedir/run} +%define munge_run %_rundir/munge + %prep %setup -n %{name}-%{name}-%{version} -%patch0 -p1 +%autopatch -p1 + cp %{SOURCE3} . %build ./bootstrap -%configure +%configure --disable-static \ +--with-crypto-lib=openssl \ +--with-logrotateddir=%{_sysconfdir}/logrotate.d \ +--with-pkgconfigdir=%{_libdir}/pkgconfig \ +%{?have_systemd:--with-systemdunitdir=%{_unitdir}} \ +--with-runstatedir=%{_rundir} %if 0%{!?make_build:1} %define make_build make %{?_smp_mflags} %endif @@ -116,32 +124,35 @@ %makeinstall rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.a -rm -f %{buildroot}%{_sysconfdir}/sysconfig/munge -mkdir -p %{buildroot}%{_tmpfilesdir} -cp src/etc/munge.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/munge.conf mkdir -p %{buildroot}%{_datarootdir}/licenses +install -m 0755 -d %{buildroot}%{_fillupdir} # We don't want systemd file on SLE 11 %if 0%{!?have_systemd:1} test -d %{buildroot}%{_prefix}/lib/systemd && \ rm -rf %{buildroot}%{_prefix}/lib/systemd 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="%munge_u"/g' %{buildroot}/%{_initrddir}/%{name} ln -s -f %{_initrddir}/%{name} %{buildroot}%{_sbindir}/rc%{name} - install -m 0755 -d %{buildroot}%{_fillupdir} + rm -f %{buildroot}%{_sysconfdir}/sysconfig/munge 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 - sed -i 's/munge \+munge/%munge_u %munge_g/g' %{buildroot}%{_tmpfilesdir}/munge.conf rm -f %{buildroot}%{_initddir}/munge - rmdir %{buildroot}%{_localstatedir}/run/munge + rmdir %{buildroot}/%{_rundir}/munge + rmdir %{buildroot}/%{_rundir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} + mv %{buildroot}%{_sysconfdir}/sysconfig/munge \ + %{buildroot}%{_fillupdir}/sysconfig.munge %endif +%check +# To debug add verbose=t to T_LOG_DRIVER variable in t/Makefile.am +make check + %post -n lib%{name}%{lversion} -p /sbin/ldconfig %postun -n lib%{name}%{lversion} -p /sbin/ldconfig @@ -150,10 +161,9 @@ %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 +getent passwd %munge_u >/dev/null || useradd -r -g %munge_g -d