libxau: Changes to 'upstream-unstable'

2013-06-13 Thread Julien Cristau
 AuFileName.c|   30 ++
 AuGetAddr.c |   15 ---
 AuGetBest.c |   15 ---
 AuLock.c|   33 -
 AuRead.c|4 ++--
 AuUnlock.c  |   10 --
 AuWrite.c   |4 ++--
 Makefile.am |3 +--
 autogen.sh  |4 +++-
 configure.ac|7 +--
 include/X11/Xauth.h |   12 
 man/Xau.man |   50 --
 12 files changed, 95 insertions(+), 92 deletions(-)

New commits:
commit 899790011304c4029e15abf410e49ce7cec17e0a
Author: Alan Coopersmith alan.coopersm...@oracle.com
Date:   Fri May 24 15:04:00 2013 -0700

libXau 1.0.8

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

diff --git a/configure.ac b/configure.ac
index e55cfce..7f914ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([libXau], [1.0.7],
+AC_INIT([libXau], [1.0.8],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXau])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])

commit f5a57d8a21a34d7084cce294e24c0422e02ef8ef
Author: Alan Coopersmith alan.coopersm...@oracle.com
Date:   Sat Mar 30 11:42:09 2013 -0700

Use remove() instead of unlink() to delete lock files

In normal cases, no difference.  If someone has accidentally created
a directory with those names, this can save you from needing to fsck
to clean it up on some filesystems (like UFS).

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

diff --git a/AuLock.c b/AuLock.c
index ce15f25..5dfc174 100644
--- a/AuLock.c
+++ b/AuLock.c
@@ -64,8 +64,8 @@ long  dead)
 * case a 0 deadtime to force lock removal
 */
if (dead == 0 || now - statb.st_ctime  dead) {
-   (void) unlink (creat_name);
-   (void) unlink (link_name);
+   (void) remove (creat_name);
+   (void) remove (link_name);
}
 }
 
diff --git a/AuUnlock.c b/AuUnlock.c
index 309ba6d..b817246 100644
--- a/AuUnlock.c
+++ b/AuUnlock.c
@@ -49,9 +49,9 @@ _Xconst char *file_name)
  * I think this is the correct order
  */
 #ifndef WIN32
-(void) unlink (creat_name);
+(void) remove (creat_name);
 #endif
-(void) unlink (link_name);
+(void) remove (link_name);
 
 return 1;
 }

commit 4352cf9707df08d51ef891be156d475743d0a060
Author: Alan Coopersmith alan.coopersm...@oracle.com
Date:   Sat Mar 30 11:30:37 2013 -0700

Call memcmp() instead of defining our own equivalent

Stops casting len parameters to int in callers so that this change
doesn't introduce warnings that we're taking unsigned values, casting
them to signed, then passing to a function that wants them unsigned.

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

diff --git a/AuGetAddr.c b/AuGetAddr.c
index 897d8b5..6f5fe16 100644
--- a/AuGetAddr.c
+++ b/AuGetAddr.c
@@ -30,14 +30,7 @@ in this Software without prior written authorization from 
The Open Group.
 #include X11/Xauth.h
 #include X11/Xos.h
 
