pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Wed Nov 18 02:18:30 UTC 2026

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/tintin++: DESCR Makefile PLIST distinfo
        pkgsrc/games/tintin++/patches: patch-forkpty.c

Log Message:
TinTin++ is a command line MUD client which features support for
TELNET, PCRE, UTF-8, SSL, VT100, IPv6, the dynamic TINTIN scripting
language, a comprensive trigger system, and several other features
geared towards mudding, scripting, shell-scripting, text processing,
automation, interprocess communication, redirection, xterm terminal
emulation, and multiplexing / demultiplexing.


To generate a diff of this commit:
cvs rdiff -u -r1.573 -r1.574 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/tintin++/DESCR \
    pkgsrc/games/tintin++/Makefile pkgsrc/games/tintin++/PLIST \
    pkgsrc/games/tintin++/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/tintin++/patches/patch-forkpty.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.573 pkgsrc/games/Makefile:1.574
--- pkgsrc/games/Makefile:1.573 Mon Nov 16 11:43:29 2026
+++ pkgsrc/games/Makefile       Wed Nov 18 02:18:29 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.573 2026/11/16 11:43:29 wiz Exp $
+# $NetBSD: Makefile,v 1.574 2026/11/18 02:18:29 ktnb Exp $
 #
 
 COMMENT=       Games
@@ -420,6 +420,7 @@ SUBDIR+=    tetris-cli
 SUBDIR+=       tetris-tui
 SUBDIR+=       thew
 SUBDIR+=       tileworld
+SUBDIR+=       tintin++
 SUBDIR+=       toppler
 SUBDIR+=       tr1x
 SUBDIR+=       trader

Added files:

Index: pkgsrc/games/tintin++/DESCR
diff -u /dev/null pkgsrc/games/tintin++/DESCR:1.1
--- /dev/null   Wed Nov 18 02:18:30 2026
+++ pkgsrc/games/tintin++/DESCR Wed Nov 18 02:18:29 2026
@@ -0,0 +1,6 @@
+TinTin++ is a command line MUD client which features support for
+TELNET, PCRE, UTF-8, SSL, VT100, IPv6, the dynamic TINTIN scripting
+language, a comprensive trigger system, and several other features
+geared towards mudding, scripting, shell-scripting, text processing,
+automation, interprocess communication, redirection, xterm terminal
+emulation, and multiplexing / demultiplexing.
Index: pkgsrc/games/tintin++/Makefile
diff -u /dev/null pkgsrc/games/tintin++/Makefile:1.1
--- /dev/null   Wed Nov 18 02:18:30 2026
+++ pkgsrc/games/tintin++/Makefile      Wed Nov 18 02:18:29 2026
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2026/11/18 02:18:29 ktnb Exp $
+
+DISTNAME=      tintin-2.02.61
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=scandum/}
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+
+MAINTAINER=    ktnb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/scandum/tintin/
+COMMENT=       Free Mud client for Android, iOS, Linux, Mac OS X and Windows
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                ${WRKDIR}/tt/src
+GNU_CONFIGURE= yes
+
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/tintin++/PLIST
diff -u /dev/null pkgsrc/games/tintin++/PLIST:1.1
--- /dev/null   Wed Nov 18 02:18:30 2026
+++ pkgsrc/games/tintin++/PLIST Wed Nov 18 02:18:29 2026
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/18 02:18:29 ktnb Exp $
+bin/tt++
Index: pkgsrc/games/tintin++/distinfo
diff -u /dev/null pkgsrc/games/tintin++/distinfo:1.1
--- /dev/null   Wed Nov 18 02:18:30 2026
+++ pkgsrc/games/tintin++/distinfo      Wed Nov 18 02:18:30 2026
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2026/11/18 02:18:30 ktnb Exp $
+
+BLAKE2s (tintin-2.02.61.tar.gz) = 5cdabbc7eb164a368a31f8a933dbaf91d9f38037ecffbc4004af55a6565860ce
+SHA512 (tintin-2.02.61.tar.gz) = a285f6f88b3aac8385ab9e199ac20e234929222d3d5e563cfe522c84b061293c86ef679caedadfd8f2e9eae84d85ed96a617ba9a33e714d711df106503db8b58
+Size (tintin-2.02.61.tar.gz) = 2337671 bytes
+SHA1 (patch-forkpty.c) = d8d19b63793d56298ef8c68c4818d80304e488e1

Index: pkgsrc/games/tintin++/patches/patch-forkpty.c
diff -u /dev/null pkgsrc/games/tintin++/patches/patch-forkpty.c:1.1
--- /dev/null   Wed Nov 18 02:18:30 2026
+++ pkgsrc/games/tintin++/patches/patch-forkpty.c       Wed Nov 18 02:18:30 2026
@@ -0,0 +1,37 @@
+$NetBSD: patch-forkpty.c,v 1.1 2026/11/18 02:18:30 ktnb Exp $
+
+Bypass linux-specific ioctl(3) calls
+
+--- forkpty.c.orig     2026-11-17 21:55:18.545444024 +0000
++++ forkpty.c
+@@ -20,7 +20,9 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/termios.h>
++#ifndef __NetBSD__
+ #include <stropts.h>
++#endif
+ 
+ #define DEV_PTMX "/dev/ptmx"
+ 
+@@ -77,6 +79,12 @@ int open_slave(char *name)
+ int open_slave(char *name)
+ {
+       int fd;
++#ifdef __NetBSD__
++      fd = open(name, O_RDWR | O_NOCTTY);
++      if (fd < 0)
++              return EPTMX_OPEN;
++      return fd;
++#else
+       int status;
+ 
+       fd = open(name, O_RDWR);
+@@ -112,6 +120,7 @@ int open_slave(char *name)
+       }
+ 
+       return fd;
++#endif
+ }
+ 
+ 



Home | Main Index | Thread Index | Old Index