Commit Graph

60 Commits

Author SHA1 Message Date
christos 174556b791 Add setusercontext handling (from Patrick Welche) 2005-12-20 21:30:19 +00:00
he 4c3432768b Convert to using PAM_STATIC_LDADD / PAM_STATIC_DPADD instead of directly
listing the needed libraries.
2005-05-09 16:15:48 +00:00
he b18483500c For PAM, add -lrpcsvc -lutil -lcrypt to LDADD, and also add in missing
DPADD line.  Fixes build problem for evbsh5 which does static linking only.
2005-05-08 17:47:13 +00:00
rtr 1603c2c13e The last of the changes for missing files in i386 vs xsrc.
+ build libafb for i386 (like xsrc does)
+ hook getconfig into the build
+ add new input driver acecad
+ add new xkb symbols
+ add new font encodings

It should be safe to update the set lists for i386 now.
2005-03-23 01:00:32 +00:00
christos cc19f24e9f Adjust for the latest XFree86 import. Code now compiles, but libraries
might be incomplete and sets are definitely still broken.
2005-03-19 21:41:58 +00:00
christos 7bceae4b09 do the pam dance. 2005-03-02 01:06:15 +00:00
christos 263bcf1fc7 Add pam hooks. 2005-02-24 14:47:38 +00:00
lukem 3232b96e25 Repeat after me:
1. test before commit
	2. src/ != pkgsrc/

We test MK* and USE_* variables  against "no", not YES.  E.g,
	.if (${USE_PAM} != "no")