-static int
-binaryEqual (_Xconst char *a, _Xconst char *b, int len)
-{
-while (len--)
-   if (*a++ != *b++)
-   return 0;
-return 1;
-}
+#define binaryEqual(a, b, len) (memcmp(a, b, len) == 0)
 
 Xauth *
 XauGetAuthByAddr (
@@ -94,13 +87,13 @@ _Xconst char*   name)
if ((family == FamilyWild || entry-family == FamilyWild ||
 (entry-family == family 
  address_length == entry-address_length 
- binaryEqual (entry-address, address, (int)address_length))) 
+ binaryEqual (entry-address, address, address_length))) 
(number_length == 0 || entry-number_length == 0 ||
 (number_length == entry-number_length 
- binaryEqual (entry-number, number, (int)number_length))) 
+ binaryEqual (entry-number, number, number_length))) 
(name_length == 0 || entry-name_length == 0 ||
 (entry-name_length == name_length 
- binaryEqual (entry-name, name, (int)name_length
+ binaryEqual (entry-name, name, name_length
break;
XauDisposeAuth (entry);
 }
diff --git a/AuGetBest.c b/AuGetBest.c
index 673ee40..5556559 100644
--- a/AuGetBest.c
+++ b/AuGetBest.c
@@ -38,14 +38,7 @@ in this Software without prior written authorization from 
The Open Group.
 #include X11/Xos_r.h
 #endif
 
-static int
-binaryEqual (_Xconst char *a, _Xconst char *b, int len)
-{
-while (len--)
-   if (*a++ != *b++)
-   return 0;
-return 1;
-}
+#define binaryEqual(a, b, len) (memcmp(a, b, len) == 0)
 
 Xauth *
 XauGetBestAuthByAddr (
@@ -129,17 +122,17 @@ XauGetBestAuthByAddr (
if ((family == FamilyWild || entry-family == FamilyWild ||
 (entry-family == family 
 ((address_length == 

libxau: Changes to 'upstream-unstable'

2012-04-09 Thread Julien Cristau
 AuDispose.c  |3 
 AuFileName.c |3 
 AuGetAddr.c  |3 
 AuGetBest.c  |3 
 AuLock.c |7 --
 AuRead.c |3 
 AuUnlock.c   |3 
 AuWrite.c|3 
 Autest.c |2 
 Makefile.am  |   35 ---
 README   |6 -
 Xau.man  |  134 ---
 configure.ac |   84 ++
 include/X11/Xauth.h  |4 -
 man/Makefile.am  |   47 +++
 man/Xau.man  |  129 +
 man/XauDisposeAuth.man   |1 
 man/XauFileName.man  |1 
 man/XauGetAuthByAddr.man |1 
 man/XauGetBestAuthByAddr.man |1 
 man/XauLockAuth.man  |1 
 man/XauReadAuth.man  |1 
 man/XauUnlockAuth.man|1 
 man/XauWriteAuth.man |1 
 24 files changed, 236 insertions(+), 241 deletions(-)

New commits:
commit 0e3061495f5da8a323db02e612c4f09688b7ade0
Author: Alan Coopersmith alan.coopersm...@oracle.com
Date:   Tue Mar 6 22:16:57 2012 -0800

libXau 1.0.7

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

diff --git a/configure.ac b/configure.ac
index c21fbcd..92ad113 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([libXau], [1.0.6],
+AC_INIT([libXau], [1.0.7],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXau])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])

commit 5c01ef69eee7dfe925c97558153fcd5e116252c6
Author: Matthew D. Fuller fulle...@over-yonder.net
Date:   Mon Sep 5 10:31:14 2011 -0500

Improve the handling of normal locking collisions.

EEXIST is a perfectly normal and expected errno for open(O_CREAT |
O_EXCL), and is a signal to loop around and retry, not return with an
error.

Signed-off-by: Matthew D. Fuller fulle...@over-yonder.net
Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

diff --git a/AuLock.c b/AuLock.c
index 1eab79a..a816b24 100644
--- a/AuLock.c
+++ b/AuLock.c
@@ -81,7 +81,7 @@ long  dead)
if (creat_fd == -1) {
creat_fd = open (creat_name, O_WRONLY | O_CREAT | O_EXCL, 0600);
if (creat_fd == -1) {
-   if (errno != EACCES)
+   if (errno != EACCES  errno != EEXIST)
return LOCK_ERROR;
} else
(void) close (creat_fd);

commit 8fd15eb0149cec75d69a27b1f8ec3ce092465b80
Author: Alan Coopersmith alan.coopersm...@oracle.com
Date:   Fri Sep 16 22:04:41 2011 -0700

Strip trailing whitespace

Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w  git diff -b show no diffs from this change

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

diff --git a/AuLock.c b/AuLock.c
index c236027..1eab79a 100644
--- a/AuLock.c
+++ b/AuLock.c
@@ -76,7 +76,7 @@ long  dead)
(void) unlink (link_name);
}
 }
-
+
 while (retries  0) {
if (creat_fd == -1) {
creat_fd = open (creat_name, O_WRONLY | O_CREAT | O_EXCL, 0600);
diff --git a/README b/README
index 9ee12e7..249a1a7 100644
--- a/README
+++ b/README
@@ -38,7 +38,7 @@ This scheme involves changes to the following parts of the 
sample release:
-  add entries to user's auth file
-  remove entries from user's auth file
 
-This mechanism assumes that the superuser and the transport layer between 
+This mechanism assumes that the superuser and the transport layer between
 the client and the server is secure.
 
 
@@ -46,7 +46,7 @@ Description
 
 The sample implementation will use the xdm Display Manager to set up and
 control the server's authorization file.  Sites that do not run xdm will
-need to build their own mechanisms.  
+need to build their own mechanisms.
 
 Xdm uses a random key (seeded by the system time and check sum of /dev/kmem)
 to generate a unique sequence of characters at 16 bytes long.  This sequence
@@ -130,7 +130,7 @@ There are three types of input:
name non-NULL, data NULL- use the named authorization; get
  data from that mechanism's default.
name non-NULL, data non-NULL- use the given authorization and data.
-   
+
 This interface is used by xdm and might also be used by any other
 applications that wish to explicitly set the authorization information.
 
diff --git a/configure.ac b/configure.ac
index 09a872e..c21fbcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ if test x$xthreads = xyes ; then
AC_CHECK_LIB(nsl, gethostbyname_r, [mtsafe=yes])
 fi
 

libxau: Changes to 'upstream-unstable'

2010-07-24 Thread Julien Cristau
 .gitignore   |   82 +++-
 INSTALL  |  236 ---
 Makefile.am  |   17 ++--
 Xau.man  |   15 ++-
 configure.ac |   24 ++
 5 files changed, 89 insertions(+), 285 deletions(-)

New commits:
commit a01b74fad039e68cf296bd5e83c6f538181e529a
Author: Julien Cristau jcris...@debian.org
Date:   Mon Jul 19 17:17:54 2010 +0100

Bump to 1.0.6

diff --git a/configure.ac b/configure.ac
index 71f7a00..18771a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ dnl
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ([2.60])
-AC_INIT(libXau, 1.0.5, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],libXau)
+AC_INIT(libXau, 1.0.6, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],libXau)
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 

commit ad12e7a68f69fdc960170c0248f07df68f0fc476
Author: Julien Cristau jcris...@debian.org
Date:   Mon Jul 19 17:18:34 2010 +0100

Require xorg-macros 1.4 for XORG_INSTALL

diff --git a/configure.ac b/configure.ac
index 93b79ca..71f7a00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,8 +30,8 @@ AM_CONFIG_HEADER(config.h)
 
 # Require xorg-macros: XORG_DEFAULT_OPTIONS
 m4_ifndef([XORG_MACROS_VERSION],
-  [m4_fatal([must install xorg-macros 1.3 or later before running 
autoconf/autogen])])
-XORG_MACROS_VERSION(1.3)
+  [m4_fatal([must install xorg-macros 1.4 or later before running 
autoconf/autogen])])
+XORG_MACROS_VERSION(1.4)
 XORG_DEFAULT_OPTIONS
 
 AC_PROG_CC

commit f8f0ec4955e51a2a420724f9bc2287d5a725cb39
Author: Julien Cristau jcris...@debian.org
Date:   Mon Jul 19 17:16:13 2010 +0100

Kill cvs keyword

diff --git a/configure.ac b/configure.ac
index 81263b3..93b79ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,4 @@
 dnl 
-dnl  $Id$
-dnl 
 dnl  Copyright © 2003 Keith Packard, Noah Levitt
 dnl 
 dnl  Permission to use, copy, modify, distribute, and sell this software and 
its

commit 7d42fad5cec59cb0696087bed9745ffd5a999f68
Author: Brice Goglin brice.gog...@ens-lyon.org
Date:   Sat May 29 21:11:14 2010 +0200

Xau.man: Add missing const attributes

Reported by Tom Fogal in
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583599

diff --git a/Xau.man b/Xau.man
index 6ef0b03..cc82bc7 100644
--- a/Xau.man
+++ b/Xau.man
@@ -58,19 +58,19 @@ Xauth *XauReadAuth (FILE *\fIauth_file\fP\^);
 int XauWriteAuth (FILE *\fIauth_file\fP, Xauth *\fIauth\fP\^); 
 .HP
 Xauth *XauGetAuthByAddr (unsigned short \fIfamily\fP\^, unsigned short
-\fIaddress_length\fP\^, char *\fIaddress\fP\^, unsigned short
-\fInumber_length\fP\^, char *\fInumber\fP\^, unsigned short
-\fIname_length\fP\^, char *\fIname\fP\^);
+\fIaddress_length\fP\^, const char *\fIaddress\fP\^, unsigned short
+\fInumber_length\fP\^, const char *\fInumber\fP\^, unsigned short
+\fIname_length\fP\^, const char *\fIname\fP\^);
 .HP
 Xauth *XauGetBestAuthByAddr (unsigned short \fIfamily\fP\^, unsigned short
-\fIaddress_length\fP\^, char *\fIaddress\fP\^, unsigned short
-\fInumber_length\fP\^, char *\fInumber\fP\^, int \fItypes_length\fP\^, char
-**\fItypes\fR\^, int *\fItype_lengths\fR\^); 
+\fIaddress_length\fP\^, const char *\fIaddress\fP\^, unsigned short
+\fInumber_length\fP\^, const char *\fInumber\fP\^, int \fItypes_length\fP\^,
+char **\fItypes\fR\^, const int *\fItype_lengths\fR\^); 
 .HP
-int XauLockAuth (char *\fIfile_name\fP\^, int \fIretries\fP\^, int
+int XauLockAuth (const char *\fIfile_name\fP\^, int \fIretries\fP\^, int
 \fItimeout\fP\^, long \fIdead\fP\^); 
 .HP
-int XauUnlockAuth (char *\fIfile_name\fP\^); 
+int XauUnlockAuth (const char *\fIfile_name\fP\^); 
 .HP
 int XauDisposeAuth (Xauth *\fIauth\fP\^); 
 .ft R

commit f93ffa718135d9d85f04935325016b8766f05ea3
Author: Brice Goglin brice.gog...@ens-lyon.org
Date:   Sat May 29 21:04:24 2010 +0200

Xau.man: Fix XauGetAuthByAddr() prototype

Add missing name_length and name parameters.

Reported by Tom Fogal in
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583599

diff --git a/Xau.man b/Xau.man
index a336523..6ef0b03 100644
--- a/Xau.man
+++ b/Xau.man
@@ -59,7 +59,8 @@ int XauWriteAuth (FILE *\fIauth_file\fP, Xauth *\fIauth\fP\^);
 .HP
 Xauth *XauGetAuthByAddr (unsigned short \fIfamily\fP\^, unsigned short
 \fIaddress_length\fP\^, char *\fIaddress\fP\^, unsigned short
-\fInumber_length\fP\^, char *\fInumber\fP\^);
+\fInumber_length\fP\^, char *\fInumber\fP\^, unsigned short
+\fIname_length\fP\^, char *\fIname\fP\^);
 .HP
 Xauth *XauGetBestAuthByAddr (unsigned short \fIfamily\fP\^, unsigned short
 \fIaddress_length\fP\^, char *\fIaddress\fP\^, unsigned short

commit c0bc3fb7ac4f719b96257e29eaa60c2d5ed11705
Author: Alan Coopersmith alan.coopersm...@oracle.com
Date:   Wed May 26 21:59:15 2010 -0700

Use AC_PROG_SED to find sed to use for man pages

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

diff --git a/Makefile.am b/Makefile.am

libxau: Changes to 'upstream-unstable'

2009-09-14 Thread David Nusinow
 .gitignore  |5 +
 AuLock.c|   30 ++--
 Makefile.am |6 -
 README  |4 -
 configure.ac|   21 +
 include/.gitignore  |1 
 include/X11/Xauth.h |   17 
 k5encode.c  |  186 
 8 files changed, 36 insertions(+), 234 deletions(-)

New commits:
commit 825435514bd91d0d903247c46249a87d6fe8ae09
Author: Peter Hutterer peter.hutte...@who-t.net
Date:   Fri Aug 28 14:34:32 2009 +1000

libXau 1.0.5

Signed-off-by: Peter Hutterer peter.hutte...@who-t.net

diff --git a/configure.ac b/configure.ac
index a5888f1..c63adcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ dnl
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ([2.57])
-AC_INIT(libXau, 1.0.4, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],libXau)
+AC_INIT(libXau, 1.0.5, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],libXau)
 AM_INIT_AUTOMAKE([dist-bzip2])
 AM_MAINTAINER_MODE
 

commit fc54a4f03b926dfdb590b112c7128516ffc25539
Author: Jeremy Huddleston jer...@yuffie.local
Date:   Sun Feb 22 11:14:04 2009 -0800

Make file locking more robust for network shares like AFP

diff --git a/AuLock.c b/AuLock.c
index 0012356..69b1fd6 100644
--- a/AuLock.c
+++ b/AuLock.c
@@ -90,14 +90,28 @@ longdead)
(void) close (creat_fd);
}
if (creat_fd != -1) {
-   if (link (creat_name, link_name) != -1)
-   return LOCK_SUCCESS;
-   if (errno == ENOENT) {
-   creat_fd = -1;  /* force re-creat next time around */
-   continue;
-   }
-   if (errno != EEXIST)
-   return LOCK_ERROR;
+#ifndef X_NOT_POSIX
+   /* The file system may not support hard links, and pathconf should 
tell us that. */
+   if (1 == pathconf(creat_name, _PC_LINK_MAX)) {
+   if (-1 == rename(creat_name, link_name)) {
+   /* Is this good enough?  Perhaps we should retry.  TEST */
+   return LOCK_ERROR;
+   } else {
+   return LOCK_SUCCESS;
+   }
+   } else {
+#endif
+   if (link (creat_name, link_name) != -1)
+   return LOCK_SUCCESS;
+   if (errno == ENOENT) {
+   creat_fd = -1;  /* force re-creat next time around */
+   continue;
+   }
+   if (errno != EEXIST)
+   return LOCK_ERROR;
+#ifndef X_NOT_POSIX
+  }
+#endif
}
(void) sleep ((unsigned) timeout);
--retries;

