summaryrefslogtreecommitdiff
path: root/sysutils/tits/patches/patch-aa
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2015-04-26 14:38:10 +0000
committermef <mef@pkgsrc.org>2015-04-26 14:38:10 +0000
commit0f82df6010d66eaebd717d2117d4aa20447f7aa4 (patch)
treec58e073129c6f76e341b91ca41ea86d22360de2c /sysutils/tits/patches/patch-aa
parent14cb7c0bc6878c20dc24afe260976dbd5ff88155 (diff)
downloadpkgsrc-0f82df6010d66eaebd717d2117d4aa20447f7aa4.tar.gz
(pkgsrc)
- Drop patch-af and patch-ag, both now included (upstream) - Update 1.2.2 -> 1.3.0 ~~~~~~~~~~~~~~ 15/1/2011 - Added reverse telnet server. - Hopefully fixed masterpty client. - Don't abuse POLLHUP. - Support insertion of a short inter-character delay for tty output to slow devices. (experimental). - Add an 'exclusive' client property which, when connected, will prevent input/output for all other connected clients. Provide a way to specify an additional client which can override this restriction. - Add a timer option for exclusive clients. If they don't send any data for a specified number of seconds, they lose their exclusive status until they start sending again. - New feature: Support for hot-pluggable tty(4) devices such as USB-Serial adapters/modems. If 'pluggable true;' is specified in the configuration file, then treat errors while reading/writing the tty device as non-fatal. We will try to re-open the device periodically as long as there are connected clients. We will not disconnect clients in this case, but any input from them will be discarded while the tty device is unavailable. - Pull in patches for DragonflyBSD, via pkgsrc.
Diffstat (limited to 'sysutils/tits/patches/patch-aa')
-rw-r--r--sysutils/tits/patches/patch-aa20
1 files changed, 13 insertions, 7 deletions
diff --git a/sysutils/tits/patches/patch-aa b/sysutils/tits/patches/patch-aa
index 2e213592edc..a3ae1c55d50 100644
--- a/sysutils/tits/patches/patch-aa
+++ b/sysutils/tits/patches/patch-aa
@@ -1,15 +1,21 @@
-$NetBSD: patch-aa,v 1.5 2011/01/10 12:17:43 obache Exp $
+$NetBSD: patch-aa,v 1.6 2015/04/26 14:38:10 mef Exp $
* for the case of ${PKG_SYSCONFDIR} != ${LOCALBASE}/etc
---- 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
+--- Makefile.orig 2011-01-15 21:47:19.000000000 +0900
++++ Makefile 2015-04-26 23:15:46.000000000 +0900
+@@ -39,12 +39,12 @@ SRCS+= tty.c dispatcher.c setup.c config
+ SRCS+= rtelnet.c
+ .if !defined(SMALLPROG)
-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
+ .else
+ CPPFLAGS+= -DTITS_DEFAULT_CONFIG_FILE=\"/etc/tits.conf\"
+ .endif
+-CPPFLAGS+= -DTITS_DEFAULT_LINKDIR=\"/var/run\"
++CPPFLAGS+= -DTITS_DEFAULT_LINKDIR=\"${VARBASE}/run\"
PREFIX?= /usr/local
+ BINDIR?= ${PREFIX}/sbin
+