From patchwork Thu Dec 2 19:13:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 34934 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 D21ED27BBEA; Thu, 2 Dec 2021 19:19:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 51CB927BBE9 for ; Thu, 2 Dec 2021 19:19:34 +0000 (GMT) Received: from localhost ([::1]:50034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msrcD-0004NK-FP for patchwork@mira.cbaines.net; Thu, 02 Dec 2021 14:19:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msrWt-0005Ta-6t for guix-patches@gnu.org; Thu, 02 Dec 2021 14:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msrWs-0000lR-GT for guix-patches@gnu.org; Thu, 02 Dec 2021 14:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msrWs-0007DL-CJ for guix-patches@gnu.org; Thu, 02 Dec 2021 14:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51739] [PATCH 1/3] gnu: Add realmd. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Dec 2021 19:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51739 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: 51739@debbugs.gnu.org Received: via spool by 51739-submit@debbugs.gnu.org id=B51739.163847243227708 (code B ref 51739); Thu, 02 Dec 2021 19:14:02 +0000 Received: (at 51739) by debbugs.gnu.org; 2 Dec 2021 19:13:52 +0000 Received: from localhost ([127.0.0.1]:49299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msrWi-0007Cq-0W for submit@debbugs.gnu.org; Thu, 02 Dec 2021 14:13:52 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:63265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msrWg-0007Cd-2V for 51739@debbugs.gnu.org; Thu, 02 Dec 2021 14:13:50 -0500 Date: Thu, 02 Dec 2021 19:13:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1638472423; bh=fL36ABX7SxgNUn4LlJhlHRUFqb5BkmH9SRYfl0BMii4=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=kOP/KdXVbfIVSUvIZexdgBq1HKOBLO5KNWvrg06koRgsCtoygA8j+R534zcrdN50+ sHV7oo0zYixYpLA5fq7xl6YRsawr5Hdx+5Y1+XD2ROUE4jlSztcghpD4kc/6s6WPAd 8ZHEKyq9D5wX2ZicuT0y+8bYBBpYAXTK4d7BBXQDWNZzd3HAM7rBDA0eRRIrzhNok1 y4vOcCY0o2CJt1B5aQ5Yw2H3uCzJxDkwbNxyKKbzUE49wHq9cIx9ZLY8ADek3DUwJM OPNKWRYfZPe+MK1BbTk1hKG5gTmKex1HHbQWd1lavfN5Gd+j23rXLwmYka7B6P0+f0 nYygBMICNhN3Q== Message-ID: <6_VxudlTY15fzm92EqTAhsKxRhhiHv2FfIhOjIXdIzf1Jt-G3s7rWMyxE_5SC0QyAt4logqsdA3y4_mruh9N6oez0lU_x0FpfX8JbUOtQJw=@protonmail.com> In-Reply-To: <87h7bs1dla.fsf@gnu.org> References: <87h7bs1dla.fsf@gnu.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Sorry I've lost signal and when connected again the mail client sent the reply without the patch. Now it's attached properly. From a488638672d7a4360743c2ba52474801a3fcdbc8 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 10 Nov 2021 03:53:37 +0100 Subject: [PATCH v2] gnu: Add realmd. * gnu/packages/admin.scm (realmd): New variable. diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index d24b068bd7..5e25a283e8 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -128,6 +128,7 @@ (define-module (gnu packages admin) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) #:use-module (gnu packages popt) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) @@ -1533,6 +1534,55 @@ (define-public clusterssh over ssh connections.") (license license:gpl2+))) +(define-public realmd + (package + (name "realmd") + (version "0.17.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedesktop/realmd") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1c6q2a86kk2f1akzc36nh52hfwsmmc0mbp6ayyjxj4zsyk9zx5bf")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--with-systemd-unit-dir=no" + "--with-systemd-journal=no" + "--with-distro=GNU guix" + "--disable-doc") + #:phases + (modify-phases %standard-phases + (add-before 'install 'fix-service + (lambda* (#:key outputs #:allow-other-keys) + ;; Don't copy config file + (substitute* "Makefile" + ((".*/service/realmd-.*") ""))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("glib-bin" ,glib "bin") + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("python" ,python))) + (inputs + `(("glib" ,glib) + ("mit-krb5" ,mit-krb5) + ("openldap" ,openldap) + ("polkit" ,polkit))) + (synopsis "DBus service for network authentication") + (description "This package provides an on demand system DBus service. +It allows callers to configure network authentication and domain membership +in a standard way. Realmd discovers information about the domain or realm +automatically and does not require complicated configuration in order to join +a domain or realm. Dbus system service that manages discovery and enrollment in +realms/domains like Active Directory or IPA.") + (home-page "https://www.freedesktop.org/software/realmd/") + (license license:lgpl2.1+))) + (define-public rename (package (name "rename") -- 2.33.1