summaryrefslogtreecommitdiff
path: root/sysutils/tits/patches
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/tits/patches')
-rw-r--r--sysutils/tits/patches/patch-aa15
-rw-r--r--sysutils/tits/patches/patch-ab14
-rw-r--r--sysutils/tits/patches/patch-ac14
-rw-r--r--sysutils/tits/patches/patch-ad13
-rw-r--r--sysutils/tits/patches/patch-ae13
5 files changed, 6 insertions, 63 deletions
diff --git a/sysutils/tits/patches/patch-aa b/sysutils/tits/patches/patch-aa
index e487c828712..8a5246b709f 100644
--- a/sysutils/tits/patches/patch-aa
+++ b/sysutils/tits/patches/patch-aa
@@ -1,14 +1,11 @@
-$NetBSD: patch-aa,v 1.3 2002/06/04 08:38:21 seb Exp $
-
---- Makefile.orig Tue Feb 20 21:27:21 2001
-+++ Makefile
-@@ -37,7 +37,8 @@
- SRCS= main.c buffer.c client.c context.c listener.c telnet.c tty.c
- SRCS+= dispatcher.c setup.c config.c server.c logger.c
+--- 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
- BINDIR?= ${PREFIX}/sbin
diff --git a/sysutils/tits/patches/patch-ab b/sysutils/tits/patches/patch-ab
deleted file mode 100644
index 40f3e4c2fea..00000000000
--- a/sysutils/tits/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/12/14 00:30:22 kleink Exp $
-
---- listener.c.orig 2003-04-13 11:14:36.000000000 +0200
-+++ listener.c 2004-12-14 01:26:50.000000000 +0100
-@@ -221,7 +221,8 @@
-
- #ifdef LIBWRAP
- if (lc->lc_args.la_use_wrappers) {
-- request_init(&req, RQ_DAEMON, isdigit(lc->lc_args.la_port[0]) ?
-+ request_init(&req, RQ_DAEMON,
-+ isdigit((unsigned char)lc->lc_args.la_port[0]) ?
- pname : lc->lc_args.la_port, RQ_FILE, fd, NULL);
- fromhost(&req);
- if (hosts_access(&req) == 0) {
diff --git a/sysutils/tits/patches/patch-ac b/sysutils/tits/patches/patch-ac
deleted file mode 100644
index d1f7abc3ed8..00000000000
--- a/sysutils/tits/patches/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2004/12/14 00:30:22 kleink Exp $
-
---- config.c.orig 2001-02-18 22:00:41.000000000 +0100
-+++ config.c 2004-12-14 01:28:03.000000000 +0100
-@@ -477,7 +477,8 @@
- }
-
- do {
-- if ((is_hex && !isxdigit(*p)) || (!is_hex && !isdigit(*p)))
-+ if ((is_hex && !isxdigit((unsigned char)*p)) ||
-+ (!is_hex && !isdigit((unsigned char)*p)))
- return (config_err(cs, "Invalid integer: %s", arg));
- } while (*(++p) != '\0');
-
diff --git a/sysutils/tits/patches/patch-ad b/sysutils/tits/patches/patch-ad
deleted file mode 100644
index 07ba0e06006..00000000000
--- a/sysutils/tits/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2005/09/09 23:13:12 martin Exp $
-
---- main.c.orig 2002-11-25 12:00:17.000000000 +0100
-+++ main.c 2005-09-10 01:08:07.000000000 +0200
-@@ -57,7 +57,7 @@ int
- main(int argc, char **argv)
- {
- const char *estr;
-- const char *conf_file;
-+ const char *conf_file = NULL;
-
- if ((pname = strrchr(argv[0], '/')) == NULL)
- pname = argv[0];
diff --git a/sysutils/tits/patches/patch-ae b/sysutils/tits/patches/patch-ae
deleted file mode 100644
index f99f736af24..00000000000
--- a/sysutils/tits/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2005/09/09 23:13:12 martin Exp $
-
---- dispatcher.c.orig 2001-03-14 20:33:10.000000000 +0100
-+++ dispatcher.c 2005-09-10 01:10:33.000000000 +0200
-@@ -240,7 +240,7 @@ dispatcher_mainloop(void)
- nfds_t pfds;
- int nfds, errcnt = 0;
- int timeout;
-- time_t delta;
-+ time_t delta = 0;
-
- while (!TAILQ_EMPTY(&contexts)) {
- for (pfds = 0, ctx = TAILQ_FIRST(&contexts); ctx != NULL;