From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eC+KN3DhPWLFGQAAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 16:36:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2OUWMHDhPWKUPAEAG6o9tA (envelope-from ) for ; Fri, 25 Mar 2022 16:36:16 +0100 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 3A7523C9BE for ; Fri, 25 Mar 2022 16:36:16 +0100 (CET) Received: from localhost ([::1]:53900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXlz5-0007Q4-D1 for larch@yhetil.org; Fri, 25 Mar 2022 11:36:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXlyt-0007Pj-0m for guix-patches@gnu.org; Fri, 25 Mar 2022 11:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXlys-000219-Ol for guix-patches@gnu.org; Fri, 25 Mar 2022 11:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXlys-0001Gl-It for guix-patches@gnu.org; Fri, 25 Mar 2022 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#52578] [PATCH v2 1/2] DRAFT gnu: Add openldap-for-services. References: In-Reply-To: Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52578 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52578@debbugs.gnu.org Cc: jean-francois.guillaume@univ-nantes.fr, zimoun Received: via spool by 52578-submit@debbugs.gnu.org id=B52578.16482225274831 (code B ref 52578); Fri, 25 Mar 2022 15:36:02 +0000 Received: (at 52578) by debbugs.gnu.org; 25 Mar 2022 15:35:27 +0000 Received: from localhost ([127.0.0.1]:52216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXlyI-0001Fp-LW for submit@debbugs.gnu.org; Fri, 25 Mar 2022 11:35:26 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:54969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXlyH-0001FW-4r for 52578@debbugs.gnu.org; Fri, 25 Mar 2022 11:35:25 -0400 Received: by mail-wm1-f45.google.com with SMTP id r64so4657534wmr.4 for <52578@debbugs.gnu.org>; Fri, 25 Mar 2022 08:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/BE5ZHl3S+tEFA/XklRHpWWnozpakZ1UFovO5VJfVe0=; b=CRHlRqqXeq4M4JD5oEGqbOFy1kp4Z7uybCbturHfkAn5z+FqQ4ivrmJTYSUtnERq4F +WYes1QvQZLa4oPJbtZmRsf/hL3OrBMLYegw/Pepos61RXO+w0ZoTg2oMzfXs61kxf8N hfSsKjIaUDBxIKuWNEeCmxTqOBIYiNSA6BZ3VoNd9Bk12V3EoOXuiOKZjC7/TX67iEHI zb26D1IDt52wNT2RR1AhjoZvSlx2VGcF8Ka1+W/pHsKVywLKuqljlF7oY9Jt6OoFljmr gtbcyMSq+s9xgaPz0ypdUUgccd5gFfVeas/UUMc3jpFoU+VUFUB+d326q/uWCDk8WjPB lz1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/BE5ZHl3S+tEFA/XklRHpWWnozpakZ1UFovO5VJfVe0=; b=0i1GC7ItKeJ+emvkzhJusZ4l8H+gvYmPWHeaHxpZbeYrONkJKbNGfBmdW/7/NUD4Za g2v5yobSe3Be9ZT29r9E5maUE3zSTnPy2FMiraB/IqqQt54Hk7YxFbp+6hbSBCQQnCHI LMmTeRnZb6gSKSLHnNJLGbDgCrEsTyFluKRgjICmWrZPw0H8TpU5gX8USxdsWN55kMRc MjyJtcrVeG0kPZDfPgL2/SoM2wb0uxRTSwPQE61QQEjOJ2Q3FiwRIgPTn3KzUu5Ng8Y2 /QIACWof+2KMTsU2Tuo9rvRuOiQxXV8/YMybCdSsRUhjOdgrm9jLIx1MrFP8upYbdn47 wxUg== X-Gm-Message-State: AOAM53029Cgh5PrG0HEudMCBJOKa+UTOK6W4ZftF8nVlS9OLq0l56Rmq z9i6C6OqaHXVPHr5cib9/3e/HUG56Us= X-Google-Smtp-Source: ABdhPJwzlPDRME/iLNHwqvJJroZyjqb77d2dlZaC1h6dr4C914MqCEQCQ1N126QRYEk1JYjlf6rY+w== X-Received: by 2002:a05:600c:49a9:b0:38c:987d:d692 with SMTP id h41-20020a05600c49a900b0038c987dd692mr10711344wmp.166.1648222519265; Fri, 25 Mar 2022 08:35:19 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id w5-20020a5d5445000000b00203f8c96bcesm5189244wrv.49.2022.03.25.08.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 08:35:18 -0700 (PDT) From: zimoun Date: Fri, 25 Mar 2022 16:35:16 +0100 Message-Id: <20220325153517.1478717-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648222576; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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:dkim-signature; bh=/BE5ZHl3S+tEFA/XklRHpWWnozpakZ1UFovO5VJfVe0=; b=ZbCXD1CdujViEL9M2GCJ7Sy8j7bbACZmtNqufQivnesjP7Atan+I8+ghlhs/3kianDTcOT OYDFWMkhNQ71hPXbiEbKjMJcv+cEVag+FlWt24NT15b5SsX3iKZ7EgvS2ICMpkvVqJbZFV UADA/RkWxC4uGningUJhkAZuFj7kCBKYgpdfmP3whRTzOnNSn0ZTBS1Uohvo68ODA+GNho nE2K2MRkHiobYPUwJrmdNJNdKT1GUE2apfC8pecHIgigtJbw/Vo9ryL18Kdj/KN7kT+M8M 0rFuJcy3HeK+9ipNQ7EdYwyqbtXaSs9841OgtLflK9ernVetnOp5m8NiSnSONg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648222576; a=rsa-sha256; cv=none; b=POVns2z5Yib9jPZTQuHAoC5wZOQyxxh0JZKz51zsq+bI4xpRpIcail9fLfbB5pKW3deDoI QmzpQtJRQkWYz2mZ+f7WSrYsaJ1AqdtT2IBgPUpHksQFdgsg2siT/dUXNnUOOSmf3pVfAG /051PtKbvIiyrdblvu2uGoSn+xMxUVYxeZ1zk9OMfhjN4zwiBMebyB9JturgRZTPY1gG8Q YYN0SdIcEMW4M6J7n6gtt9xwfNG7mWRCCJ2f5EBjFkzCfioQQFdXXHUNpvchH9d0TnM2Aq LPP0acluI2jXJP/CujBWpV3AGRhRs9ZL15Tgp07qYxgLj6am0ifDqqE2Ijpu9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CRHlRqqX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Spam-Score: 5.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CRHlRqqX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 3A7523C9BE X-Spam-Score: 5.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: sWNS6JDNj6Hn * gnu/packages/openldap.scm (openldap-for-services): New variable. Co-Authored-By: Jean-François Guillaume . --- gnu/packages/openldap.scm | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm index c8a47e45d5..8374386807 100644 --- a/gnu/packages/openldap.scm +++ b/gnu/packages/openldap.scm @@ -9,6 +9,8 @@ ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2022 Marius Bakke +;;; Copyright © 2022 Jean-François Guillaume +;;; Copyright © 2022 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +32,7 @@ (define-module (gnu packages openldap) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cyrus-sasl) + #:use-module (gnu packages databases) #:use-module (gnu packages dbm) #:use-module (gnu packages documentation) #:use-module (gnu packages gettext) @@ -164,6 +167,50 @@ (define-public openldap-2.6 (lambda (port) (format port "INPUT ( libldap.so )~%"))))))))))) +(define-public openldap-for-services + ;; TODO: Update in the next rebuild cycle + (let* ((openldap-minimal openldap-2.6)) + (package + (inherit openldap-minimal) + (name (string-append (package-name openldap-minimal) "-for-services")) + (arguments + (substitute-keyword-arguments (package-arguments openldap-minimal) + ((#:configure-flags flags) + `(append (list + "--enable-aci" + "--enable-argon2" + "--enable-backends=mod" + "--enable-balancer" + "--enable-cleartext" + "--enable-crypt" + "--enable-debug" + "--enable-dynacl" + "--enable-modules" + "--enable-ipv6" + "--enable-local" + "--enable-overlays=mod" + "--enable-rlookups" + "--enable-shared" + "--enable-slapd" + "--enable-slapi" + "--enable-spasswd" + "--enable-syslog" + "--with-tls=openssl") + ,flags)))) + (inputs (modify-inputs (package-inputs openldap-minimal) + (delete "gnutls") + (append argon2 + libevent + libltdl + lz4 + openssl + perl + snappy + unixodbc + wiredtiger))) + (native-inputs (modify-inputs (package-native-inputs openldap-minimal) + (append pkg-config)))))) + (define-public nss-pam-ldapd (package (name "nss-pam-ldapd") -- 2.34.0