commit utempter for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package utempter for openSUSE:Factory checked in at 2023-04-30 16:07:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/utempter (Old) and /work/SRC/openSUSE:Factory/.utempter.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "utempter" Sun Apr 30 16:07:27 2023 rev:35 rq:1083351 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/utempter/utempter.changes 2020-10-04 17:30:09.852237379 +0200 +++ /work/SRC/openSUSE:Factory/.utempter.new.1533/utempter.changes 2023-04-30 16:07:30.520054778 +0200 @@ -1,0 +2,8 @@ +Mon Apr 10 01:26:06 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me> + +- version update to 1.2.1 + * utempter: relaxed host argument validation: it is now allowed + to contain spaces except in the first character. +- switch source from ftp to http + +------------------------------------------------------------------- Old: ---- libutempter-1.2.0.tar.gz libutempter-1.2.0.tar.gz.asc New: ---- libutempter-1.2.1.tar.gz libutempter-1.2.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ utempter.spec ++++++ --- /var/tmp/diff_new_pack.KYOAjd/_old 2023-04-30 16:07:31.032057902 +0200 +++ /var/tmp/diff_new_pack.KYOAjd/_new 2023-04-30 16:07:31.036057926 +0200 @@ -1,7 +1,7 @@ # # spec file for package utempter # -# Copyright (c) 2020 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 @@ -19,14 +19,14 @@ %define lname libutempter0 %define utmpGroup utmp Name: utempter -Version: 1.2.0 +Version: 1.2.1 Release: 0 Summary: A privileged helper for utmp and wtmp updates License: LGPL-2.1-or-later Group: Productivity/Security URL: https://github.com/altlinux/libutempter/ -Source: ftp://ftp.altlinux.org/pub/people/ldv/utempter/lib%{name}-%{version}.tar.gz -Source1: ftp://ftp.altlinux.org/pub/people/ldv/utempter/lib%{name}-%{version}.tar.gz.asc +Source: http://ftp.altlinux.org/pub/people/ldv/utempter/lib%{name}-%{version}.tar.gz +Source1: http://ftp.altlinux.org/pub/people/ldv/utempter/lib%{name}-%{version}.tar.gz.asc Source2: baselibs.conf Source3: %{name}.keyring Patch0: utempter.eal3.diff ++++++ libutempter-1.2.0.tar.gz -> libutempter-1.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libutempter-1.2.0/libutempter.spec new/libutempter-1.2.1/libutempter.spec --- old/libutempter-1.2.0/libutempter.spec 2020-05-05 10:00:00.000000000 +0200 +++ new/libutempter-1.2.1/libutempter.spec 2020-07-06 10:00:00.000000000 +0200 @@ -1,5 +1,5 @@ Name: libutempter -Version: 1.2.0 +Version: 1.2.1 Release: alt1 Summary: A privileged helper for utmp/wtmp updates @@ -69,6 +69,10 @@ %_libdir/*.a %changelog +* Mon Jul 06 2020 Dmitry V. Levin <ldv@altlinux.org> 1.2.1-alt1 +- utempter: relaxed host argument validation: it is now allowed + to contain spaces except in the first character. + * Tue May 05 2020 Dmitry V. Levin <ldv@altlinux.org> 1.2.0-alt1 - Removed obsolete FreeBSD support. - Enabled build with non-glibc libcs. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libutempter-1.2.0/utempter.c new/libutempter-1.2.1/utempter.c --- old/libutempter-1.2.0/utempter.c 2020-05-05 10:00:00.000000000 +0200 +++ new/libutempter-1.2.1/utempter.c 2020-07-06 10:00:00.000000000 +0200 @@ -67,8 +67,8 @@ static void validate_hostname(const char *host) { - for (; host[0]; ++host) { - if (!isgraph((unsigned char) host[0])) + for (const char *p = host; p[0]; ++p) { + if (!(p == host ? isgraph : isprint)((unsigned char) p[0])) fatal_error("invalid host name"); } }
participants (1)
-
Source-Sync