Update to v1.1.1
This commit is contained in:
parent
052f4335be
commit
adbb133648
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ xauth-1.0.2.tar.bz2
|
||||
/xauth-1.0.7.tar.bz2
|
||||
/xauth-1.0.9.tar.bz2
|
||||
/xauth-1.1.tar.bz2
|
||||
/xauth-1.1.1.tar.bz2
|
||||
|
21
ISSOCK.patch
21
ISSOCK.patch
@ -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
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (xauth-1.1.tar.bz2) = b6ecd59a853a491ef45bf8cfbff63bed36645f81cb79ae9d18458b57f7502bccf92f0d979d3337578518646f680ad379e67b1dac15a927cbb11372733e7a3a0c
|
||||
SHA512 (xauth-1.1.1.tar.bz2) = 998c3158378fff50d368959c29335173b8d98e02591cb3d7b2f9534b5a44b19deb4cb7da9bf291ca5a37f69f833d72839b2c6611723306d10c1b4968ae4d4120
|
||||
|
@ -2,15 +2,14 @@
|
||||
|
||||
Summary: X.Org X11 X authority utilities
|
||||
Name: xorg-x11-%{pkgname}
|
||||
Version: 1.1
|
||||
Release: 9%{?dist}
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
# NOTE: Remove Epoch line if package gets renamed
|
||||
Epoch: 1
|
||||
License: MIT
|
||||
URL: https://www.x.org
|
||||
|
||||
Source0: https://www.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2
|
||||
Patch0: ISSOCK.patch
|
||||
|
||||
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,6 +34,7 @@ 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
|
||||
@ -51,6 +46,9 @@ make check || cat tests/test-suite.log
|
||||
%{_mandir}/man1/xauth.1*
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user