From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id II4RLD/m6mHRfQAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 17:58:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wHLCKD/m6mHyowAAauVa8A (envelope-from ) for ; Fri, 21 Jan 2022 17:58:39 +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 7A2FB39896 for ; Fri, 21 Jan 2022 17:58:39 +0100 (CET) Received: from localhost ([::1]:50054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAxFG-00031k-Kr for larch@yhetil.org; Fri, 21 Jan 2022 11:58:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAsSe-0005Tc-26 for guix-devel@gnu.org; Fri, 21 Jan 2022 06:52:08 -0500 Received: from smtprelay07.ispgateway.de ([134.119.228.102]:26556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAsSc-0003mV-4Z for guix-devel@gnu.org; Fri, 21 Jan 2022 06:52:07 -0500 Received: from [92.195.30.39] (helo=herbert) by smtprelay07.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nAsSN-00008F-Jx; Fri, 21 Jan 2022 12:51:51 +0100 From: Simon Streit To: guix-devel@gnu.org Subject: WSDD Service Module Gcc: nnfolder+archive:sent.2022-01 Date: Fri, 21 Jan 2022 12:51:58 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=134.119.228.102; envelope-from=simon@netpanic.org; helo=smtprelay07.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 21 Jan 2022 11:53:22 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642784319; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=cDRykInu0EiXP7gELn+neiVzDYXYdmP4Wb7BYVT3kFQ=; b=l0csqtA36eH1WrvcbV/zjo5MLFET3esLvL9iMEmtAg7xwC3FeiQBAa0y30eIwDfEMIvYzS xw7C3BiDjz9IyAWSoF/t3iG3B57WDC5Zq3s4hR0Ki3gxcaqaYIO4xPzdUgboj7df9ZyThN ds6KVEr8y2shiJl51bXdwKOgHj7Mq7mqdOSEHsYza9bmIc2UyEVgyU3zcEMs5K9ASqrmD6 DiAu2SUTbH8CcpXwaKQJN8UmngG5NcGBp8cf/9nygweK29BSS4SRnFCQS7P59iyCEtmR/2 vFX9ixWtcHkjrc4ptaY0ZTra+k3HA+DO5pEB44qyChbYzn6ke/LzcYIQ4VmCkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642784319; a=rsa-sha256; cv=none; b=KKx2fwy7Jj6zAuu5r5qIXtF7TJGzfc+hrYhPE6STwzLMXIKXD2saDeDaxrFXBbML/rSEis aHNOPRz1KvtEBRi7gbtj/GOsVfKHuiIxq9lqFRyj3X4Guq8MpOMbGWOw5fqrug8CbTL9Bi ZzwtA0S9St++Y58rJdHLnit1ZuZG2zqxl+sgfYC/bPnXqiDQqNiqHuSpgoHkmjyVgIS68J cxZpDvpY76LFrj58psy7OXkwEVbo102lvE8Zwt51tX+YlCWHh9mIvDbFPjTxR0MOJDqyZ8 ov1aj+l4h0Y2JxTwUIpRSxeTj/Tq5MLnKhCBr6nS7MQd0BY7xCU2Rg4H0Vlsng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7A2FB39896 X-Spam-Score: -3.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: hD1u6xyYqPVT Hello! I've been preparing WSDD [1] for Guix. This is a Web Service Discovery Daemon that replaces host discovery through SMBv1. SMBv1 has been disabled in Samba and Windows for some time now for security reasons. Hence WSDD is a drop in replacement for host discovery. I've packaged wsdd already, and while preparing this post I noticed that the version is already outdated too. That's next on the list now. Unfortunately while preparing its service, there is this one part that I'm having trouble trying to get working: --8<---------------cut here---------------start------------->8--- #$(if interface #~(for-each (lambda (arg) (display (string-append "--interface" arg)) ;; (format #t "--interface ~a " (list->string arg)) ) #$(interface)) '()) --8<---------------cut here---------------end--------------->8--- Which is the main intention for this post: I'd really appreciate a little hint on how to solve this small problem. Everything else looks okay. The documentation for this service module has not been completed yet. I'm still working on it. Once it is done I'll submit a patch. This is part of my ongoing work with samba. The service declaration can be found at [2] and [3] is the package itself. Thanks in advance! Simon [1] https://github.com/christgau/wsdd [2] https://git.steel-is-real.com/siguix/tree/siguix/services/wsdd.scm?h=wip-wsdd&id=f125d84ef57a555b389d7bafa54b7352bf8faa74 [3] https://git.steel-is-real.com/siguix/tree/siguix/packages/wsdd.scm?h=wip-wsdd