From 5c9b217680089b98f1fdce51a32d1f17cb1fc4f1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 05 2015 19:24:35 +0000 Subject: import m4-1.4.16-10.ael7b --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7d857e1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/m4-1.4.16.tar.xz diff --git a/.m4.metadata b/.m4.metadata new file mode 100644 index 0000000..9e6cc0b --- /dev/null +++ b/.m4.metadata @@ -0,0 +1 @@ +d8688d1d84e058366134301e018e57bbbdc33463 SOURCES/m4-1.4.16.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/m4-1.4.16-gnulib-gets.patch b/SOURCES/m4-1.4.16-gnulib-gets.patch new file mode 100644 index 0000000..51df5b0 --- /dev/null +++ b/SOURCES/m4-1.4.16-gnulib-gets.patch @@ -0,0 +1,13 @@ +diff -up m4-1.4.16/lib/stdio.in.h.orig m4-1.4.16/lib/stdio.in.h +--- m4-1.4.16/lib/stdio.in.h.orig 2012-05-30 13:55:51.092600199 +0200 ++++ m4-1.4.16/lib/stdio.in.h 2012-05-30 13:56:25.763794100 +0200 +@@ -162,7 +162,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + #undef gets ++#if HAVE_RAW_DECL_GETS + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ diff --git a/SOURCES/m4-1.4.16-readlink-einval.patch b/SOURCES/m4-1.4.16-readlink-einval.patch new file mode 100644 index 0000000..6a98751 --- /dev/null +++ b/SOURCES/m4-1.4.16-readlink-einval.patch @@ -0,0 +1,12 @@ +diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h +--- m4-1.4.16/tests/test-readlink.h.orig 2011-09-19 12:44:58.745546826 +0200 ++++ m4-1.4.16/tests/test-readlink.h 2011-09-19 12:46:00.079548410 +0200 +@@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con + ASSERT (errno == ENOENT); + errno = 0; + ASSERT (func ("", buf, sizeof buf) == -1); +- ASSERT (errno == ENOENT); ++ ASSERT (errno == ENOENT || errno == EINVAL); + errno = 0; + ASSERT (func (".", buf, sizeof buf) == -1); + ASSERT (errno == EINVAL); diff --git a/SOURCES/m4-1.4.16.tar.xz.sig b/SOURCES/m4-1.4.16.tar.xz.sig new file mode 100644 index 0000000..ad43058 --- /dev/null +++ b/SOURCES/m4-1.4.16.tar.xz.sig @@ -0,0 +1,12 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) +Comment: Public key at http://people.redhat.com/eblake/eblake.gpg + +iQEcBAABCAAGBQJNbUzaAAoJEKeha0olJ0NqBzwH/ixi/Zf19W0Qa96s6hgc7dXb +jJjlm2J1qwDZ4QJMKUnygFZk62EiDwTfPbapHn6rqYFeC4ZPq+XIqfM0Ld1guF25 +1aYItOyJQvhBIMviJWb+eLKuHMD0FH7yLOieutV1CnJXvfnXHTn8zXtc3SRqQ8cB +MhQ+Nfe2i6x1cy/sBH9mHg2mGabAL171mYmpixbhRkLpDne1rfIa13HnjKMgu83R +Vp2wDbNOsgBsqiW/NQjCnppvDepSoUbX3MXHjs3NN08gUwCzI/7uj2C1KcOvvB1U +JJiFlB+HKbvIbHH8UDVX6IWdQ4/AqqgDYSpr9VNborYSiPzG8t3JaawX9sWplHY= +=EcaC +-----END PGP SIGNATURE----- diff --git a/SOURCES/m4-1.4.17-gnulib-ppc64le.patch b/SOURCES/m4-1.4.17-gnulib-ppc64le.patch new file mode 100644 index 0000000..698d5f4 --- /dev/null +++ b/SOURCES/m4-1.4.17-gnulib-ppc64le.patch @@ -0,0 +1,19 @@ +--- m4-1.4.17/tests/test-isnanl.h.ori ++++ m4-1.4.17/tests/test-isnanl.h +@@ -51,6 +51,15 @@ main () + /* A bit pattern that is different from a Quiet NaN. With a bit of luck, + it's a Signalling NaN. */ + { ++#if defined __powerpc__ && LDBL_MANT_DIG == 106 ++ /* This is PowerPC "double double", a pair of two doubles. Inf and Nan are ++ represented as the corresponding 64-bit IEEE values in the first double; ++ the second is ignored. Manipulate only the first double. */ ++ #undef NWORDS ++ #define NWORDS \ ++ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) ++#endif ++ + memory_long_double m; + m.value = NaNl (); + # if LDBL_EXPBIT0_BIT > 0 + diff --git a/SPECS/m4.spec b/SPECS/m4.spec new file mode 100644 index 0000000..075ef0f --- /dev/null +++ b/SPECS/m4.spec @@ -0,0 +1,285 @@ +Summary: The GNU macro processor +Name: m4 +Version: 1.4.16 +Release: 10%{?dist} +License: GPLv3+ +Group: Applications/Text +Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz +Source1: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz.sig +URL: http://www.gnu.org/software/m4/ +# Patch0: Temporary fix to avoid fails, already fixed in gnulib, this patch +# should be removed after updating m4 to newer gnulib +Patch0: m4-1.4.16-readlink-einval.patch +# Patch1: Temporary fix to avoid build fails, this patch +# should be removed after updateing m4 to newer gnulib +Patch1: m4-1.4.16-gnulib-gets.patch +# Patch2: Fixes math tests for little-endian PowerPC, +# patch by Menanteau Guy and Ulrich Weigand +Patch2: m4-1.4.17-gnulib-ppc64le.patch +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info +# Gnulib bundled - the library has been granted an exception, see https://fedorahosted.org/fpc/ticket/174 +# Gnulib is not versioned, see m4 ChangeLog for approximate date of Gnulib copy +Provides: bundled(gnulib) + +%description +A GNU implementation of the traditional UNIX macro processor. M4 is +useful for writing text files which can be logically parsed, and is used +by many programs as part of their build process. M4 has built-in +functions for including files, running shell commands, doing arithmetic, +etc. The autoconf program needs m4 for generating configure scripts, but +not for running configure scripts. + +Install m4 if you need a macro processor. + +%prep +%setup -q +%patch0 -p1 -b .readlink-einval +%patch1 -p1 -b .gnulib-gets +%patch2 -p1 -b .gnulib-ppc64le +chmod 644 COPYING + +%build +%configure +make %{?_smp_mflags} + +%install +make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_infodir}/dir + +%check +make %{?_smp_mflags} check + +%files +%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO +%{_bindir}/m4 +%{_infodir}/* +%{_mandir}/man1/m4.1* + +%post +if [ -f %{_infodir}/m4.info ]; then # --excludedocs? + /sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || : +fi + +%preun +if [ "$1" = 0 ]; then + if [ -f %{_infodir}/m4.info ]; then # --excludedocs? + /sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || : + fi +fi + +%changelog +* Thu Aug 07 2014 Vitezslav Crhonek - 1.4.16-10 +- Fix ppc64le test fails + Resolves: #1125604 + +* Fri Jan 24 2014 Daniel Mach - 1.4.16-9 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.4.16-8 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.4.16-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Aug 28 2012 Vitezslav Crhonek - 1.4.16-6 +- Fix issues found by fedora-review utility in the spec file + +* Thu Jul 19 2012 Fedora Release Engineering - 1.4.16-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon May 28 2012 Vitezslav Crhonek - 1.4.16-4 +- Fix handling of bundled gnulib in the spec file + Resolves: #821777 + +* Fri Jan 13 2012 Fedora Release Engineering - 1.4.16-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Sep 20 2011 Vitezslav Crhonek - 1.4.16-2 +- Temporarily fix readlink test to accept EINVAL also + Resolves: #739189 + +* Wed Mar 02 2011 Vitezslav Crhonek - 1.4.16-1 +- Update to m4-1.4.16 + +* Tue Feb 08 2011 Fedora Release Engineering - 1.4.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Sep 7 2010 Vitezslav Crhonek - 1.4.15-1 +- Update to m4-1.4.15 (removed include patch, already applied in upstream source) + Resolves: #630709 + +* Mon Mar 1 2010 Vitezslav Crhonek - 1.4.14-1 +- Update to m4-1.4.14 + Resolves: #568339 + +* Thu Sep 3 2009 Vitezslav Crhonek - 1.4.13-4 +- Fix errors installing m4 with --excludedocs + Resolves: #516013 + +* Wed Aug 12 2009 Ville Skyttä - 1.4.13-3 +- Use xz compressed upstream tarball. + +* Sat Jul 25 2009 Fedora Release Engineering - 1.4.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed May 27 2009 Stepan Kasal - 1.4.13-1 +- new upstream release +- drop the ununsed Source1: %%{SOURCE0}.sig +- enable %%check again + +* Wed Feb 25 2009 Fedora Release Engineering - 1.4.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Nov 5 2008 Vitezslav Crhonek - 1.4.12-1 +- Update to m4-1.4.12 + Resolves: #469944 +- Merge review + Resolves: #226115 + +* Wed Apr 23 2008 Vitezslav Crhonek - 1.4.11-1 +- Update to m4-1.4.11 (removed vasnprintf patch, it's included in + upstream source) + Resolves: #443589 + +* Mon Feb 11 2008 Vitezslav Crhonek - 1.4.10-3 +- Fix Buildroot + +* Mon Dec 17 2007 Vitezslav Crhonek - 1.4.10-2 +- Fix vasnprintf puts %%n into a writeable format string in all cases + Resolves: #345651 + +* Wed Aug 22 2007 Vitezslav Crhonek - 1.4.10-1 +- Update to m4-1.4.10 +- Fix license to GPL version 3 or later + +* Tue Jun 5 2007 Vitezslav Crhonek - 1.4.9-1 +- Update to m4-1.4.9 + +* Thu Apr 19 2007 Vitezslav Crhonek - 1.4.8-2 +- Rebuild + +* Sun Nov 26 2006 Miloslav Trmac - 1.4.8-1 +- Update to m4-1.4.8 + +* Wed Oct 25 2006 Miloslav Trmac - 1.4.7-2 +- Drop %%check again. SIGPIPE is set to SIG_IGN in mock, which breaks the + sysval test. + +* Tue Oct 24 2006 Miloslav Trmac - 1.4.7-1 +- Update to m4-1.4.7 +- Add %%check +- Fix a rpmlint warning about Summary: + +* Mon Jul 17 2006 Miloslav Trmac - 1.4.5-3 +- Use the install-info scriptlets recommended in the Fedora Extras wiki +- Move $RPM_BUILD_ROOT cleaning from %%prep to %%install + +* Mon Jul 17 2006 Tomas Mraz - 1.4.5-2 +- remove infodir/dir so it isn't included in the package + +* Mon Jul 17 2006 Miloslav Trmac - 1.4.5-1 +- Update to m4-1.4.5 + +* Wed Jul 12 2006 Jesse Keating - 1.4.4-1.2.2 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 1.4.4-1.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.4.4-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Sat Oct 22 2005 Miloslav Trmac - 1.4.4-1 +- Update to m4-1.4.4 + +* Sun Sep 18 2005 Miloslav Trmac - 1.4.3-2 +- Ship COPYING and ChangeLog + +* Fri Apr 1 2005 Miloslav Trmac - 1.4.3-1 +- Update to m4-1.4.3 + +* Wed Mar 02 2005 Karsten Hopp 1.4.2-3 +- build with gcc-4 + +* Sun Feb 27 2005 Florian La Roche +- rebuild + +* Sun Dec 12 2004 Miloslav Trmac - 1.4.2-1 +- Update to m4-1.4.2 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Mon Nov 11 2002 Florian La Roche +- add french translation file + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Wed Jun 19 2002 Florian La Roche +- do not strip apps + +* Fri Jun 14 2002 Florian La Roche +- rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Thu Mar 07 2002 Florian La Roche +- use _infodir on popular request #47465 + +* Sat Jan 05 2002 Florian La Roche +- add URL tag +- improved spec file +- add hack to update config.guess config.sub +- fix to build with newer autoconf versions + +* Sun Jun 24 2001 Elliot Lee +- Bump release + rebuild. + +* Tue Feb 13 2001 Florian La Roche +- signal patch is not necessary anymore +- fix printf buffer overflow problem + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Sat Jun 17 2000 Matt Wilson +- added defattr + +* Mon Jun 5 2000 Bernhard Rosenkraenzer +- FHS compliance +- 1.4.1 +- some fixes to spec file + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 12) + +* Thu Dec 17 1998 Cristian Gafton +- build against glibc 2.1 + +* Fri Apr 24 1998 Prospector System +- translations modified for de, fr, tr + +* Fri Apr 10 1998 Cristian Gafton +- Manhattan build + +* Wed Oct 21 1997 Cristian Gafton +- added info file handling and BuildRoot + +* Mon Jun 02 1997 Erik Troan +- built against glibc +