Compare commits

..

No commits in common. 'cs10' and 'c9' have entirely different histories.
cs10 ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/xauth-1.1.2.tar.xz
SOURCES/xauth-1.1.tar.bz2

@ -1 +1 @@
69be26cdb94d1a467f6511bac4bfcf540baf9904 SOURCES/xauth-1.1.2.tar.xz
16180e36d75a23cb182cb91e78f24273f1a63967 SOURCES/xauth-1.1.tar.bz2

@ -0,0 +1,21 @@
diff -r -u xauth-1.0.10-orig/gethost.c xauth-1.0.10/gethost.c
--- xauth-1.0.10-orig/gethost.c 2017-01-29 22:00:12.000000000 +0100
+++ xauth-1.0.10/gethost.c 2020-08-20 16:18:08.399196240 +0200
@@ -202,14 +202,14 @@
strncpy(path, fulldpyname, sizeof(path));
path[sizeof(path) - 1] = '\0';
#endif
- if (0 == stat(path, &sbuf)) {
+ if (0 == stat(path, &sbuf) && S_ISSOCK(sbuf.st_mode) ) {
is_path_to_socket = 1;
} else {
char *dot = strrchr(path, '.');
if (dot) {
*dot = '\0';
/* screen = atoi(dot + 1); */
- if (0 == stat(path, &sbuf)) {
+ if (0 == stat(path, &sbuf) && S_ISSOCK(sbuf.st_mode)) {
is_path_to_socket = 1;
}
}
Nur in xauth-1.0.10: gethost.c~.

@ -2,14 +2,15 @@
Summary: X.Org X11 X authority utilities
Name: xorg-x11-%{pkgname}
Version: 1.1.2
Release: 8%{?dist}
Version: 1.1
Release: 10%{?dist}
# NOTE: Remove Epoch line if package gets renamed
Epoch: 1
License: MIT-open-group
License: MIT
URL: https://www.x.org
Source0: https://www.x.org/pub/individual/app/%{pkgname}-%{version}.tar.xz
Source0: https://www.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2
Patch0: ISSOCK.patch
BuildRequires: make
BuildRequires: pkgconfig automake gcc
@ -17,6 +18,10 @@ BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXext-devel
BuildRequires: libXmu-devel
%if 0
BuildRequires: cmdtest
BuildRequires: python2-markdown
%endif
Provides: xauth
@ -26,6 +31,7 @@ used in connecting to an X server.
%prep
%setup -q -n %{pkgname}-%{version}
%patch0 -p1
%build
%configure
@ -34,9 +40,10 @@ used in connecting to an X server.
%install
%make_install
# Check can be enabled in v1.1.2 or newer
%if 0
%check
make check || cat tests/test-suite.log
%endif
%files
%doc COPYING README.md
@ -44,39 +51,12 @@ make check || cat tests/test-suite.log
%{_mandir}/man1/xauth.1*
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:1.1.2-8
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.1-10
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:1.1.2-7
- Bump release for June 2024 mass rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Sep 28 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.1.2-5
- SPDX migration
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 18 2022 Dr. Tilmann Bubeck <bubeck@fedoraproject.org> - 1:1.1.2-1
- Update to v1.1.2
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Nov 29 2021 Dr. Tilmann Bubeck <bubeck@fedoraproject.org> - 1:1.1.1-1
- Update to v1.1.1
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.1-9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save