Compare commits
2 Commits
f60db28db9
...
21bf392315
Author | SHA256 | Date | |
---|---|---|---|
21bf392315 | |||
de111b58b2 |
BIN
xauth-1.1.3.tar.xz
(Stored with Git LFS)
BIN
xauth-1.1.3.tar.xz
(Stored with Git LFS)
Binary file not shown.
3
xauth-1.1.4.tar.xz
Normal file
3
xauth-1.1.4.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e9318141464ad7b4dc0f8564a580f0d20f977c85a388cc40d5a766206151c690
|
||||||
|
size 163696
|
@@ -1,8 +1,8 @@
|
|||||||
Index: xauth-1.1.3/gethost.c
|
Index: xauth-1.1.4/gethost.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xauth-1.1.3.orig/gethost.c
|
--- xauth-1.1.4.orig/gethost.c
|
||||||
+++ xauth-1.1.3/gethost.c
|
+++ xauth-1.1.4/gethost.c
|
||||||
@@ -150,7 +150,8 @@ struct addrlist *get_address_info (
|
@@ -162,7 +162,8 @@ struct addrlist *get_address_info (
|
||||||
int family,
|
int family,
|
||||||
const char *fulldpyname,
|
const char *fulldpyname,
|
||||||
int prefix,
|
int prefix,
|
||||||
@@ -12,7 +12,7 @@ Index: xauth-1.1.3/gethost.c
|
|||||||
{
|
{
|
||||||
struct addrlist *retval = NULL;
|
struct addrlist *retval = NULL;
|
||||||
int len = 0;
|
int len = 0;
|
||||||
@@ -176,7 +177,7 @@ struct addrlist *get_address_info (
|
@@ -188,7 +189,7 @@ struct addrlist *get_address_info (
|
||||||
if (prefix == 0 && (strncmp (fulldpyname, "unix:", 5) == 0 ||
|
if (prefix == 0 && (strncmp (fulldpyname, "unix:", 5) == 0 ||
|
||||||
fulldpyname[0] == ':')) {
|
fulldpyname[0] == ':')) {
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ Index: xauth-1.1.3/gethost.c
|
|||||||
len = 0;
|
len = 0;
|
||||||
} else {
|
} else {
|
||||||
src = buf;
|
src = buf;
|
||||||
@@ -252,7 +253,7 @@ struct addrlist *get_address_info (
|
@@ -270,7 +271,7 @@ struct addrlist *get_address_info (
|
||||||
src = &(sin->sin_addr);
|
src = &(sin->sin_addr);
|
||||||
if (*(const in_addr_t *) src == htonl(INADDR_LOOPBACK)) {
|
if (*(const in_addr_t *) src == htonl(INADDR_LOOPBACK)) {
|
||||||
family = FamilyLocal;
|
family = FamilyLocal;
|
||||||
@@ -30,7 +30,7 @@ Index: xauth-1.1.3/gethost.c
|
|||||||
src = buf;
|
src = buf;
|
||||||
len = strlen (buf);
|
len = strlen (buf);
|
||||||
} else
|
} else
|
||||||
@@ -267,7 +268,7 @@ struct addrlist *get_address_info (
|
@@ -286,7 +287,7 @@ struct addrlist *get_address_info (
|
||||||
if (!IN6_IS_ADDR_V4MAPPED((const struct in6_addr *)src)) {
|
if (!IN6_IS_ADDR_V4MAPPED((const struct in6_addr *)src)) {
|
||||||
if (IN6_IS_ADDR_LOOPBACK((const struct in6_addr *)src)) {
|
if (IN6_IS_ADDR_LOOPBACK((const struct in6_addr *)src)) {
|
||||||
family = FamilyLocal;
|
family = FamilyLocal;
|
||||||
@@ -39,7 +39,7 @@ Index: xauth-1.1.3/gethost.c
|
|||||||
src = buf;
|
src = buf;
|
||||||
len = strlen (buf);
|
len = strlen (buf);
|
||||||
} else
|
} else
|
||||||
@@ -322,7 +323,7 @@ struct addrlist *get_address_info (
|
@@ -342,7 +343,7 @@ struct addrlist *get_address_info (
|
||||||
src = (char *) &hostinetaddr;
|
src = (char *) &hostinetaddr;
|
||||||
if (*(const in_addr_t *) src == htonl(INADDR_LOOPBACK)) {
|
if (*(const in_addr_t *) src == htonl(INADDR_LOOPBACK)) {
|
||||||
family = FamilyLocal;
|
family = FamilyLocal;
|
||||||
@@ -48,10 +48,10 @@ Index: xauth-1.1.3/gethost.c
|
|||||||
src = buf;
|
src = buf;
|
||||||
len = strlen (buf);
|
len = strlen (buf);
|
||||||
} else {
|
} else {
|
||||||
Index: xauth-1.1.3/parsedpy.c
|
Index: xauth-1.1.4/parsedpy.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xauth-1.1.3.orig/parsedpy.c
|
--- xauth-1.1.4.orig/parsedpy.c
|
||||||
+++ xauth-1.1.3/parsedpy.c
|
+++ xauth-1.1.4/parsedpy.c
|
||||||
@@ -70,20 +70,23 @@ copystring (const char *src, int len)
|
@@ -70,20 +70,23 @@ copystring (const char *src, int len)
|
||||||
|
|
||||||
|
|
||||||
@@ -96,10 +96,10 @@ Index: xauth-1.1.3/parsedpy.c
|
|||||||
family = FamilyInternet;
|
family = FamilyInternet;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
Index: xauth-1.1.3/process.c
|
Index: xauth-1.1.4/process.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xauth-1.1.3.orig/process.c
|
--- xauth-1.1.4.orig/process.c
|
||||||
+++ xauth-1.1.3/process.c
|
+++ xauth-1.1.4/process.c
|
||||||
@@ -491,7 +491,7 @@ read_auth_entries(FILE *fp, Bool numeric
|
@@ -491,7 +491,7 @@ read_auth_entries(FILE *fp, Bool numeric
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@ Index: xauth-1.1.3/process.c
|
|||||||
if (addrlist_head) {
|
if (addrlist_head) {
|
||||||
char buf[40]; /* want to hold largest display num */
|
char buf[40]; /* want to hold largest display num */
|
||||||
unsigned short dpylen;
|
unsigned short dpylen;
|
||||||
@@ -1288,6 +1290,12 @@ iterdpy (const char *inputfilename, int
|
@@ -1295,6 +1297,12 @@ iterdpy (const char *inputfilename, int
|
||||||
int errors = 0;
|
int errors = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -137,7 +137,7 @@ Index: xauth-1.1.3/process.c
|
|||||||
* iterate
|
* iterate
|
||||||
*/
|
*/
|
||||||
for (int i = start; i < argc; i++) {
|
for (int i = start; i < argc; i++) {
|
||||||
@@ -1296,7 +1304,7 @@ iterdpy (const char *inputfilename, int
|
@@ -1303,7 +1311,7 @@ iterdpy (const char *inputfilename, int
|
||||||
AuthList *next;
|
AuthList *next;
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
@@ -146,7 +146,7 @@ Index: xauth-1.1.3/process.c
|
|||||||
prefix (inputfilename, lineno);
|
prefix (inputfilename, lineno);
|
||||||
baddisplayname (displayname, argv[0]);
|
baddisplayname (displayname, argv[0]);
|
||||||
errors++;
|
errors++;
|
||||||
@@ -1659,7 +1667,7 @@ do_add(const char *inputfilename, int li
|
@@ -1666,7 +1674,7 @@ do_add(const char *inputfilename, int li
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -155,10 +155,10 @@ Index: xauth-1.1.3/process.c
|
|||||||
prefix (inputfilename, lineno);
|
prefix (inputfilename, lineno);
|
||||||
baddisplayname (dpyname, argv[0]);
|
baddisplayname (dpyname, argv[0]);
|
||||||
free (key);
|
free (key);
|
||||||
Index: xauth-1.1.3/xauth.h
|
Index: xauth-1.1.4/xauth.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xauth-1.1.3.orig/xauth.h
|
--- xauth-1.1.4.orig/xauth.h
|
||||||
+++ xauth-1.1.3/xauth.h
|
+++ xauth-1.1.4/xauth.h
|
||||||
@@ -48,10 +48,10 @@ struct addrlist {
|
@@ -48,10 +48,10 @@ struct addrlist {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 9 04:00:16 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.1.4
|
||||||
|
Support for using getaddrinfo() and inet_ntop() was originally added to
|
||||||
|
support IPv6, and only used if IPv6 support was enabled. Two decades later,
|
||||||
|
these interfaces are ubiquitous and OS'es have starting marking the old
|
||||||
|
interfaces as deprecated, so this release changes to use the modern interface
|
||||||
|
whenever we can now. (Note that code included from libxtrans will only use
|
||||||
|
these interfaces when IPv6 is disabled if building against libxtrans 1.6.0
|
||||||
|
or later.)
|
||||||
|
- refreshed xauth-tolerant-hostname-changes.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 4 03:59:59 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
Mon Mar 4 03:59:59 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xauth
|
# spec file for package xauth
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: xauth
|
Name: xauth
|
||||||
Version: 1.1.3
|
Version: 1.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utility to edit and display the X authorization information
|
Summary: Utility to edit and display the X authorization information
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Reference in New Issue
Block a user