Compare commits
	
		
			No commits in common. "c8" and "c9s" have entirely different histories.
		
	
	
		
	
		
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1,3 @@ | |||||||
| SOURCES/libXau-1.0.9.tar.bz2 | libXau-1.0.6.tar.bz2 | ||||||
|  | /libXau-1.0.8.tar.bz2 | ||||||
|  | /libXau-1.0.9.tar.bz2 | ||||||
|  | |||||||
| @ -1 +0,0 @@ | |||||||
| ef9b1ad00f958c8b6e30a1bbc11fdfac311c9733 SOURCES/libXau-1.0.9.tar.bz2 |  | ||||||
							
								
								
									
										6
									
								
								gating.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								gating.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | --- !Policy | ||||||
|  | product_versions: | ||||||
|  |   - rhel-9 | ||||||
|  | decision_context: osci_compose_gate | ||||||
|  | rules: | ||||||
|  |   - !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional} | ||||||
| @ -1,15 +1,15 @@ | |||||||
| Summary: Sample Authorization Protocol for X | Summary: Sample Authorization Protocol for X | ||||||
| Name: libXau | Name: libXau | ||||||
| Version: 1.0.9 | Version: 1.0.9 | ||||||
| Release: 3%{?dist} | Release: 8%{?dist} | ||||||
| License: MIT | License: MIT | ||||||
| Group: System Environment/Libraries |  | ||||||
| URL: http://www.x.org | URL: http://www.x.org | ||||||
| 
 | 
 | ||||||
| Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 | Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 | ||||||
| 
 | 
 | ||||||
| #Patch0: xau-1.0.4-local.patch | #Patch0: xau-1.0.4-local.patch | ||||||
| 
 | 
 | ||||||
|  | BuildRequires: make | ||||||
| BuildRequires: xorg-x11-util-macros | BuildRequires: xorg-x11-util-macros | ||||||
| BuildRequires: autoconf automake libtool | BuildRequires: autoconf automake libtool | ||||||
| BuildRequires: pkgconfig | BuildRequires: pkgconfig | ||||||
| @ -24,7 +24,6 @@ called a "magic cookie". | |||||||
| 
 | 
 | ||||||
| %package devel | %package devel | ||||||
| Summary: Development files for %{name} | Summary: Development files for %{name} | ||||||
| Group: Development/Libraries |  | ||||||
| Requires: %{name} = %{version}-%{release} | Requires: %{name} = %{version}-%{release} | ||||||
| Requires: xorg-x11-proto-devel | Requires: xorg-x11-proto-devel | ||||||
| Requires: pkgconfig | Requires: pkgconfig | ||||||
| @ -69,6 +68,22 @@ make check | |||||||
| %{_mandir}/man3/*.3* | %{_mandir}/man3/*.3* | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.9-8 | ||||||
|  | - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags | ||||||
|  |   Related: rhbz#1991688 | ||||||
|  | 
 | ||||||
|  | * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.9-7 | ||||||
|  | - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 | ||||||
|  | 
 | ||||||
|  | * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-6 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Thu Nov  5 11:13:29 AEST 2020 Peter Hutterer <peter.hutterer@redhat.com> - 1.0.9-5 | ||||||
|  | - Add BuildRequires for make | ||||||
|  | 
 | ||||||
|  | * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-4 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild | ||||||
|  | 
 | ||||||
| * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-3 | * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-3 | ||||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild | - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
							
								
								
									
										1
									
								
								sources
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								sources
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | SHA512 (libXau-1.0.9.tar.bz2) = 3ca454ba466a807ea28b0f715066d73dc76ad312697b121d43e4d5766215052e9b7ffb8fe3ed3e496fa3f2a13f164ac692ff85cc428e26731b679f0f06a1d562 | ||||||
							
								
								
									
										71
									
								
								xau-1.0.4-local.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								xau-1.0.4-local.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,71 @@ | |||||||
|  | diff -up libXau-1.0.6/AuGetBest.c.jx libXau-1.0.6/AuGetBest.c
 | ||||||
|  | --- libXau-1.0.6/AuGetBest.c.jx	2009-02-16 12:59:07.000000000 -0500
 | ||||||
|  | +++ libXau-1.0.6/AuGetBest.c	2011-10-12 11:19:41.259897224 -0400
 | ||||||
|  | @@ -168,6 +168,67 @@ XauGetBestAuthByAddr (
 | ||||||
|  |  	} | ||||||
|  |  	XauDisposeAuth (entry); | ||||||
|  |      } | ||||||
|  | +    if (!best) {
 | ||||||
|  | +	rewind (auth_file);
 | ||||||
|  | +	for (;;) {
 | ||||||
|  | +	    entry = XauReadAuth (auth_file);
 | ||||||
|  | +	    if (!entry)
 | ||||||
|  | +		break;
 | ||||||
|  | +	    /*
 | ||||||
|  | +	     * Match when:
 | ||||||
|  | +	     *   either family or entry->family are FamilyWild or
 | ||||||
|  | +	     *    family and entry->family are the same and
 | ||||||
|  | +	     *     address and entry->address are the same or
 | ||||||
|  | +	     *     family is FamilyLocal
 | ||||||
|  | +	     *  and
 | ||||||
|  | +	     *   either number or entry->number are empty or
 | ||||||
|  | +	     *    number and entry->number are the same
 | ||||||
|  | +	     *  and
 | ||||||
|  | +	     *   either name or entry->name are empty or
 | ||||||
|  | +	     *    name and entry->name are the same
 | ||||||
|  | +	     */
 | ||||||
