Browse Source

Once again remove a tarball

nsITobin 3 weeks ago
parent
commit
4936498a42

BIN
bash/bash-5.1.tar.gz


+ 31 - 0
flex/flex-2.6.0-yyless.patch

@@ -0,0 +1,31 @@
+Index: b/src/flex.skl
+===================================================================
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -494,7 +494,7 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
+      */
+     #define  YY_LESS_LINENO(n) \
+             do { \
+-                int yyl;\
++                yy_size_t yyl;\
+                 for ( yyl = n; yyl < yyleng; ++yyl )\
+                     if ( yytext[yyl] == '\n' )\
+                         --yylineno;\
+@@ -520,7 +520,7 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
+ 	do \
+ 		{ \
+ 		/* Undo effects of setting up yytext. */ \
+-        int yyless_macro_arg = (n); \
++        yy_size_t yyless_macro_arg = (n); \
+         YY_LESS_LINENO(yyless_macro_arg);\
+ 		*yy_cp = YY_G(yy_hold_char); \
+ 		YY_RESTORE_YY_MORE_OFFSET \
+@@ -2576,7 +2576,7 @@ void yyFlexLexer::LexerError( yyconst ch
+ 	do \
+ 		{ \
+ 		/* Undo effects of setting up yytext. */ \
+-        int yyless_macro_arg = (n); \
++        yy_size_t yyless_macro_arg = (n); \
+         YY_LESS_LINENO(yyless_macro_arg);\
+ 		yytext[yyleng] = YY_G(yy_hold_char); \
+ 		YY_G(yy_c_buf_p) = yytext + yyless_macro_arg; \

+ 37 - 0
flex/flex-max_size.patch

@@ -0,0 +1,37 @@
+commit 3946924ed5e77420c453bf841603c7278766093a
+Author: rlar <rlar>
+Date:   Sun Feb 28 15:20:31 2016 +0100
+
+    generated code, `max_size' seems to be of type `int', fix casts accordingly
+
+Index: b/src/gen.c
+===================================================================
+--- a/src/gen.c
++++ b/src/gen.c
+@@ -1875,7 +1875,7 @@ void make_tables (void)
+ 	if (!C_plus_plus) {
+ 		if (use_read) {
+ 			outn ("\terrno=0; \\");
+-			outn ("\twhile ( (result = (int) read( fileno(yyin), buf, max_size )) < 0 ) \\");
++			outn ("\twhile ( (result = (int) read( fileno(yyin), buf, (yy_size_t) max_size )) < 0 ) \\");
+ 			outn ("\t{ \\");
+ 			outn ("\t\tif( errno != EINTR) \\");
+ 			outn ("\t\t{ \\");
+@@ -1891,7 +1891,7 @@ void make_tables (void)
+ 			outn ("\tif ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \\");
+ 			outn ("\t\t{ \\");
+ 			outn ("\t\tint c = '*'; \\");
+-			outn ("\t\tsize_t n; \\");
++			outn ("\t\tint n; \\");
+ 			outn ("\t\tfor ( n = 0; n < max_size && \\");
+ 			outn ("\t\t\t     (c = getc( yyin )) != EOF && c != '\\n'; ++n ) \\");
+ 			outn ("\t\t\tbuf[n] = (char) c; \\");
+@@ -1904,7 +1904,7 @@ void make_tables (void)
+ 			outn ("\telse \\");
+ 			outn ("\t\t{ \\");
+ 			outn ("\t\terrno=0; \\");
+-			outn ("\t\twhile ( (result = (int) fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \\");
++			outn ("\t\twhile ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \\");
+ 			outn ("\t\t\t{ \\");
+ 			outn ("\t\t\tif( errno != EINTR) \\");
+ 			outn ("\t\t\t\t{ \\");

+ 19 - 0
flex/flex-new_size.patch

@@ -0,0 +1,19 @@
+commit 986bb5e29492a927a2ad157505c900f75c97016a
+Author: rlar <rlar>
+Date:   Sun Feb 28 15:20:31 2016 +0100
+
+    generated code, here `new_size' is of type `int', fix casts accordingly
+
+Index: b/src/flex.skl
+===================================================================
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -1782,7 +1782,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]],
+ 		/* Extend the array by 50%, plus the number we really need. */
+ 		int new_size = YY_G(yy_n_chars) + number_to_move + (YY_G(yy_n_chars) >> 1);
+ 		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
+-			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, new_size M4_YY_CALL_LAST_ARG );
++			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size M4_YY_CALL_LAST_ARG );
+ 		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ 			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ 	}

+ 43 - 0
flex/flex-yy_buf_size.patch

@@ -0,0 +1,43 @@
+commit 33dd868353ab98bc33363d43be5a8b0e7e049072
+Author: rlar <rlar>
+Date:   Sun Feb 28 15:20:31 2016 +0100
+
+    generated code, `yy_buf_size' is of type `int', fix casts accordingly
+
+Index: b/src/flex.skl
+===================================================================
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -1732,7 +1732,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]],
+ 				b->yy_ch_buf = (char *)
+ 					/* Include room in for 2 EOB chars. */
+ 					yyrealloc( (void *) b->yy_ch_buf,
+-							 b->yy_buf_size + 2 M4_YY_CALL_LAST_ARG );
++							 (yy_size_t) (b->yy_buf_size + 2) M4_YY_CALL_LAST_ARG );
+ 				}
+ 			else
+ 				/* Can't grow it, we don't own it. */
+@@ -2102,12 +2102,12 @@ static void yy_load_buffer_state  YYFARG
+ 	if ( ! b )
+ 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+ 
+-	b->yy_buf_size = (yy_size_t)size;
++	b->yy_buf_size = size;
+ 
+ 	/* yy_ch_buf has to be 2 characters longer than the size given because
+ 	 * we need to put in 2 end-of-buffer characters.
+ 	 */
+-	b->yy_ch_buf = (char *) yyalloc( b->yy_buf_size + 2 M4_YY_CALL_LAST_ARG );
++	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) M4_YY_CALL_LAST_ARG );
+ 	if ( ! b->yy_ch_buf )
+ 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+ 
+@@ -2397,7 +2397,7 @@ YY_BUFFER_STATE yy_scan_buffer  YYFARGS2
+ 	if ( ! b )
+ 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
+ 
+-	b->yy_buf_size = size - 2;	/* "- 2" to take care of EOB's */
++	b->yy_buf_size = (int) (size - 2);	/* "- 2" to take care of EOB's */
+ 	b->yy_buf_pos = b->yy_ch_buf = base;
+ 	b->yy_is_our_buffer = 0;
+ 	b->yy_input_file = NULL;

