From d171b881bdcb91ec67490802f6408871e47e6891 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 27 Nov 2021 12:51:18 +0100 Subject: gnu: Add libptytty. * gnu/packages/terminals.scm (libptytty): New public variable. --- gnu/packages/terminals.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 0410b1e960..0c0c838a0e 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -103,6 +103,40 @@ #:use-module (gnu packages xorg) #:use-module (srfi srfi-26)) +(define-public libptytty + (package + (name "libptytty") + (version "2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/yusiwen/libptytty") + (commit "b9694ea18e0dbd78213f55233a430325c13ad63e"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1g8by1m6ya4r47p137mw4ddml40js0zh6mdb9n6ib49ayngv8ak3")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; no test suite + (home-page "https://github.com/yusiwen/libptytty") + (synopsis + "Portable, secure PTY/TTY and @file{utmp}/@file{wtmp}/@file{lastlog} handling") + (description + "Libptytty is a small C/C++ library to manage pseudo-ttys in a uniform way, +created out of frustration over the many differences of PTY/TTY handling in +different operating systems. + +In addition to mere PTY/TTY management, it supports updating the session +database at @file{utmp}, and @file{wtmp}/@file{lastlog} for login shells. + +It also supports @code{fork}ing after start-up and dropping privileges in the +calling process. This reduces the potential attack surface: if the calling +process were to be compromised by the user starting the program, there would be +less to gain, as only the helper process is running with privileges (e.g., +@code{setuid}/@code{setgid}).") + (license license:gpl2+))) + (define-public tilda (package (name "tilda") -- cgit v1.2.3 From ea50a475114f6107e9f5c5d1193f3137d7a1e818 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 27 Nov 2021 16:02:48 +0100 Subject: gnu: sakura: Update to 3.8.4. * gnu/packages/terminals.scm (sakura): Update to 3.8.4. --- gnu/packages/terminals.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 0c0c838a0e..778a592dc6 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -870,7 +870,7 @@ a server/client mode.") (define-public sakura (package (name "sakura") - (version "3.8.3") + (version "3.8.4") (source (origin (method url-fetch) (uri (string-append "https://launchpad.net/sakura/trunk/" @@ -878,7 +878,7 @@ a server/client mode.") ".tar.bz2")) (sha256 (base32 - "1r2kpvxx21r407s07m5p5x0dam6x863991nmcv6k5ap873fxqh2h")))) + "1d8n32xnj21q2xx13xs2r9cfjaq31mxiyhx6d57x9cwnhwb11xn3")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no check phase -- cgit v1.2.3