pkgsrc/sysutils/tits/patches/patch-aa
scw adbad799df Update to version 1.2.2.
Notable changes are:

- Added "closeidle true/false" to the tty server's config file
  option list to tell the server that it should close the terminal
  device when there are no clients connected to the service.

- If tits is invoked as "stdio2pty", it will allocate a pseudo-tty
  device and connect its stdin/stdout to the master side. It will
  fork(2) and exec(2) a program specified on the command line.
  This program will have *its* stdin/stdout connected to the
  slave side of the pty. One application for this is to execute
  pppd(8) from inetd.conf.

- Add a "masterpty" client, which makes it possible associate
  a pseudo-tty device with a service. For example, you can now
  use tip(1) to connect to the slave pty, which will cause the
  master side to be connected to the server.

- Adapt to NetBSD's more stringent <ctype> parameter checks.

- Gcc4 fixes, from Martin Husemann.

Ok'd by agc@
2006-09-19 19:42:48 +00:00

11 lines
517 B
Text

--- Makefile.orig 2006-03-19 11:32:58.000000000 +0000
+++ Makefile 2006-09-19 14:10:20.000000000 +0100
@@ -37,7 +37,7 @@
SRCS= main.c buffer.c client.c context.c listener.c masterpty.c telnet.c
SRCS+= tty.c dispatcher.c setup.c config.c server.c logger.c stdio2pty.c
-CPPFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${LOCALBASE}/etc/tits.conf\"
+CPPFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${PKG_SYSCONFDIR}/tits.conf\"
CPPFLAGS+= -DTITS_DEFAULT_LINKDIR=\"/var/run\"
LDADD+= -lwrap
PREFIX?= /usr/local