+ 24 - 0
flex/flex-yybytes_len.patch

@@ -0,0 +1,24 @@
+commit cf4121fa97abac8aeaa5e08b8fc0b2380228494e
+Author: rlar <rlar>
+Date:   Sat Feb 27 22:46:02 2016 +0100
+
+    generated code, `_yybytes_len' is of type `int', fix code accordingly
+
+Index: b/src/flex.skl
+===================================================================
+--- a/src/flex.skl
++++ b/src/flex.skl
+@@ -2451,11 +2451,11 @@ YY_BUFFER_STATE yy_scan_bytes  YYFARGS2(
+ 	YY_BUFFER_STATE b;
+ 	char *buf;
+ 	yy_size_t n;
+-	yy_size_t i;
++	int i;
+     m4_dnl M4_YY_DECL_GUTS_VAR();
+ 
+ 	/* Get memory for full buffer, including space for trailing EOB's. */
+-	n = (yy_size_t) _yybytes_len + 2;
++	n = (yy_size_t) (_yybytes_len + 2);
+ 	buf = (char *) yyalloc( n M4_YY_CALL_LAST_ARG );
+ 	if ( ! buf )
+ 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );

+ 520 - 0
flex/package.spec

@@ -0,0 +1,520 @@
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
+Summary: A tool for creating scanners (text pattern recognizers)
+Name: flex
+Version: 2.6.1
+Release: 9%{?dist}
+# parse.c and parse.h are under GPLv3+ with exception which allows
+#	relicensing.  Since flex is shipped under BDS-style license,
+#	let's  assume that the relicensing was done.
+# gettext.h (copied from gnulib) is under LGPLv2+
+License: BSD and LGPLv2+
+Group: Development/Tools
+URL: https://github.com/westes/flex
+Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.xz
+
+Patch0: flex-2.6.0-yyless.patch
+Patch1: flex-max_size.patch
+Patch2: flex-new_size.patch
+Patch3: flex-yy_buf_size.patch
+Patch4: flex-yybytes_len.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: m4
+BuildRequires: gettext bison m4 help2man gcc gcc-c++
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
+
+%description
+The flex program generates scanners.  Scanners are programs which can
+recognize lexical patterns in text.  Flex takes pairs of regular
+expressions and C code as input and generates a C source file as
+output.  The output file is compiled and linked with a library to
+produce an executable.  The executable searches through its input for
+occurrences of the regular expressions.  When a match is found, it
+executes the corresponding C code.  Flex was designed to work with
+both Yacc and Bison, and is used by many programs as part of their
+build process.
+
+You should install flex if you are going to use your system for
+application development.
+
+# We keep the libraries in separate sub-package to allow for multilib
+# installations of flex.
+%package devel
+Summary: Libraries for flex scanner generator
+Group: Development/Tools
+Obsoletes: flex-static < 2.5.35-15
+Provides: flex-static
+
+%description devel
+
+This package contains the library with default implementations of
+`main' and `yywrap' functions that the client binary can choose to use
+instead of implementing their own.
+
+%package doc
+Summary: Documentation for flex scanner generator
+Group: Documentation
+
+%description doc
+
+This package contains documentation for flex scanner generator in
+plain text and PDF formats.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+
+%build
+%configure --docdir=%{_pkgdocdir} CFLAGS="-fPIC $RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT/%{_pkgdocdir}/{README.cvs,TODO}
+# For now, excluding the new .la and .so files as we haven't had
+# any requests for them and adding them will require a new subpackage.
+# The .so files contain 2 optional implementations of main and yywrap
+# for developer convenience. They are also available in the .a file
+# provided in flex-devel.
+find %{buildroot} -name '*.la' -delete
+find %{buildroot} -name '*.so' -delete
+find %{buildroot} -name '*.so.2' -delete
+find %{buildroot} -name '*.so.2.0.0' -delete
+
+( cd ${RPM_BUILD_ROOT}
+  ln -sf flex .%{_bindir}/lex
+  ln -sf flex .%{_bindir}/flex++
+  ln -s flex.1 .%{_mandir}/man1/lex.1
+  ln -s flex.1 .%{_mandir}/man1/flex++.1
+  ln -s libfl.a .%{_libdir}/libl.a
+)
+
+%find_lang flex
+
+%post
+if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs
+   /sbin/install-info %{_infodir}/flex.info.gz --dir-file=%{_infodir}/dir ||:
+fi
+
+%preun
+if [ $1 = 0 ]; then
+    if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs
+	/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir ||:
+    fi
+fi
+
+%check
+echo ============TESTING===============
+make check
+echo ============END TESTING===========
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files -f flex.lang
+%defattr(-,root,root)
+%dir %{_pkgdocdir}
+%license COPYING
+%{_pkgdocdir}/NEWS
+%{_pkgdocdir}/README
+%{_bindir}/*
+%{_mandir}/man1/*
+%{_includedir}/FlexLexer.h
+%{_infodir}/flex.info*
+
+%files devel
+%defattr(-,root,root)
+%dir %{_pkgdocdir}
+%license COPYING
+%{_libdir}/*.a
+
+%files doc
+%defattr(-,root,root)
+%{_pkgdocdir}
+
+%changelog
+* Tue Jul 31 2018 Arjun Shankar <arjun@redhat.com> - 2.6.1-9
+- Add gcc and gcc-c++ as build-time requirements
+
+* Mon Jun 18 2018 Arjun Shankar <arjun@redhat.com> - 2.6.1-8
+- Remove g++ signed/unsigned comparison warning in generated scanner
+
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.6.1-7
+- Escape macros in %%changelog
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.6.1-3
+- Add missing %%license macro
+
+* Sun Sep 25 2016 Patsy Franklin <pfrankli@redhat.com> - 2.6.1-2
+- Fix several type comparison issues including BZ #1373601
+
+* Tue Sep 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 2.6.1-1
+- Rebase to 2.6.1 (#1318074,#1364943)
+- update URL (github), drop unused patches (#1238860)
+
+* Wed Jul 27 2016 Patsy Franklin <pfrankli@redhat.com> - 2.6.0-2
+  Fix wrong type on num_to_read.  BZ #1360744
+
+* Thu Mar 10 2016 Patsy Franklin <pfrankli@redhat.com> - 2.6.0-1
+- Rebase to 2.6.0
+- Pick up an additional patch requested in BZ #1281976
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.39-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Thu Oct 29 2015 Patsy Franklin <pfrankli@redhat.com> - 2.5.39-3
+- Remove obsolete patches from git repository.  (BZ #1238860)
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.39-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Mon Apr 13 2015 Patsy Franklin <pfrankli@redhat.com> - 2.5.39-1
+- Rebase to 2.5.39
+
+* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.37-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jul 19 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.5.37-7
+- Make docdir unversioned where appropriate (#993754)
+- Install docs to one common package doc dir, drop separate one for -doc
+- Include COPYING in -devel
+- Fix bogus dates in %%changelog
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.37-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed Apr 16 2014 Patsy Franklin <pfrankli@redhat.com> - 2.5.37-5
+- Add a patch to remove obsolete bison constructs YYLEX_PARAM and 
+  YYPARSE_PARAM. Use %%lex-param, %%parse-param, or %%param.
+
+* Tue Sep  3 2013 Petr Machata <pmachata@redhat.com> - 2.5.37-4
+- Add a patch for "comparison between signed and unsigned" warnings
+  that GCC produces when compiling flex-generated scanners
+  (flex-2.5.37-types.patch)
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.37-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Apr  4 2013 Petr Machata <pmachata@redhat.com> - 2.5.37-2
+- Update config.sub and config.guess to support aarch64
+
+* Wed Mar 20 2013 Petr Machata <pmachata@redhat.com> - 2.5.37-1
+- Rebase to 2.5.37
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.36-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Oct 26 2012 Petr Machata <pmachata@redhat.com> - 2.5.36-2
+- Bump for rebuild
+
+* Tue Jul 31 2012 Petr Machata <pmachata@redhat.com> - 2.5.36-1
+- Rebase to 2.5.36
+  - Drop flex-2.5.35-sign.patch, flex-2.5.35-hardening.patch,
+    flex-2.5.35-gcc44.patch, flex-2.5.35-missing-prototypes.patch
+  - Add flex-2.5.36-bison-2.6.1.patch
+  - Add a subpackage doc
+- Resolves #842073
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.35-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Mon Mar 12 2012 Petr Machata <pmachata@redhat.com> - 2.5.35-15
+- Rename flex-static to flex-devel so that it gets to repositories of
+  minor multi-lib arch (i386 on x86_64 etc.)
+- Resolves: #674301
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.35-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.35-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Aug 17 2010 Petr Machata <pmachata@redhat.com> - 2.5.35-12
+- Drop the dependency of core package on flex-static.
+- Resolves: #624549
+
+* Wed Jul 14 2010 Petr Machata <pmachata@redhat.com> - 2.5.35-11
+- Forgot that the changes in flex.skl won't propagate to skel.c
+- Resolves: #612465
+
+* Tue Jul 13 2010 Petr Machata <pmachata@redhat.com> - 2.5.35-10
+- Declare yyget_column and yyset_column in reentrant mode.
+- Resolves: #612465
+
+* Wed Jan 20 2010 Petr Machata <pmachata@redhat.com> - 2.5.35-9
+- Move libraries into a sub-package of their own.
+
+* Tue Jan 12 2010 Petr Machata <pmachata@redhat.com> - 2.5.35-8
+- Add source URL
+
+* Mon Aug 24 2009 Petr Machata <pmachata@redhat.com> - 2.5.35-7
+- Fix installation with --excludedocs
+- Resolves: #515928
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.35-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Apr 20 2009 Debarshi Ray <rishi@fedoraproject.org> - 2.5.35-5
+- Resolves: #496548.
+
+* Mon Apr 20 2009 Petr Machata <pmachata@redhat.com> - 2.5.35-4
+- Get rid of warning caused by ignoring return value of fwrite() in
+  ECHO macro.  Debian patch.
+- Resolves: #484961
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.35-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon May 12 2008 Petr Machata <pmachata@redhat.com> - 2.5.35-2
+- Resolves: #445950
+
+* Wed Feb 27 2008 Petr Machata <pmachata@redhat.com> - 2.5.35-1
+- Rebase to 2.5.35. Drop two patches.
+- Resolves: #434961
+- Resolves: #435047
+
+* Mon Feb 25 2008 Petr Machata <pmachata@redhat.com> - 2.5.34-1
+- Rebase to 2.5.34. Drop five patches.
+- Resolves: #434676
+
+* Mon Feb 11 2008 Petr Machata <pmachata@redhat.com> - 2.5.33-17
+- Generate prototypes for accessor functions.  Upstream patch.
+- Related: #432203
+
+* Mon Feb  4 2008 Petr Machata <pmachata@redhat.com> - 2.5.33-16
+- Fix comparison between signed and unsigned in generated scanner.
+  Patch by Roland McGrath.
+- Resolves: #431151
+
+* Tue Jan 15 2008 Stepan Kasal <skasal@redhat.com> - 2.5.33-15
+- Do not run autogen.sh, it undoes the effect of includedir patch.
+- Adapt test-linedir-r.patch so that it fixes Makefile.in and works
+  even though autogen.sh is not run.
+
+* Thu Jan 10 2008 Stepan Kasal <skasal@redhat.com> - 2.5.33-14
+- Insert the "-fPIC" on configure command-line.
+- Drop the -fPIC patch.
+
+* Tue Jan  8 2008 Petr Machata <pmachata@redhat.com> - 2.5.33-13
+- Patch with -fPIC only after the autogen.sh is run.
+
+* Thu Jan  3 2008 Petr Machata <pmachata@redhat.com> - 2.5.33-12
+- Run autogen.sh before the rest of the build.
+- Add BR autoconf automake gettext-devel.
+
+* Thu Aug 30 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-11
+- Add BR gawk
+- Fix use of awk in one of the tests
+
+* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.5.33-10
+- Rebuild for selinux ppc32 issue.
+
+* Fri Jun 22 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-9
+- Remove wrong use of @includedir@ in Makefile.in.
+- Spec cleanups.
+- Related: #225758
+
+* Fri Jun 22 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-8
+- Don't emit yy-prefixed variables in C++ mode.  Thanks Srinivas Aji.
+- Related: #242742
+- Related: #244259
+
+* Fri May 11 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-7
+- Allow joining short options into one commandline argument.
+- Resolves: #239695
+
+* Fri Mar 30 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-5
+- Make yy-prefixed variables available to scanner even with -P.
+
+* Fri Feb  2 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-4
+- Use %%find_lang to package locale files.
+
+* Wed Jan 31 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-3
+- Compile with -fPIC.
+
+* Tue Jan 30 2007 Petr Machata <pmachata@redaht.com> - 2.5.33-2
+- Add Requires:m4.
+
+* Fri Jan 19 2007 Petr Machata <pmachata@redhat.com> - 2.5.33-1
+- Rebase to 2.5.33
+
+* Tue Jul 18 2006 Petr Machata <pmachata@redhat.com> - 2.5.4a-41
+- Reverting posix patch.  Imposing posix because of warning is too
+  much of a restriction.
+
+* Sun Jul 16 2006 Petr Machata <pmachata@redhat.com> - 2.5.4a-40
+- using dist tag
+
+* Fri Jul 14 2006 Petr Machata <pmachata@redhat.com> - 2.5.4a-39
+- fileno is defined in posix standard, so adding #define _POSIX_SOURCE
+  to compile without warnings (#195687)
+- dropping 183098 test, since the original bug was already resolved
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.5.4a-38.1
+- rebuild
+
+* Fri Mar 10 2006 Petr Machata <pmachata@redhat.com> - 2.5.4a-38
+- Caught the real cause of #183098.  It failed because the parser
+  built with `flex -f' *sometimes* made it into the final package, and
+  -f assumes seven-bit tables.  Solution has two steps.  Move `make
+  bigcheck' to `%%check' part, where it belongs anyway, so that flexes
+  built during `make bigcheck' don't overwrite original build.  And
+  change makefile so that `make bigcheck' will *always* execute *all*
+  check commands.
+
+* Wed Mar  8 2006 Petr Machata <pmachata@redhat.com> - 2.5.4a-37.4
+- adding test for #183098 into build process
+
+* Thu Mar  2 2006 Petr Machata <pmachata@redhat.com> - 2.5.4a-37.3
+- rebuilt, no changes inside. In hunt for #183098
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.5.4a-37.2
+- bump again for double-long bug on ppc(64)
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.5.4a-37.1
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Thu Feb 02 2006 Petr Machata <pmachata@redhat.com> 2.5.4a-37
+- adding `make bigcheck' into build process.  Refreshing initscan.c to
+  make this possible.
+
+* Wed Jan 18 2006 Petr Machata <pmachata@redhat.com> 2.5.4a-36
+- Applying Jonathan S. Shapiro's bugfix-fixing patch. More std:: fixes
+  and better way to silent warnings under gcc.
+
+* Fri Jan 13 2006 Petr Machata <pmachata@redhat.com> 2.5.4a-35
+- Adding `std::' prefixes, got rid of `using namespace std'. (#115354)
+- Dummy use of `yy_flex_realloc' to silent warnings. (#30943)
+- Adding URL of flex home page to spec (#142675)
+
+* Sun Dec 18 2005 Jason Vas Dias<jvdias@redhat.com>
+- rebuild with 'flex-pic.patch' to enable -pie links
+  on x86_64 (patch from Jesse Keating) .
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Sun Apr 10 2005 Jakub Jelinek <jakub@redhat.com> 2.5.4a-34
+- rebuilt with GCC 4
+- add %%check script
+
+* Tue Aug 24 2004 Warren Togami <wtogami@redhat.com> 2.5.4a-33
+- #116407 BR byacc
+
+* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
+- rebuilt
+
+* Tue Jan  7 2003 Jeff Johnson <jbj@redhat.com> 2.5.4a-28
+- don't include -debuginfo files in package.
+
+* Mon Nov  4 2002 Than Ngo <than@redhat.com> 2.5.4a-27
+- YY_NO_INPUT patch from Jean Marie
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Tue Jun 18 2002 Than Ngo <than@redhat.com> 2.5.4a-25
+- don't forcibly strip binaries
+
+* Thu May 23 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Tue Apr  2 2002 Than Ngo <than@redhat.com> 2.5.4a-23
+- More ISO C++ 98 fixes (#59670)
+
+* Tue Feb 26 2002 Than Ngo <than@redhat.com> 2.5.4a-22
+- rebuild in new enviroment
+
+* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5.4a-21
+- More ISO C++ 98 fixes (#59670)
+
+* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5.4a-20
+- Fix ISO C++ 98 compliance (#59670)
+
+* Wed Jan 23 2002 Than Ngo <than@redhat.com> 2.5.4a-19
+- fixed #58643
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Tue Nov  6 2001 Than Ngo <than@redhat.com> 2.5.4a-17
+- fixed for working with gcc 3 (bug #55778)
+
+* Sat Oct 13 2001 Than Ngo <than@redhat.com> 2.5.4a-16
+- fix wrong License (bug #54574)
+
+* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
+- Bump release + rebuild.
+
+* Sat Sep 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Fix generation of broken code (conflicting isatty() prototype w/ glibc 2.2)
+  This broke, among other things, the kdelibs 2.0 build
+- Fix source URL
+
+* Thu Sep  7 2000 Jeff Johnson <jbj@redhat.com>
+- FHS packaging (64bit systems need to use libdir).
+
+* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
+- automatic rebuild
+
+* Tue Jun  6 2000 Bill Nottingham <notting@redhat.com>
+- rebuild, FHS stuff.
+
+* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
+- handle compressed man pages
+
+* Fri Jan 28 2000 Bill Nottingham <notting@redhat.com>
+- add a libl.a link to libfl.a
+
+* Wed Aug 25 1999 Jeff Johnson <jbj@redhat.com>
+- avoid uninitialized variable warning (Erez Zadok).
+
+* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
+- auto rebuild in the new build environment (release 6)
+
+* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
+- build for 6.0 tree
+
+* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
+- build root
+
+* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
+- translations modified for de, fr, tr
+
+* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
+- updated from 2.5.4 to 2.5.4a
+
+* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
+- built against glibc
+
+* Thu Mar 20 1997 Michael Fulbright <msf@redhat.com>
+- Updated to v. 2.5.4

+ 28 - 0
glimpse/agrep-fix-double-free.patch

@@ -0,0 +1,28 @@
+Author: Stefan Weil <sw@weilnetz.de>
+Description: Fix crash caused by double free
+Bug-Debian: https://bugs.debian.org/869220
+Forwarded: https://github.com/Wikinaut/agrep/pull/13
+
+--- a/agrep/asearch.c
++++ b/agrep/asearch.c
+@@ -254,7 +254,6 @@ Nextchar1file:
+ 					{ 
+ 						if(FILENAMEONLY && (NEW_FILE || !POST_FILTER)) {
+ 							num_of_matched++;
+-							free_buf(text, buffer);
+ 
+ 							if (agrep_finalfp != NULL)
+ 								fprintf(agrep_finalfp, "%s", CurrentFileName);
+--- a/agrep/sgrep.c
++++ b/agrep/sgrep.c
+@@ -1079,7 +1079,9 @@ register CHARTYPE *text, *textend, *pat,
+ 	CHARTYPE *lastout = text;
+ 	int newlen;
+ 
+-	Candidate[0][0] = Candidate[0][1] = 0; 
++	Candidate[0][0] = 0;
++	Candidate[0][1] = 0;
++	Candidate[1][0] = 0;
+ 	d1 = shift_1;
+ 	cdx = 0;
+ 	if(m < 3) r1 = m;

+ 9 - 0
glimpse/fix-makefile-cc-var.patch

@@ -0,0 +1,9 @@
+--- glimpse-4.18.7.orig/dynfilters/Makefile.in
++++ glimpse-4.18.7/dynfilters/Makefile.in
+@@ -1,5 +1,5 @@
+ # Set this variable to the name of your C compiler
+-CC=gcc
++CC=@CC@
+ 
+ # Provide optimization flages here. These settings are fine for egcs and
+ # gcc >= 2.95. If you use an older gcc version, change -O3 to -O2. If you

+ 153 - 0
glimpse/fix-makefile.patch

@@ -0,0 +1,153 @@
+Description: fix lots of makefile.in for debian builds
+ changes were needed to allow CFLAGS/LDFLAGS be passed in,
+ and to make the build use the appropriate man dirs.
+Author: Alexander Zangerl <az@debian.org>
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -11,17 +11,17 @@ INSTALL		= @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA	= @INSTALL_DATA@
+ INSTALL_MAN	= ${INSTALL} -m 444
+-DEFS		=
++DEFS		= @CFLAGS@
+ DYNFILTER	= @DYNFILTER@
+ 
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ binprefix =
+-manprefix =
++manprefix = @mandir@
+ 
+ bindir = $(exec_prefix)/bin
+ libdir = $(exec_prefix)/lib
+-mandir = $(prefix)/man/man1
++mandir = $(manprefix)/man1
+ manext = 1
+ MANUAL = glimpse.1 glimpseindex.1 glimpseserver.1
+ 
+@@ -53,6 +53,7 @@ PROGAGREP	= agrep/agrep
+ OPTIMIZEFLAGS   = -O2
+ INCLUDEFLAGS    = -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include
+ CFLAGS          = $(INCLUDEFLAGS) $(DEFS)
++LDFLAGS = @LDFLAGS@
+ 
+ OBJS		= get_filename.o \
+ 		get_index.o \
+--- a/agrep/Makefile.in
++++ b/agrep/Makefile.in
+@@ -12,16 +12,16 @@ INSTALL		= @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA	= @INSTALL_DATA@
+ INSTALL_MAN	= ${INSTALL} -m 444
+-DEFS		=
++DEFS		= @CFLAGS@
+ 
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ binprefix =
+-manprefix =
++manprefix = @mandir@
+ 
+ bindir = $(exec_prefix)/bin
+ libdir = $(exec_prefix)/lib
+-mandir = $(prefix)/man/man1
++mandir = $(manprefix)/man1
+ manext = 1
+ 
+ MAN1		= agrep.1
+@@ -51,7 +51,7 @@ INCLUDEFLAGS	= -I$(AGREPDIR) -I$(TEMPLAT
+ # AGREP_POINTER is defined in autoconf.h
+ MYDEFINEFLAGS	= -DMEASURE_TIMES=0 -DDOTCOMPRESSED=$(DOTCOMPRESSED)
+ CFLAGS		= $(MYDEFINEFLAGS) $(INCLUDEFLAGS) $(DEFS)
+-LDFLAGS		=
++LDFLAGS		= @LDFLAGS@
+ OTHERLIBS	=
+ 
+ PROG	      = agrep
+--- a/compress/Makefile.in
++++ b/compress/Makefile.in
+@@ -15,7 +15,7 @@ STRIP  = @STRIP@
+ INSTALL		= @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA	= @INSTALL_DATA@
+-DEFS		=
++DEFS		= @CFLAGS@
+ 
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+@@ -37,8 +37,8 @@ TEMPLATEDIR   = ../libtemplate
+ 
+ OPTIMIZEFLAGS	= -O2
+ INCLUDEFLAGS	= -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include
+-CFLAGS		= $(INCLUDEFLAGS) $(OPTIMIZEFLAGS)
+-LDFLAGS		=
++CFLAGS		= $(INCLUDEFLAGS) $(OPTIMIZEFLAGS) $(DEFS)
++LDFLAGS		= @LDFLAGS@
+ OTHERLIBS	=
+ 
+ LIBOBJ = hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o
+--- a/dynfilters/Makefile.in
++++ b/dynfilters/Makefile.in
+@@ -9,7 +9,7 @@ CFLAGS=-O3 -fomit-frame-pointer
+ 
+ # Additional definitions you would like to pass to the compiler. You usually
+ # can leave this line alone.
+-DEFS=
++DEFS=@CFLAGS@
+ 
+ # The name of the linker. Usually, specifying the same name as the C compiler
+ # is fine. Change this to "ld" if in doubt.
+--- a/glimpse/Makefile.in
++++ b/glimpse/Makefile.in
+@@ -11,7 +11,7 @@ INSTALL		= @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA	= @INSTALL_DATA@
+ INSTALL_MAN	= ${INSTALL} -m 444
+-DEFS		=
++DEFS		= @CFLAGS@
+ DYNFILTER	= @DYNFILTER@
+ 
+ prefix = @prefix@
+--- a/index/Makefile.in
++++ b/index/Makefile.in
+@@ -12,7 +12,8 @@ STRIP  = @STRIP@
+ INSTALL		= @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA	= @INSTALL_DATA@
+-DEFS		=
++DEFS		= @CFLAGS@
++LDFLAGS = @LDFLAGS@
+ 
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+@@ -47,7 +48,7 @@ NOTSCASTPROG	= nots$(CASTPROG)
+ OPTIMIZEFLAGS	= -O2
+ INCLUDEFLAGS	= -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include 
+ DEFINEFLAGS	= $(DEFS)
+-CFLAGS		= $(INCLUDEFLAGS)
++CFLAGS		= $(INCLUDEFLAGS) $(DEFS)
+ 
+ TEST	      =	test
+ OBJS	      =	region.o \
+--- a/libtemplate/template/Makefile.in
++++ b/libtemplate/template/Makefile.in
+@@ -25,7 +25,7 @@ LN_S		= @LN_S@
+ DEBUG		= $(DEBUG_TOP) #-O #-g #-DDEBUG
+ DEBUG_LIBS	=
+ 
+-CFLAGS		= $(DEBUG) -I../include
++CFLAGS		= $(DEBUG) -I../include @CFLAGS@
+ OBJS		= template.o
+ LIBDIR		= ../lib
+ LDFLAGS         = -L$(LIBDIR)
+--- a/libtemplate/util/Makefile.in
++++ b/libtemplate/util/Makefile.in
+@@ -17,7 +17,7 @@ INSTALL		= @INSTALL@
+ INSTALL_BIN 	= @INSTALL_PROGRAM@
+ INSTALL_FILE 	= @INSTALL_DATA@
+ RANLIB		= @RANLIB@
+-DEFS            =
++DEFS            = @CFLAGS@
+ 
+ DEBUG           =
+ INCLUDE         = -I../include

+ 85 - 0
glimpse/package.spec

@@ -0,0 +1,85 @@
+# FIXME: Patch to fix for increased safety
+%global build_type_safety_c 0
+
+%global commit 49457116bb0796636fd1bc84f39006fb102bfafc
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20161025
+
+Name:           glimpse
+Version:        4.12.6^git%{commitdate}.%{shortcommit}
+Release:        4%{?dist}
+Summary:        Powerful file indexing and query system
+
+License:        ISC
+URL:            https://github.com/gvelez17/glimpse
+Source0:        %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
+
+# From Debian
+Patch0:         fix-makefile.patch
+Patch1:         fix-makefile-cc-var.patch
+Patch2:         agrep-fix-double-free.patch
+
+BuildRequires:  autoconf
+BuildRequires:  autoconf-archive
+BuildRequires:  automake
+BuildRequires:  flex
+BuildRequires:  gcc
+%if 0%{?rhel} && 0%{?rhel} < 9
+BuildRequires:  flex-devel
+%else
+BuildRequires:  libfl-static
+%endif
+BuildRequires:  make
+Requires:       agrep
+
+%description
+Glimpse is a very powerful indexing and query system that allows you to
+search through all your files very quickly.  It can be used by
+individuals for their personal file systems as well as by organizations
+for large data collections.
+
+
+%prep
+%autosetup -n %{name}-%{commit} -p1
+
+
+%build
+autoconf
+%configure
+# Parallel make breaks it
+make DEBUGFLAGS="%{build_cflags}" OTHERLIBS="%{build_ldflags}"
+
+
+%install
+make install prefix="%{buildroot}%{_prefix}" exec_prefix="%{buildroot}%{_prefix}" manprefix="%{buildroot}%{_mandir}"
+
+# Move undocumented commands to libexec
+mkdir -p %{buildroot}%{_libexecdir}/%{name}
+mv %{buildroot}%{_bindir}/*cast %{buildroot}%{_bindir}/tbuild %{buildroot}%{_bindir}/wgconvert %{buildroot}%{_libexecdir}/%{name}
+
+# Drop agrep, as we have another provider for it
+rm -v %{buildroot}%{_bindir}/agrep %{buildroot}%{_mandir}/man1/agrep.1*
+
+
+%files
+%license LICENSE
+%doc README KNOWN_BUGS ChangeLog CHANGES
+%{_bindir}/glimpse*
+%{_mandir}/man1/glimpse*
+%{_libexecdir}/glimpse/
+
+
+%changelog
+* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.6^git20161025.4945711-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
+
+* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.6^git20161025.4945711-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.6^git20161025.4945711-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Tue Dec 12 2023 Neal Gompa <ngompa@fedoraproject.org> - 4.12.6^git20161025.4945711-1
+- Initial package
+
+