import sed-4.5-2.el8
This commit is contained in:
parent
a607a2202e
commit
4dbf2a71b8
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/sed/utils.c b/sed/utils.c
|
||||||
|
index 4028d98..2e74654 100644
|
||||||
|
--- a/sed/utils.c
|
||||||
|
+++ b/sed/utils.c
|
||||||
|
@@ -181,7 +181,7 @@ ck_mkstemp (char **p_filename, const char *tmpdir,
|
||||||
|
/* The ownership might change, so omit some permissions at first
|
||||||
|
so unauthorized users cannot nip in before the file is ready.
|
||||||
|
mkstemp forces O_BINARY on cygwin, so use mkostemp instead. */
|
||||||
|
- mode_t save_umask = umask (0700);
|
||||||
|
+ mode_t save_umask = umask (0077);
|
||||||
|
int fd = mkostemp (template, 0);
|
||||||
|
umask (save_umask);
|
||||||
|
if (fd == -1)
|
|
@ -3,7 +3,7 @@
|
||||||
Summary: A GNU stream text editor
|
Summary: A GNU stream text editor
|
||||||
Name: sed
|
Name: sed
|
||||||
Version: 4.5
|
Version: 4.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://sed.sourceforge.net/
|
URL: http://sed.sourceforge.net/
|
||||||
|
@ -11,6 +11,7 @@ Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz
|
||||||
Source1: http://sed.sourceforge.net/sedfaq.txt
|
Source1: http://sed.sourceforge.net/sedfaq.txt
|
||||||
Patch0: sed-4.2.2-binary_copy_args.patch
|
Patch0: sed-4.2.2-binary_copy_args.patch
|
||||||
Patch1: sed-selinux.patch
|
Patch1: sed-selinux.patch
|
||||||
|
Patch2: sed-fuse.patch
|
||||||
BuildRequires: glibc-devel, libselinux-devel, libacl-devel, automake, autoconf
|
BuildRequires: glibc-devel, libselinux-devel, libacl-devel, automake, autoconf
|
||||||
BuildRequires: perl-Getopt-Long
|
BuildRequires: perl-Getopt-Long
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
|
@ -32,6 +33,7 @@ specified in a script file or from the command line.
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .copy
|
%patch0 -p1 -b .copy
|
||||||
#%patch1 -p1 -b .selinux
|
#%patch1 -p1 -b .selinux
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --without-included-regex
|
%configure --without-included-regex
|
||||||
|
@ -71,6 +73,10 @@ fi
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 18 2020 Jakub Martisko <jamartis@redhat.com> - 4.5-2
|
||||||
|
- fix "in-place edits on FUSE filesystems create files with all-zero mode bits"
|
||||||
|
- Resolves: #1835761
|
||||||
|
|
||||||
* Mon Apr 09 2018 Jakub Martisko <jamartis@redhat.com> - 4.5-1
|
* Mon Apr 09 2018 Jakub Martisko <jamartis@redhat.com> - 4.5-1
|
||||||
- Rebase to 4.5
|
- Rebase to 4.5
|
||||||
- Drop patch from 4.4-4 (is included in the upstream archive)
|
- Drop patch from 4.4-4 (is included in the upstream archive)
|
||||||
|
|
Loading…
Reference in New Issue