Commit graph

24 commits

Author SHA1 Message Date
maya
c52fc84a93 xinit: don't use GNU expr extensions
Already committed upstream and in NetBSD

From John Vogel
2017-05-31 05:29:34 +00:00
tnn
bea0964f12 Don't pick up pkgsrc openssl if it happens to be installed.
Also, since native openssl may or may not include openssl(1),
switch to x11/mcookie for cookie generation instead.
Bump rev.
2017-02-23 06:20:07 +00:00
tnn
0bb6b43287 fix build on Darwin with X11_TYPE=modular 2015-10-01 12:32:22 +00:00
wiz
cd35090a3c Update to 1.3.4:
Alan Coopersmith (4):
      Fix warnings about parameters to startServer & startClient shadowing globals
      Pass files to cpp via CLI arg instead of stdin to workaround gcc 4.8 change
      configure: Drop AM_MAINTAINER_MODE
      autogen.sh: Honor NOCONFIGURE=1

Brad Smith (1):
      Remove hardcoded path to OpenSSL for OpenBSD

Hans de Goede (7):
      Remove unixware / sco support
      Bump required util-macros version to 1.19
      Replace $RAWCPPFLAGS with $TRADITIONALCPPFLAGS when processing cpp files
      startx: Under Linux start X on the current VT
      startx: Pass vtX as long as the user did not specify one
      startx: Make the bugzilla reference in a comment survive cpp
      processing
      xinit 1.3.4
2014-09-11 21:35:24 +00:00
wiz
885967b882 Update to 1.3.3:
This release contains a number of fixes for the integration with launchd
on MacOS/darwin, some general code cleanups, and build configuration
improvements.

Packagers should note that this release expands the use of the openssl
program for xauth cookie generation to any platform which has openssl
but not mcookie discoverable by configure.  It assumes the presence of
the rand -hex flag originally added for OpenBSD, but now carried in the
upstream OpenSSL.  The configure script will output a notice such as:
  configure: startx will depend on "/usr/bin/openssl rand -hex 16" to
    generate xauth cookies
in order to inform you which was chosen so you may set your package
dependencies appropriately.

Alan Coopersmith (7):
      Add printf attributes suggested by gcc
      If we have to forcibly kill the Xserver on Solaris, reset kbd_mode
      Declare processTimeout() as taking a const string arg
      Check for openssl as mkcookie fallback on all platforms, not just OpenBSD
      Use pid_t instead of int for type of pids
      Add Apple copyright/license notice from launchd files to COPYING
      xinit 1.3.3

Egbert Eich (2):
      man: Set correct config file location in man page
      install: Use sysconfdir instead of libdir for config files.

Jeremy Huddleston (9):
      launchd/privileged_startx: Improved error resolution
      launchd: Don't provide the LaunchAgent on Tiger
      launchd: Provide more verbose error reporting for launchd checkin failures
      launchd: Load privileged_startx properly on Tiger
      launchd: Fix the destination of moved-aside directories in privileged_startx
      darwin: Silence a syslog message from defaults
      laucnhd: Silence some syslog spam
      Annotate Fatal and Fatalx as _X_NORETURN
      XQuartz: Fix an issue where -dpi was not being passed to the server despite being set

Jeremy Huddleston Sequoia (1):
      privileged_startx: use root:wheel instead of 0:0

