From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6M1ZMfpM2Wb7MgAAqHPOHw:P1 (envelope-from ) for ; Thu, 05 Sep 2024 06:17:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6M1ZMfpM2Wb7MgAAqHPOHw (envelope-from ) for ; Thu, 05 Sep 2024 08:17:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MoA25m7Y; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=key1 header.b="O9/7EmBW"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725516989; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to: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=fU5RP/UaoXwPYnwNSN9zaUbni3PSoHJAnqwdk5E9xjo=; b=BaEfTWbNGZuaXSak9eiWcsNxlJGKkEf1jKV1RcuBm1af7qoz+Sl4NIfH0MgiPd4nCHaq6i uKK92FTILBjyYf7oAPnum28ETh2ZfySR5O93qgvFsCuggWdcKGe1PL4auxvIs3wkIuLVoz 1P2qHfIHqfB6R6rDZ7SA96aOdrwi0/PeOL+mezj6v0PLFLNo4rshM0nAC2BM0Hnm/jie8/ l9BFoLGtLhIxtM4f91juRc6AZtshG7VsVk63sP9+botzMf2QI57VZFJwCFD/fDu4i4ZLj/ UhXJIsc47zGXF9ni5/wKY4WHGmcA3ZWctGV7xmsA/BFJLyuDiz+3YjirbOYmdA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725516989; a=rsa-sha256; cv=none; b=PiXt8tfSDjlCmKLCPD3s3zGP4t1ILz9sBIafM+KgaCJX+N2X3j0xR5D2/FSVu591um8VNH v1CHAZRuOGWBfBwrKwx1/ox2136gRNK3onw9FbBR7tw8JOLpsK0KhsaGzM4jVMi35+vAMb mfPq5aTUhUJBYfS0UXMgNG/EovWSXAD0wwkq3P7kMQG/iei934fyAu8kTHPjjsvhOjr9TH cI/5+XpQgYnhDlS9f0kPV9G5q+oqN1FzHCvQOQe+dWCvYgrO0pcywU5wdx1eCNRWfOVYda z3pNNmGYZdQHNnq8MavY48aPZgRYmRal1nCbHI2dOnHOk6tTMYO3qZ89UZ1Xqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MoA25m7Y; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=key1 header.b="O9/7EmBW"; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 9245FB292 for ; Thu, 05 Sep 2024 08:16:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sm5mj-0006oJ-Ci; Thu, 05 Sep 2024 02:16:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sm5mg-0006n0-L9 for guix-patches@gnu.org; Thu, 05 Sep 2024 02:15:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sm5mf-0001Rl-FJ for guix-patches@gnu.org; Thu, 05 Sep 2024 02:15:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=fU5RP/UaoXwPYnwNSN9zaUbni3PSoHJAnqwdk5E9xjo=; b=MoA25m7YqqTRu0JNBLTPYaFcFcY63EfDFiC3N2kYpXn8Izb8wQ79lSesx+951V0zrUKj2mKEpSUBsnxORsmy2XBcIgOBBj7+JbcXWPj6dFKLjQou/9m3BvWPc8mUHMcjlp9A8ovehDqQrKw0iuLVtbnEn7rIBwCFPHcJIlBfdER2JhB1Wvz4MxDjR0tqYo1xo6x1TYeogRXOocUjtOBkKpJ+o/DcrjwOr3vh0ihYLZcwYfHj3njPGQnrDx5r2JtNbDH2R4gtccbC8aCRMi1LnAvpqeejiTCCDopl+lfutB0A3ixWWsZ8pNYj5a0UyIjluA5dv5v1SO6Zt2u8CSWpCA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sm5ni-0001XX-1Z for guix-patches@gnu.org; Thu, 05 Sep 2024 02:17:02 -0400 Subject: bug#72560: [PATCH v2] gnu: ejabberd: Add inputs and wrap-program phase. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 05 Sep 2024 06:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Igor Goryachev via Guix-patches via , 72560-done@debbugs.gnu.org Cc: Igor Goryachev Mail-Followup-To: 72560@debbugs.gnu.org, andrew@trop.in, igor@goryachev.org Received: via spool by 72560-done@debbugs.gnu.org id=D72560.17255169855799 (code D ref 72560); Thu, 05 Sep 2024 06:17:01 +0000 Received: (at 72560-done) by debbugs.gnu.org; 5 Sep 2024 06:16:25 +0000 Received: from localhost ([127.0.0.1]:35926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sm5n6-0001VG-Nl for submit@debbugs.gnu.org; Thu, 05 Sep 2024 02:16:25 -0400 Received: from out-171.mta0.migadu.com ([91.218.175.171]:21467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sm5n5-0001Ur-EA for 72560-done@debbugs.gnu.org; Thu, 05 Sep 2024 02:16:23 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=key1; t=1725516910; h=from:from: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; bh=fU5RP/UaoXwPYnwNSN9zaUbni3PSoHJAnqwdk5E9xjo=; b=O9/7EmBWy3h5ZmG2U0jhPBGS0WMdSmDTe9AEvDwC66pbAAEu/STg2ROFJbVx815wmx5ldQ rJ2xSrSI28du07naT7OeyJm7sqBBIGnwFd9ZqbdFN7fmdGTyZNoyfcNevC3yvQpkHF7fuG 7/g9mah7Zlvfw/9KjjLn35yJZt+rSNIC6gXqETo4KRi+XNaBreqILZ/AJBQGjz9idQiqq0 08hPTUtBhPoB4lNqDkGqolmS2OMaG4StL9Jrq3Q9QEG5DXMb7QstZTWfEo1xrdukcAMLcQ YSA4uxQiRbAoFyoGR6aWjl0CArgArEnp5otXFxL70OJN0V0vCAoP+T702Ucl5Q== In-Reply-To: <1790f41b7fd1da9740c85442e5a0af8be38fa4a3.1724322082.git.igor@goryachev.org> References: <57bbbce27706872700c066ea9eb878477e810758.1723293901.git.igor@goryachev.org> <1790f41b7fd1da9740c85442e5a0af8be38fa4a3.1724322082.git.igor@goryachev.org> Date: Thu, 05 Sep 2024 10:15:03 +0400 Message-ID: <87a5gmpqxk.fsf@trop.in> 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: , Reply-to: Andrew Tropin X-ACL-Warn: , Andrew Tropin via Guix-patches From: Andrew Tropin via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.59 X-Spam-Score: -5.59 X-Migadu-Queue-Id: 9245FB292 X-Migadu-Scanner: mx11.migadu.com X-TUID: MDH5czmOfdOu --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2024-08-22 13:21, Igor Goryachev via Guix-patches via wrote: > * gnu/packages/messaging.scm (ejabberd): Add inputs and wrap-program phas= e. > > Change-Id: Id8177c54437dca9b98bbd6a237b9a713bc904c84 > --- > gnu/packages/messaging.scm | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm > index 8509b0c71a..8ea56c5eb8 100644 > --- a/gnu/packages/messaging.scm > +++ b/gnu/packages/messaging.scm > @@ -3647,6 +3647,7 @@ (define-public ejabberd > (sha256 > (base32 "0d5i9skgfjzs2100k0g99sigc2w61480ysz3va6pmb4nx43100g3"))= )) > (build-system rebar-build-system) > + (inputs (list bash-minimal coreutils procps sed)) > (native-inputs > (list autoconf > automake > @@ -3759,7 +3760,18 @@ (define-public ejabberd > (string-append erts "/bin"))) > (chmod (string-append ejabberd > "/bin/install_upgrade.escript") #o= 755) > - (copy-recursively ejabberd #$output))))))) > + (copy-recursively ejabberd #$output)))) > + (add-after 'install 'wrap-program > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (wrap-program (string-append out "/bin/ejabberdctl") > + `("PATH" ":" suffix > + ,(map (lambda (command) > + (dirname > + (search-input-file > + inputs (string-append "bin/" command)))) > + (list "date" "dirname" "grep" > + "id" "pgrep" "sed")))))))))) > (synopsis "Robust, Ubiquitous and Massively Scalable Messaging Platf= orm") > (description "This package provides Ejabberd -- Robust, Ubiquitous a= nd > Massively Scalable Messaging Platform. It supports XMPP, MQTT and SIP > > base-commit: 174ecf5b1077d29498d9de22e27b13047f314feb Hi Igor! thank you for the patch, applied, pushed as=20 https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Dcb7de07a51 =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmbZTGcACgkQIgjSCVjB 3rB0tg//YECiSm0uerumNV0rF0NTTzbIT+MtZH2/tz+50cZ+OYk3D4pFK7RhA3nb u1tA9AGaLFnFF88lSQGOvTWyYtx+0QuMos3C9XGLVlFj/53OUzsnfOYA5QHXSwof NywHl6Dk62CGykiZv3OkSO04MPxaJJMlsd7AG+8CZa3BYV6Hx8tzKkhFSFw+IjDg 8Vs0SrYzpR3ZWYUfFIr0XKG2AELjbr0bipyitcDhZEuQbZV7SadfDIVsiNqNXQKu DeHFcPRLoXgzGge5N+DnFUD1BgBxXSWVLB/irA1zoIia4PRi0gc9vB8j1+f51HF7 EAcYO5+t3sqKBwO+UDqV/N7Slb7CmdihdziXO/4Dn0FoZ1jiKxzTPHkpNjBG/LMm WS79rMrmZzqCF8zgZFk0dRZFtk/MP6M9E5fDMBbahBdlLkhuqZrHqZ5hsd60kz08 YnDkylUtwSdu34WW1f89nn/89EXOcL4a2+uF7pOFwtBHdLn5c+9dhmJ3/kiWspE4 rEUqyjcWhhXyhfJLZ1PTQjfIG4Oj2sERk9bvbCsjiKpbegh+F0tX3WYKHggBiakI IJyp74AbDfUIZcloe1q9O8G4BT7LGYbscTaQDPb4DOk16t1egIrsMJhBY4mzRtx+ Z3TDD9LlWVT8MPgPQkCe/5tjOICVTCn93bEXv7uRGm6nL/dK9yI= =z+14 -----END PGP SIGNATURE----- --=-=-=--