Compare commits

...

No commits in common. 'i10ce' and 'epel8' have entirely different histories.
i10ce ... epel8

3
.gitignore vendored

@ -1 +1,2 @@
SOURCES/openpgm-5.2.122.tar.gz /openpgm-?.?.???.tar.gz
/openpgm-release-?-?-???/

@ -1 +0,0 @@
2e7e9b91e988f37d356b53871ae8fce8c29619d6 SOURCES/openpgm-5.2.122.tar.gz

@ -1,32 +0,0 @@
Include <grp.h> for the setgroups function. This avoids an implicit
function declaration and build failures with C99 compilers that do not
support them.
Submitted upstream: <https://github.com/steve-o/openpgm/pull/73>
diff -ur openpgm-release-5-2-122.orig/openpgm/pgm/configure.ac openpgm-release-5-2-122/openpgm/pgm/configure.ac
--- openpgm-release-5-2-122.orig/openpgm/pgm/configure.ac 2012-12-04 03:56:54.000000000 +0100
+++ openpgm-release-5-2-122/openpgm/pgm/configure.ac 2023-01-03 16:07:39.751560631 +0100
@@ -62,7 +62,7 @@
# Checks for header files.
AC_FUNC_ALLOCA
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h inttypes.h libintl.h limits.h locale.h malloc.h memory.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h wchar.h])
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h grp.h inttypes.h libintl.h limits.h locale.h malloc.h memory.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h wchar.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
diff -ur openpgm-release-5-2-122.orig/openpgm/pgm/engine.c openpgm-release-5-2-122/openpgm/pgm/engine.c
--- openpgm-release-5-2-122.orig/openpgm/pgm/engine.c 2023-01-03 16:03:16.834181524 +0100
+++ openpgm-release-5-2-122/openpgm/pgm/engine.c 2023-01-03 16:08:05.458304376 +0100
@@ -31,6 +31,10 @@
# include <config.h>
#endif
+#ifdef HAVE_GRP_H
+# include <grp.h>
+#endif
+
#ifndef _BSD_SOURCE
# define _BSD_SOURCE 1 /* getprotobyname_r */
#endif

@ -1,18 +0,0 @@
Include <stdio.h> for the printf function. This avoids an implicit
function declaration in this configure check, causing to fail
unconditionally with compilers that do not support them.
Submitted upstream: <https://github.com/steve-o/openpgm/pull/73>
diff -ur openpgm-release-5-2-122.orig/openpgm/pgm/configure.ac openpgm-release-5-2-122/openpgm/pgm/configure.ac
--- openpgm-release-5-2-122.orig/openpgm/pgm/configure.ac 2012-12-04 03:56:54.000000000 +0100
+++ openpgm-release-5-2-122/openpgm/pgm/configure.ac 2023-01-03 16:07:39.751560631 +0100
@@ -207,7 +207,7 @@
# sprintf, caveat http://savannah.gnu.org/patch/?6848 (ax_c_printf_thsep)
AC_MSG_CHECKING([for printf thousands' grouping])
AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(,[[printf ("%'d", 1000000);]])],
+ [AC_LANG_PROGRAM([[#include <stdio.h>]],[[printf ("%'d", 1000000);]])],
[AC_MSG_RESULT([yes])
CFLAGS="$CFLAGS -DHAVE_SPRINTF_GROUPING"],
[AC_MSG_RESULT([no])])

@ -4,10 +4,11 @@ Version: 5.2.122
%global version_main 5.2 %global version_main 5.2
%global version_dash_main 5-2 %global version_dash_main 5-2
%global version_dash %{version_dash_main}-122 %global version_dash %{version_dash_main}-122
Release: 36%{?dist} Release: 21%{?dist}
Summary: An implementation of the PGM reliable multicast protocol Summary: An implementation of the PGM reliable multicast protocol
License: LGPL-2.1-or-later # The license is LGPLv2.1
License: LGPLv2
# New URL is https://github.com/steve-o/openpgm # New URL is https://github.com/steve-o/openpgm
# The files are now on https://code.google.com/archive/p/openpgm/downloads # The files are now on https://code.google.com/archive/p/openpgm/downloads
URL: https://github.com/steve-o/%{name} URL: https://github.com/steve-o/%{name}
@ -19,10 +20,7 @@ Patch2: openpgm-02-c-func.patch
Patch3: openpgm-03-pkgconfig.patch Patch3: openpgm-03-pkgconfig.patch
Patch4: openpgm-04-py-version-gen.patch Patch4: openpgm-04-py-version-gen.patch
Patch5: openpgm-05-fix-setgid.patch Patch5: openpgm-05-fix-setgid.patch
Patch6: openpgm-configure-c99.patch
Patch7: openpgm-c99.patch
BuildRequires: make
BuildRequires: libtool automake autoconf BuildRequires: libtool automake autoconf
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python3 BuildRequires: python3
@ -45,15 +43,12 @@ This package contains OpenPGM related development libraries and header files.
%prep %prep
%setup -q -n %{name}-release-%{version_dash}/%{name}/%{name_alias} %setup -q -n %{name}-release-%{version_dash}/%{name}/%{name_alias}
%patch -P2 -p3 %patch2 -p3
%patch -P3 -p3 %patch3 -p3
%patch -P4 -p3 %patch4 -p3
%patch -P5 -p3 %patch5 -p3
%patch -P6 -p3
%patch -P7 -p3
dos2unix examples/getopt.c examples/getopt.h dos2unix examples/getopt.c examples/getopt.h
%build
libtoolize --force --copy libtoolize --force --copy
aclocal aclocal
autoheader autoheader
@ -61,15 +56,7 @@ automake --copy --add-missing
autoconf autoconf
%configure %configure
# This package has a configure test which uses ASMs, but does not link the %build
# resultant .o files. As such the ASM test is always successful, even on
# architectures were the ASM is not valid when compiling with LTO.
#
# -ffat-lto-objects is sufficient to address this issue. It is the default
# for F33, but is expected to only be enabled for packages that need it in
# F34, so we use it here explicitly
%define _lto_cflags -flto=auto -ffat-lto-objects
%make_build %make_build
%install %install
@ -94,54 +81,6 @@ mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{b
%changelog %changelog
* Mon Dec 23 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.2.122-36
- Rebuilt for MSVSphere 10
* Mon Sep 2 2024 Miroslav Suchý <msuchy@redhat.com> - 5.2.122-36
- convert license to SPDX
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Jan 3 2023 Florian Weimer <fweimer@redhat.com> - 5.2.122-30
- C99 compatibility fixes
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 5.2.122-25
- Re-enable LTO
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Jeff Law <law@redhat.com> - 5.2.122-23
- Disable LTO
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.122-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Nov 10 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-21 * Sun Nov 10 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-21
- The header files are now installed directly in /usr/include - The header files are now installed directly in /usr/include

@ -0,0 +1 @@
SHA512 (openpgm-5.2.122.tar.gz) = f8b29fb69acb548536179262665c0cdcc8bb1510d3e970d6abebaf33e301f87fbfa7e2c46e387973d8b65470350af66b3130482269b9fbb15fe7bf98b52f6404
Loading…
Cancel
Save