commit 742ff03dcad4d16ca8901ed47be91b303523a385
Author: Alan Coopersmith alan.coopersm...@sun.com
Date:   Fri Feb 6 11:35:40 2009 -0800

Restore FamilyKrb5Principal definition

Even if Kerberos5 support is currently unimplemented in the X server 
libXau, the Family id for the X11 protocol is still defined and reserved
for Kerberos5, and should be recorded here for interoperability with
other implementations and to avoid reuse if someone adds a new
authentication family in the future.

Signed-off-by: Alan Coopersmith alan.coopersm...@sun.com

diff --git a/include/X11/Xauth.h b/include/X11/Xauth.h
index 741da24..ace975d 100644
--- a/include/X11/Xauth.h
+++ b/include/X11/Xauth.h
@@ -53,6 +53,7 @@ typedef struct xauth {
 # define FamilyLocal (256) /* not part of X standard (i.e. X.h) */
 # define FamilyWild  (65535)
 # define FamilyNetname(254)   /* not part of X standard */
+# define FamilyKrb5Principal (253) /* Kerberos 5 principal name */
 # define FamilyLocalHost (252) /* for local non-net authentication */
 
 

commit c147fb417582e7384b5464bb53cfd492f9d7c69d
Author: Paulo Cesar Pereira de Andrade p...@mandriva.com.br
Date:   Mon Feb 2 16:54:20 2009 -0200

Remove old api kerberos.

  LibXau uses a 1993 kerberos api, but the X Server side support has
been already removed for quite some time.
  This corrects bug report
https://bugs.freedesktop.org/show_bug.cgi?id=14684

diff --git a/Makefile.am b/Makefile.am
index f877dbc..01e2414 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,10 +18,6 @@ libXau_la_SOURCES = \
AuUnlock.c \
AuWrite.c
 
-if KERBEROS
-libXau_la_SOURCES +=k5encode.c
-endif KERBEROS
-
 xauincludedir=$(includedir)/X11
 
 xauinclude_HEADERS = include/X11/Xauth.h
diff --git a/README b/README
index 404eef0..9ee12e7 100644
--- a/README
+++ b/README
@@ -39,9 +39,7 @@ This scheme involves changes to the following parts of the 
sample release:
-  remove entries from user's auth file
 
 This mechanism assumes that the superuser and the transport layer between 
-the client and the server is secure.  Organizations that desire stricter
-security are encouraged to look at systems such as Kerberos (at Project
-Athena).
+the client and the server is secure.
 
 
 Description
diff --git a/configure.ac 

libxau: Changes to 'upstream-unstable'

2009-02-16 Thread Julien Cristau
 COPYING  |2 +-
 Makefile.am  |   11 ---
 configure.ac |   12 +---
 3 files changed, 14 insertions(+), 11 deletions(-)

New commits:
commit 7f6275300243fd15ce974d1b5e478b47f7758485
Author: Alan Coopersmith alan.coopersm...@sun.com
Date:   Tue Aug 26 14:19:19 2008 -0700

Version bump: 1.0.4

diff --git a/configure.ac b/configure.ac
index 65884c3..9e1b2a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ dnl
 dnl Process this file with autoconf to create configure.
 
 AC_PREREQ([2.57])
-AC_INIT(libXau, 1.0.3, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],libXau)
+AC_INIT(libXau, 1.0.4, 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],libXau)
 AM_INIT_AUTOMAKE([dist-bzip2])
 AM_MAINTAINER_MODE
 

