import sed-4.5-1.el8
This commit is contained in:
commit
aece082146
|
@ -0,0 +1 @@
|
||||||
|
SOURCES/sed-4.5.tar.xz
|
|
@ -0,0 +1 @@
|
||||||
|
6635c344956ef928cc33aca798ad20c6c1ea25f7 SOURCES/sed-4.5.tar.xz
|
|
@ -0,0 +1,281 @@
|
||||||
|
diff -urN sed-4.3/sed/execute.c sed-4.3.new00/sed/execute.c
|
||||||
|
--- sed-4.3/sed/execute.c 2012-03-16 10:13:31.000000000 +0100
|
||||||
|
+++ sed-4.3.new00/sed/execute.c 2014-02-10 14:40:25.603629422 +0100
|
||||||
|
@@ -703,11 +703,13 @@
|
||||||
|
if (strcmp(in_place_extension, "*") != 0)
|
||||||
|
{
|
||||||
|
char *backup_file_name = get_backup_file_name(target_name);
|
||||||
|
- ck_rename (target_name, backup_file_name, input->out_file_name);
|
||||||
|
+ (copy_instead_of_rename?ck_fccopy:ck_rename)
|
||||||
|
+ (target_name, backup_file_name, input->out_file_name);
|
||||||
|
free (backup_file_name);
|
||||||
|
}
|
||||||
|
|
||||||
|
- ck_rename (input->out_file_name, target_name, input->out_file_name);
|
||||||
|
+ (copy_instead_of_rename?ck_fcmove:ck_rename)
|
||||||
|
+ (input->out_file_name, target_name, input->out_file_name);
|
||||||
|
cancel_cleanup ();
|
||||||
|
free (input->out_file_name);
|
||||||
|
}
|
||||||
|
diff -urN sed-4.3/sed/sed.c sed-4.3.new00/sed/sed.c
|
||||||
|
--- sed-4.3/sed/sed.c 2012-03-16 10:13:31.000000000 +0100
|
||||||
|
+++ sed-4.3.new00/sed/sed.c 2014-02-10 17:37:19.381273509 +0100
|
||||||
|
@@ -56,6 +56,10 @@
|
||||||
|
/* How do we edit files in-place? (we don't if NULL) */
|
||||||
|
char *in_place_extension = NULL;
|
||||||
|
|
||||||
|
+ /* Do we use copy or rename when in in-place edit mode? (boolean
|
||||||
|
+ value, non-zero for copy, zero for rename).*/
|
||||||
|
+ int copy_instead_of_rename = 0;
|
||||||
|
+
|
||||||
|
/* The mode to use to read/write files, either "r"/"w" or "rb"/"wb". */
|
||||||
|
char const *read_mode = "r";
|
||||||
|
char const *write_mode = "w";
|
||||||
|
@@ -117,11 +121,16 @@
|
||||||
|
fprintf(out, _(" -i[SUFFIX], --in-place[=SUFFIX]\n\
|
||||||
|
edit files in place (makes backup if SUFFIX supplied)\n"));
|
||||||
|
-#if defined WIN32 || defined _WIN32 || defined __CYGWIN__ \
|
||||||
|
- || defined MSDOS || defined __EMX__
|
||||||
|
- fprintf(out, _(" -b, --binary\n\
|
||||||
|
- open files in binary mode (CR+LFs are not" \
|
||||||
|
- " processed specially)\n"));
|
||||||
|
+ fprintf(out, _(" -c, --copy\n\
|
||||||
|
+ use copy instead of rename when shuffling files in -i mode\n"));
|
||||||
|
+ fprintf(out, _(" -b, --binary\n"
|
||||||
|
+#if ! ( defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(MSDOS) || defined(__EMX__) )
|
||||||
|
+" does nothing; for compatibility with WIN32/CYGWIN/MSDOS/EMX (\n"
|
||||||
|
+#endif
|
||||||
|
+" open files in binary mode (CR+LFs are not treated specially)"
|
||||||
|
+#if ! ( defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(MSDOS) || defined(__EMX__) )
|
||||||
|
+ ")"
|
||||||
|
#endif
|
||||||
|
+ "\n"));
|
||||||
|
fprintf(out, _(" -l N, --line-length=N\n\
|
||||||
|
specify the desired line-wrap length for the `l' command\n"));
|
||||||
|
fprintf(out, _(" --posix\n\
|
||||||
|
@@ -138,8 +149,10 @@
|
||||||
|
the output buffers more often\n"));
|
||||||
|
fprintf(out, _(" -z, --null-data\n\
|
||||||
|
separate lines by NUL characters\n"));
|
||||||
|
- fprintf(out, _(" --help display this help and exit\n"));
|
||||||
|
- fprintf(out, _(" --version output version information and exit\n"));
|
||||||
|
+ fprintf(out, _(" --help\n\
|
||||||
|
+ display this help and exit\n"));
|
||||||
|
+ fprintf(out, _(" --version\n\
|
||||||
|
+ output version information and exit\n"));
|
||||||
|
fprintf(out, _("\n\
|
||||||
|
If no -e, --expression, -f, or --file option is given, then the first\n\
|
||||||
|
non-option argument is taken as the sed script to interpret. All\n\
|
||||||
|
@@ -158,9 +171,9 @@
|
||||||
|
main (int argc, char **argv)
|
||||||
|
{
|
||||||
|
#ifdef REG_PERL
|
||||||
|
-#define SHORTOPTS "bsnrzRuEe:f:l:i::V:"
|
||||||
|
+#define SHORTOPTS "bcsnrzRuEe:f:l:i::"
|
||||||
|
#else
|
||||||
|
-#define SHORTOPTS "bsnrzuEe:f:l:i::V:"
|
||||||
|
+#define SHORTOPTS "bcsnrzuEe:f:l:i::"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
enum { SANDBOX_OPTION = CHAR_MAX+1 };
|
||||||
|
@@ -172,6 +185,7 @@
|
||||||
|
{"expression", 1, NULL, 'e'},
|
||||||
|
{"file", 1, NULL, 'f'},
|
||||||
|
{"in-place", 2, NULL, 'i'},
|
||||||
|
+ {"copy", 0, NULL, 'c'},
|
||||||
|
{"line-length", 1, NULL, 'l'},
|
||||||
|
{"null-data", 0, NULL, 'z'},
|
||||||
|
{"zero-terminated", 0, NULL, 'z'},
|
||||||
|
@@ -246,6 +260,10 @@
|
||||||
|
follow_symlinks = true;
|
||||||
|
break;
|
||||||
|
|
||||||
|
+ case 'c':
|
||||||
|
+ copy_instead_of_rename = true;
|
||||||
|
+ break;
|
||||||
|
+
|
||||||
|
case 'i':
|
||||||
|
separate_files = true;
|
||||||
|
if (optarg == NULL)
|
||||||
|
@@ -272,9 +290,11 @@
|
||||||
|
posixicity = POSIXLY_BASIC;
|
||||||
|
break;
|
||||||
|
|
||||||
|
- case 'b':
|
||||||
|
+ case 'b':
|
||||||
|
+#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(MSDOS) || defined(__EMX__)
|
||||||
|
read_mode = "rb";
|
||||||
|
write_mode = "wb";
|
||||||
|
+#endif
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'E':
|
||||||
|
@@ -314,6 +334,12 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (copy_instead_of_rename && in_place_extension == NULL)
|
||||||
|
+ {
|
||||||
|
+ fprintf (stderr, _("Error: -c used without -i.\n"));
|
||||||
|
+ usage(4);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (!the_program)
|
||||||
|
{
|
||||||
|
if (optind < argc)
|
||||||
|
diff -urN sed-4.3/sed/sed.h sed-4.3.new00/sed/sed.h
|
||||||
|
--- sed-4.3/sed/sed.h 2012-07-25 12:33:09.000000000 +0200
|
||||||
|
+++ sed-4.3.new00/sed/sed.h 2014-02-10 14:40:25.602629419 +0100
|
||||||
|
@@ -230,6 +230,10 @@
|
||||||
|
/* How do we edit files in-place? (we don't if NULL) */
|
||||||
|
extern char *in_place_extension;
|
||||||
|
|
||||||
|
+/* Do we use copy or rename when in in-place edit mode? (boolean
|
||||||
|
+ value, non-zero for copy, zero for rename).*/
|
||||||
|
+extern int copy_instead_of_rename;
|
||||||
|
+
|
||||||
|
/* The mode to use to read and write files, either "rt"/"w" or "rb"/"wb". */
|
||||||
|
extern char const *read_mode;
|
||||||
|
extern char const *write_mode;
|
||||||
|
diff -urN sed-4.3/sed/utils.c sed-4.3.new00/sed/utils.c
|
||||||
|
--- sed-4.3/sed/utils.c 2012-03-16 10:13:31.000000000 +0100
|
||||||
|
+++ sed-4.3.new00/sed/utils.c 2014-02-10 14:40:25.603629422 +0100
|
||||||
|
@@ -27,6 +27,7 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <limits.h>
|
||||||
|
+#include <fcntl.h>
|
||||||
|
|
||||||
|
#include "unlocked-io.h"
|
||||||
|
#include "utils.h"
|
||||||
|
@@ -363,31 +364,106 @@
|
||||||
|
#endif /* ENABLE_FOLLOW_SYMLINKS */
|
||||||
|
}
|
||||||
|
|
||||||
|
-/* Panic on failing rename */
|
||||||
|
+/* Panic on failing unlink */
|
||||||
|
void
|
||||||
|
-ck_rename (const char *from, const char *to, const char *unlink_if_fail)
|
||||||
|
+ck_unlink (const char *name)
|
||||||
|
{
|
||||||
|
- int rd = rename (from, to);
|
||||||
|
- if (rd != -1)
|
||||||
|
- return;
|
||||||
|
+ if (unlink (name) == -1)
|
||||||
|
+ panic (_("cannot remove %s: %s"), name, strerror (errno));
|
||||||
|
+}
|
||||||
|
|
||||||
|
- if (unlink_if_fail)
|
||||||
|
+/* Attempt to unlink denoted file if operation rd failed. */
|
||||||
|
+static int
|
||||||
|
+_unlink_if_fail (rd, unlink_if_fail)
|
||||||
|
+ int rd;
|
||||||
|
+ const char *unlink_if_fail;
|
||||||
|
+{
|
||||||
|
+ if (rd == -1 && unlink_if_fail)
|
||||||
|
{
|
||||||
|
int save_errno = errno;
|
||||||
|
+ ck_unlink (unlink_if_fail);
|
||||||
|
+ errno = save_errno;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ return rd != -1;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/* Copy contents between files. */
|
||||||
|
+static int
|
||||||
|
+_copy (from, to)
|
||||||
|
+ const char *from, *to;
|
||||||
|
+{
|
||||||
|
+ static char buf[4096];
|
||||||
|
+
|
||||||
|
+ FILE *infile, *outfile;
|
||||||
|
+ int c, retval = 0;
|
||||||
|
errno = 0;
|
||||||
|
- unlink (unlink_if_fail);
|
||||||
|
|
||||||
|
- /* Failure to remove the temporary file is more severe,
|
||||||
|
- so trigger it first. */
|
||||||
|
- if (errno != 0)
|
||||||
|
- panic (_("cannot remove %s: %s"), unlink_if_fail, strerror (errno));
|
||||||
|
+ infile = fopen (from, "r");
|
||||||
|
+ if (infile == NULL)
|
||||||
|
+ return -1;
|
||||||
|
|
||||||
|
- errno = save_errno;
|
||||||
|
+ outfile = fopen (to, "w");
|
||||||
|
+ if (outfile == NULL)
|
||||||
|
+ {
|
||||||
|
+ fclose (infile);
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ while (1)
|
||||||
|
+ {
|
||||||
|
+ size_t bytes_in = fread (buf, 1, sizeof (buf), infile);
|
||||||
|
+ size_t bytes_out;
|
||||||
|
+ if (bytes_in == 0)
|
||||||
|
+ {
|
||||||
|
+ if (ferror (infile))
|
||||||
|
+ retval = -1;
|
||||||
|
+ break;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ bytes_out = fwrite (buf, 1, bytes_in, outfile);
|
||||||
|
+ if (bytes_out != bytes_in)
|
||||||
|
+ {
|
||||||
|
+ retval = -1;
|
||||||
|
+ break;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
+ fclose (outfile);
|
||||||
|
+ fclose (infile);
|
||||||
|
+
|
||||||
|
+ return retval;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/* Panic on failing rename */
|
||||||
|
+void
|
||||||
|
+ck_rename (from, to, unlink_if_fail)
|
||||||
|
+ const char *from, *to;
|
||||||
|
+ const char *unlink_if_fail;
|
||||||
|
+{
|
||||||
|
+ if (!_unlink_if_fail (rename (from, to), unlink_if_fail))
|
||||||
|
panic (_("cannot rename %s: %s"), from, strerror (errno));
|
||||||
|
}
|
||||||
|
|
||||||
|
+/* Attempt to copy file contents between the files. */
|
||||||
|
+void
|
||||||
|
+ck_fccopy (from, to, unlink_if_fail)
|
||||||
|
+ const char *from, *to;
|
||||||
|
+ const char *unlink_if_fail;
|
||||||
|
+{
|
||||||
|
+ if (!_unlink_if_fail (_copy (from, to), unlink_if_fail))
|
||||||
|
+ panic (_("cannot copy %s to %s: %s"), from, to, strerror (errno));
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/* Copy contents between files, and then unlink the source. */
|
||||||
|
+void
|
||||||
|
+ck_fcmove (from, to, unlink_if_fail)
|
||||||
|
+ const char *from, *to;
|
||||||
|
+ const char *unlink_if_fail;
|
||||||
|
+{
|
||||||
|
+ ck_fccopy (from, to, unlink_if_fail);
|
||||||
|
+ ck_unlink (from);
|
||||||
|
+}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
diff -urN sed-4.3/sed/utils.h sed-4.3.new00/sed/utils.h
|
||||||
|
--- sed-4.3/sed/utils.h 2012-03-16 10:13:31.000000000 +0100
|
||||||
|
+++ sed-4.3.new00/sed/utils.h 2014-02-10 14:40:25.603629422 +0100
|
||||||
|
@@ -33,6 +33,8 @@
|
||||||
|
FILE * ck_mkstemp (char **p_filename, const char *tmpdir, const char *base,
|
||||||
|
const char *mode) _GL_ARG_NONNULL ((1, 2, 3, 4));
|
||||||
|
void ck_rename (const char *from, const char *to, const char *unlink_if_fail);
|
||||||
|
+void ck_fccopy (const char *from, const char *to, const char *unlink_if_fail);
|
||||||
|
+void ck_fcmove (const char *from, const char *to, const char *unlink_if_fail);
|
||||||
|
|
||||||
|
void *ck_malloc (size_t size);
|
||||||
|
void *xmalloc (size_t size);
|
|
@ -0,0 +1,29 @@
|
||||||
|
diff --git a/NEWS b/NEWS
|
||||||
|
index e9335f0..e762b2d 100644
|
||||||
|
--- a/NEWS
|
||||||
|
+++ b/NEWS
|
||||||
|
@@ -1,4 +1,9 @@ GNU sed NEWS -*- outline -*-
|
||||||
|
GNU sed NEWS -*- outline -*-
|
||||||
|
+
|
||||||
|
+ sed -i now creates selinux context based on the context of the symlink
|
||||||
|
+ instead of the symlink target. [Bug present since at least sed-4.2]
|
||||||
|
+ sed -i --follow-symlinks remains unchanged.
|
||||||
|
+
|
||||||
|
|
||||||
|
* Noteworthy changes in release 4.4 (2017-02-03) [stable]
|
||||||
|
|
||||||
|
diff --git a/sed/execute.c b/sed/execute.c
|
||||||
|
index 1843392..453886e 100644
|
||||||
|
--- a/sed/execute.c
|
||||||
|
+++ b/sed/execute.c
|
||||||
|
@@ -607,7 +607,7 @@ open_next_file(const char *name, struct input *input)
|
||||||
|
if (is_selinux_enabled () > 0)
|
||||||
|
{
|
||||||
|
security_context_t con;
|
||||||
|
- if (getfilecon (input->in_file_name, &con) != -1)
|
||||||
|
+ if (lgetfilecon (input->in_file_name, &con) != -1)
|
||||||
|
{
|
||||||
|
/* Save and restore the old context for the sake of w and W
|
||||||
|
commands. */
|
||||||
|
2.9.5
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,375 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
Summary: A GNU stream text editor
|
||||||
|
Name: sed
|
||||||
|
Version: 4.5
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: GPLv3+
|
||||||
|
Group: Applications/Text
|
||||||
|
URL: http://sed.sourceforge.net/
|
||||||
|
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz
|
||||||
|
Source1: http://sed.sourceforge.net/sedfaq.txt
|
||||||
|
Patch0: sed-4.2.2-binary_copy_args.patch
|
||||||
|
Patch1: sed-selinux.patch
|
||||||
|
BuildRequires: glibc-devel, libselinux-devel, libacl-devel, automake, autoconf
|
||||||
|
BuildRequires: perl-Getopt-Long
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(preun): /sbin/install-info
|
||||||
|
|
||||||
|
Provides: /bin/sed
|
||||||
|
|
||||||
|
#copylib
|
||||||
|
Provides: bundled(gnulib)
|
||||||
|
|
||||||
|
%description
|
||||||
|
The sed (Stream EDitor) editor is a stream or batch (non-interactive)
|
||||||
|
editor. Sed takes text as input, performs an operation or set of
|
||||||
|
operations on the text and outputs the modified text. The operations
|
||||||
|
that sed performs (substitutions, deletions, insertions, etc.) can be
|
||||||
|
specified in a script file or from the command line.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1 -b .copy
|
||||||
|
#%patch1 -p1 -b .selinux
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --without-included-regex
|
||||||
|
make %{_smp_mflags}
|
||||||
|
install -m 644 -p %{SOURCE1} sedfaq.txt
|
||||||
|
gzip -9 sedfaq.txt
|
||||||
|
|
||||||
|
%check
|
||||||
|
echo ====================TESTING=========================
|
||||||
|
make check
|
||||||
|
echo ====================TESTING END=====================
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/install-info %{_infodir}/sed.info.gz %{_infodir}/dir || &> /dev/null
|
||||||
|
:
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ $1 = 0 ]; then
|
||||||
|
/sbin/install-info --delete %{_infodir}/sed.info.gz %{_infodir}/dir || &> /dev/null
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license COPYING
|
||||||
|
%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz
|
||||||
|
%{_bindir}/sed
|
||||||
|
%{_infodir}/*.info*
|
||||||
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Apr 09 2018 Jakub Martisko <jamartis@redhat.com> - 4.5-1
|
||||||
|
- Rebase to 4.5
|
||||||
|
- Drop patch from 4.4-4 (is included in the upstream archive)
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 11 2018 Jakub Martisko <jamartis@redhat.com> - 4.4-4
|
||||||
|
- When editing file inplace, the SELinux context should
|
||||||
|
be based on the link instead of the target file itself.
|
||||||
|
--follow-symlinks option remains unchanged
|
||||||
|
- Resolves: #1401442
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 09 2017 Jakub Martisko <jamartis@redhat.com> - 4.4-1
|
||||||
|
- new version 4.4
|
||||||
|
- removed COPYING.DOC license which is no longer in upstream
|
||||||
|
- Resolves: #1410093
|
||||||
|
|
||||||
|
* Wed Jan 04 2017 Jakub Martisko <jamartis@redhat.com> - 4.3-1
|
||||||
|
- new version 4.3
|
||||||
|
- Resolves: #1410093
|
||||||
|
|
||||||
|
* Tue Feb 09 2016 Petr Stodulka <pstodulk@redhat.com> - 4.2.2-15
|
||||||
|
- provides /bin/sed
|
||||||
|
|
||||||
|
* Tue Feb 09 2016 Petr Stodulka <pstodulk@redhat.com> - 4.2.2-14
|
||||||
|
- remove meaningless redefinition of _bindir - it's standard macro now;
|
||||||
|
sed will be store in /usr/bin/sed
|
||||||
|
Resovles: #1305835
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Dec 26 2015 Petr Stodulka <pstodulk@redhat.com> - 4.2.2-12
|
||||||
|
- use global instead of define in spec file
|
||||||
|
- added new build dependency on perl-Getopt-Long
|
||||||
|
|
||||||
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 4.2.2-10
|
||||||
|
- Rebuilt for Fedora 23 Change
|
||||||
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||||
|
|
||||||
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Aug 4 2014 Tom Callaway <spot@fedoraproject.org> - 4.2.2-8
|
||||||
|
- fix license handling
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 10 2014 Jan Pacner <jpacner@redhat.com> - 4.2.2-6
|
||||||
|
- Resolves: #1061367 (Dropping -b option breaks cross-platform compat.)
|
||||||
|
- Related: #948598 (Man page scan results for sed)
|
||||||
|
- introduce -c argument, add help for -b --binary arguments,
|
||||||
|
cleanup arguments & help)
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 07 2013 Fridolin Pokorny <fpokorny@redhat.com> - 4.2.2-4
|
||||||
|
- Added libacl-devel to BuildRequires for ACL support rhbz#959432
|
||||||
|
|
||||||
|
* Fri May 03 2013 Fridolin Pokorny <fpokorny@redhat.com> - 4.2.2-3
|
||||||
|
- Fixed option handling rhbz#948598
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 04 2013 Martin Briza <mbriza@redhat.com> - 4.2.2-1
|
||||||
|
- New release
|
||||||
|
- Dropping included patches: sed-4.2.1-data-loss.patch sed-4.2.1-fix-0x26-on-RHS.patch sed-4.2.1-makecheck.patch
|
||||||
|
- Dropping unused patch sed-4.2.1-dummyparam.diff
|
||||||
|
- Regenerated sed-4.2.{1,2}-copy.patch
|
||||||
|
- Minor change to patching (creating backup files)
|
||||||
|
|
||||||
|
* Tue Jul 10 2012 Martin Briza <mbriza@redhat.com> - 4.2.1-10
|
||||||
|
- Fixed the readded -c option
|
||||||
|
Resolves: #832855
|
||||||
|
|
||||||
|
* Wed Jun 13 2012 Martin Briza <mbriza@redhat.com> - 4.2.1-9
|
||||||
|
- Backported commit from upstream to fix treating "x26" as "&" character
|
||||||
|
- Added virtual provide for gnulib according to http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
|
||||||
|
Resolves: #812067 #821776
|
||||||
|
|
||||||
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 12 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 4.2.1-7
|
||||||
|
- avoid silent data loss when an input line is 2^31 bytes or longer
|
||||||
|
Resolves: #720438
|
||||||
|
|
||||||
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Mar 17 2010 Jan Görig <jgorig@redhat.com> 4.2.1-5
|
||||||
|
- fixed make check on non UTF-8 locale - upstream patch rhbz#550731
|
||||||
|
- readded -c option (thanks Paolo Bonzini) rhbz#566455
|
||||||
|
- removed previous -c dummy patch
|
||||||
|
- changed license to GPLv3+
|
||||||
|
|
||||||
|
* Fri Oct 16 2009 Jiri Moskovcak <jmoskovc@redhat.com> 4.2.1-4
|
||||||
|
- added libselinux-devel to buildrequires rhbz#514182
|
||||||
|
- fixed problem with --excludedocs rhbz#515913
|
||||||
|
|
||||||
|
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 4.2.1-3
|
||||||
|
- Use bzipped upstream tarball.
|
||||||
|
|
||||||
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 29 2009 Jiri Moskovcak <jmoskovc@redhat.com> - 4.2.1-1
|
||||||
|
- new version
|
||||||
|
- obsoletes previous patches
|
||||||
|
- added patch to maintain backwards compatibility for scripts using -c/--copy
|
||||||
|
- Resolves: #502934
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.5-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Nov 13 2008 Jiri Moskovcak <jmoskovc@redhat.com> 4.1.5-11
|
||||||
|
- improved follow.patch (thanks to Arkadiusz Miskiewicz for initial patch)
|
||||||
|
- Resolves: #470912
|
||||||
|
|
||||||
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.5-10
|
||||||
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
* Thu Oct 4 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-9
|
||||||
|
- Fix licensing tag.
|
||||||
|
- Clean up per merge review comments.
|
||||||
|
- Resolves: #226404
|
||||||
|
|
||||||
|
* Wed Feb 7 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-8
|
||||||
|
- tidy up the specfile per rpmlint comments
|
||||||
|
- use utf-8 and fix national characters in contributor's names
|
||||||
|
|
||||||
|
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-7
|
||||||
|
- Ville Skyttä: patch for non-failing %%post, %%preun
|
||||||
|
- Resolves: #223716
|
||||||
|
|
||||||
|
* Fri Dec 8 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-6
|
||||||
|
- Split confused patches "copy+symlink" and "relsymlink" into discrete
|
||||||
|
"copy" and "symlink".
|
||||||
|
|
||||||
|
* Mon Sep 4 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-5
|
||||||
|
- Fix handling of relative symlinks (#205122)
|
||||||
|
|
||||||
|
* Thu Aug 3 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-4
|
||||||
|
- remove superfluous multibyte processing in str_append for UTF-8
|
||||||
|
encoding (thanks Paolo Bonzini, #177246)
|
||||||
|
|
||||||
|
* Mon Jul 17 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-3
|
||||||
|
- use dist tag
|
||||||
|
|
||||||
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-2.2.1
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.2
|
||||||
|
- typo in patch name
|
||||||
|
|
||||||
|
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.1
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2
|
||||||
|
- #185374:
|
||||||
|
- Follow symlinks before rename (avoid symlink overwrite)
|
||||||
|
- Add -c flag for copy instead of rename (avoid ownership change)
|
||||||
|
|
||||||
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.2
|
||||||
|
- bump again for double-long bug on ppc(64)
|
||||||
|
|
||||||
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.1
|
||||||
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||||
|
|
||||||
|
* Mon Feb 06 2006 Florian La Roche <laroche@redhat.com>
|
||||||
|
- 4.1.5
|
||||||
|
|
||||||
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 4.1.4-1
|
||||||
|
- update to 4.1.4
|
||||||
|
|
||||||
|
* Sat Mar 5 2005 Jakub Jelinek <jakub@redhat.com> 4.1.2-5
|
||||||
|
- rebuilt with GCC 4
|
||||||
|
|
||||||
|
* Fri Oct 8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-4
|
||||||
|
- fix up make check to run sed --version with LC_ALL=C
|
||||||
|
in the environment (#129014)
|
||||||
|
|
||||||
|
* Sat Oct 2 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-3
|
||||||
|
- add sedfaq.txt to %%{_docdir} (#16202)
|
||||||
|
|
||||||
|
* Mon Aug 23 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- update to 4.1.2
|
||||||
|
|
||||||
|
* Thu Jul 8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.1-1
|
||||||
|
- update to 4.1.1
|
||||||
|
|
||||||
|
* Mon Jun 21 2004 Jakub Jelinek <jakub@redhat.com> 4.1-1
|
||||||
|
- update to 4.1
|
||||||
|
|
||||||
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Tue May 25 2004 Jakub Jelinek <jakub@redhat.com> 4.0.9-1
|
||||||
|
- update to 4.0.9
|
||||||
|
- BuildRequire recent glibc and glibc-devel (#123043)
|
||||||
|
|
||||||
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 4.0.8-3
|
||||||
|
- if not -n, print current buffer after N command on the last line
|
||||||
|
unless POSIXLY_CORRECT (#112952)
|
||||||
|
- adjust XFAIL_TESTS for the improved glibc regex implementation
|
||||||
|
(#112642)
|
||||||
|
|
||||||
|
* Fri Nov 14 2003 Jakub Jelinek <jakub@redhat.com> 4.0.8-2
|
||||||
|
- enable --without-included-regex again
|
||||||
|
- use fastmap for regex searching
|
||||||
|
|
||||||
|
* Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- update to 4.0.8
|
||||||
|
- simplify specfile
|
||||||
|
- disable --without-included-regex to pass the testsuite
|
||||||
|
|
||||||
|
* Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 4.0.7-3
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- update to 4.0.7
|
||||||
|
- use "--without-included-regex"
|
||||||
|
- do not gzip info pages in spec file, "TODO" is not present anymore
|
||||||
|
|
||||||
|
* Thu Jan 23 2003 Jakub Jelinek <jakub@redhat.com> 4.0.5-1
|
||||||
|
- update to 4.0.5
|
||||||
|
|
||||||
|
* Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
- rebuilt to fix x86-64 miscompilation
|
||||||
|
- run make check in %%build
|
||||||
|
|
||||||
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
||||||
|
- automated rebuild
|
||||||
|
|
||||||
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
||||||
|
- automated rebuild
|
||||||
|
|
||||||
|
* Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
- Remove stale URLs from documentation (#62519)
|
||||||
|
|
||||||
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- Bump release + rebuild.
|
||||||
|
|
||||||
|
* Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
|
||||||
|
- Update to 2000.11.28 patch
|
||||||
|
- Rebuild for 7.1 tree
|
||||||
|
|
||||||
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||||
|
- automatic rebuild
|
||||||
|
|
||||||
|
* Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
|
||||||
|
- FHS packaging.
|
||||||
|
|
||||||
|
* Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
|
||||||
|
- compress man pages.
|
||||||
|
|
||||||
|
* Tue Jan 18 2000 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
- rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h
|
||||||
|
|
||||||
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- auto rebuild in the new build environment (release 4)
|
||||||
|
|
||||||
|
* Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
|
||||||
|
- update to 3.02
|
||||||
|
|
||||||
|
* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
|
||||||
|
- update to 3.01
|
||||||
|
|
||||||
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
||||||
|
- translations modified for de, fr, tr
|
||||||
|
|
||||||
|
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
|
||||||
|
- removed references to the -g option from the man page that we add
|
||||||
|
|
||||||
|
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
|
||||||
|
- spec file cleanups
|
||||||
|
- added BuildRoot
|
||||||
|
|
||||||
|
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
||||||
|
- built against glibc
|
Loading…
Reference in New Issue