Compare commits

..

No commits in common. 'c9' and 'c10-beta' have entirely different histories.
c9 ... c10-beta

2
.gitignore vendored

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

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

@ -1,21 +0,0 @@
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,15 +2,14 @@
Summary: X.Org X11 X authority utilities
Name: xorg-x11-%{pkgname}
Version: 1.1
Release: 10%{?dist}
Version: 1.1.2
Release: 7%{?dist}
# NOTE: Remove Epoch line if package gets renamed
Epoch: 1
License: MIT
License: MIT-open-group
URL: https://www.x.org
Source0: https://www.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2
Patch0: ISSOCK.patch
Source0: https://www.x.org/pub/individual/app/%{pkgname}-%{version}.tar.xz
BuildRequires: make
BuildRequires: pkgconfig automake gcc
@ -18,10 +17,6 @@ BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXext-devel
BuildRequires: libXmu-devel
%if 0
BuildRequires: cmdtest
BuildRequires: python2-markdown
%endif
Provides: xauth
@ -31,7 +26,6 @@ used in connecting to an X server.
%prep
%setup -q -n %{pkgname}-%{version}
%patch0 -p1
%build
%configure
@ -40,10 +34,9 @@ used in connecting to an X server.
%install
%make_install
%if 0
# Check can be enabled in v1.1.2 or newer
%check
make check || cat tests/test-suite.log
%endif
%files
%doc COPYING README.md
@ -51,12 +44,35 @@ make check || cat tests/test-suite.log
%{_mandir}/man1/xauth.1*
%changelog
* 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
* 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
* 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
* 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