From patchwork Tue Apr 21 23:26:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 21406 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 45AAE27BBEA; Wed, 22 Apr 2020 00:28:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8FE2F27BBE4 for ; Wed, 22 Apr 2020 00:28:20 +0100 (BST) Received: from localhost ([::1]:37542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jR2JQ-0003Pw-3e for patchwork@mira.cbaines.net; Tue, 21 Apr 2020 19:28:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34762) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jR2JH-0003Pj-0D for guix-patches@gnu.org; Tue, 21 Apr 2020 19:28:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jR2JC-0002RZ-GB for guix-patches@gnu.org; Tue, 21 Apr 2020 19:28:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jR2J8-0002Ix-OW for guix-patches@gnu.org; Tue, 21 Apr 2020 19:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jR2J8-0008N5-G1 for guix-patches@gnu.org; Tue, 21 Apr 2020 19:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40756] gnu: Add ktsuss. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Apr 2020 23:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40756 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40756@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158751162932112 (code B ref -1); Tue, 21 Apr 2020 23:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Apr 2020 23:27:09 +0000 Received: from localhost ([127.0.0.1]:50924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jR2I9-0008LU-RI for submit@debbugs.gnu.org; Tue, 21 Apr 2020 19:27:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:49144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jR2I8-0008LM-57 for submit@debbugs.gnu.org; Tue, 21 Apr 2020 19:27:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56432) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jR2I7-0003Ls-8n for guix-patches@gnu.org; Tue, 21 Apr 2020 19:26:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jR2Hz-00065F-Vz for guix-patches@gnu.org; Tue, 21 Apr 2020 19:26:55 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42244) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jR2Ht-0005VF-K8 for guix-patches@gnu.org; Tue, 21 Apr 2020 19:26:46 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6263E261AD for ; Wed, 22 Apr 2020 01:26:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ipvx_6RhlcN for ; Wed, 22 Apr 2020 01:26:36 +0200 (CEST) Date: Tue, 21 Apr 2020 19:26:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1587511596; bh=CJaHjc4rf2xE3fX3E7UAAWu527uMe3eBaIShRhFybCw=; h=Date:From:To:Subject; b=GMqANntA/e+YOuIX8bPvv1/Sk0MNP36kwdRshGtQV1IRy9c/L2489sGkzmr1K88I5 8LhzT/hBvqHbLFovcCC4+wmXyrWnFa658+wEz2wVOgnFZapezofPuVxJldjxlImAja 4zMFSWkoK7w6LlARwfdsra9TyNhgHCipY2nm9KMXbQahFtgG5XLIlmKOyVUlFGPfRO QHF0VOyeDj3YzKGerJ9zTXKwL3kscsBKTqO930VjoGe8nowpdp1Vdt2Mos4WkZFWrA Rv8gul73wafyOjBM5t+esF3nFwtnriCn5Pm7gO+kcct46SozUlh3Kg8IWSu//scXoY 3fFEvCh8NUp0Q== From: Raghav Gururajan Message-ID: <20200421192622.7d6412e0.raghavgururajan@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=raghavgururajan@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/21 16:22:21 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 9fff550b6719e9d52ba4e500360240d7adc76538 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Tue, 21 Apr 2020 19:17:35 -0400 Subject: [PATCH 4/4] gnu: Add ktsuss. * gnu/packages/admin.scm (ktsuss): New variable. --- gnu/packages/admin.scm | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index bf5aa9d890..6744624067 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -52,6 +52,7 @@ (define-module (gnu packages admin) #:use-module (guix build-system cmake) #:use-module (guix build-system emacs) + #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system perl) @@ -64,6 +65,7 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) @@ -128,6 +130,55 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) +(define-public ktsuss + (package + (name "ktsuss") + (version "2.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/nomius/ktsuss.git") + (commit version))) + (sha256 + (base32 "0q9931f9hp47v1n8scli4bdg2rkjpf5jf8v7jj2gdn83aia1r2hz")) + (file-name (git-file-name name version)))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + (list + "--enable-sudo=yes") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "configure.ac" + (("sudopath=`which sudo 2>/dev/null`") + (string-append "sudopath=" + (string-append (assoc-ref %build-inputs "sudo") + "/bin/sudo")))) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("autogen" ,autogen) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("gtk+" ,gtk+-2) + ("sudo" ,sudo))) + (synopsis "Graphical front-end for Su") + (description "Ktsuss stands for 'keep the su simple, stupid', and as the +name says, is a graphical version (frontend) of su written in C and GTK+ 2. The +idea of the project is to remain simple and bug free.") + (home-page "https://github.com/nomius/ktsuss") + (license + (list + (license:non-copyleft "file://COPYING") + (license:non-copyleft "file://LICENSE"))))) + (define-public aide (package (name "aide") -- 2.26.1