pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xinit Update to 1.0.9:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfc93911eda3
branches:  trunk
changeset: 542617:bfc93911eda3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu May 22 21:24:17 2008 +0000

description:
Update to 1.0.9:

Adam Jackson (2):
      Unset session environment variables so startx works within a running session.
      xinit 1.0.9

Alan Coopersmith (3):
      Use od on /dev/random to generate cookie on Solaris
      Check for proper cookie creation on all platforms
      Use /bin/ksh instead of /bin/sh on Solaris

Jeremy C. Reed (1):
      Use /dev/urandom for cookie it it exists

Jeremy Huddleston (14):
      Apple: Fixed issue where display would not be passed correctly to the server if nolisten tcp was enabled.
      Apple: Execute /usr/X11/bin/privileged_startx if it's present
      Apple: Renamed LaunchAgent to org.x.startx to distinguish it from the org.x.X11 application
      Correctly handle users with spaces in $HOME
      Apple: privileged_startx is in XINITDIR
      Apple: We renamed font_cache.sh to font_cache for better consistency... Changing startx to work with this
      Apple: Wait for privileged_startx to finish, so we don't race to create /tmp/.X11-unix
      Apple: Added privileged_startx
      Apple: Fixed make dist to include a missing header and not include generated sources
      Cleaned up handling of defaultserver{,args}
      Apple: Use CFProcessPath instead of argv[0] trick.
      Apple: Added some OSX version protection, so this will still compile on Tiger and below.
      Apple: No need for these bits being here in xinit as of xserver-1.4.0-apple9
      Apple: Don't need to spew unneccessary 'directory exists' messages.

Matthieu Herrb (2):
      OpenBSD: use openssl rand -hex 16 to generate the cookie.
      Replace sprintf() and strcpy() with snprintf().

diffstat:

 x11/xinit/Makefile         |   4 ++--
 x11/xinit/distinfo         |   9 ++++-----
 x11/xinit/patches/patch-aa |  17 -----------------
 3 files changed, 6 insertions(+), 24 deletions(-)

diffs (48 lines):

diff -r 124616d75af5 -r bfc93911eda3 x11/xinit/Makefile
--- a/x11/xinit/Makefile        Thu May 22 21:15:06 2008 +0000
+++ b/x11/xinit/Makefile        Thu May 22 21:24:17 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2008/05/16 13:48:41 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2008/05/22 21:24:17 wiz Exp $
 #
 
-DISTNAME=              xinit-1.0.8
+DISTNAME=              xinit-1.0.9
 CATEGORIES=            x11
 MASTER_SITES=          http://xorg.freedesktop.org/releases/individual/app/
 EXTRACT_SUFX=          .tar.bz2
diff -r 124616d75af5 -r bfc93911eda3 x11/xinit/distinfo
--- a/x11/xinit/distinfo        Thu May 22 21:15:06 2008 +0000
+++ b/x11/xinit/distinfo        Thu May 22 21:24:17 2008 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2008/04/16 22:07:24 wiz Exp $
+$NetBSD: distinfo,v 1.6 2008/05/22 21:24:17 wiz Exp $
 
-SHA1 (xinit-1.0.8.tar.bz2) = 0102d2fdc0df3d24077ba826cf57640da46140af
-RMD160 (xinit-1.0.8.tar.bz2) = d01b299e6e96c2b5318aaec479c81670b94e2129
-Size (xinit-1.0.8.tar.bz2) = 117049 bytes
-SHA1 (patch-aa) = 3d55478d3e2a6a00ff93c63f41cac9e684df0d68
+SHA1 (xinit-1.0.9.tar.bz2) = bbc8f28a38c1033717a12b856d3998e4b85114f0
+RMD160 (xinit-1.0.9.tar.bz2) = 2e5cd9726a92e5abd604e0fd704f81b4adbcd33c
+Size (xinit-1.0.9.tar.bz2) = 127210 bytes
diff -r 124616d75af5 -r bfc93911eda3 x11/xinit/patches/patch-aa
--- a/x11/xinit/patches/patch-aa        Thu May 22 21:15:06 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2008/04/16 22:07:24 wiz Exp $
-
---- startx.cpp.orig    2008-03-06 22:08:48.000000000 +0000
-+++ startx.cpp
-@@ -243,7 +243,11 @@ if [ x"$enable_xauth" = x1 ] ; then
- #if defined(HAS_COOKIE_MAKER) && defined(MK_COOKIE)
-     mcookie=`MK_COOKIE`
- #else
--    mcookie=`dd if=/dev/random bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"`
-+    if [ -r /dev/urandom ]; then
-+      mcookie=`dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"`
-+    else
-+      mcookie=`dd if=/dev/random bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"`
-+    fi
-     if test x"$mcookie" = x; then
-         echo "Couldn't create cookie"
-         exit 1



Home | Main Index | Thread Index | Old Index