Thomas Klausner (1):
      Use xinitrc.d/?*.sh as the matching pattern instead of needing
      a fragile sed substitution XSLASHGLOB to produce xinitrc.d/*.sh.
      (If that were used literally the slash-star would confuse
      cpp.)
2013-09-09 09:19:39 +00:00
obache
7e3be9fc97 preprocessor is a tool. 2013-06-16 13:34:30 +00:00
joerg
d501b58eb1 Consistently use devel/tradcpp as preprocessor. 2013-06-13 22:30:41 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
wiz
30ee6e342d Update to 1.3.2.
1.3.2:
Jeremy Huddleston (5):
      darwin: Buildfix for Tiger which doesn't have posix_spawn
      startx: Choose an unused $DISPLAY by default on all platforms
      launchd: Add an option (--with-launchagent-xserver) to set the default X11 server
      Use default clientargs, serverargs, and display if none were set
      configure.ac: 1.3.2

Julien Cristau (1):
      Include <sys/time.h> and <sys/resource.h> unconditionally

1.3.1:
For most users, the main changes in xinit-1.3.1 focus on build system cleanup,
but darwin has seen a fair number of other changes for the LaunchAgent and
LaunchDaemon, specifically with respect to logging to ASL.  These changes
mirror similar changes coming in xorg-server-1.11.x (currently git master).

1.3.0:
This release adds support for an xinitrc.d directory to contain startup
script snippets on all systems.  It also features a number of modernizations
and cleanups of the code base.
2012-06-03 18:16:51 +00:00
joerg
71b514fafd Use ucpp for clang 2012-04-17 17:52:29 +00:00
joerg
e91e2a6526 Update to xinit-1.2.1: Fix quoting bug on OSX and export
X11_PREFS_DOMAIN. Update documentation.
2010-09-10 19:39:29 +00:00
tnn
9083691bac Invoke the C preprocessor in a portable manner on all non-GCC compilers.
This is PR pkg/39879.
2009-09-22 19:34:05 +00:00
wiz
9f002392ff Update to 1.1.1:
This is mainly just a bunch of updates for OSX Tiger compatability and
SnowLeopard fratures.

Alan Coopersmith (1):
       Fix build of startx & xinitrc with Solaris make

Jeremy Huddleston (17):
       Apple: privleged_startx: Increase the timeout so slower
       machines don't get a stray process warning in their system
       log.
       startx.cpp: Made some things a little more friendly for
       people who have spaces in pathnames.
       Apple: Using eval to protect people who have spaces in their
       home path.
       Support the instant-off API in SnowLeopard.
       Apple: sleep() to avoid innocent error message spew
       Apple: Make VPATH builds work on darwin
       Apple: Use AvailabilityMacros.h for Tiger compatability
       OSX: Create privleged_startx on Tiger
       OSX Tiger: More compilation fixes...
       OSX Tiger: Hopefully the last fix for Tiger users...
       Apple: Honor X11_PREFS_DOMAIN if it's set (1.4.2-apple26
       and later)
       OSX Tiger: Fix discovery of mach port
       OSX: Fixed bad prefix
       OSX: More prefix fixes
       OSX: Don't use login/bash -c hack anymore for org.x.startx
       LaunchAgent
       Apple: Allow defaults option that maps to a -dpi server
       command line in startx
       xinit 1.1.1
2009-01-07 10:57:58 +00:00
reed
656c018f26 configure startx to point to correct pkgsrc-provided xinit. 2008-06-23 14:19:54 +00:00
wiz
b6548030a0 Update to 1.1.0:
Adam Jackson (1):
      xinit 1.1.0

Jeremy Huddleston (2):
      Properly handle using xserverrc
      Apple: Don't use launchd on Tiger since it doesn't support
      the features we need.
2008-06-21 18:25:14 +00:00
tnn
9f2a42bc6b Switch master site to MASTER_SITE_XORG. 2008-05-24 21:45:14 +00:00
wiz
94a659a20c 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().
2008-05-22 21:24:17 +00:00
tnn
e8852f69f4 Some of the X.org packages assume that the C preprocessor will use stdin
if no filename given, but this isn't true with the native HP compiler, so
teach them to use '-' explicitly.

XXX using cpp(1) to postprocess manpages is ugly, most of the other X.org
packages seem to have been converted to use sed(1).
2008-05-16 13:48:41 +00:00
wiz
236ec5f146 Update to 1.0.8:
Adam Jackson (1):
      xinit 1.0.8

David Nusinow (1):
      Unbreak installs on non-launchd systems

James Cloos (1):
      Add missing PHONY line for automatic ChangeLog generation

Jeremy Huddleston (19):
      Added some support for Xquartz on OS-X.
      Added Apple launchd support
      Changed x11-exec to actually start X11.app.  X11.app will be responsible for calling xinit.
      OS-X: Added argv[0] hack for finding Xquartz UI and icon as well as claiming its dock icon
      Added support for OS-X preferences to disable tcp/ip connections and xauth
      OS-X: Made defaults test more robust
      OS-X: Need to use bash --login to setup the environment from launchd.
      XQuartz doesn't need the -launchd command line argument anymore.
      OS-X: Properly set enable_xauth if the user has no defaults set and choose a valid $display for fast-user-switching.
      OS-X: Add bindir to $PATH in startx if it's not there
      OS-X: Fixed typo
      OS-X: Set fontpath in xinitrc to include system / user fonts.  Additionally fixed font scaling issues (trac #52)
      Apple: use -nocpp arg to xrdb if cpp is not installed
      Apple: Cleaned up font path setting and added font caching to xinitrc
      Apple: Support spaces in $HOME for font path, and remove duplicate entry
      Added org.x.X11.plist.cpp to EXTRA_DIST
      Apple: font caching and defaults
      Apple: Adding support for an xinitrc.d directory on OSX, so fink doesn't need to clobber files
      Apple: Use -c in the launchd plist, so broken .profile/.bashrc don't much up startx

Matthieu Herrb (1):
      Use /dev/arandom instead of /dev/urandom to generate the cookie

root (1):
      Define APPLE for the rest of us
2008-04-16 22:07:24 +00:00
joerg
8b01a23723 Use /dev/urandom by default, no point in waiting for entropy.
Bump revision.
2008-03-15 16:39:32 +00:00
joerg
d191e4b1f9 Depend on xauth. Bump revision. 2008-02-13 19:39:27 +00:00
bjs
cd8347e1d7 Update to xinit-1.0.7. This release fixes several fairly serious bugs,
including:

-- Bug #12448: Don't try to trap 'ERR'.
	startx is advertised as a POSIX sh script. These shells don't
	necessarily support trapping 'ERR'. This makes startx work again with
	dash (and probably others).

-- Fix broken test for /dev/random cookie generation failure.

-- Use /dev/random to generate the cookie if mcookie is unavailable.

-- Setting XAUTHORITY without having actually generated a cookie and created
	.Xauthority led to issues if somebody like ssh later came around
	and made the .Xauthority file for their own setup.  So, simply make
	it so that we never fail to create one.

-- Remove .serverauth.$$ file on signals or errors

pkgsrc changes:

Remove cookie maker environment variable from CONFIGURE_ENV, as the
script now does the "right thing".

tested by me, seems to work fine, ok'd by agc@
2007-09-21 17:52:05 +00:00
joerg
8cd42480a9 Update to xinit-1.0.4: Update documentation to better reflect reality.
Set WINDOWPATH in xinit. Kill compat code for pre-POSIX systems.
2007-07-12 14:32:49 +00:00
joerg
625e91a080 Import xinit-1.0.3 from pkgsrc-wip. 2006-11-07 17:00:58 +00:00