From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +MOiAI/C5WJVhQEAbAwnHQ (envelope-from ) for ; Sun, 31 Jul 2022 01:45:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mJ2rAI/C5WKa9gAA9RJhRA (envelope-from ) for ; Sun, 31 Jul 2022 01:45:19 +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 BC9D09B12 for ; Sun, 31 Jul 2022 01:45:18 +0200 (CEST) Received: from localhost ([::1]:50074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHw8z-0007xv-OG for larch@yhetil.org; Sat, 30 Jul 2022 19:45:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHw8k-0007wa-IX for guix-patches@gnu.org; Sat, 30 Jul 2022 19:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHw8k-000402-8x for guix-patches@gnu.org; Sat, 30 Jul 2022 19:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHw8k-00007R-5P for guix-patches@gnu.org; Sat, 30 Jul 2022 19:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55682] [PATCH V2 3/3] gnu: Add lcsync. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Jul 2022 23:45: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.1659224645362 (code B ref 55682); Sat, 30 Jul 2022 23:45:02 +0000 Received: (at 55682) by debbugs.gnu.org; 30 Jul 2022 23:44:05 +0000 Received: from localhost ([127.0.0.1]:35938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHw7p-00005m-3p for submit@debbugs.gnu.org; Sat, 30 Jul 2022 19:44:05 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:53418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHw7m-000050-FZ for 55682@debbugs.gnu.org; Sat, 30 Jul 2022 19:44:03 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 1780E1AC6C for <55682@debbugs.gnu.org>; Sat, 30 Jul 2022 16:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1659224637; bh=JvV0aodhRvTWV+1ZidI4/uHwIiYR84yDmMV5us5soV4=; h=From:To:Subject:In-Reply-To:References:Date:From; b=cFuMG8JEF91yx3pSwTKw/jZ6e8hq+IiXBesN4X9qVT4PjgLgPoYU6gGTBPLgsgnLY uZSNUjePa/MQto4cqHy+W4XQtWUdLFDE1Sugfby9JXDLuyYagi/OHxUUI/G51CW6dU D2yxV8RGqzL2O/njldq/6zzaMpdKAe0dmk475cjA/PNeCKa2QXC8w1VC0bbU+OrWom LHli+e2qeJEgKbKR+pP2Fr9TH5CMvLGlPAvNkuHKEyYuHsONwbUIdQWfHP/yfpE+jT jPVO0+wqDUex75pgHmI0jcZh3VDH5PykqKaQNpqi2j4GZxruONXX9nV8nXCfsbKqRf RRcRMQ7oGx8Rg== From: Vagrant Cascadian In-Reply-To: <87r122yxp9.fsf@contorta> References: <87v8tq6bby.fsf@yucca> <87wnbuyxu5.fsf@contorta> <87tu6yyxr2.fsf@contorta> <87r122yxp9.fsf@contorta> Date: Sat, 30 Jul 2022 16:43:52 -0700 Message-ID: <87o7x6yxmv.fsf@contorta> 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=1659224718; 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=WBQD8nc2OFTFVtihETTf07vBe6L5gAxCdLSd66Zrzyk=; b=SKOmq3Wos9jZbuhEmB50/2oTeZzLWs0JpulDKuMxFK+OlEYZ4HQL/1an394+B/KxxeU98L xbYVkGwDiMzgCT1wiYRGCd9oiRFex2tIFvnrWYGSRtIPUU7/ZhXSycVasViGURce7vvJ2G g6SyzSMGahIEK+PChZPzEEtnFbqeDUA9H9Iac6KDimP+JvN4oauY5B6ZV0wDCv0SzNCw+p lz5YrKrTza+jZCH8a+uBDsnBk/5/FJShqBG6xfUUnYsjdB48GtT4Q1chZErAi41ovkeTgm +pklo6GrHdTlj6E7+roVMJjSeK8uXTCyODN4QFRZpz3RF8Py5HUhsnVT/dgBWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659224718; a=rsa-sha256; cv=none; b=LXvp9nJnlAlkX6kdwDJKF5Or//P3rj0RmZp0308bEzz8rHbG6L+mtR9XXHxjTACxGrgpWo kMp/pcI+wlrdHDD4qvR2PVvpEzR4SggDPY5pcddvKYC9YL9BeY9ymL3JzrEEX9JrqKvbF6 T9gJICM115wTEeexr4zI/XBjazJZ+a9HIavgFDtZIin6PeBcrNtgZY/A9PHnUYyhzj91nu WhgwFCWvdEMBcH50RMT6cpiF3yH3NEfZex7UjunOibG7Zhp8X10euQ3J0FGCd2J39mcmSZ NDGky3DT1NKQKhNw8VuGRtb6SkqLU8PXXum79vZ6WbYTE+EnpzYz6H6OOa5vyQ== 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=cFuMG8JE; 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.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=cFuMG8JE; 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: BC9D09B12 X-Spam-Score: -0.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: tsnS3PcBzs9c --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0003-gnu-Add-lcsync.patch Content-Transfer-Encoding: quoted-printable From=2014cfc0c8ac18be80eb441df3d063c4dd1175f36b Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 26 May 2022 14:37:32 -0700 Subject: [PATCH 3/3] gnu: Add lcsync. 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 | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 41aa346036..0d2ecfcad1 100644 =2D-- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -275,6 +275,49 @@ (define-public lcrq the RFC.") (license (list license:gpl2 license:gpl3)))) =20 +(define-public lcsync + (package + (name "lcsync") + (version "0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/librecast/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 + (replace 'check + (lambda _ + (invoke "make" "test" "CC=3Dgcc"))) + (add-before 'build 'add-library-paths + (lambda* (#:key inputs #:allow-other-keys) + (let* ((librecast (assoc-ref inputs "librecast"))) + (substitute* (list "./src/Makefile" "./test/Makefi= le") + (("-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.35.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYuXCOQAKCRDcUY/If5cW qvvvAP43SbbqXAuDN5BC+2cdeic/wWGOky3uhlW7+UkRhb2f3wD+NgJHuJNGiexQ Ydl4aCYXH2kECyeVa+uXssW9E1TlTgA= =+O1t -----END PGP SIGNATURE----- --==-=-=--