Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
|
c6dea92a87 | |
|
b227d62aee | |
|
0800518f25 | |
|
7340c5eaea | |
|
5e325244c6 | |
|
5895d839ff | |
|
03b9883262 | |
|
ba2b6ed780 | |
|
7e43fa2de3 | |
|
b2e3e45609 |
|
@ -0,0 +1,37 @@
|
||||||
|
Avoid implicit function declarations, a C feature removed in 1999.
|
||||||
|
|
||||||
|
diff --git a/aclocal.m4 b/aclocal.m4
|
||||||
|
index a357ef74b30a09a6..2d2af334d5369e8e 100644
|
||||||
|
--- a/aclocal.m4
|
||||||
|
+++ b/aclocal.m4
|
||||||
|
@@ -6727,6 +6727,7 @@ AC_DEFUN(AC_LIBELF_SXWORD,
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
static unsigned char sparc64_elf[] = {
|
||||||
|
0x7f,0x45,0x4c,0x46,0x02,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
diff --git a/configure b/configure
|
||||||
|
index 9f2a746fbf3f7471..960e140559761417 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -4438,8 +4438,8 @@ main ()
|
||||||
|
for (i = 0; i < 256; i++)
|
||||||
|
if (XOR (islower (i), ISLOWER (i))
|
||||||
|
|| toupper (i) != TOUPPER (i))
|
||||||
|
- exit(2);
|
||||||
|
- exit (0);
|
||||||
|
+ return 2;
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest$ac_exeext
|
||||||
|
@@ -19411,6 +19411,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
static unsigned char sparc64_elf[] = {
|
||||||
|
0x7f,0x45,0x4c,0x46,0x02,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
Name: execstack
|
Name: execstack
|
||||||
Version: 0.5.0
|
Version: 0.5.0
|
||||||
Release: 15%{?dist}
|
Release: 24%{?dist}
|
||||||
Summary: Utility to set/clear/query executable stack bit
|
Summary: Utility to set/clear/query executable stack bit
|
||||||
|
|
||||||
%global commit 4c79120bcdbde0616f592458ccde7035e92ca3d8
|
%global commit 4c79120bcdbde0616f592458ccde7035e92ca3d8
|
||||||
|
@ -11,12 +11,14 @@ License: GPLv2+
|
||||||
Source0: https://github.com/keszybz/prelink/archive/%{commit}.tar.gz#/prelink-%{shortcommit}.tar.gz
|
Source0: https://github.com/keszybz/prelink/archive/%{commit}.tar.gz#/prelink-%{shortcommit}.tar.gz
|
||||||
|
|
||||||
Patch0: Add-PL_ARCH-for-AArch64.patch
|
Patch0: Add-PL_ARCH-for-AArch64.patch
|
||||||
|
Patch1: execstack-configure-c99.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: elfutils-libelf-devel
|
BuildRequires: elfutils-libelf-devel
|
||||||
BuildRequires: libselinux-devel, libselinux-utils
|
BuildRequires: libselinux-devel, libselinux-utils
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
|
BuildRequires: make
|
||||||
Requires: glibc >= 2.2.4-18, coreutils, findutils
|
Requires: glibc >= 2.2.4-18, coreutils, findutils
|
||||||
Requires: util-linux, gawk, grep
|
Requires: util-linux, gawk, grep
|
||||||
|
|
||||||
|
@ -57,6 +59,33 @@ install -Dm0644 doc/execstack.8 %{buildroot}%{_mandir}/man8/execstack.8
|
||||||
%{_mandir}/man8/execstack.8.*
|
%{_mandir}/man8/execstack.8.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 22 2022 Florian Weimer <fweimer@redhat.com> - 0.5.0-24
|
||||||
|
- Avoid implicit function declarations in configure (#2144890)
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-22
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-15
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-15
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue