From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YBjBOUgqVGHtfwEAgWs5BA (envelope-from ) for ; Wed, 29 Sep 2021 10:56:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OF6JNUgqVGEVXgAA1q6Kng (envelope-from ) for ; Wed, 29 Sep 2021 08:56:40 +0000 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 47C2E2D4C3 for ; Wed, 29 Sep 2021 10:56:40 +0200 (CEST) Received: from localhost ([::1]:35068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVVOJ-0004xq-DH for larch@yhetil.org; Wed, 29 Sep 2021 04:56:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVVO2-0004xg-OK for help-guix@gnu.org; Wed, 29 Sep 2021 04:56:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVVNx-0003R2-Cx for help-guix@gnu.org; Wed, 29 Sep 2021 04:56:22 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AF22B240104 for ; Wed, 29 Sep 2021 10:56:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632905772; bh=5geIqUZZqw7hTSGLWxPGuECzTlMhbsPvDuv21CLBlZ4=; h=From:To:Cc:Subject:Date:From; b=G5iICR5AnRRSRKjkDk/qHsmu94CI23qIp2GzXMQWO0UrdcT2k3e2wdK/mh+Es4/yx /yDJ+/siLzXxhD91UuFwtP35LEKgb/sz4MKSGu2HGQ8JGPuAV3qFvxrU4GVwzXJE14 KRZSorgHTJSCm+ZkXJFKvLgt42uwnnTY8npQXoN8x+hfRBL4QshAUaFDL9Tu9jguvs LjTi1at7npDoOOhcw/otuYyl7KmPN5Pq4ehFOzQRKFonkRRPnH5541KyzCrvMds8vj AkNhS2tqAeat2xg21Wi6eIZ5V7El4LfiV8h0JeEyvDbZL3dJMsiZ5UYMdwwj2Lfq+3 xYTS2K3b+8jNg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HK9G24K91z9rxD; Wed, 29 Sep 2021 10:56:10 +0200 (CEST) References: <87mto07sl0.fsf@kitej> From: Guillaume Le Vaillant To: phodina Subject: Re: Apply patch to read-only file Date: Wed, 29 Sep 2021 08:42:57 +0000 In-reply-to: Message-ID: <8735pn4v6e.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sarah Morgensen , help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632905800; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Pp9hDReHsdhCjxZIU3iXamj3rrsXr51PlMAAzaWfXwE=; b=oJqLKMrUawfnLAZKKSWxo5lumihCWd9g23RU1s/UKzV0herDZlFcY299WK88Mi1zv+3pTO M5eBjZ6UMRftacjlrZb899pgEtq+7CPVc/eu5r0AiCDBntiPlHGzTnclTVLYv33uwg/I5u 5LzQg8rhy6nQ4Yg9bW8kO5y7NsWuXMTxrnFT8KTZ/oW+eV25P0j3rXbNFvV7G3A7sGJSBr TvG/8BY7Q1Jw+6cO67NzaFA107fJ/6OUhBp7fDxS/0BX4WlBVMOF11Hs0fs0azM/4vlv6n aGAohykX+WmTioxZ37feTT6sj5+2BVmD/AErRqISfFDmsuXi5Ym+g8WzQKLJbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632905800; a=rsa-sha256; cv=none; b=Lhmp5pVmDUv2zc+pZCda5c+0KSe2MdMmaAJ+mb1/opMsTmiKPdITDmRWBZNBPQ4wsrgA0k I2axkrsWCYPhBZpYqcsaAVy+7hOdN9NoPUJOCZSAElSw5Xusz5A8hnS+XJAM4TeUYZDQpz iu3FiCjgpZlEare9UiIj/Y2+x4BVkMKw9NWKzyosm0uZLn0NuywI4az7VIX0AgR/qZ+H62 DJa6nEoT4w68R0hErU8dsHy2HEHODV+b58Z1dAs1dTf2DtcR7oRU/jRO0OWhPLOaxMjSax oJzolv7difsM4ecJHH6SzIZJNeYHpubn9mHM5TM6l3NeVRGo/NCIFtJ6QPk7sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=G5iICR5A; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=G5iICR5A; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 47C2E2D4C3 X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1M7oKzzGM/Y5 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi, I tried with simplified versions of your package definition and patch, and it builds fine for me. The patch gets applied successfully. However I haven't tried using the program to see if it works. --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=realmd.scm Content-Transfer-Encoding: base64 KGRlZmluZS1tb2R1bGUgKGdudSBwYWNrYWdlcyByZWFsbWQpCiAgIzp1c2UtbW9kdWxlIChndWl4 IHBhY2thZ2VzKQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzKQogICM6dXNlLW1vZHVsZSAo Z251IHBhY2thZ2VzIGF1dG90b29scykKICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBnbGli KQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGltYWdlKQogICM6dXNlLW1vZHVsZSAoZ251 IHBhY2thZ2VzIGtlcmJlcm9zKQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIG9wZW5sZGFw KQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIHBrZy1jb25maWcpCiAgIzp1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iZ2xpYi1iaW4iICxnbGliICJiaW4iKQogICAgICAg KCJpbnRsdG9vbCIgLGludGx0b29sKQogICAgICAgKCJwa2ctY29uZmlnIiAscGtnLWNvbmZpZykK ICAgICAgICgicHl0aG9uIiAscHl0aG9uKSkpCiAgICAoaW5wdXRzCiAgICAgYCgoImdsaWIiICxn bGliKQogICAgICAgKCJtaXQta3JiNSIgLG1pdC1rcmI1KQogICAgICAgKCJvcGVubGRhcCIgLG9w ZW5sZGFwKQogICAgICAgKCJwb2xraXQiICxwb2xraXQpKSkKICAgIChhcmd1bWVudHMKICAgICBg KCM6Y29uZmlndXJlLWZsYWdzICcoIi0td2l0aC1zeXN0ZW1kLXVuaXQtZGlyPW5vIgogICAgICAg ICAgICAgICAgICAgICAgICAgICAiLS13aXRoLXN5c3RlbWQtam91cm5hbD1ubyIKICAgICAgICAg ICAgICAgICAgICAgICAgICAgIi0tZGlzYWJsZS1kb2MiKSkpCiAgICAoc3lub3BzaXMKICAgICAi REJ1cyBzZXJ2aWNlIGZvciBjb25maWd1cmluZyBrZXJiZXJvcyBhbmQgb3RoZXIgb25saW5lIGlk ZW50aXRpZXMiKQogICAgKGRlc2NyaXB0aW9uCiAgICAgIkRidXMgc3lzdGVtIHNlcnZpY2UgdGhh dCBtYW5hZ2VzIGRpc2NvdmVyeSBhbmQgZW5yb2xsbWVudCBpbgpyZWFsbXMvZG9tYWlucyBsaWtl IEFjdGl2ZSBEaXJlY3Rvcnkgb3IgSVBBLiIpCiAgICAoaG9tZS1wYWdlICJodHRwczovL3d3dy5m cmVlZGVza3RvcC5vcmcvc29mdHdhcmUvcmVhbG1kLyIpCiAgICAobGljZW5zZSBsaWNlbnNlOmxn cGwyLjEpKSkK --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=realmd-guixsd-support.patch Content-Transfer-Encoding: quoted-printable commit ffa79f48ce454b00c0590432010dbe58cdfd3ed2 Author: Guillaume Le Vaillant Date: Wed Sep 29 10:17:50 2021 +0200 Add GuixSD support diff --git a/configure.ac b/configure.ac index ee067d9..27dea11 100644 =2D-- a/configure.ac +++ b/configure.ac @@ -38,7 +38,8 @@ if test -z $DISTRO; then AC_CHECK_FILE(/etc/redhat-release, [DISTRO=3D"redhat"]) AC_CHECK_FILE(/etc/debian_version, [DISTRO=3D"debian"]) AC_CHECK_FILE(/etc/SuSE-release, [DISTRO=3D"suse"]) + AC_CHECK_FILE(/gnu/store, [DISTRO=3D"guixsd"]) =20 # Not customized for these yet dnl AC_CHECK_FILE(/etc/gentoo-release, [DISTRO=3D"gentoo"]) =20 diff --git a/service/realmd-guixsd.conf b/service/realmd-guixsd.conf new file mode 100644 index 0000000..ac4b436 =2D-- /dev/null +++ b/service/realmd-guixsd.conf @@ -0,0 +1,42 @@ +# Default values for realmd +[service] +debug =3D no +automatic-install =3D yes + +[paths] +net =3D /usr/bin/net +winbindd =3D /usr/sbin/winbindd +smb.conf =3D /etc/smb.conf +sssd.conf =3D /etc/sssd/sssd.conf +adcli =3D /usr/sbin/adcli +ipa-client-install =3D /usr/sbin/ipa-client-install +pam_winbind.conf =3D /etc/security/pam_winbind.conf +krb5.conf =3D /etc/krb5.conf + +[active-directory] +default-client =3D sssd +os-name =3D +os-version =3D + +[providers] +sssd =3D yes +samba =3D yes +example =3D no + +[samba-packages] + +[winbind-packages] + +[sssd-packages] + +[adcli-packages] + +[commands] + +[users] +default-shell =3D /bin/bash +default-home =3D /home/%U@%D + +[example.com] +example-administrator =3D Administrator +example-password =3D bureaucracy --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYVQqKQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8h9wD/R9dFT59B39IDrPTjvoxctUilSHOqp+I+MyVN tU2za90A/0iw+8ozi7QqIIcthW1X5OqIGaAwipu/eP9Xu+WxirQg =6puv -----END PGP SIGNATURE----- --==-=-=--