Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 6CA2D221CA3 for <~alpine/devel@lists.alpinelinux.org>; Mon, 27 Jul 2026 21:34:58 +0000 (UTC) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfisekai.rocks; s=key1; t=1785188098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=mZZ0QHFfYfyM0jDT7w20IhZBO3KyoDEgZBM7yqiQwEA=; b=qkfj6N2NdMliYy44OhDf1wLA6QZqm3FXp2oEyIwJZkkYQEGY19kzccetlv+1SzSoqXPzTY 5b31AMph0X2fxgF7fLLg7XsDOS9fsWdA/Yg5lXBhM6Oa+JPqWRTT+OJgsfyAOIASO8Kn8n P+fNraFFP3Nio1d8LGke9PCYtlMtKUkHz4pd34/RLYaWijoPDvzIpBlPHnUI6N3mDy1FU2 RKQJs1gMtsw9t33VmzrFEd/XDtP0X0Dni+Ek70BzpxCh1xm4sGnhJTzDrLSs3//FHo/7Yg lBswLKYlSdHOmBHY+iosbMKkY4dhfqQwUR1nKj7SMiZ6WsHG0pzHHBK9IbASuA== Date: Mon, 27 Jul 2026 23:34:36 +0200 MIME-Version: 1.0 Subject: Re: Help with packaging a NodeJS / the Cryptpad project To: ~alpine/devel@lists.alpinelinux.org References: Content-Language: nl, pl, en-GB X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: LN Liberda Autocrypt: addr=lauren@selfisekai.rocks; keydata= xjMEZds86BYJKwYBBAHaRw8BAQdAXg2C2CwsO1IHJM0JbZFSsj0Qsaqy5KHVeq7Dwj+WmHPN QmxhdXJlbiBuLiBsaWJlcmRhIChwb3N0IDIwMjQtMDItMTUgcmFpZCkgPGxhdXJlbkBzZWxm aXNla2FpLnJvY2tzPsKZBBMWCgBBFiEExNpmCD+2mk1lqoAGFhPdMv4ow+oFAmXbPOgCGwMF CQWjmoAFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQFhPdMv4ow+ospgEA/zaaNnPE xGRowVjOyVCokA73LOCofGY/Ny4BF2QhWy8BAPfF/V55hT5IippOI56fxK+U0AOYMAfpcr/K xgePwQsAzjgEZds86BIKKwYBBAGXVQEFAQEHQD1inUwS+R0L22otAzbE10kLj8RIRZqPLIDW ifHz0V5dAwEIB8J+BBgWCgAmFiEExNpmCD+2mk1lqoAGFhPdMv4ow+oFAmXbPOgCGwwFCQWj moAACgkQFhPdMv4ow+qWSQD+MsP5I2Xjw0WKNj2Rps6YHhDKlKPbPCJYrcRWlfLEXAABAIWW q4f0t1R5GUrsPFgQsKbiwu0M6JSNpevDBlIa1UUN In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Op 27-07-2026 om 18:42 schreef pfzetto: > Hello, > I'm currently trying to package Cryptpad[^1]. > It is a NodeJS application that provides a collaborative end-to-end > encrypted office suite. > I have a difficult time to find the best approach for packaging it due > to the following aspects: > > 1. Is it recommended to store NodeJS source files in /usr/share or > /usr/bin? It also includes scripts for data management that need to > stay in place relative to the source dir. /usr/lib IMO > > 2. The data directory needs to be a subdirectory of the source > directory (e.g. /usr/share/cryptpad/data). Symlinks are fine. What is > the best approach for this? Currently I'm creating a symlink to > /var/lib/cryptpad in the install phase of the APKBUILD. > > 3. The source directory includes a script that downloads multiple > versions of OnlyOffice that slow down the build process considerably. I don't think it should be in aports if it depends on Onlyoffice as it's a licensing trap through removing Freedom 0. https://www.onlyoffice.com/blog/2026/03/onlyoffice-flags-license-violations-in-euro-office-project-by-nextcloud-and-ionos#:~:text=Pursuant,e%29%29%2E > > 4. The source directory (including the required node_modules) is quite > large (~1.3GiB). As the entire source directory is packaged, the > resulting packages is quite large. > > What is the best approach for packaging such a project that doesn't > adhere to the "standard" application model? > > Kind regards and thank you for your attention > Paul ~pfzetto > > > [^1]: https://cryptpad.fr -- LN Liberda it/she, het/zij, to [coś]/ona https://liberda.nl/