summaryrefslogtreecommitdiff
path: root/net/ytalk
diff options
context:
space:
mode:
authorwiz <wiz>2006-01-12 19:57:00 +0000
committerwiz <wiz>2006-01-12 19:57:00 +0000
commit110fb76c21fbacd2b5e440aacdf0437dcc6b44bd (patch)
tree9089df445b6a228ab0d250308528b8e7e0f0e691 /net/ytalk
parent6f307f276851337d160d44047fc231e4557161c2 (diff)
downloadpkgsrc-110fb76c21fbacd2b5e440aacdf0437dcc6b44bd.tar.gz
Update to 3.3.0:
version 3.3.0 New features: * YTalk now recognizes GNU talk (gtalk) * Much improved VT100 support Changes: * YTalk is now released under the GNU GPL * The X11 interface has been removed since no one was using it and it had grown way too outdated * Unidentified talk clients are now called "BSD talk", since talk(1) originally appeared in 4.2BSD. * Moved to GNU automake * Re-indented sources with hard tabs * Added a couple of tests (run with 'make check') Bug fixes: * YTalk now tolerates stacking invite/import requests * Fixed a build problem on systems without snprintf() * Once again use $HOME when looking for personal ytalkrc version 3.2.0 New features: * Added far-right "stomping", fixes procps top(1) among other things * Separated handling of CR and LF, makes a lot of programs work better * Added support for 'G' escape sequence used by Gentoo's init scripts * Added "escape-yesno" patch from FreeBSD that optionally requires that you press <escape> before answering yes/no questions * Added a "YTALK_VERSION" environment variable to subshells Changes: * --with-x is now --enable-x Bug fixes: * Fixed an endless loop in curses titlebar code * We now use snprintf() instead of sprintf() if available * Restored limit on auto-invite hostnames from 16 to 64 characters version 3.1.6 Changes: * Don't even build pty allocation code if system has openpty() * Made all debugging code strictly optional, add --enable-debug to ./configure if you want it Bug fixes: * Fixed a crash when resizing YTalk in an XTerm * Fixed a remote-crash format string bug in auto-invite daemon * Fixed build problems on SunOS * Fixed --with-x on X.org (broken since 3.1.2) version 3.1.5 New features: * We now use openpty() if available to securely allocate ptys * Added the prompt-quit patch from Debian again (oops, lost in 3.1.3) Bug fixes: * Fixed a problem with the configure script on Slackware * Added a missing part of VT100 scrolling support * Fixed a small memory leak in terminal tab handling * Small documentation fixes and updates version 3.1.4 New features: * Added "rering all" to main menu (requested by Matthew Vernon in '99) * Added --with-curses=DIR option to configure script Bug fixes: * Fixed detection of `socklen_t' type on OpenBSD * Fixed a minor problem with the no-beep mode * Fixed a minor signed/unsigned issue * Cleaned up the configure script a bit version 3.1.3 New features: * Added support for job control on BSD systems * Added terminal tab handling * Added terminal keypad modes * Added "ignorebreak" mode (^C is ignored unless a shell is running) * Added "beeps" to the ytalkrc flags (applies to all beeps) * Added internal memory management and tracking Changes: * Maintainer change to Andreas Kling * Dropped getlogin() in favor of getpwuid() * Removed "debug" logging code Bug fixes: * Fixed the shell on Tru64 UNIX * restored compatibility with old talk daemons (broken in 3.1.2) * restored command line parsing (broken on many systems in 3.1.2) * Removed debug code that broke terminal raw mode in 3.1.2 version 3.1.2 New features: * Debug logger added * Now optionally prompts user before quitting (when using -q), patch from Colin Watson * Added parsing of long options * Fixed maximum username length to 11 instead of 8 Changes: * Maintainer change to Jessica Peterson * X support isn't compiled as default anymore * -x command line switch now enables X11 mode instead of disabling it. * Scrolling is enabled by default * Upgraded to autoconf 2.59 Bug fixes: * Fixed a possible buffer overflow regarding a oversized $HOME when loading the configuration file * Reset handling of SIGCHLD for shells - patch from P. Maragakis following hints by Jason Gunthorpe
Diffstat (limited to 'net/ytalk')
-rw-r--r--net/ytalk/Makefile3
-rw-r--r--net/ytalk/Makefile.common10
-rw-r--r--net/ytalk/distinfo15
-rw-r--r--net/ytalk/patches/patch-aa43
-rw-r--r--net/ytalk/patches/patch-ab30
-rw-r--r--net/ytalk/patches/patch-ac10
-rw-r--r--net/ytalk/patches/patch-ad143
7 files changed, 197 insertions, 57 deletions
diff --git a/net/ytalk/Makefile b/net/ytalk/Makefile
index 72a1da836cb..56bf8bdd273 100644
--- a/net/ytalk/Makefile
+++ b/net/ytalk/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2004/03/06 12:01:32 grant Exp $
+# $NetBSD: Makefile,v 1.12 2006/01/12 19:57:00 wiz Exp $
.include "../../net/ytalk/Makefile.common"
-PKGREVISION= 2
COMMENT= Multi-user replacement for UNIX talk
CONFIGURE_ARGS+=--without-x
diff --git a/net/ytalk/Makefile.common b/net/ytalk/Makefile.common
index 4709af51856..9420dd341f1 100644
--- a/net/ytalk/Makefile.common
+++ b/net/ytalk/Makefile.common
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.common,v 1.3 2005/12/29 06:22:04 jlam Exp $
+# $NetBSD: Makefile.common,v 1.4 2006/01/12 19:57:00 wiz Exp $
-DISTNAME= ytalk-3.1.1
+DISTNAME= ytalk-3.3.0
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/network/chat/}
+MASTER_SITES= http://www.impul.se/ytalk/
MAINTAINER= mike@ethmoid.org
-HOMEPAGE= http://www.iagora.com/~espel/ytalk/ytalk.html
+HOMEPAGE= http://www.impul.se/ytalk/index.php
COMMENT= Multi-user replacement for UNIX talk
GNU_CONFIGURE= yes
@@ -14,3 +14,5 @@ CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR= ${PREFIX}/share/examples/ytalk
CONF_FILES= ${EGDIR}/ytalkrc ${PKG_SYSCONFDIR}/ytalkrc
+
+.include "../../mk/curses.buildlink3.mk"
diff --git a/net/ytalk/distinfo b/net/ytalk/distinfo
index 19f3a7b23a1..a51d072cac6 100644
--- a/net/ytalk/distinfo
+++ b/net/ytalk/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2005/12/18 18:23:19 joerg Exp $
+$NetBSD: distinfo,v 1.6 2006/01/12 19:57:00 wiz Exp $
-SHA1 (ytalk-3.1.1.tar.gz) = be7828b46bac5cb0c3a1a95052e49b9d8337ea27
-RMD160 (ytalk-3.1.1.tar.gz) = 443770dc8028737b922ae37796c6fa26fb7cd753
-Size (ytalk-3.1.1.tar.gz) = 83244 bytes
-SHA1 (patch-aa) = 7c5cd9207b19016c471a26fbb66148adf5f24e0a
-SHA1 (patch-ab) = 65db8d60db07ec7bc4530a8fca84f6d411b61db2
-SHA1 (patch-ac) = 64791cc92b19b82b10fd032e5895ae798afd750c
+SHA1 (ytalk-3.3.0.tar.gz) = 7a988cc6f7ef1ca7499aa54e73ed6db4e7416bc6
+RMD160 (ytalk-3.3.0.tar.gz) = 1332d5600d1a669f517727542d6c1b7226212cfc
+Size (ytalk-3.3.0.tar.gz) = 137989 bytes
+SHA1 (patch-aa) = 8e82bc438aacb5e2f612ab7596097aadb696fac2
+SHA1 (patch-ab) = 46d4cfcd480a11070a5b5bd2a51f6938ea517627
+SHA1 (patch-ac) = ff42a7f98f39daf17b336c9d16e9091c19410d02
+SHA1 (patch-ad) = 55b130c2e070d93fad2cd050952fa3602cd32d2d
diff --git a/net/ytalk/patches/patch-aa b/net/ytalk/patches/patch-aa
index e955846af72..d28e11ad8b2 100644
--- a/net/ytalk/patches/patch-aa
+++ b/net/ytalk/patches/patch-aa
@@ -1,23 +1,28 @@
-$NetBSD: patch-aa,v 1.1 1999/09/13 14:54:40 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2006/01/12 19:57:00 wiz Exp $
---- configure.orig Sun May 9 21:11:25 1999
-+++ configure Mon Sep 13 10:36:44 1999
-@@ -833,6 +833,7 @@
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+--- configure.in.orig 2005-02-07 18:33:28.000000000 +0100
++++ configure.in
+@@ -45,18 +45,15 @@ AC_ARG_WITH(curses, AC_HELP_STRING([--wi
+ CPPFLAGS="$CPPFLAGS -I${ytalk_cv_curses}/include"
+ fi])
+-AC_CHECK_LIB(ncurses, initscr,
+- [LIBS="$LIBS -lncurses"
+- if test x$ytalk_cv_curses = x/usr -a -d /usr/include/ncurses; then
+- CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
+- fi
+- AC_CHECK_HEADERS(ncurses.h)],
++AC_CHECK_LIB(curses, initscr,
++ [LIBS="$LIBS -lcurses"
++ AC_CHECK_HEADERS(curses.h)],
+ [CF_CURSES_LIBS])
-+if false; then
- echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
- echo "configure:838: checking for initscr in -lncurses" >&5
- ac_lib_var=`echo ncurses'_'initscr | sed 'y%./+-%__p_%'`
-@@ -879,6 +880,10 @@
- else
- echo "$ac_t""no" 1>&6
- no_ncurses=1
-+fi
-+else
-+ # NetBSD doesn't need ncurses.
-+ no_ncurses=1
- fi
-
+ dnl Check for keypad()
+-AC_CHECK_LIB(ncurses, keypad,
++AC_CHECK_LIB(curses, keypad,
+ [AC_DEFINE(HAVE_KEYPAD, 1, [Define to 1 if you have keypad()])],
+-[AC_CHECK_LIB(curses, keypad,
++[AC_CHECK_LIB(ncurses, keypad,
+ [AC_DEFINE(HAVE_KEYPAD, 1, [Define to 1 if you have keypad()])],
+ [])])
diff --git a/net/ytalk/patches/patch-ab b/net/ytalk/patches/patch-ab
index f5bba970903..6098c74aa0f 100644
--- a/net/ytalk/patches/patch-ab
+++ b/net/ytalk/patches/patch-ab
@@ -1,23 +1,13 @@
-$NetBSD: patch-ab,v 1.1 2002/12/22 19:39:27 jmmv Exp $
+$NetBSD: patch-ab,v 1.2 2006/01/12 19:57:00 wiz Exp $
---- Makefile.in.orig Sun Nov 15 04:53:52 1998
+--- Makefile.in.orig 2005-02-13 15:20:12.000000000 +0100
+++ Makefile.in
-@@ -21,7 +21,8 @@ VPATH = @srcdir@
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- bindir = @bindir@
--sysconfdir = @sysconfdir@
-+realsysconfdir = @sysconfdir@
+@@ -155,7 +155,7 @@ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+-sysconfdir = @sysconfdir@
+sysconfdir = @datadir@/examples/ytalk
- mandir = @mandir@
- manext = 1
-
-@@ -31,7 +32,7 @@ CPPFLAGS = @CPPFLAGS@
- INCLUDES = @XINCS@
- LIBS = @LIBS@ @XLIBS@
- LDFLAGS = @LDFLAGS@
--DEFS = @DEFS@ -DSYSTEM_YTALKRC=\"$(sysconfdir)/ytalkrc\"
-+DEFS = @DEFS@ -DSYSTEM_YTALKRC=\"$(realsysconfdir)/ytalkrc\"
-
- COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEFS) $(CFLAGS)
- LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+ target_alias = @target_alias@
+ confdir = $(sysconfdir)
+ conf_DATA = ytalkrc
diff --git a/net/ytalk/patches/patch-ac b/net/ytalk/patches/patch-ac
index 9c79045f625..a675f596074 100644
--- a/net/ytalk/patches/patch-ac
+++ b/net/ytalk/patches/patch-ac
@@ -1,10 +1,10 @@
-$NetBSD: patch-ac,v 1.1 2005/12/18 18:23:19 joerg Exp $
+$NetBSD: patch-ac,v 1.2 2006/01/12 19:57:00 wiz Exp $
---- header.h.orig 2005-12-18 18:16:38.000000000 +0000
-+++ header.h
-@@ -261,10 +261,6 @@ extern int io_len; /* user input cou
-
+--- src/header.h.orig 2005-02-13 14:48:53.000000000 +0100
++++ src/header.h
+@@ -290,10 +290,6 @@ extern int io_len; /* user input count
extern int running_process; /* flag: is process running? */
+ extern ylong myuid; /* stores your uid */
-/* ---- some machine compatibility definitions ---- */
-
diff --git a/net/ytalk/patches/patch-ad b/net/ytalk/patches/patch-ad
new file mode 100644
index 00000000000..832ba87847e
--- /dev/null
+++ b/net/ytalk/patches/patch-ad
@@ -0,0 +1,143 @@
+$NetBSD: patch-ad,v 1.1 2006/01/12 19:57:00 wiz Exp $
+
+--- configure.orig 2005-02-13 15:20:16.000000000 +0100
++++ configure
+@@ -4331,13 +4331,13 @@ if test "${with_curses+set}" = set; then
+ fi
+ fi;
+
+-echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
+-echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
+-if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
++echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
++echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
++if test "${ac_cv_lib_curses_initscr+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lncurses $LIBS"
++LIBS="-lcurses $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -4382,26 +4382,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_lib_ncurses_initscr=yes
++ ac_cv_lib_curses_initscr=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+-ac_cv_lib_ncurses_initscr=no
++ac_cv_lib_curses_initscr=no
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
+-echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
+-if test $ac_cv_lib_ncurses_initscr = yes; then
+- LIBS="$LIBS -lncurses"
+- if test x$ytalk_cv_curses = x/usr -a -d /usr/include/ncurses; then
+- CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
+- fi
++echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
++echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
++if test $ac_cv_lib_curses_initscr = yes; then
++ LIBS="$LIBS -lcurses"
+
+-for ac_header in ncurses.h
++for ac_header in curses.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -5297,13 +5294,13 @@ fi
+ fi
+
+
+-echo "$as_me:$LINENO: checking for keypad in -lncurses" >&5
+-echo $ECHO_N "checking for keypad in -lncurses... $ECHO_C" >&6
+-if test "${ac_cv_lib_ncurses_keypad+set}" = set; then
++echo "$as_me:$LINENO: checking for keypad in -lcurses" >&5
++echo $ECHO_N "checking for keypad in -lcurses... $ECHO_C" >&6
++if test "${ac_cv_lib_curses_keypad+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lncurses $LIBS"
++LIBS="-lcurses $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -5348,33 +5345,33 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_lib_ncurses_keypad=yes
++ ac_cv_lib_curses_keypad=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+-ac_cv_lib_ncurses_keypad=no
++ac_cv_lib_curses_keypad=no
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_keypad" >&5
+-echo "${ECHO_T}$ac_cv_lib_ncurses_keypad" >&6
+-if test $ac_cv_lib_ncurses_keypad = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_lib_curses_keypad" >&5
++echo "${ECHO_T}$ac_cv_lib_curses_keypad" >&6
++if test $ac_cv_lib_curses_keypad = yes; then
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_KEYPAD 1
+ _ACEOF
+
+ else
+- echo "$as_me:$LINENO: checking for keypad in -lcurses" >&5
+-echo $ECHO_N "checking for keypad in -lcurses... $ECHO_C" >&6
+-if test "${ac_cv_lib_curses_keypad+set}" = set; then
++ echo "$as_me:$LINENO: checking for keypad in -lncurses" >&5
++echo $ECHO_N "checking for keypad in -lncurses... $ECHO_C" >&6
++if test "${ac_cv_lib_ncurses_keypad+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcurses $LIBS"
++LIBS="-lncurses $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -5419,20 +5416,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_lib_curses_keypad=yes
++ ac_cv_lib_ncurses_keypad=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+-ac_cv_lib_curses_keypad=no
++ac_cv_lib_ncurses_keypad=no
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-echo "$as_me:$LINENO: result: $ac_cv_lib_curses_keypad" >&5
+-echo "${ECHO_T}$ac_cv_lib_curses_keypad" >&6
+-if test $ac_cv_lib_curses_keypad = yes; then
++echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_keypad" >&5
++echo "${ECHO_T}$ac_cv_lib_ncurses_keypad" >&6
++if test $ac_cv_lib_ncurses_keypad = yes; then
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_KEYPAD 1