From unknown Sun Jun 22 03:51:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38839] [PATCH] gnu: Add xsecurelock. Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Dec 2019 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38839@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157783007317421 (code B ref -1); Tue, 31 Dec 2019 22:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Dec 2019 22:07:53 +0000 Received: from localhost ([127.0.0.1]:35278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imPg9-0004Wv-EI for submit@debbugs.gnu.org; Tue, 31 Dec 2019 17:07:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:45041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imPg7-0004Wo-P0 for submit@debbugs.gnu.org; Tue, 31 Dec 2019 17:07:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41443) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imPg6-0006ah-H5 for guix-patches@gnu.org; Tue, 31 Dec 2019 17:07:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imPg4-0002nh-QM for guix-patches@gnu.org; Tue, 31 Dec 2019 17:07:50 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:46176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1imPg4-0002lJ-Gu for guix-patches@gnu.org; Tue, 31 Dec 2019 17:07:48 -0500 Received: (qmail 27755 invoked by uid 1009); 31 Dec 2019 23:07:47 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25679. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.027893 secs); 31 Dec 2019 22:07:47 -0000 Received: from unknown (HELO zdrowyportier.kadziolka.net) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 31 Dec 2019 23:07:46 +0100 Date: Tue, 31 Dec 2019 23:07:45 +0100 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20191231220745.2sqzwns7jk44oj7d@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 37.59.186.212 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/xdisorg.scm (xsecurelock): New variable. --- gnu/packages/xdisorg.scm | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 9b198a02da..c0358b6ef7 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -72,6 +72,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages man) #:use-module (gnu packages maths) @@ -1848,6 +1849,50 @@ colors on all monitors attached to an XRandR-capable X11 display server.") temperature of the screen.") (license (license:non-copyleft "file://sct.c")))) ; "OpenBSD" license +(define-public xsecurelock + (package + (name "xsecurelock") + (version "1.6.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/google/xsecurelock/releases" + "/download/v" version "/xsecurelock-" version ".tar.gz")) + (sha256 (base32 "070gknyv0s5hz9hkc6v73m2v7ssyjwgl93b5hd4glayfqxqjbmdp")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags + '("--with-pam-service-name=login" + "--with-xkb" + "--with-default-authproto-module=/run/setuid-programs/authproto_pam"))) + (native-inputs + `(("pandoc" ,ghc-pandoc) + ("pkg-config" ,pkg-config))) + (inputs + `(("fontconfig" ,fontconfig) + ("libX11" ,libx11) + ("libxcomposite" ,libxcomposite) + ("libxext" ,libxext) + ("libxfixes" ,libxfixes) + ("libxft" ,libxft) + ("libxmu" ,libxmu) + ("libxrandr" ,libxrandr) + ("libxscrnsaver" ,libxscrnsaver) + ("linux-pam" ,linux-pam))) + (home-page "https://github.com/google/xsecurelock") + (synopsis "X11 screen lock utility with the primary goal of security") + (description "@code{xsecurelock} is an X11 screen locker which uses +a modular design to avoid the usual pitfalls of screen locking utility design. + +As a consequence of the modular design, the usual screen locker service +shouldn't be used with @code{xsecurelock}. Instead, you need to add a helper +binary to setuid-binaries: +@example +(setuid-programs (cons* + (file-append xsecurelock \"/libexec/xsecurelock/authproto_pam\") + %setuid-programs)) +@end example") + (license license:asl2.0))) + (define-public wl-clipboard (package (name "wl-clipboard") -- 2.24.1 From unknown Sun Jun 22 03:51:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Subject: bug#38839: closed (Re: [bug#38839] [PATCH] gnu: Add xsecurelock.) Message-ID: References: <878smqjxrb.fsf@gnu.org> <20191231220745.2sqzwns7jk44oj7d@zdrowyportier.kadziolka.net> X-Gnu-PR-Message: they-closed 38839 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 38839@debbugs.gnu.org Date: Thu, 02 Jan 2020 04:20:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1577938802-16903-1" This is a multi-part message in MIME format... ------------=_1577938802-16903-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38839: [PATCH] gnu: Add xsecurelock. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38839@debbugs.gnu.org. --=20 38839: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38839 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1577938802-16903-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38839-done) by debbugs.gnu.org; 2 Jan 2020 04:19:39 +0000 Received: from localhost ([127.0.0.1]:37949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imrxS-0004Nu-Ms for submit@debbugs.gnu.org; Wed, 01 Jan 2020 23:19:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imrxR-0004Nh-2w for 38839-done@debbugs.gnu.org; Wed, 01 Jan 2020 23:19:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1imrxL-00006C-Kl; Wed, 01 Jan 2020 23:19:31 -0500 Received: from [2605:6000:1a0d:4c95::3d] (port=42398 helo=oryx) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1imrxL-0004TU-6T; Wed, 01 Jan 2020 23:19:31 -0500 From: Brett Gilio To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= Subject: Re: [bug#38839] [PATCH] gnu: Add xsecurelock. References: <20191231220745.2sqzwns7jk44oj7d@zdrowyportier.kadziolka.net> Date: Wed, 01 Jan 2020 22:19:36 -0600 In-Reply-To: <20191231220745.2sqzwns7jk44oj7d@zdrowyportier.kadziolka.net> ("Jakub \=\?utf-8\?B\?S8SFZHppb8WCa2EiJ3M\=\?\= message of "Tue, 31 Dec 2019 23:07:45 +0100") Message-ID: <878smqjxrb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38839-done Cc: 38839-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Jakub, Thank you for your patch. I made a few small changes, and pushed it to master with d2536ed15d82973e4bfab3e7859e98b82074946f. Happy GNU Year! -- Brett M. Gilio GNU Guix, Contributor | GNU Project, Webmaster [DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE] ------------=_1577938802-16903-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Dec 2019 22:07:53 +0000 Received: from localhost ([127.0.0.1]:35278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imPg9-0004Wv-EI for submit@debbugs.gnu.org; Tue, 31 Dec 2019 17:07:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:45041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imPg7-0004Wo-P0 for submit@debbugs.gnu.org; Tue, 31 Dec 2019 17:07:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41443) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imPg6-0006ah-H5 for guix-patches@gnu.org; Tue, 31 Dec 2019 17:07:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imPg4-0002nh-QM for guix-patches@gnu.org; Tue, 31 Dec 2019 17:07:50 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:46176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1imPg4-0002lJ-Gu for guix-patches@gnu.org; Tue, 31 Dec 2019 17:07:48 -0500 Received: (qmail 27755 invoked by uid 1009); 31 Dec 2019 23:07:47 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25679. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.027893 secs); 31 Dec 2019 22:07:47 -0000 Received: from unknown (HELO zdrowyportier.kadziolka.net) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 31 Dec 2019 23:07:46 +0100 Date: Tue, 31 Dec 2019 23:07:45 +0100 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add xsecurelock. Message-ID: <20191231220745.2sqzwns7jk44oj7d@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 37.59.186.212 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/xdisorg.scm (xsecurelock): New variable. --- gnu/packages/xdisorg.scm | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 9b198a02da..c0358b6ef7 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -72,6 +72,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages man) #:use-module (gnu packages maths) @@ -1848,6 +1849,50 @@ colors on all monitors attached to an XRandR-capable X11 display server.") temperature of the screen.") (license (license:non-copyleft "file://sct.c")))) ; "OpenBSD" license +(define-public xsecurelock + (package + (name "xsecurelock") + (version "1.6.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/google/xsecurelock/releases" + "/download/v" version "/xsecurelock-" version ".tar.gz")) + (sha256 (base32 "070gknyv0s5hz9hkc6v73m2v7ssyjwgl93b5hd4glayfqxqjbmdp")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags + '("--with-pam-service-name=login" + "--with-xkb" + "--with-default-authproto-module=/run/setuid-programs/authproto_pam"))) + (native-inputs + `(("pandoc" ,ghc-pandoc) + ("pkg-config" ,pkg-config))) + (inputs + `(("fontconfig" ,fontconfig) + ("libX11" ,libx11) + ("libxcomposite" ,libxcomposite) + ("libxext" ,libxext) + ("libxfixes" ,libxfixes) + ("libxft" ,libxft) + ("libxmu" ,libxmu) + ("libxrandr" ,libxrandr) + ("libxscrnsaver" ,libxscrnsaver) + ("linux-pam" ,linux-pam))) + (home-page "https://github.com/google/xsecurelock") + (synopsis "X11 screen lock utility with the primary goal of security") + (description "@code{xsecurelock} is an X11 screen locker which uses +a modular design to avoid the usual pitfalls of screen locking utility design. + +As a consequence of the modular design, the usual screen locker service +shouldn't be used with @code{xsecurelock}. Instead, you need to add a helper +binary to setuid-binaries: +@example +(setuid-programs (cons* + (file-append xsecurelock \"/libexec/xsecurelock/authproto_pam\") + %setuid-programs)) +@end example") + (license license:asl2.0))) + (define-public wl-clipboard (package (name "wl-clipboard") -- 2.24.1 ------------=_1577938802-16903-1--