commit 753bf38ceca4a0c8d6c6c1845b4387e4b3c9e4f0
Author: Damien Th?bault damien.theba...@gmail.com
Date:   Tue Aug 26 14:16:44 2008 -0700

Bug 17314: libXau's Makefile.am should have proper man creation rules

X.Org Bugzilla #17314 http://bugs.freedesktop.org/show_bug.cgi?id=17314
Patch #18528 http://bugs.freedesktop.org/attachment.cgi?id=18528
Signed-off-by: Alan Coopersmith alan.coopersm...@sun.com

diff --git a/Makefile.am b/Makefile.am
index b597622..635fdb9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,7 +56,7 @@ LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
 
 libmandir = $(LIB_MAN_DIR)
 libman_PRE = Xau.man
-BUILT_SOURCES = shadows.DONE
+BUILT_SOURCES = $(Xau_shadows:=...@lib_man_suffix@)
 CLEANFILES = $(libman_DATA) $(BUILT_SOURCES) $(lintlib_DATA)
 libman_DATA = $(libman_PRE:m...@lib_man_suffix@) \
  $(Xau_shadows:=...@lib_man_suffix@)
@@ -73,12 +73,9 @@ Xau_shadows =   \
 XauGetAuthByAddr\
 XauGetBestAuthByAddr
 