2005-01-06 00:45:42 +00:00
manu 0a17789d0d Enable PAM support if USE_PAM is set 2005-01-05 20:19:52 +00:00
jmc a9a7fc8f81 Always set -DXFREE86 since all it does is add XFree86 as a possible X server to
the stderr list if exec fails for X. This allows xinit to be shared
across MACHINE_ARCH for mipseb and powerpc now
2004-12-08 05:34:50 +00:00
skrll 9fc7f0ee07 Add in VT switching support for NetBSD/cats. 2004-11-29 16:49:18 +00:00
jschauma 297b6b1873 Use NetBSD logo pixmaps in reachover, too. 2004-11-16 14:42:19 +00:00
christos 4216dabbd0 We need libutil now that openpty is used. 2004-11-10 03:21:02 +00:00
lukem fed2131043 Install the following as executable scripts:
GiveConsole TakeConsole Xsetup_0 Xsession Xwilling
Should fix issue raised by Ian P. Thomas on <netbsd-users>.
2004-08-19 01:30:33 +00:00
christos e3bc441d7b Don't install xterm setuid anymore:
- pty ownership is handled by ptm(4)
- utmp updating is handled by utmp_update(8)
2004-06-09 20:37:41 +00:00
lukem b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
lukem 10cfcae8fc Radically overhaul X11 configuration:
*	End user modifiable configuration has moved from
		/usr/X11R6/lib/X11/<someprog>
	to
		/etc/X11/<someprog>
	This is consistent with our own policies as well as other projects.

	The files & directories that were moved have _NOT_ been marked
	`obsolete', as they contain user configuration and therefore we
	don't want the automatic "obsolete file removal" mechanism to
	remove them.

    *	The /etc/font/* and /etc/X11/* configuration files are installed
	with 'configinstall' (not 'install'), using CONFIGFILES and
	CONFIGSYMLINKS.
	This is so that a normal 'make build' in src/x11 will not
	trash your configuration.

    *	A 'distribution' target has been added to src/x11 to perform
	'make configinstall' in the appropriate subdirectories.
	(Should we consider making 'configinstall' a first-class target?)

    * 	The xdm pixmaps have have been moved to /usr/X11R6/include/X11/pixmaps
	where the other pixmaps are.
	(I don't consider these pictures end-user configuration).


IMPORTANT NOTE:

    *	These changes require an up to date xsrc, and 'make cleandir' should
	be performed in src/x11 before a build for the changes to fully take
	effect.
2004-05-16 10:25:13 +00:00
mhitch 64c96922cf Now that the missing libm functions are available on the vax, build
glxgears and glxinfo.  This will fix the checkflist failure on the vax
build.
2004-05-13 21:10:36 +00:00
lukem 7c51496531 Use /var/db/xdm (instead of /usr/X11R6/lib/X11/xdm) as the default authDir. 2004-05-12 03:58:47 +00:00
lukem 7e0102df65 Add some #defines missed in the upgrade to XFree86 4.4.x 2004-04-29 05:58:54 +00:00
lukem d2df9b79b4 Sync to changes made in XFree86 4.4 and add -DXFREE86_FT2 appropriately. 2004-04-29 05:18:25 +00:00
lukem 7497e851b4 Add -DARC4_RANDOM to the global CPPFLAGS and X11EXTRAMANDEFS.
Remove -DDEV_RANDOM, since ARC4_RANDOM takes precedence anyway.
2004-04-29 01:30:17 +00:00
lukem 8a1597d78b Fix up botches in X userland from upgrade from XFree86 4.3.0 -> 4.4.0.
(All paths are relative to usr/X11R6)

* Obsolete:
	bin/fontconfig-config

* Add directories:
	lib/X11/locale/zh_CN.UTF-8
	lib/X11/xkb/geometry/ibm

* Rename include/freetype2/ft2build.h to include/ft2build.h and obsolete former

* Add files:
	fonttosfnt(1) program & man page
	include/expat.h
	lib/X11/app-defaults/XClock-color
	lib/X11/fonts/TTF/Vera*.ttf
	some font encodings
	zn_CN.UTF-8 locale
	some font encodings
	various xkb config files
	lib/X11/xedit/lisp/progmodes/patch.lsp
	Xfontcache(3) and various links
	XDGA(3) and various links
	XRes(3) and various links
	Xss(3) and various XScreenSaver*(3) links

* Add some more TODO items

* Clean up lib/expat build now that the version is hard coded.
2004-04-28 14:17:55 +00:00
mrg b358d09aa4 - -DXFREE86 if we build an XFree86 server.
- use /dev/urandom & hexdump to generate cookies.

mostly as-is from PR#25239.

XXX  the #ifdef XFREE86 line in xinit.c is simply for an error message to
XXX  include the text "XFree86     XFree86 displays" in an array of char *,
XXX  that is used to display an error message.  i think nearly all the
XXX  netbsd servers need to optionally be added to this list....
2004-04-24 03:42:07 +00:00
rtr 3c42c3d0f0 -DHAS_MKSTEMP for auth.c to enable mkstemp()
patch from Nicolas Joly

Should resolve pr#25199
2004-04-16 12:58:06 +00:00
mrg 9a6b10ea6b mirror change in Imakefiles: provide DEFAULTVT=vt05 for amd64 as well. 2004-04-05 12:21:04 +00:00
lukem f6c0266f4d Add -I${X11SRCDIR.xc}/lib/xtrans, -I${X11SRCDIR.xc}/lib/GL/glx, (etc)
as appropriate.
Based on fix from Hubert Feyrer, cross-checked with the native Imakefiles.
2004-04-05 12:03:25 +00:00
fredb 158d2f19f3 Enable IPv6 in XFree86 4.4.0 reachover build. Usage is describe
in "/usr/X11R6/lib/X11/doc/RELNOTES". Note particularly that "tcp",
as in "X -nolisten tcp" or "xhost +tcp/host:0", now means *both*
IP transport protocols. Use "inet" or "inet6", instead, to specify
only one or the other.

XDMCP support for IPv6 -- such as it is -- is disabled, just as
it is in the native, out-of-the-box build. XDM-AUTHORIZATION-1
does not really support IPv6 addresses, in any case. (It is
possible to build "xdm" with -DIPv6, but that presumes support
for IPv6-mapped IPv4 addresses in the default installation, for
one thing, and there are unexplored issues with all that.)
2004-03-26 21:29:54 +00:00
rtr 628862865b + update reachover bin/* for xf4.4 2004-03-06 03:09:36 +00:00
rtr 0b1ca8966d DEFAULTVT=vt05 to Xservers.ws generation for i386 only (as native does)
XXX should this be given vtXX for other MACHINE's?

should resolve pr#24619
2004-03-01 14:56:51 +00:00
lukem d8b3c89d68 consistently provide a tools/<tool>/Makefile.<tool> for inclusion
wherever the appropriate definitions are used throughout the tree
2004-02-09 04:30:05 +00:00
lukem 3bffc7c9c8 Use
FILES+=			SshAskpass.ad
	FILESNAME_SshAskpass.ad=SshAskpass-default.ad
instead of
	FILES+=			SshAskpass-default.ad
because of an obscure bug with "make -j" where it doesn't find
SshAskpass-default.ad in the .PATH correctly, probably because
of the rule created for it from BUILDSYMLINKS by <bsd.files.mk>.

This is not the correct long-term solution, and is a temporary
workaround for PR 24020.
2004-01-29 01:00:42 +00:00
lukem 9bd8d033a9 Don't bother installing:
./usr/X11R6/lib/X11/etc/sun.termcap
	./usr/X11R6/lib/X11/etc/sun.terminfo
	./usr/X11R6/lib/X11/etc/xterm.termcap
	./usr/X11R6/lib/X11/etc/xterm.terminfo
2004-01-19 00:30:01 +00:00
minoura c173c06b42 Build & install XKB data files for the X680x0 keyboard.
Missing files in the previous.
2004-01-14 13:01:50 +00:00
minoura 786e145c78 Build & install XKB data files for the X680x0 keyboard. 2004-01-14 12:49:09 +00:00
rtr f8c6e245c3 FILES= ldblarrow rdblarrow 2004-01-05 13:08:57 +00:00
rtr 5538078997 LDADD+= -lXext -lX11 since Xfontcache is now shared 2004-01-05 08:22:59 +00:00
lukem b5b40b6c35 Define CHOOSERPATH to /usr/X11R6/libexec/chooser, and use appropriately. 2004-01-02 17:19:51 +00:00
lukem ac0037bc31 Don't bother with local (custom) version of rstartd.cpp; go back to
using server.cpp from the xsrc/xfree dist directory, because I've
modified the latter to allow a separate BINDIR from LIBDIR.
2004-01-02 16:38:14 +00:00
lukem 4c6d23c4a8 Provide custom version of rstartd.cpp that supports a BINDIR
(for rstartd.real) separate to the LIBDIR (for the configuration)
and install rstartd.real into /usr/X11R6/libexec.
(Installing binaries under /usr/X11R6/lib/X11 (which may be a
symlink to /etc/X11) is Bad.0

Override BINDIR after the .include of <bsd.own.mk>, so that rstartd.real
is installed in the correct location.
2004-01-02 16:32:12 +00:00
rtr 9bff69894e Use arc4random in genauth.c 2003-12-20 01:22:39 +00:00
lukem 26be73f2a5 use X11FLAGS.OS_DEFINES 2003-11-17 05:18:20 +00:00
lukem a9c9ec0e6e Support MAKEVERBOSE 2003-11-08 13:57:29 +00:00
lukem 06b22cf0b9 Use '${DESTDIR}${somepathvar}' instead of '${DESTDIR}/${somepathvar}'.
Suggested by Matt Thomas.
2003-09-30 06:41:29 +00:00
lukem 5906faf133 Explicitly add -I/path/to/dist/src so that any yacc-generated .c files
in the .OBJDIR compile correctly.

(Something I changed in the last commit must have broken this.
Or make(1) changed.  Or something else borked.  In any case, it's fixed now.)
2003-09-23 11:04:45 +00:00
lukem e2d7cbd438 Explicitly do the NOLINT/NOPIC/NOPROFILE/libinstall:: dance in each Makefile.
XXX: really need a single knob in bsd.lib.mk to enable this.  we could
use it in many many places in the tree
2003-09-23 11:02:46 +00:00
lukem a57640993c need -lstdc++ -lm for -lGLU.
(even though the latter is linked against the former two, that technique
doesn't help for static programs nor does it appear to work consistently)
2003-09-23 11:01:20 +00:00
lukem 9c437ec754 Change `LNFILES' to `BUILDSYMLINKS', to more accurately describe its purpose.
Per discussion with Simon Gerraty.
2003-09-20 06:20:41 +00:00
lukem 35ad9c6a4a Add more utils from config/*:
ccmakedep cleanlinks gccmakedep makedepend makeg makestrs mergelib
	mkdirhier mkhtmlindex revpath rman

Even though this build doesn't need them, other programs that use
imake (et al) may need them.
2003-09-15 08:31:01 +00:00
lukem bfebf9d8fd don't build glx* on vax until libm has some missing stuff added 2003-09-14 22:33:31 +00:00