Update to v1.1.1

This commit is contained in:
Dr. Tilmann Bubeck 2021-11-29 22:37:09 +01:00
parent 052f4335be
commit adbb133648
4 changed files with 8 additions and 30 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ xauth-1.0.2.tar.bz2
/xauth-1.0.7.tar.bz2 /xauth-1.0.7.tar.bz2
/xauth-1.0.9.tar.bz2 /xauth-1.0.9.tar.bz2
/xauth-1.1.tar.bz2 /xauth-1.1.tar.bz2
/xauth-1.1.1.tar.bz2

View File

@ -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~.

View File

@ -1 +1 @@
SHA512 (xauth-1.1.tar.bz2) = b6ecd59a853a491ef45bf8cfbff63bed36645f81cb79ae9d18458b57f7502bccf92f0d979d3337578518646f680ad379e67b1dac15a927cbb11372733e7a3a0c SHA512 (xauth-1.1.1.tar.bz2) = 998c3158378fff50d368959c29335173b8d98e02591cb3d7b2f9534b5a44b19deb4cb7da9bf291ca5a37f69f833d72839b2c6611723306d10c1b4968ae4d4120

View File

@ -2,15 +2,14 @@
Summary: X.Org X11 X authority utilities Summary: X.Org X11 X authority utilities
Name: xorg-x11-%{pkgname} Name: xorg-x11-%{pkgname}
Version: 1.1 Version: 1.1.1
Release: 9%{?dist} Release: 1%{?dist}
# NOTE: Remove Epoch line if package gets renamed # NOTE: Remove Epoch line if package gets renamed
Epoch: 1 Epoch: 1
License: MIT License: MIT
URL: https://www.x.org URL: https://www.x.org
Source0: https://www.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2 Source0: https://www.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2
Patch0: ISSOCK.patch
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig automake gcc BuildRequires: pkgconfig automake gcc
@ -18,10 +17,6 @@ BuildRequires: libX11-devel
BuildRequires: libXau-devel BuildRequires: libXau-devel
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXmu-devel BuildRequires: libXmu-devel
%if 0
BuildRequires: cmdtest
BuildRequires: python2-markdown
%endif
Provides: xauth Provides: xauth
@ -31,7 +26,6 @@ used in connecting to an X server.
%prep %prep
%setup -q -n %{pkgname}-%{version} %setup -q -n %{pkgname}-%{version}
%patch0 -p1
%build %build
%configure %configure
@ -40,6 +34,7 @@ used in connecting to an X server.
%install %install
%make_install %make_install
# Check can be enabled in v1.1.2 or newer
%if 0 %if 0
%check %check
make check || cat tests/test-suite.log make check || cat tests/test-suite.log
@ -51,6 +46,9 @@ make check || cat tests/test-suite.log
%{_mandir}/man1/xauth.1* %{_mandir}/man1/xauth.1*
%changelog %changelog
* Mon Nov 29 2021 Dr. Tilmann Bubeck <bubeck@fedoraproject.org> - 1:1.1.1-9
- Update to v1.1.1
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-9 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild