Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sed.16273 for 
openSUSE:Leap:15.2:Update checked in at 2021-05-16 18:04:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/sed.16273 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.sed.16273.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sed.16273"

Sun May 16 18:04:55 2021 rev:1 rq:892690 version:4.4

Changes:
--------
New Changes file:

--- /dev/null   2021-04-29 10:03:23.520854754 +0200
+++ /work/SRC/openSUSE:Leap:15.2:Update/.sed.16273.new.2988/sed.changes 
2021-05-16 18:04:55.679301871 +0200
@@ -0,0 +1,450 @@
+-------------------------------------------------------------------
+Wed Mar 31 01:22:23 UTC 2021 - Stanislav Brabec <sbra...@suse.com>
+
+- Build fix for the new glibc-2.31 (bsc#1183797,
+  sed-tests-build-fix.patch).
+
+-------------------------------------------------------------------
+Thu Feb 22 15:10:45 UTC 2018 - fv...@suse.com
+
+- Use %license (boo#1082318)
+
+-------------------------------------------------------------------
+Wed Feb  8 15:42:56 UTC 2017 - mplus...@suse.com
+
+- Update to version 4.4:
+  * sed could segfault when invoked with specific combination of
+    newlines in the input and regex pattern. 
+
+-------------------------------------------------------------------
+Wed Jan  4 21:36:07 UTC 2017 - mplus...@suse.com
+
+- Update to version 4.3:
+  * sed's regular expression matching is now typically 10x faster
+  * sed now uses unlocked-io where available, resulting in faster
+    I/O operations.
+  * lots of bugfixes (for detailed list see NEWS)
+- Drop patches (all upstreamed):
+  * sed-fix-overlapping-address-ranges.patch
+  * sed-follow-symlinks-hyphen.patch
+  * sed-follow-symlinks-stdin.patch
+  * sed-temp-delete.patch
+  * sed-y-NUL-RHS.patch
+- Spec file cleanups
+  * run spec-cleaner
+  * use macro for configure
+  * execute tests with produced binary as well
+  * use url for signature as well
+  * use https for download links
+  * use xs compressed tarballl
+  * make building verbose
+
+-------------------------------------------------------------------
+Fri Sep 11 15:32:37 UTC 2015 - sch...@linux-m68k.org
+
+- Build with ACL/SELinux support for in-place editing
+
+-------------------------------------------------------------------
+Tue Aug 25 16:54:40 CEST 2015 - sbra...@suse.com
+
+- Cherry picking of the most important fixes from the upstream sed
+  GIT (not backporting testsuite, as it was completely refactored):
+  * Fix y command in the RHS of a y/LHS/RHS/ transliteration
+    (sed-y-NUL-RHS.patch).
+  * Fix mishandling of overlapping address ranges
+    (sed-fix-overlapping-address-ranges.patch).
+  * Fix fail to remove a temporary file (sed-temp-delete.patch).
+  * Fix behavior of --follow-symlinks when reading from stdin
+    (bnc#933029, gnu#20795, sed-follow-symlinks-stdin.patch).
+  * Make "sed --follow-symlinks -" consistent with "sed -" again,
+    and process stdin instead of ./-
+    (bnc#933029#c6, gnu#20796, sed-follow-symlinks-hyphen.patch).
+
+-------------------------------------------------------------------
+Tue Dec 30 11:15:38 UTC 2014 - meiss...@suse.com
+
+- build with PIE
+
+-------------------------------------------------------------------
+Tue Jun  3 09:48:33 UTC 2014 - tc...@suse.cz
+
+- sed-dont_close_twice.patch (bnc#880817)
+  when closing fails, file is attempted to be closed again
+  patch based of Neil Brown's recommendation
+
+-------------------------------------------------------------------
+Fri Apr  5 12:08:28 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls
+
+-------------------------------------------------------------------
+Tue Jan 22 18:20:25 CET 2013 - sbra...@suse.cz
+
+- Update to version 4.2.2:
+  * don't truncate input for lines of length 2^31 and longer
+  * fix endless loop on incomplete multibyte sequences (bnc#743689)
+  * -u also does unbuffered input
+  * New command `F' to print current input file name
+  * sed -i, s///w, and the `w' and `W' commands also obey the
+    --binary option
+  * --posix fails for scripts that end in a backslash.
+  * New option -z (--null-data) to separate lines by ASCII NUL.
+  * \x26 (and similar escaped sequences) produces a literal & in
+    the replacement argument of the s/// command.
+- Split lang package.
+- Option to verify GPG signature.
+
+-------------------------------------------------------------------
+Fri Feb  3 15:20:39 UTC 2012 - rschweik...@suse.com
+
+- keep binary in /usr tree (UsrMerge project)
+
+-------------------------------------------------------------------
+Fri Dec  2 13:16:18 UTC 2011 - cfarr...@suse.com
+
+- license update: GPL-3.0+
+  There are no "GPL-3.0 only" licenses in sed
+
+-------------------------------------------------------------------
+Wed Nov 30 14:23:45 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Fri Aug 13 11:10:53 CEST 2010 - dims...@opensuse.org
+
+- Update to version 4.2.1:
+  + fix parsing of s/[[[[[[[[[]//
+  + security contexts are preserved by -i too under SELinux
+  + temporary files for sed -i are not made group/world-readable
+    until they are complete
+- Changes from version 4.2:
+  + now released under GPLv3
+  + added a new extension `z` to clear pattern space even in the
+    presence of invalid multibyte sequences
+  + a preexisting GNU gettext installation is needed in order to
+    compile GNU sed with NLS support
+  + new option --follow-symlinks, available when editing a file
+    in-place.
+  + hold-space is reset between different files in -i and -s modes.
+  + multibyte processing fixed
+  + fixed bug in 'i\' giving a segmentation violation if given
+    alone.
+  + much improved portability
+  + much faster in UTF-8 locales
+  + will correctly replace ACLs when using -i
+  + will now accept NUL bytes for `.'
+- Drop upstream included [atches:
+  + sed-follow_symlinks.patch
+  + sed-4.1.5-fix_warnings.patch
+- Remove --enable-html from configure: the option is no longer
+  supported and sed.html no longer created.
+
+-------------------------------------------------------------------
+Mon Jun 28 06:38:35 UTC 2010 - jeng...@medozas.de
+
+- use %_smp_mflags
+
+-------------------------------------------------------------------
+Tue Dec  8 00:01:17 CET 2009 - jeng...@medozas.de
+
+- enable parallel building
+
+-------------------------------------------------------------------
+Mon Feb 18 17:57:19 CET 2008 - dmuel...@suse.de
+
+- use %find_lang
+- fix rpmlint warnings
+
+-------------------------------------------------------------------
+Fri Mar  9 17:31:50 CET 2007 - mkoe...@suse.de
+
+- add --follow-symlinks option [#200082]
+- fix 'used uninitialized' warnings [#248721]
+
+-------------------------------------------------------------------
+Mon Aug  7 13:55:37 CEST 2006 - jsm...@suse.de
+
+- Updated to version 4.1.5:
+  Fix parsing of a negative character class not including a closed
+  bracket, like [^]] or [^]a-z].
+  Fix parsing of [ inside an y command, like y/[/A/.
+  Output the result of commands a, r, R when a q command is found.
+- off-by-one.diff: obsolete (fixed in the source).
+- configure needs --enable-html to build sed.html (default=no)
+  and it is installed into usr/share/doc/sed-4.1.5/
+
+-------------------------------------------------------------------
+Mon Jul 17 13:29:16 CEST 2006 - jsm...@suse.de
+
+- Fixed the "fix build" below for our current different build
+  environments on our different architectures:
+  On s390 and s390x the sed.html documentation is still installed
+  into usr/share/doc/ but on the other architectures it is
+  installed into usr/share/doc/sed/
+
+-------------------------------------------------------------------
+Mon Jul  3 17:46:16 CEST 2006 - cth...@suse.de
+
+- fix build
+
+-------------------------------------------------------------------
+Wed Jan 25 21:30:56 CET 2006 - m...@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Thu Jan 19 14:12:52 CET 2006 - agr...@suse.de
++++ 253 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Leap:15.2:Update/.sed.16273.new.2988/sed.changes

New:
----
  sed-4.4.tar.xz
  sed-4.4.tar.xz.sig
  sed-dont_close_twice.patch
  sed-tests-build-fix.patch
  sed.changes
  sed.keyring
  sed.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sed.spec ++++++
#
# spec file for package sed
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:           sed
Version:        4.4
Release:        0
Summary:        A Stream-Oriented Non-Interactive Text Editor
License:        GPL-3.0+
Group:          System/Base
Url:            https://www.gnu.org/software/sed/
Source0:        https://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.xz
Source1:        https://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.xz.sig
Source2:        %{name}.keyring
# PATCH-FIX-SLE sed-dont_close_twice.patch bnc@880817 tc...@suse.cz -- Fix 
double close.
Patch0:         sed-dont_close_twice.patch
# PATCH-FIX-UPSTREAM sed-tests-build-fix.patch bsc1183797 sbra...@suse.com -- 
Backport the latest gnulib fseeko.c.
Patch1:         sed-tests-build-fix.patch
BuildRequires:  libacl-devel
BuildRequires:  libselinux-devel
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Recommends:     %{name}-lang
Provides:       base:/bin/sed

%description
Sed takes text input, performs one or more operations on it, and
outputs the modified text. Sed is typically used for extracting parts
of a file using pattern matching or  for substituting multiple
occurrences of a string within a file.

%lang_package

%prep
%setup -q
%patch0
%patch1 -p1

%build
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security
export CFLAGS="%{optflags} %{warn_flags} -fPIE"
export LDFLAGS="-pie"
%configure \
  --without-included-regex
%if %{do_profiling}
  make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" V=1
  make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" check
  make clean
  make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_feedback}" V=1
%else
  make %{?_smp_mflags} V=1
%endif
make %{?_smp_mflags} check

%install
%make_install
#UsrMerge
mkdir -p %{buildroot}/bin
ln -s %{_bindir}/sed %{buildroot}/bin/sed
#EndUserMerge
%find_lang %{name}

%check
# run check once more with final binaries
make %{?_smp_mflags} check

%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}

%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}

%files
%defattr(-, root, root)
%license COPYING*
%doc AUTHORS BUGS NEWS README* THANKS
/bin/sed
%{_bindir}/sed
%{_mandir}/man*/*%{ext_man}
%{_infodir}/sed.info*%{ext_info}

%files lang -f %{name}.lang
%defattr(-,root,root)

%changelog
++++++ sed-dont_close_twice.patch ++++++
http://lists.gnu.org/archive/html/bug-gnu-utils/2014-06/msg00000.html

Index: sed/utils.c
===================================================================
--- sed/utils.c.orig
+++ sed/utils.c
@@ -252,8 +252,8 @@ ck_fclose(FILE *stream)
     {
       if (!stream || stream == cur->fp)
         {
-          do_ck_fclose (cur->fp);
           prev->link = cur->link;
+          do_ck_fclose (cur->fp);
           free(cur->name);
           free(cur);
         }
++++++ sed-tests-build-fix.patch ++++++
Index: sed-4.4/gnulib-tests/fseeko.c
===================================================================
--- sed-4.4.orig/gnulib-tests/fseeko.c
+++ sed-4.4/gnulib-tests/fseeko.c
@@ -1,5 +1,5 @@
 /* An fseeko() function that, together with fflush(), is POSIX compliant.
-   Copyright (C) 2007-2017 Free Software Foundation, Inc.
+   Copyright (C) 2007-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
@@ -12,7 +12,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License along
-   with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   with this program; if not, see <https://www.gnu.org/licenses/>.  */
 
 #include <config.h>
 
@@ -33,9 +33,9 @@ fseeko (FILE *fp, off_t offset, int when
 #endif
 #if _GL_WINDOWS_64_BIT_OFF_T
 # undef fseeko
-# if HAVE__FSEEKI64 /* msvc, mingw64 */
+# if HAVE__FSEEKI64 && HAVE_DECL__FSEEKI64 /* msvc, mingw since msvcrt8.0, 
mingw64 */
 #  define fseeko _fseeki64
-# else /* mingw */
+# else /* mingw before msvcrt8.0 */
 #  define fseeko fseeko64
 # endif
 #endif
@@ -47,7 +47,8 @@ fseeko (FILE *fp, off_t offset, int when
 #endif
 
   /* These tests are based on fpurge.c.  */
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, 
Linux libc5 */
+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
+  /* GNU libc, BeOS, Haiku, Linux libc5 */
   if (fp->_IO_read_end == fp->_IO_read_ptr
       && fp->_IO_write_ptr == fp->_IO_write_base
       && fp->_IO_save_base == NULL)
@@ -80,7 +81,7 @@ fseeko (FILE *fp, off_t offset, int when
 #elif defined __minix               /* Minix */
   if (fp_->_ptr == fp_->_buf
       && (fp_->_ptr == NULL || fp_->_count == 0))
-#elif defined _IOERR                /* AIX, HP-UX, IRIX, OSF/1, Solaris, 
OpenServer, mingw, MSVC, NonStop Kernel */
+#elif defined _IOERR                /* AIX, HP-UX, IRIX, OSF/1, Solaris, 
OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */
   if (fp_->_ptr == fp_->_base
       && (fp_->_ptr == NULL || fp_->_cnt == 0))
 #elif defined __UCLIBC__            /* uClibc */
@@ -123,7 +124,8 @@ fseeko (FILE *fp, off_t offset, int when
           return -1;
         }
 
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, 
Linux libc5 */
+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
+      /* GNU libc, BeOS, Haiku, Linux libc5 */
       fp->_flags &= ~_IO_EOF_SEEN;
       fp->_offset = pos;
 #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
@@ -150,7 +152,7 @@ fseeko (FILE *fp, off_t offset, int when
       fp_->_flags &= ~__SEOF;
 #elif defined __EMX__               /* emx+gcc */
       fp->_flags &= ~_IOEOF;
-#elif defined _IOERR                /* AIX, HP-UX, IRIX, OSF/1, Solaris, 
OpenServer, mingw, MSVC, NonStop Kernel */
+#elif defined _IOERR                /* AIX, HP-UX, IRIX, OSF/1, Solaris, 
OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */
       fp_->_flag &= ~_IOEOF;
 #elif defined __MINT__              /* Atari FreeMiNT */
       fp->__offset = pos;

Reply via email to