From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kIlkGAawpWSQPwAASxT56A (envelope-from ) for ; Wed, 05 Jul 2023 20:01:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gOxNGAawpWSrqgAAauVa8A (envelope-from ) for ; Wed, 05 Jul 2023 20:01:42 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DE6F33B731 for ; Wed, 5 Jul 2023 20:01:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qH6oO-0000F0-Gh; Wed, 05 Jul 2023 14:01:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qH6oI-0000CI-Ud for guix-patches@gnu.org; Wed, 05 Jul 2023 14:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qH6oI-0004H5-Kz for guix-patches@gnu.org; Wed, 05 Jul 2023 14:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qH6oI-0007y2-Gc for guix-patches@gnu.org; Wed, 05 Jul 2023 14:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64443] [PATCH v2] gnu: Add gp-saml-gui References: <0e38627cdd71b9abfd1219cc06a6fd5c28551d41.camel@unstable.horse> In-Reply-To: <0e38627cdd71b9abfd1219cc06a6fd5c28551d41.camel@unstable.horse> Resent-From: Unstable Horse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jul 2023 18:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64443@debbugs.gnu.org Cc: Unstable Horse Received: via spool by 64443-submit@debbugs.gnu.org id=B64443.168858002330546 (code B ref 64443); Wed, 05 Jul 2023 18:01:02 +0000 Received: (at 64443) by debbugs.gnu.org; 5 Jul 2023 18:00:23 +0000 Received: from localhost ([127.0.0.1]:38928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qH6nf-0007wW-8l for submit@debbugs.gnu.org; Wed, 05 Jul 2023 14:00:23 -0400 Received: from [140.82.58.198] (port=8531 helo=unstable.horse) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qH5iG-0003bz-7m for 64443@debbugs.gnu.org; Wed, 05 Jul 2023 12:50:47 -0400 Received: from unstable.horse (localhost [127.0.0.1]) by unstable.horse (OpenSMTPD) with ESMTP id 24824bff; Wed, 5 Jul 2023 16:50:36 +0000 (UTC) Received: from localhost.localdomain ([77.46.240.225]) by unstable.horse with ESMTPSA id oau0GlyfpWTKDwEA+/WzFw (envelope-from ); Wed, 05 Jul 2023 16:50:36 +0000 From: Unstable Horse Date: Wed, 5 Jul 2023 18:50:05 +0200 Message-Id: <5061c686c9579e5c0468a27fdb2f1ec93d9e0042.1688575796.git.stable.master@unstable.horse> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 05 Jul 2023 14:00:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688580101; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=NCR9+KPDnk3F+Tmy+RyMdIz9JAIB1Jqq+fhVxwMd0F0=; b=E34Q3E1y7brMCHIwaJ9YT9N9zjUhYwWyAVa73ck7chEwF/LLMtnSA0vUR8j303IFRSUsNw VFIDJ2qTrdSoN+Jl1c0RSnrUnuTl3f73/Lq5MutP9w0M4YBZOn0gk3H9lI5+Rtv1q43TxC 7q0/ATRtxHI0HdMRr4mRDzhbrHkEN1SUzmUfoATNpdfzPIKZuiBuqPMh6Q1m1BkDuCdORg D7jl+GVkN/VEEEpYA5SPF5BXFS5vVovwv2uMPwhsdUEJwdgGqkYCht8qoRViD5MA6GIdcq H1zrlLPDBeszkBL4IuhKHs3/DWJ++FVC2AzQhLAnqNuwkEZxF/EMnM7vF7zdUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=unstable.horse (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688580101; a=rsa-sha256; cv=none; b=DywUIt/2cL7qWo5HYOvqXkgpUUSqFWWZCyQZY99iJnrhy82zNYUjctawdXKPA9cWj13BGy Wc9Ujj1waQv4wB6gUvAo9hhr9e7Vi848LOUR7wiT/yhv8/P6EDQMqFZXMjOPj+VSOv3w/X X8RAgjo6VFGBvHVdohGkhwwPmtz87WJBOFYonJGvIZIwuqb3uul/51KrOa7OxENL7IR9JH KjftsKUDK80Xy1bALL54nC9FBiNdsQABNWRmKNnHHK7PBblvaid9dvm9W1uupPYEZJMPIh kjIsbc3ScM5YxsJaDdXSNmOoXKzxZwQurhZgC000wV6mj/ZsT65RX5YlWp0J9A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.67 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=unstable.horse (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DE6F33B731 X-Spam-Score: -1.67 X-TUID: IeKnZg/WfcC2 * gnu/packages/vpn.scm (gp-saml-gui): New variable. --- gnu/packages/vpn.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index af070526ec..972f9b0329 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -67,6 +67,7 @@ (define-module (gnu packages vpn) #:use-module (gnu packages gettext) #:use-module (gnu packages gnome) #:use-module (gnu packages gl) + #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages guile) @@ -86,6 +87,7 @@ (define-module (gnu packages vpn) #:use-module (gnu packages qt) #:use-module (gnu packages samba) #:use-module (gnu packages tls) + #:use-module (gnu packages webkit) #:use-module (gnu packages xml)) (define-public bitmask @@ -279,6 +281,48 @@ (define-public bitmask (home-page "https://bitmask.net/") (license license:gpl3+))) +(define-public gp-saml-gui + ;; No release. + (let ((commit "258f47cdc4a8ed57a1eef16667f6cad0d1cb49b1") + (revision "1")) + (package + (name "gp-saml-gui") + (version (git-version "0.0.0" revision commit)) + (home-page "https://github.com/dlenski/gp-saml-gui") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qj2mmi6lfkq5c4v6fbzgriajqc27k9kb1i9k2r776pn5pq14pc3")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda _ + (let ((prog (string-append #$output "/bin/gp-saml-gui"))) + (wrap-program prog + `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH"))) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) + (inputs + (list bash-minimal + python-pygobject + python-urllib3 + python-requests + webkitgtk-with-libsoup2)) + (propagated-inputs + (list openconnect)) + (synopsis "Interactively authenticate to GlobalProtect VPNs that require SAML") + (description "This is a helper script to allow you to interactively login +to a GlobalProtect VPN that uses SAML authentication, so that you can +subsequently connect with OpenConnect.") + (license license:gpl3+)))) + (define-public gvpe (package (name "gvpe") base-commit: 94ac93042f09b4ba68b7b64ed1feeebd3dab1ea4 -- 2.40.1