From nobody Fri Jun 23 12:27:46 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qnc2b478Lz4gJNV for ; Fri, 23 Jun 2023 12:27:51 +0000 (UTC) (envelope-from SRS0=iVBU=CL=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qnc2b1VPWz47cQ; Fri, 23 Jun 2023 12:27:51 +0000 (UTC) (envelope-from SRS0=iVBU=CL=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id CF3BCD78AC; Fri, 23 Jun 2023 14:27:47 +0200 (CEST) Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E2E77D7893; Fri, 23 Jun 2023 14:27:46 +0200 (CEST) Message-ID: <18778f69-e8cb-bf61-4035-ad9ae8d407bd@quip.cz> Date: Fri, 23 Jun 2023 14:27:46 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: Is it possible to build node package as single executable binary? Content-Language: cs-Cestina To: Hiroki Tagato , FreeBSD Ports References: <5be6c0d2-5d71-38c9-028a-8ce065102be9@FreeBSD.org> From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <5be6c0d2-5d71-38c9-028a-8ce065102be9@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Qnc2b1VPWz47cQ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 23/06/2023 13:11, Hiroki Tagato wrote: > Hi Miroslav, > > I have a WIP port of Bitwarden CLI in my forked ports repository. > > Take a look at: > https://github.com/tagattie/freebsd-ports/tree/main/security/bitwarden-cli > > It generates a single binary executable "bw" by packaging the node > command and necessary node modules. I have only lightly tested the > package on FreeBSD 13/amd64 and it seems working. This is great news! I didn't expect somebody is already working on the porting. Thank you! I will test it and let you know! Best regards Miroslav Lachman > On 2023/06/23 5:44, Miroslav Lachman wrote: >> Node.js / npm packages can be built in to single executable binary >> containing all node modules and node.js executable = everything >> packaged in one large executable, but by default it works for Win, Mac >> and Linux, not for FreeBSD. >> >> Is there somebody successfully using it on FreeBSD? [..]