From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oAb+CsI1kWLZEgEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 22:34:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WK3/CcI1kWKppAAAG6o9tA (envelope-from ) for ; Fri, 27 May 2022 22:34:10 +0200 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 BA4353927D for ; Fri, 27 May 2022 22:34:09 +0200 (CEST) Received: from localhost ([::1]:57704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nugeu-0005hp-R4 for larch@yhetil.org; Fri, 27 May 2022 16:34:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nufcw-0008ML-UR for guix-patches@gnu.org; Fri, 27 May 2022 15:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nufcw-0006fs-Kg for guix-patches@gnu.org; Fri, 27 May 2022 15:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nufcw-00065Y-I0 for guix-patches@gnu.org; Fri, 27 May 2022 15:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55682] RFC packaging for lcsync Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 May 2022 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55682 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55682@debbugs.gnu.org Received: via spool by 55682-submit@debbugs.gnu.org id=B55682.165367966423371 (code B ref 55682); Fri, 27 May 2022 19:28:02 +0000 Received: (at 55682) by debbugs.gnu.org; 27 May 2022 19:27:44 +0000 Received: from localhost ([127.0.0.1]:35820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nufce-00064t-66 for submit@debbugs.gnu.org; Fri, 27 May 2022 15:27:44 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:59172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nufcc-00064g-PJ for 55682@debbugs.gnu.org; Fri, 27 May 2022 15:27:43 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:40]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 5B0301AC53 for <55682@debbugs.gnu.org>; Fri, 27 May 2022 12:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1653679657; bh=hIsVgF7yYt48iDUFyX8Ld/Pz2aMFVT6KZ10/RhSQUt0=; h=From:To:Subject:In-Reply-To:References:Date:From; b=cSBzb00V2ZmbGbdXxXA/xK69g1+EVykOUOWyu3qu53VGdBOO2BiLwp4ycvYK30pYw IGIhjh99IBgW64xRECmOSS8uaS1KMDxLeDfEJ8hd9delOfRrZjaBJtv2poeKXqTPO0 hSCKada7eBltAu8WRUIE9r6DhwV34H2kolIinphte+DkwHVQI34Hqth0f0ftOsA8vb GgA+Amiizq/AwvIzDP5qAoPJiwQR6klLVw7Rt1cHy9X4lXfws2sz2ohwZnh5tmwYMK JplfYGhE4a4ZGRg6JxoZ8YfqOxUejz9+53ohXFx6cSTC1LiFLFwzhWOaFMi/MbMt5H e7Z2p4fBE6nkw== From: Vagrant Cascadian In-Reply-To: <87pmjy6akb.fsf@yucca> References: <87v8tq6bby.fsf@yucca> <87pmjy6akb.fsf@yucca> Date: Fri, 27 May 2022 12:27:33 -0700 Message-ID: <87mtf26aje.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1653683649; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=rEeESIDnrrjthgLdOY0HaHCfN8IvBHyqCzbNJq7Yi4M=; b=SJzdEahLGypNX2gXs8znar/Mw/v/xbNkgmBvjg98CZZJcJ8nsB9M//DCfUWk3my1oVBzth k6tFMlqt27lHPyup7/cVlJkhC2MiCVo2IazIskqDSF5CFnpEtd0hhJBSQKNLdm+dVh+t76 q94GfynIKcZYysgWJuwzyQb9M3MIZWlYfn5GRfJowrkwL4elYvlPahESQgDWdlOUjUcgZ0 hCwitd/pXcTAlE573srOoYmsfg22+H7llMiUHGVMXY6GnARUqCCUIT/katm0u3WEIONnTm 5b/R/cH3yL5WPwSPPCXiJZK5in3AUDseAeosQkgauZCspERJkjrDnYBs0G0wRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653683649; a=rsa-sha256; cv=none; b=sHfYRKBEuBSN9aXQY/SEUqebKgSgIIl8XGwravoivKTt1g6IipsX3sVLygiZC2DLByf7rI 8DrAclvJh8GWNBPT2PELyjkwhHzkrk2kKgChyzvwa+EbD0q3TlQZdEewOJTg+BsY70RM1Y tysHNaAh860AgDa+FpiFc/mqk6Ka1V8CaD7oC/UEL0DnttA+TGW/VbOkFdzmNmxgHoAvk/ GtAm++NcyDaLI1tP/VmiwWc1Kv/6g7dOKgt94jxtYKcVLdFVYgg/wUtQe4/MT5w6gyCP2r iyinyo6OQjbGmljJl4c2qE/QlKqJDirhPzr5tIrOcWfdcOb3hRVRszBLwpf9Dw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=cSBzb00V; dmarc=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: -0.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=cSBzb00V; dmarc=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: BA4353927D X-Spam-Score: -0.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: xrWdEMBfp9wZ --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gnu-Add-lcsync.patch Content-Transfer-Encoding: quoted-printable From=20c23ef5bf9248921af15e337d328b2fffb7edc996 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 26 May 2022 14:37:32 -0700 Subject: [PATCH 2/2] gnu: Add lcsync. FIXME tests run, but all fail. test failures do not trigger build failures. FIXME figure out how to properly: setcap cap_net_raw=3Deip bin/lcsync * gnu/packages/networking.scm (lcsync): New variable. =2D-- gnu/packages/networking.scm | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index ae780d5a05..605173faa9 100644 =2D-- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -207,6 +207,48 @@ on byte-critical systems. It supports HTTP, HTTPS, FT= P and FTPS protocols.") (license license:gpl2+))) =20 +(define-public lcsync + (package + (name "lcsync") + (version "0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/librestack/lcsync") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0s038b4xg9nlzhrganzjyfvc6n6cgd6kilnpik4axp62j2n5q11q")))) + (build-system gnu-build-system) + (arguments + `(#:parallel-tests? #f + #:make-flags + (let ((target ,(%current-target-system))) + (list ,(string-append "CC=3D" + (cc-for-target)) + ;; avoid running setcap in the install process + "SETCAP_PROGRAM=3Dtrue" + (string-append "prefix=3D" + (assoc-ref %outputs "out")))) + #:phases + (modify-phases %standard-phases + (delete 'configure) ;no configure script + (add-before 'build 'add-library-paths + (lambda* (#:key inputs #:allow-other-keys) + (let* ((librecast (assoc-ref inputs "librecast"))) + (substitute* (list "./src/Makefile" "./test/Makefile") + (("-llibrecast") (string-append "-L" librecast + "/lib -llibrecast")))))))= )) + (inputs (list librecast libsodium)) + (home-page "https://librecast.net/lcsync.html") + (synopsis "librecast file and data syncing tool") + (description + "lcsync is a tool to sync files over IPv6 multicast or the +local filesystem. It splits the file into blocks, hashes them, and compar= es +them in order to efficiently transfer a minimal amount of data.") + (license (list license:gpl2 license:gpl3)))) + ;; This package does not have a release yet. ;; But this is required to provide a feature in PipeWire. (define-public libcamera =2D-=20 2.30.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYpEmJgAKCRDcUY/If5cW qpDaAP0cgpulj3v6k3qkTbiO2Hj87Q1VYm4ol+gEBAuCIJipxAD/UKr7g/N8IJA8 PYpdBo/MKp+d63y1QVok1L2ixDaTvAI= =JqWr -----END PGP SIGNATURE----- --==-=-=--