-shadows.DONE:
-   -rm -f $(Xau_shadows:=...@lib_man_suffix@)
-   (for i in $(Xau_shadows:=...@lib_man_suffix@) ; do \
-echo .so man$(LIB_MAN_DIR_SUFFIX)/Xau.$(LIB_MAN_SUFFIX)  $$i; \
-done)
-   touch shadows.DONE
+Xau_shadows_man = $(Xau_shadows:=...@lib_man_suffix@)
+$(Xau_shadows_man):
+   echo .so man$(LIB_MAN_DIR_SUFFIX)/Xau.$(LIB_MAN_SUFFIX)  $@
 
 XORGRELSTRING = @PACKAGE_STRING@
   XORGMANNAME = X Version 11

commit a0b2aac596ea2cbe4d0ec1ef8c406ad98f0c499d
Author: Alan Coopersmith alan.coopersm...@sun.com
Date:   Tue Jul 8 15:08:35 2008 -0700

SVR4 (including Solaris) puts gethostbyname_r in libnsl instead of libc

diff --git a/configure.ac b/configure.ac
index e35d16f..65884c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,8 +55,14 @@ AC_ARG_ENABLE(xthreads,
 
 if test x$xthreads = xyes ; then
 AC_DEFINE(XTHREADS,1,[Whether libXau is compiled with thread support])
-AC_CHECK_LIB(c, gethostbyname_r, AC_DEFINE(XUSE_MTSAFE_API,1,
-   [Whether libXau needs to use MT safe API's]))
+AC_CHECK_LIB(c, gethostbyname_r, [mtsafe=yes])
+if test x$mtsafe = x ; then
+   AC_CHECK_LIB(nsl, gethostbyname_r, [mtsafe=yes])
+fi
+if test x$mtsafe = xyes ; then
+   AC_DEFINE(XUSE_MTSAFE_API, 1, 
+ [Whether libXau needs to use MT safe API's])
+fi
 
 dnl XXX incomplete, please fill this in
 case $host_os in

commit 1bc9f04963a8a236cc190e75e32282774b556932
Author: Daniel Drake ddr...@brontes3d.com
Date:   Tue May 29 14:06:00 2007 -0800

Bug #11097: libXau COPYING fix (add missing copyright dates)

X.Org Bugzilla #11097 https://bugs.freedesktop.org/show_bug.cgi?id=11097

diff --git a/COPYING b/COPYING
index dbd8ab0..64492ad 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright 1988, 1998  The Open Group
+Copyright 1988, 1993, 1994, 1998  The Open Group
 
 Permission to use, copy, modify, distribute, and sell this software and its
 documentation for any purpose is hereby granted without fee, provided that


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



libxau: Changes to 'upstream-unstable'

2007-01-23 Thread David Nusinow
New branch 'upstream-unstable' available with the following commits:
commit 45d137fdbb9b21513aff68e945e19cdfdcbc28b1
Author: Daniel Stone [EMAIL PROTECTED]
Date:   Sat Dec 16 01:18:20 2006 +0200

bump to 1.0.3

commit fefdba6ed5ef56abf0da9caaca64af5a5e7895b0
Author: Daniel Stone [EMAIL PROTECTED]
Date:   Wed Dec 6 18:53:29 2006 +0200

Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.

commit 90e34a4aa471b6e446345ba8095990e360a41570
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Fri Jul 28 13:47:44 2006 -0700

Version bump - 1.0.2

commit fab8b091936874b4a8077f490ec80abf7b092049
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Mon Jul 24 13:14:04 2006 -0700

Require xorg-macros 1.1.0 or later for XORG_WITH_LINT  XORG_LINT_LIBRARY 
macros

commit 3399e7bed20680520b39ade782d7a33966d477ae
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Mon Jul 24 13:12:57 2006 -0700

Add lint library to CLEANFILES

commit aa4f35661022f3f1c1b94284b34a531381d3a7f1
Author: Matthieu Herrb [EMAIL PROTECTED]
Date:   Sun Jul 16 10:57:36 2006 +0200

set GIT_DIR=${srcdir}/.git for git-log

commit 881115413a7c157c9aab8fba39c8929692baaacc
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Thu Jul 13 17:01:49 2006 -0700

Generate lint library for checking programs that call functions in libXau

(Disabled by default, enable with --enable-lint-library)

commit f25155b03b9fa866d522714ad64e92bf7f2b95fa
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Thu Jul 13 15:16:11 2006 -0700

renamed: include/.cvsignore - include/.gitignore

commit 9062a6da402d416f21d4365d3c3a29ceea707e77
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jul 12 23:53:14 2006 -0700

Replace static ChangeLog with dist-hook to generate from git-log

commit 9b5a14e6de65658fdb712e737b292568a69dc3ee
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jul 12 19:27:52 2006 -0700

Rename XORG_ENABLE_LINT to XORG_WITH_LINT

commit d3f7a679fce893782774e97c0718393295d0773e
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jul 12 19:26:53 2006 -0700

Move --with-lint handling to XORG_ENABLE_LINT() in xorg-macros.m4

commit 1abf440a6a54fb0624915f9ac975f3074252c422
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jul 12 19:25:38 2006 -0700

Add *~ to .gitignore to ignore emacs droppings

commit 43b8275be56151bf0e29ce22795afbef24de0f9c
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jul 12 17:00:16 2006 -0700

renamed: .cvsignore - .gitignore

commit 385d7fa4f151425539d613c9665b5e862f3ef614
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jun 28 22:53:36 2006 +

Add --with-lint configure flag and make lint Makefile target to check
source code with lint, sparse or similar tools.

commit 21ea069c9078edd386e96e038e1a71e041e32cf5
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jun 28 22:49:36 2006 +

Changelog for last commit:
Remove prototype for XauGetAuthByName to clear lint warning: name declared
but never used or defined
Fix sparse warnings:
-warning: Using plain integer as NULL pointer
-warning: non-ANSI definition of function

commit 8274b8e4b121c3dc3bfd5d0fa4f85bc23f5c09a0
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Wed Jun 28 22:26:50 2006 +

Remove prototype for XauGetAuthByName to clear lint warning: name declared
but never used or defined
Fix sparse warnings:
-warning: Using plain integer as NULL pointer
-warning: non-ANSI definition of function

commit 7f6f90cfce51806340f25b80a87b147d8a743b27
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Sat Jun 10 01:27:06 2006 +

Clean up existing Autest test program and use to provide simple (and very
incomplete) make check test case.

commit e214cc19e1d599f16a69e86b1d8b247ad40a9ed7
Author: Adam Jackson [EMAIL PROTECTED]
Date:   Fri May 12 16:05:48 2006 +

Bump to 1.0.1

commit b92b597d7d597dd223371fe0ff60d1b2dad38fda
Author: Kevin E Martin [EMAIL PROTECTED]
Date:   Mon May 8 19:47:10 2006 +

Bug #5628 https://bugs.freedesktop.org/show_bug.cgi?id=5628 Shadow pages
not created correctly when MANDIR  MANSUFFIX don't match.

commit 253a3e1c94642ccee9a3ed694eecb5382aa22b1e
Author: Kevin E Martin [EMAIL PROTECTED]
Date:   Thu Dec 15 00:24:28 2005 +

Update package version number for final X11R7 release candidate.

commit c7648c97a5da8824d2871f528da89dedc98e2598
Author: Kevin E Martin [EMAIL PROTECTED]
Date:   Tue Dec 6 22:48:42 2005 +

Change *man_SOURCES == *man_PRE to fix autotools warnings.

commit c0fbe656693cab8fdf8776fb4d0fa85d0efc4e20
Author: Kevin E Martin [EMAIL PROTECTED]
Date:   Sat Dec 3 05:49:42 2005 +

Update package version number for X11R7 RC3 release.

commit d6d0baef6dd91cc1c3d3d701ad83ec095f02630c
Author: Alan Coopersmith [EMAIL PROTECTED]
Date:   Mon Nov 28 22:03:05 2005 +

Change *mandir targets to use new *_MAN_DIR variables