all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 51739@debbugs.gnu.org
Subject: [bug#51739] [PATCH 1/3] gnu: Add realmd.
Date: Fri, 03 Dec 2021 14:17:49 +0000	[thread overview]
Message-ID: <g_5R9XgrFP88hXidoVzejCexj0QalG24N7Gh4dBAyDUveQAMfiRMVs7Mn7pcqDuPkOjsgsLyEiWgO0_zY2XONA1xg1hEZEVk6OH7_j1o8bY=@protonmail.com> (raw)
In-Reply-To: <fEVpdvReqb_P9D6cP9AKFQAxio1vphBhsP0xscNxpbFAwYksQKZ8mQSL-1xGdeog7bIPgGCRxKo_0pTim8JLLA9gbbjBkwz8Z8FOOCcNFVA=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 51 bytes --]

Hi Leo,

here's an updated comment.

----
Petr

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: v3-0001-gnu-Add-realmd.patch --]
[-- Type: text/x-patch; name=v3-0001-gnu-Add-realmd.patch, Size: 2881 bytes --]

From c630ef52f780d22e7defbea308e805f0a513858b Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 10 Nov 2021 03:53:37 +0100
Subject: [PATCH v3] gnu: Add realmd.

* gnu/packages/admin.scm (realmd): New variable.

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d24b068bd7..b32f7e29f6 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,56 @@ (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)
+             ;; GNU Guix does not have service config file, therefore we empty
+             ;; the line where we copy the 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


  parent reply	other threads:[~2021-12-03 14:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  3:04 [bug#51739] [PATCH 1/3] gnu: Add realmd phodina via Guix-patches via
2021-11-10  3:07 ` [bug#51739] [PATCH 2/3] gnu: Use license: prefix phodina via Guix-patches via
2021-11-10 22:26   ` Leo Famulari
2021-11-10  3:08 ` [bug#51739] [PATCH 3/3] gnu: Add rdate phodina via Guix-patches via
2021-11-10 22:29   ` Leo Famulari
2021-11-10 22:33 ` [bug#51739] [PATCH 1/3] gnu: Add realmd Leo Famulari
2021-12-01 16:43   ` Ludovic Courtès
2021-12-01 16:42 ` Ludovic Courtès
2021-12-02 19:08   ` phodina via Guix-patches via
2021-12-02 19:13   ` phodina via Guix-patches via
2021-12-02 19:24     ` Leo Famulari
2021-12-02 21:50   ` phodina via Guix-patches via
2021-12-02 22:24     ` Leo Famulari
2021-12-03 14:17     ` phodina via Guix-patches via [this message]
2021-12-08 19:27       ` bug#51739: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g_5R9XgrFP88hXidoVzejCexj0QalG24N7Gh4dBAyDUveQAMfiRMVs7Mn7pcqDuPkOjsgsLyEiWgO0_zY2XONA1xg1hEZEVk6OH7_j1o8bY=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=51739@debbugs.gnu.org \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.