|  | +
 | ||||||
|  | +	    if ((family == FamilyWild || entry->family == FamilyWild ||
 | ||||||
|  | +		 (entry->family == family &&
 | ||||||
|  | +		 ((address_length == entry->address_length &&
 | ||||||
|  | +		  binaryEqual (entry->address, address, (int)address_length))
 | ||||||
|  | +#ifdef hpux
 | ||||||
|  | +		 || (family == FamilyLocal &&
 | ||||||
|  | +		    fully_qual_address_length == entry->address_length &&
 | ||||||
|  | +		    binaryEqual (entry->address, fully_qual_address,
 | ||||||
|  | +			(int) fully_qual_address_length))
 | ||||||
|  | +#endif
 | ||||||
|  | +		 || (family == FamilyLocal)
 | ||||||
|  | +		))) &&
 | ||||||
|  | +		(number_length == 0 || entry->number_length == 0 ||
 | ||||||
|  | +		 (number_length == entry->number_length &&
 | ||||||
|  | +		  binaryEqual (entry->number, number, (int)number_length))))
 | ||||||
|  | +	    {
 | ||||||
|  | +		if (best_type == 0)
 | ||||||
|  | +		{
 | ||||||
|  | +		    best = entry;
 | ||||||
|  | +		    break;
 | ||||||
|  | +		}
 | ||||||
|  | +		for (type = 0; type < best_type; type++)
 | ||||||
|  | +		    if (type_lengths[type] == entry->name_length &&
 | ||||||
|  | +			!(strncmp (types[type], entry->name, entry->name_length)))
 | ||||||
|  | +		    {
 | ||||||
|  | +			break;
 | ||||||
|  | +		    }
 | ||||||
|  | +		if (type < best_type)
 | ||||||
|  | +		{
 | ||||||
|  | +		    if (best)
 | ||||||
|  | +			XauDisposeAuth (best);
 | ||||||
|  | +		    best = entry;
 | ||||||
|  | +		    best_type = type;
 | ||||||
|  | +		    if (type == 0)
 | ||||||
|  | +			break;
 | ||||||
|  | +		    continue;
 | ||||||
|  | +		}
 | ||||||
|  | +	    }
 | ||||||
|  | +	    XauDisposeAuth (entry);
 | ||||||
|  | +	}
 | ||||||
|  | +    }
 | ||||||
|  |      (void) fclose (auth_file); | ||||||
|  |      return best; | ||||||
|  |  } | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user