[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: Add libptytty.
From: |
guix-commits |
Subject: |
03/08: gnu: Add libptytty. |
Date: |
Sat, 27 Nov 2021 11:20:53 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit d171b881bdcb91ec67490802f6408871e47e6891
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Nov 27 12:51:18 2021 +0100
gnu: Add libptytty.
* gnu/packages/terminals.scm (libptytty): New public variable.
---
gnu/packages/terminals.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 0410b1e..0c0c838 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")
- branch master updated (bf1e46e -> ea50a47), guix-commits, 2021/11/27
- 07/08: gnu: you-get: Update to 0.4.1555., guix-commits, 2021/11/27
- 02/08: gnu: squid: Update to 4.17., guix-commits, 2021/11/27
- 04/08: gnu: rxvt-unicode: Update to 9.29., guix-commits, 2021/11/27
- 01/08: gnu: xterm: Update to 370., guix-commits, 2021/11/27
- 03/08: gnu: Add libptytty.,
guix-commits <=
- 05/08: gnu: varnish: Update to 7.0.1., guix-commits, 2021/11/27
- 06/08: gnu: strongswan: Update to 5.9.4., guix-commits, 2021/11/27
- 08/08: gnu: sakura: Update to 3.8.4., guix-commits, 2021/11/27