From debbugs-submit-bounces@debbugs.gnu.org Sat May 09 09:19:19 2020 Received: (at submit) by debbugs.gnu.org; 9 May 2020 13:19:19 +0000 Received: from localhost ([127.0.0.1]:46951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXPNu-0007Kl-Vq for submit@debbugs.gnu.org; Sat, 09 May 2020 09:19:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:35590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXPNt-0007Kc-HP for submit@debbugs.gnu.org; Sat, 09 May 2020 09:19:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXPNt-0004xB-C7 for guix-patches@gnu.org; Sat, 09 May 2020 09:19:17 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:37205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXPNr-0008SL-EO for guix-patches@gnu.org; Sat, 09 May 2020 09:19:16 -0400 Received: by mail-wr1-x442.google.com with SMTP id k1so5160032wrx.4 for ; Sat, 09 May 2020 06:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:user-agent:mime-version; bh=179ugGL+VymLDhoGnD/+gGHZxERZGop2TIvyEsBTe80=; b=T3qH/unl25l0AMR8PoyyAmAZ7Lt4tgATpeQDKMXG6h4iN4avy/o/k2eA6J899/x8hx 7F7sQ7ykN4C/ARPL7yNimtjr63CoZQulTqE3GVfDCM/Cn8Fh85MNOOl52MTFQWpAUvEK G3B4TumoZK9K5N0C6M3SFKra4Q+UIQhGoxzAOrxnv2pr6Pb5VhfKkKmztFlUXtB2BjZS nNLyvfRB005ItdSHE7OhTmi82HfaRwlJXWD4g5HhhztZ7GwbgAB1p7q4aKffMQjujxu+ OkD8/pBbhBnAxrhWWyFZveBOt0L2OXmbwniNAiFvXtzxubRf3B5R9I1abpq9F50PD2gq 688w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :user-agent:mime-version; bh=179ugGL+VymLDhoGnD/+gGHZxERZGop2TIvyEsBTe80=; b=hm63s+dJdGXHCqMqXqx/QtP2775BvdIXzPRqlVFepOHBBdYgPi9fvBhjEmkHtPAASM ejZa4K4dmYDQBXpIyzFQob8Tem/3XmBKnwADh0JAP5QDiBiOurAuaPLxLCaOKNGnBn3s C2tpWf3dWWs9KVqmz1bqv+6WpMZJlEHT75Yg1uBKb07nx6UjGDBVgX4sKW6EwyqDNM1N G9r6hOEBx9lsrlpIPbJ1bOgeIvyh8LycR6eiMK0jT7z2jwoshI3rSVF34hyWmb9x5SYs 3M5roMgj4qT108+TLWL/G5Ngu35x7dLgP8QihjQiV19Jv8v4szsRqKz034T2undToNwH +wyQ== X-Gm-Message-State: AGi0PuaY3kgfOB/i6Xy41MROp0IIk2RRHsSNaqMCJb/mgYYs6LVRz7th vWcCC41AUpXtUpUNCAE67fo9kJ1vmeA= X-Google-Smtp-Source: APiQypLwNuADEczrG9FB+sPwQaMto1WnQBApE0rgYU0vOkA6QnFguFFOtKjoGdITF1XUt6r6MSEBgw== X-Received: by 2002:adf:b786:: with SMTP id s6mr8258197wre.287.1589030352415; Sat, 09 May 2020 06:19:12 -0700 (PDT) Received: from guixrules ([2a01:e35:2e0b:a6b0:e2ce:c3ff:fe74:cec8]) by smtp.gmail.com with ESMTPSA id f7sm7626623wrt.10.2020.05.09.06.19.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 May 2020 06:19:11 -0700 (PDT) From: Jean-Baptiste Note To: guixpatch Subject: [PATCH] Add cachefilesd Date: Sat, 09 May 2020 13:19:04 +0000 Message-ID: <87eert6ybb.fsf@m4x.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=jbnote@gmail.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dear guix maintainers, Please find attached a patch to add a package for the cachefilesd daemon, mostly used for read caching of NFS data. I've put in into linux.scm as it's tightly coupled to the fscache linux module and i [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: m4x.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jbnote[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Dear guix maintainers, Please find attached a patch to add a package for the cachefilesd daemon, mostly used for read caching of NFS data. I've put in into linux.scm as it's tightly coupled to the fscache linux module and is being developed on git.kernel.org. There's a lint warning for Software Heritage; however i've followed the convention of using snapshot tarballs from kernel.org (we could also directly go through git, but this seems less common). A service will follow as soon as I understand how to correctly write one. Kind regards, Jean-Baptiste --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-cachefilesd.patch Content-Transfer-Encoding: quoted-printable From=2082a2807bd06abf88e8d01272e72635df9a077132 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Fri, 8 May 2020 20:26:02 +0000 Subject: [PATCH] gnu: Add cachefilesd. * gnu/packages/linux.scm (cachefilesd): New public variable. =2D-- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 2d31444ea6..418b868698 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -6802,3 +6802,38 @@ utilities. Using @code{kexec}, it is possible to bo= ot directly into a new kernel from the context of an already-running kernel, bypassing the normal system boot process.") (license license:gpl2))) + +(define-public cachefilesd + (package + (name "cachefilesd") + (version "0.10.10") + (source (origin + (method url-fetch) + (uri (string-append + "https://git.kernel.org/pub/scm/linux/kernel/git/dhowe= lls" + "/cachefilesd.git/snapshot/cachefilesd-" + version ".tar.gz")) + (sha256 + (base32 + "0g40ljjnn3wzh9gp6il21c95f977298qrrkrxfnwfl3k3asfmnbi")))) + (build-system gnu-build-system) + (outputs '("out")) + (arguments + `(#:tests? #f ; there are no tests + ; we emulate PREFIX with available variables + #:make-flags (let ((pfxdir (lambda (var dir) + (string-append var "=3D" %output "/" d= ir)))) + (list "CC=3Dgcc" + (pfxdir "SBINDIR" "sbin/") + (pfxdir "ETCDIR" "etc/") + (pfxdir "MANDIR" "share/man/"))) + #:phases (modify-phases %standard-phases (delete 'configure)))) + (home-page "https://people.redhat.com/~dhowells/cachefs/") + (synopsis "Backend daemon for the linux fscache") + (description "cachefilesd is a userspace daemon that implements the on= ly +cache backend currently available for FS-Cache, the linux caching system f= or +network filesystems (such as NFS). It does the real work of caching by us= ing +files in a directory nominated by the administrator to store the data give= n to +it. The contents of the cache, which should be stored locally, are persis= tent +over reboots.") + (license license:gpl2+))) =2D-=20 2.26.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPxcq3dp4FVY5UpckkC0pVsuz75YFAl62rcgACgkQkC0pVsuz 75a2yg//eAnEiEqdjsmGZ3wZvx4EcpkWcvD9PgYImIlCCnktQXp/zNwWTXOo/FqB rkOZtiSa8pL32Bt/yrQjgQ3yjO5dU8IslgcW6Rfl5u6JpV0Tkr3XNQ1aA4NGGA+e gszlHY4BETTnp4bdjjyauSZCA6/LISqYmGpNsawVixfTUsGMIdRiRXQtWDMX0Ln0 VP7tm4NTp8V69zTbkKAjRF4ebA7EoajVpk/sbzE1XfCx4/OqroStcN5S7bG/C/sy o/A98Y4va0ubeClSrHSvF66fsXXEgtFoSB7336979AgDWQSK1dPWUbZ8er70LMW+ 4g42t4vOJYSzm73IsHjgMddWZKf3S6nBSXjSTwneolDDMuodTqjSqxCJ9Fe863jb qXCS3N0HkO40iNf6qiuoj0O4yi5mrkJNeQ+FcWoEOYfyAYycKLVLHG/DL+SBnTgB 5o2UL3cHwo/SdksE7wpwDtobGp4QaH9btP500+yWVgQfVxaFoUd+VnAQQhfNEbIm v4901h4RUuylB+MyrttPlorgkb3SOYrv+S4z9a7KusgNnCDZdXw/qjzLjzcDZZPJ kthOqq8pbGXpuk/RnopECxnugjQdp5LHQMrcTa9O1/hnJpwNZJInVwGb09gy5ycT DsawKYXe6hGBsNZqaJxwsczUHDJoA4Q0uy1BIjh+8+zLu4mnEf0= =ASy0 -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 10 03:54:02 2020 Received: (at 41149-done) by debbugs.gnu.org; 10 May 2020 07:54:02 +0000 Received: from localhost ([127.0.0.1]:48858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXgmg-0001oa-BB for submit@debbugs.gnu.org; Sun, 10 May 2020 03:54:02 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXgme-0001o0-3W for 41149-done@debbugs.gnu.org; Sun, 10 May 2020 03:54:00 -0400 Received: by mail-wr1-f67.google.com with SMTP id i15so6846164wrx.10 for <41149-done@debbugs.gnu.org>; Sun, 10 May 2020 00:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=U2d85GHvkot61CoqqQYlzAGU5kNOUTR/7LreZPO6KuY=; b=EoXBkJWpOgFqV7bg4BWj+zhGbkMisCcTy0QotkAIvJYAmZoK2zAkY2ocXcC3efti7d wj1ubYhNI8XUmGcg9iBlj7//Y1MdJDappznGonQhqGjzcLN9wjlQw9pfMfLVwcSfftcL HOtnspeECjQRHG9w2ZX68xej7c6qWss7Uhp+Wyp60AJUEpsuv8FhogEdwpEbdGoOP9yK irDB/mB1/zgPUrT/bYKrKBC+KSfegf5MaNqPzVDZsUI9bL0N5r3Ax98oYxl+dAxJ5EN1 t2p7H/W7JWAGRH3w3KXqZPuYP95CkGL5milFtcGM7ALo5g6GLXiQIHgvCYi+sQLbaIDr naiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=U2d85GHvkot61CoqqQYlzAGU5kNOUTR/7LreZPO6KuY=; b=iCYS3HH2pB+3Co/9NZw4J1KzHmIJUf5cXruFNdORtmsTnoMUuPTR3bZw/F7MKMPuF1 uvIzjlmLcf2Jo4QCMfG+GU+7PmdEmwvXE4QLpLFs4ApN0TPQ9h1OXXFkPKz4KRWtUUkr 6Nxwe5I2YY4ho7+qQmhpzymgASD+6ZY98bpLp8KToq14BXj8DUtpS7NTh5zYYSuY+nPC 17+4qG89g71uQ6TegWD0jMRam+g0V7ih6dCK2iajdhkngRQgLRPqL7KuF0Fm3THqqdOs XbjTro+q39IZk5rE8vOcnqxQV3uQ0P9IJtK8fJ2EurGXyvCIxj/LlpfD0TE46th8cI72 9G0g== X-Gm-Message-State: AGi0PubvGN/27t4FFYSEy5KFNlyOOLBF1MA/3e7AOhxDGnP8E2XYrMDq VXhfL0m+wek8HsuNiN63dFYgSNLl X-Google-Smtp-Source: APiQypKfLJh9/x+eWGnvI4GUZAg0xG+7gLRE0X+mgGQF9K5Uu267MmypxucNvbzwbokxmY+E8t26rA== X-Received: by 2002:a5d:4343:: with SMTP id u3mr11824255wrr.266.1589097234077; Sun, 10 May 2020 00:53:54 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:708f:4d20:5fc9:ae90]) by smtp.gmail.com with ESMTPSA id u12sm22129136wmu.25.2020.05.10.00.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2020 00:53:53 -0700 (PDT) From: Mathieu Othacehe To: Jean-Baptiste Note Subject: Re: [bug#41149] [PATCH] Add cachefilesd References: <87eert6ybb.fsf@m4x.org> Date: Sun, 10 May 2020 09:53:52 +0200 In-Reply-To: <87eert6ybb.fsf@m4x.org> (Jean-Baptiste Note's message of "Sat, 09 May 2020 13:19:04 +0000") Message-ID: <87eersi5tb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41149-done Cc: 41149-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Jean-Baptiste, Thanks for this patch! I fixed cross-compilation, adapted the synopsis and description fields and pushed. We will be happy to help write the associated service :) Mathieu From unknown Sat Jun 21 10:46:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 Jun 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator